Originally Posted by chulri
One question (maybe a feature request):
why don't we use a squasfs ROM (as its name says: read-only, like the stock archos android) and put it where the stock android squashfs resides and put a unionfs on top with a writable storage somewhere else like dogmaphobias solution, but instead of tmpfs we use some file on internal storage or even a custom partition on sdcard?
updating and installing (initramfs checks for a specific file, namely the squashfs file, on sd or internal storage and moves it to where the squashfs has to reside.
that would be much easier to install AND upgrade and changes by users won't get overwritten by a new rom version
even updating OTA would be possible: download the file to sdcard or internal storage and reboot
what do you think`?
I was just thinking to use another way to boot SDE from, not sdcard.
Excatly from the internal flash drive (/dev/block/mmcblk1), partioning that device with other 2 partition in ext4.
So we have the first partition (/dev/block/mmcblk1p1) in fat32 resized with approximatly 6GB (as i note on the init script this partition may be use by archos to put a recovery dump file if the things go bad).
The second partition (/dev/block/mmcblk1p2) in ext4 of 500MB, where we can put the rootfs
and the third (/dev/block/mmcblk1p3) in ext4 of 1GB for the data (applications).
So we got the sdcard free, and could format it fat32 to be mounted on Windows if we like ...
I got a class 2 microsd card with approximatly 3mb/s write speed and actually the internal flash is for me the better choise.
The negative side is that to upgrade rootfs we have to boot to stock Archos android to be able to write the new rootfs on the second partition of the internal flash memory.
What are your thoughts about it?
Edit: I just notice that i'm not the only one who had this idea.
Ghostifish allready done it on that way ...
Click here to see his post