Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.
sp edited this page Jun 14, 2018 · 13 revisions

F-zip: Universal recovery flashable zip generator for Linux & android

by [email protected]

What is F-zip about?

"F-zip is a universal shell script designed to make recovery flashable zip files with a few simple steps“

For those it is helpful?

Anyone (devs/newbies) who has something (boot.img/appxxx.apk/libxxx.so/bootanimation.zip) to flash and do not want to do all the work to make a recovery zip manually

Where it works?

It will works on any Linux and Linux based operating systems including android. The Linux system might be native or with in a virtual box or even the bash inside Windows 10.

How-to-use?

  1. clone or download this repo into your Linux PC or Android device.

  2. copy "boot.img", if any, into the “working” directory. Caution: This feature is by default optimized for Samsung Galaxy S5 (kltexxx). Proper modification in the “fzip.sh” (line# 30) will be required for other devices. Don’t worry, you can easily find such details from any other working ROM/Kernel zip.

  3. copy the app folder(s) in to "/working/priv-app/" or/and "/working/app/". You may also copy the “.apk” file(s) directly to “/working/app/” or/and “/working/priv-app/” (without folder) if your app/ROM supports to do so.

  4. copy library (typically “.so”) file(s), if any, into “/working/lib/” (“/working/oreo/lib/” for Android Oreo and above).

  5. copy modules (typically “.ko”) file(s), if any, into “/working/modules/” (“/working/oreo/modules/” for Android Oreo and above).

  6. copy framework (typically “.jar”) file(s), if any, into “/working/framework/”.

  7. copy framework-res.apk, if any, into “/working/framework/”.

  8. copy bootanimation.zip (only for aosp ROMs) file, if any, into “working” directory.

  9. copy mixer_paths.xml, if any, into “working” (“/working/oreo/” for Android Oreo and above) directory.

  10. modify fzip.sh accordingly (please see instructions).

  11. open terminal and cd to the root folder of f-zip.

  12. run ". fzip.sh" (in Linux) or “sh fzip.sh” (in android).

  13. The recovery flashable zip file will be generated in the “output” folder.