Originally Posted by Kasbert
I tried using ext3 for /system, but the filesystem got corrupted immediately after mounting it read/write. My theory is that because the internal flash has 16kb erase size block and the file system has 1kb block size, the flash driver implements the writing by read-modify-write cycle. I guess this is error prone even without bugs in the driver. The kernel ext3 fs won't allow 16kb block size.
The tv box has a modified /init which automatically runs e2fsck for /data and /cache. It also runs mke2fs and creates a fresh filesystem if mount fails. I guess this is to overcome the unstability of the system.
Someone said that ext2 would be better for flash devices, because ext3 journaling will cause more writes to the device. Unfortunately this tv box supports only ext3. So I tried using fuse-ext2 and I even had some luck using 16kB block ext2 for /cache. /cache is not used for anything so it is good for trying things out. I tried using it for /data too but it a bit too unstable. The system boots but the Android animation starts over and over.
When using rktools, did you follow these instructions http://androidforums.com/google-tv/505559-flashing-android-tv-box-one-four-usb.html
Hi Kasbert, how are you? I think i have a solution for corrupted FS.
I was in same trouble as you, mounting /system as ext3, rw and got FS corrupted just after installing a few apps and reboot. Sometimes it never boots again.
Look at this thread: G-Box RK2918 (2 USB Ports) Rooting (read & write)
Despite the fact the boards aren't the same, i've used the parameter and RK29xxLoader(L)_V2.05.bin from the files attached in that thread. If you look closely, you will find that system address is different, located at end of FS:
CMDLINE: console=ttyS1,115200n8n androidboot.console=ttyS1 init=/init initrd=0x62000000,0x00500000 mtdparts=rk29xxnand:0x00002000@0x00002000(misc),0x00004000@0x00004000(kernel),0x00002000@0x00008000(boot),0x00004000@0x0000A000(recovery),0x00082000@0x0000E000(backup),0x0003a000@0x00090000(cache),0x00100000@0x000ca000(userdata),0x00002000@0x001ca000(kpanic),0x00080000@0x001cc000(system),-@0x0024c000(user)
I've flashed my imgs with above parameter and RK29xxLoader(L)_V2.05.bin and it works!