New android systems have the ext4 format. This tutorial will help you to create a flashable ZIP from FTF firmware. Basically, this is for my Sony Android devices.
Download the Stock Firmware you want (FTF-File, aka Firmware.ftf).
$ mv Firmware.ftf Firmware.zip
unzip system.zip -d SomeFolder
Open Flashtool go to “Tools” -> “Sin Editor” -> Choose the extracted system.sin and push “extract” Data and get a
system.ext4 (With Fuse-Ext2, TUTORIAL) and put the files inside into a folder named
Download the META-INF File and extract it to
Now we can even use a GUI tool, named Aroma, to do some multi-selections and radio-buttons.
Now we have your two folders:
META-INF. Just ZIP them!
$ zip -roZ store Firmware.zip system META-INF
--recurse-pathsTravel the directory structure recursively
--latest-timeSet the “last modified” time of the zip archive to the latest (oldest) “last modified” time found among the entries in the zip archive.
-Z cmSet the default compression method. Currently the main methods supported by zip are store and deflate. Important: In some cases, you have to set the compression to “Store” to be supported by some recoveries.
Push the zip File to SD-Card and flash it with recovery.
adb push Firmware.zip /sdcard/Firmware.zip