"F-zip is a universal shell script designed to make recovery flashable zip files with a few simple steps“
Fzip will be useful for anyone who has something (e.g. boot.img, apps, libs, bootanimation, framework etc.) to flash and do not want to do all the work to make a recovery zip manually
It will work on any Linux and Linux based operating systems including android. The Linux system might be native or within a virtual box or even the bash inside Windows 10.
- clone or download f-zip repo into your Linux PC or Android device.
- copy "boot.img", if any, into the "working" folder. Caution: Don’t forget to modify “fzip.sh” (line# 30), if your device is anything other than Samsung Galaxy S5 (kltexxx).
- 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.
- copy library (typically “.so”) file(s), if any, into “/working/lib/” (“/working/oreo/lib/” for Android Oreo and above).
- copy modules (typically “.ko”) file(s), if any, into “/working/modules/” (“/working/oreo/modules/” for Android Oreo and above).
- copy framework (typically “.jar”) file(s), if any, into “/working/framework/”.
- copy "framework-res.apk", if any, into “/working/framework/”.
- copy "bootanimation.zip" (only for aosp ROMs) file, if any, into “working” folder.
- copy "build.prop", if any, into “working” folder.
- copy "mixer_paths.xml", if any, into “working” (“/working/oreo/” for Android Oreo and above).
- modify fzip.sh accordingly (please read instructions).
- open terminal and cd to the root folder of f-zip.
- run ". fzip.sh" (in Linux) or “sh fzip.sh” (in Android).
- The recovery flashable zip file will be generated in the "output" folder.