Until there is a more stable ext4 i stay with ext3. Since that change this doesn't happen anymore.
All this stuff has been described already. I've came to conclusion that it needs to be changed - to stop people whining so badly about not beeing able to mount stuff over USB (unless in stock OS).
Please reformat your HD
/dev/sda1 - vfat, all free space
/dev/sda2 - ext4, rootfs (512MB)
/dev/sda3 - ext4, /data (1GB)
Extract rootfs to second partition, update initramfs and zImage. Report please.
Data in your case it's not yet mounted - when we complete this step, i'll prepare proper init script to mount /data on A70H.
Reformated, reextracted rootfs and updated initramfs/zImage from http://adrian.siemieniak.net/UrukDroid/trunk/
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?
I boot Uruk from the internal storage just like you describe. PC usb storage doesn't work.
The problem is not with how Windows (or any OS for that matter) mounts the partitions but with how android unmounts entire devices for use as usb storage.
Coupled with the fact that if android can't unmount BOTH internal and sdcard storage, it doesn't hand either over and reports an error.
Short answer, if you use UrukDroid, you can't have pc usbstorage.
The only way, at the moment that I can see to get Uruk and PC storage to work is to install it to mmcblk0. But thats dangerous and it wouldn't fit anyway.
|android, archos, gen8, urukdroid|