/data should be read-write (and /cache), /system should be read-only. Generally the /cache partition is separate from /data.
Note that the dexopt at boot of stuff in /system should only happen on development builds; production builds should generate a release image where the optimized dex files are placed in /system (and the original .dex files are not included). The build system will generate directories (and associated image files of their contents) for both the /system and /data partitions. On Mon, May 18, 2009 at 8:59 AM, Elvis Dowson <[email protected]>wrote: > > Hi, > How can I make the android rootfs in the mmc partition read > only, but set it up so that the /system and /data folders are > writeable? > > When I initially prepare the android rootfs, you have the original > *.apk files. After first boot, the system converts the *.apk files to > *.dex files. > > So if I make the initial mmc rootfs partition read only, I guess the > system wont be able to convert the *.apk files to *.dex files. > > What should I do? Create two partitions on the mmc card? One to hold > some of the files and the other to hold another set? > > Can some one tell me which files to go to which partition? I want one > partition for the system to be readonly, and the other partition to be > read-write, so that the system can use it for the cache, applications, > user storage etc. > > Best regards, > > Elvis > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
