Have you've checked for read only partitions?

What Android does upon initial bootup it will extract the apk files
into the /data/ folder. If it doesn't have write access it will fail.
Also, if there is no space on the device to extract these it also
won't work.

On Nov 11, 1:21 pm, jack <[email protected]> wrote:
> Hi all,
> more info in the below problem...
> here i am sending the logcat massages..its seems these massages are
> getting repeated..
> Any help will be appreciated..
>
> ************ logcat massage start ****************
>
> I/DEBUG   ( 1701): debuggerd: Nov  3 2009 18:39:21
> I/vold    ( 1700): Android Volume Daemon version 2.0
> D/vold    ( 1700): Bootstrapping complete
> E/flash_image( 1709): error opening /system/recovery.img: No such file
> or directory
> D/DHCP    ( 1724): failed to set ip addr for eth0 to 0.0.0.0: No such
> device
> D/AndroidRuntime( 1703):
> D/AndroidRuntime( 1703): >>>>>>>>>>>>>> AndroidRuntime START
> <<<<<<<<<<<<<<
> D/AndroidRuntime( 1703): CheckJNI is ON
> D/dalvikvm( 1703): DexOpt: incorrect opt magic number (0xff ff ff ff)
> D/dalvikvm( 1703): Stale deps in cache file; removing and retrying
> I/        ( 1704): ServiceManager: 0xad18
> D/AudioHardwareALSA( 1704): Mixer: element name: 'DAC1'
> D/AudioHardwareALSA( 1704): Mixer: element name: 'DAC2'
> D/AudioHardwareALSA( 1704): Mixer: element name: 'DAC3'
> D/AudioHardwareALSA( 1704): Mixer: master 'PCM' not found.
> D/AudioHardwareALSA( 1704): Mixer: route 'Earpiece' not found.
> D/AudioHardwareALSA( 1704): Mixer: route 'Speaker' not found.
> D/AudioHardwareALSA( 1704): Mixer: route 'Bluetooth' not found.
> D/AudioHardwareALSA( 1704): Mixer: route 'Headphone' not found.
> D/AudioHardwareALSA( 1704): Mixer: route 'Bluetooth A2DP' not found.
> D/AudioHardwareALSA( 1704): Mixer: master 'Capture' not found.
> D/AudioHardwareALSA( 1704): Mixer: route 'Capture' not found.
> D/AudioHardwareALSA( 1704): Mixer: route '' not found.
> D/AudioHardwareALSA( 1704): Mixer: route 'Bluetooth Capture' not
> found.
> D/AudioHardwareALSA( 1704): Mixer: route 'Capture' not found.
> D/AudioHardwareALSA( 1704): Mixer: route 'Bluetooth A2DP Capture' not
> found.
> D/AudioHardwareALSA( 1704): mixer initialized.
> D/AudioHardwareInterface( 1704): setMode(NORMAL)
> I/CameraService( 1704): CameraService started: pid=1704
> V/AudioHardwareALSA( 1704): virtual android::AudioStreamOut*
> android::AudioHardwareALSA::openOutputStream(uint32_t, int*,
> uint32_t*, uint32_t*, android::status_t*) - format = 0, channels = 0,
> sampleRate = 0
> V/AudioHardwareALSA( 1704): ALSAStreamOps - input   - format = 0,
> channels = 0, rate = 0
> V/AudioHardwareALSA( 1704): ALSAStreamOps - default - format = 2,
> channels = 2, rate = 44100
> E/ALSALib ( 1704): external/alsa-lib/src/control/setup.c:555:
> (add_elem) Cannot obtain info for CTL elem (MIXER,'Playback Path',
> 0,0,0): No such file or directory
> E/ALSALib ( 1704): external/alsa-lib/src/control/setup.c:555:
> (add_elem) Cannot obtain info for CTL elem (MIXER,'Playback Path',
> 0,0,0): No such file or directory
> I/AudioHardwareALSA( 1704): Initialized ALSA PLAYBACK device
> AndroidPlayback
> D/AudioHardwareALSA( 1704): Set PLAYBACK PCM format to S16_LE (Signed
> 16 bit Little Endian)
> I/AudioHardwareALSA( 1704):
> I/AudioHardwareALSA( 1704):  android::status_t
> android::ALSAStreamOps::channelCount(int)::671
> D/AudioHardwareALSA( 1704): Using 2 channels for PLAYBACK.
> D/AudioHardwareALSA( 1704): Set PLAYBACK sample rate to 44100 HZ
> D/AudioHardwareALSA( 1704): Buffer size: 4096
> D/AudioHardwareALSA( 1704): Latency: 92879
> I/AudioFlinger( 1704): openOutput() created mixer output: ID 1 thread
> 0x26178
> I/AudioFlinger( 1704): AudioFlinger's thread 0x26178 ready to run
> W/dalvikvm( 1703): partial write in inflate (20440 vs 32768)
> E/dalvikvm( 1703): Unable to extract+optimize DEX from '/system/
> framework/framework.jar'
> D/dalvikvm( 1703): Unable to process classpath element '/system/
> framework/framework.jar'
> E/dalvikvm( 1703): opt header write failed: No space left on device
> I/dalvikvm( 1703): Unable to open or create cache for /system/
> framework/android.policy.jar (/data/dalvik-cache/
> sys...@[email protected][email protected])
> D/dalvikvm( 1703): Unable to process classpath element '/system/
> framework/android.policy.jar'
> E/dalvikvm( 1703): opt header write failed: No space left on device
> I/dalvikvm( 1703): Unable to open or create cache for /system/
> framework/services.jar (/data/dalvik-cache/
> sys...@framew...@[email protected])
> D/dalvikvm( 1703): Unable to process classpath element '/system/
> framework/services.jar'
> E/dalvikvm( 1703): Unable to find createAnnotation() in android
> AnnotationFactory
> D/dalvikvm( 1703): VM cleaning up
> D/dalvikvm( 1703): LinearAlloc 0x0 used 44308 of 5242880 (0%)
> W/dalvikvm( 1703): JNI_CreateJavaVM failed
> E/AndroidRuntime( 1703): JNI_CreateJavaVM failed
> D/AndroidRuntime( 1733):
> D/AndroidRuntime( 1733): >>>>>>>>>>>>>> AndroidRuntime START
> <<<<<<<<<<<<<<
> D/AndroidRuntime( 1733): CheckJNI is ON
> D/dalvikvm( 1733): DexOpt: incorrect opt magic number (0xff ff ff ff)
> D/dalvikvm( 1733): Stale deps in cache file; removing and retrying
> W/dalvikvm( 1733): partial write in inflate (20440 vs 32768)
> E/dalvikvm( 1733): Unable to extract+optimize DEX from '/system/
> framework/framework.jar'
> D/dalvikvm( 1733): Unable to process classpath element '/system/
> framework/framework.jar'
> E/dalvikvm( 1733): opt header write failed: No space left on device
> I/dalvikvm( 1733): Unable to open or create cache for /system/
> framework/android.policy.jar (/data/dalvik-cache/
> sys...@[email protected][email protected])
> D/dalvikvm( 1733): Unable to process classpath element '/system/
> framework/android.policy.jar'
> E/dalvikvm( 1733): opt header write failed: No space left on device
> I/dalvikvm( 1733): Unable to open or create cache for /system/
> framework/services.jar (/data/dalvik-cache/
> sys...@framew...@[email protected])
> D/dalvikvm( 1733): Unable to process classpath element '/system/
> framework/services.jar'
> E/dalvikvm( 1733): Unable to find createAnnotation() in android
> AnnotationFactory
> D/dalvikvm( 1733): VM cleaning up
> D/dalvikvm( 1733): LinearAlloc 0x0 used 44308 of 5242880 (0%)
> W/dalvikvm( 1733): JNI_CreateJavaVM failed
> E/AndroidRuntime( 1733): JNI_CreateJavaVM failed
> D/AndroidRuntime( 1734):
> D/AndroidRuntime( 1734): >>>>>>>>>>>>>> AndroidRuntime START
> <<<<<<<<<<<<<<
> D/AndroidRuntime( 1734): CheckJNI is ON
> D/dalvikvm( 1734): DexOpt: incorrect opt magic number (0xff ff ff ff)
> D/dalvikvm( 1734): Stale deps in cache file; removing and retrying
> W/dalvikvm( 1734): partial write in inflate (20440 vs 32768)
> E/dalvikvm( 1734): Unable to extract+optimize DEX from '/system/
> framework/framework.jar'
> D/dalvikvm( 1734): Unable to process classpath element '/system/
> framework/framework.jar'
> E/dalvikvm( 1734): opt header write failed: No space left on device
> I/dalvikvm( 1734): Unable to open or create cache for /system/
> framework/android.policy.jar (/data/dalvik-cache/
> sys...@[email protected][email protected])
> D/dalvikvm( 1734): Unable to process classpath element '/system/
> framework/android.policy.jar'
> E/dalvikvm( 1734): opt header write failed: No space left on device
> I/dalvikvm( 1734): Unable to open or create cache for /system/
> framework/services.jar (/data/dalvik-cache/
> sys...@framew...@[email protected])
> D/dalvikvm( 1734): Unable to process classpath element '/system/
> framework/services.jar'
> E/dalvikvm( 1734): Unable to find createAnnotation() in android
> AnnotationFactory
> D/dalvikvm( 1734): VM cleaning up
> D/dalvikvm( 1734): LinearAlloc 0x0 used 44308 of 5242880 (0%)
> W/dalvikvm( 1734): JNI_CreateJavaVM failed
> E/AndroidRuntime( 1734): JNI_CreateJavaVM failed
> D/AndroidRuntime( 1735):
> D/AndroidRuntime( 1735): >>>>>>>>>>>>>> AndroidRuntime START
> <<<<<<<<<<<<<<
> ************************ logcat end***************
> These massages keep coming...
>
> please help.
>
> Regards
> Jack,
>
> On Nov 11, 8:09 am, Alim Akhtar <[email protected]> wrote:
>
> > Ok I got it. My onenand device is if 2Kb page side and in the mkyaffs2 utils
> > 4KB page support was enabled.
> > Now the board boots till prompt but still i cann't see the Android coming up
> > on the LCD and text is there.
> > Any idea whats still wrong with it?
>
> > Regards,
> > Jack.
>
> > On Tue, Nov 10, 2009 at 9:47 AM, jack <[email protected]> wrote:
> > > I am trying to port android on custom board ARM CORTEX-A8 based with
> > > 128MB of onenand device.
> > > I can see "android" text coming up on the LCD screen but after that
> > > nothing is coming. I am using YAFFS2 filesystem. Below is log last few
> > > lines:
>
> > > ***************** log start ***********************
>
> > > Freeing init memory: 152K
> > > init: cannot open '/initlogo.rle'
> > > yaffs: dev is 32505860 name is "mtdblock4"
> > > yaffs: passed flags ""
> > > yaffs: Attempting MTD mount on 31.4, "mtdblock4"
> > > block 363 is bad
> > > yaffs: dev is 32505862 name is "mtdblock6"
> > > yaffs: passed flags ""
> > > yaffs: Attempting MTD mount on 31.6, "mtdblock6"
> > > yaffs_read_super: isCheckpointed 0
> > > yaffs: dev is 32505861 name is "mtdblock5"
> > > yaffs: passed flags ""
> > > yaffs: Attempting MTD mount on 31.5, "mtdblock5"
> > > yaffs_read_super: isCheckpointed 0
> > > android_usb gadget: high speed config #1: UMS Only (Not debugging
> > > mode)
> > > init: cannot find '/system/bin/sh', disabling 'console'
> > > init: cannot find '/system/bin/servicemanager', disabling
> > > 'servicemanager'
> > > init: cannot find '/system/bin/vold', disabling 'vold'
> > > init: cannot find '/system/bin/debuggerd', disabling 'debuggerd'
> > > init: cannot find '/system/bin/rild', disabling 'ril-daemon'
> > > init: cannot find '/system/bin/app_process', disabling 'zygote'
> > > init: cannot find '/system/bin/mediaserver', disabling 'media'
> > > init: cannot find '/system/bin/playmp3', disabling 'bootsound'
> > > init: cannot find '/system/bin/dbus-daemon', disabling 'dbus'
> > > init: cannot find '/system/bin/installd', disabling 'installd'
> > > init: cannot find '/system/bin/flash_image', disabling
> > > 'flash_recovery'
> > > init: cannot find '/system/bin/keystore', disabling 'keystore'
> > > enabling adb
> > > android_usb gadget: high speed config #1: UMS + ADB (Debugging mode)
>
> ...
>
> read more »

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to