[Q] ext4 back to sparse
I'm a bit of a noob when it comes to Linux but i'm trying to take the Chinese based firware for my device unpack it, modify it and re pack it to make a English starting vanilla build.
Let me begin, i've got a Ubuntu 12.04 install with ext4_utils. I've used a allwinner kitchen to extract the RFSFAT16_SYSTEM_000000000.fex file. I've used simg2img to convert it to original.img and then mounted it as tempdir.
I make changes and all seems ok.
the thing i'm struggling with now is once i've made changes to the output.img through the tempdir through nautilus i try to convert it back to sparse and the conversion completes BUT then when i re pack it into an image and flash the rom doesn't work and gets stuck on boot animation. If if leave the file as ext4 and repack it.. it loads fine but the system image is huge.
If i try to use ./mkuserimg.sh -s /home/Desktop/Android/ext4_utils ./Onda.img ext4 ./temp 512M it creates a .img file with a padlock on it.. (permissions). If i rename this to RFSFAT16_SYSTEM_000000000 and repack the root doesn't boot.
Ive followed this thread
and whilst i can get it to work in ext4 i can't get it to work as sparse.
Any help please?