Unpack and repack ext4 filesystem image

unpack-repack

This is for all who want to unpack and modify the output files of the script that I posted here. You can also repack the modified file and flash using fastboot.

Note that this tutorial is for ext4 file system.

Continue reading

Advertisements

Recovery partition

troll_rec

We have got only 2 recoveries so far:

  • Genokolar
  • Official stock

What I discovered is not encouraging at all… Like the boot partition that has the reserved partition as digital signature, also for the recovery we have something similar. In fact we have a 800 Bytes header that works as Huawei digital signature, just before the magic number ANDROID! (always at the very beginning of the boot.img).
Continue reading