Hi All Thank you for the support. I have successfully done the Android 1.5 porting. The above problem was due to data corruption in /data/dalvik- cache/ . This is caused by the wrong method to copy the RFS. For SD card RFS:
[r...@localhost]# cd <path of android source>/out/target/product/ generic [r...@localhost]# mount /dev/sdc1 /mnt/sdcard1 [r...@localhost]# cp -a root/* /mnt/sdcard1/ [r...@localhost]# cp -a system /mnt/sdcard1/ Modify the init.rc file [r...@localhost]# umount /dev/sdc1 boot the board. Thank you. Shyjumon N. On Jul 17, 11:50 am, SMN <shyjumo...@gmail.com> wrote: > Hi Fadden, > Thank you for the reply. As i have checked the permissions, i have > give 0777 permission for data and dalvik-cache too. > > -rwxrwxrwx 1 root root 3689656 2009-06-08 18:22 > sys...@framew...@core....@classes.dex > The above is the permission of the classes.dex. > > Is there any modification required in init.rc script ? and also is > there any other thread which having similar sort of discussions going > on ? > > Thank you and regards, > Shyjumon N. > > On Jul 16, 12:43 pm, fadden <fad...@android.com> wrote: > > > On Jul 16, 4:10 am, shyjumon <shyjumo...@gmail.com> wrote: > > > > W/dalvikvm( 27): Cached DEX '/system/framework/core.jar' (/data/ > > > dalvik-cache/sys...@framew...@core....@classes.dex) is stale and not > > > writable > > > I/dalvikvm( 27): Unable to open or create cache for /system/ > > > framework/core.jar > > > What are the ownership and permissions on /data/dalvik-cache, and on > > the file listed above? > > > The VM wants to rewrite core.jar's entry in /data/dalvik-cache, but > > does not believe it's able to do so. --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---