-
Notifications
You must be signed in to change notification settings - Fork 7
Home
"F-zip is a universal shell script designed to make recovery flashable zip files with a few simple steps“
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
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.
-
clone or download this repo into your Linux PC or Android device.
-
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.
-
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” directory.
-
copy mixer_paths.xml, if any, into “working” (“/working/oreo/” for Android Oreo and above) directory.
-
modify fzip.sh accordingly (please see 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.