[Android General] Gnome:
Here is an in depth guide on how to create a flashable zip for Recoveries, Kernels, Fonts, System Apps, Bootanimations etc. I will go straight to the point and show everything that needs to be done. Just follow the instructions and you'll be fine.

Pre requisites:

- Basic knowledge on zipping/archiving files

- Basic knowledge on Unix Scripts

- Win rar

- Notepad++

Let's start!

+Bootanimation

- first create two types of folder one for "system" and one for "META-INF."

- then go inside the system folder that you created and create a folder named "media"

- inside "media" save your current boot animation and save it there.

- then let's go to the META-INF folder

- create this folders "com/google/android" so first create "com" then inside "com" create "google" then inside "google" create "android".

- then inside android you need to create a update-binary file and updater-script file (Don't worry I'll attach the specific files at the bottom.)

- then after putting the two files inside the android folder you need to zip the two folders: system and META-INF

- zip those two together not zipping both of them inside a folder. Highlight the 2 Folders right click and add to archive or compress, choose the zip format.

- after that place it in your sdcard and boot to recovery and flash it.

For Updater Script:

run_program("/sbin/mount", "/system");

package_extract_dir("system", "/system");

run_program("/sbin/umount", "/system");

+System Apps of fixes to Certain System Apps:

- first create two types of folder one for "system" and one for "META-INF."

- then go inside the system folder that you created and create a folder named "app"

- inside "app" save your current app or fix for an app located inside the system/app folder of your device and save it there.

- then let's go to the META-INF folder

- create this folders "com/google/android" so first create "com" then inside "com" create "google" then inside "google" create "android".

- then inside android you need to create a update-binary file and updater-script file (Don't worry I'll attach the specific files at the bottom.)

- then after putting the two files inside the android folder you need to zip the two folders: system and META-INF

- zip those two together not zipping both of them inside a folder. Highlight the 2 Folders right click and add to archive or compress, choose the zip format.

- after that place it in your sdcard and boot to recovery and flash it.

For Updater Script:

run_program("/sbin/mount", "/system");

package_extract_dir("system", "/system");

run_program("/sbin/umount", "/system");

+FONTS

- first create two types of folder one for "fonts" and one for "META-INF."

- inside "fonts" save your current fonts and save it there.

- then let's go to the META-INF folder

- create this folders "com/google/android" so first create "com" then inside "com" create "google" then inside "google" create "android".

- then inside android you need to create a update-binary file and updater-script file (Don't worry I'll attach the specific files at the bottom.)

- then after putting the two files inside the android folder you need to zip the two folders: fonts and META-INF

- zip those two together not zipping both of them inside a folder. Highlight the 2 Folders right click and add to archive or compress, choose the zip format.

- after that place it in your sdcard and boot to recovery and flash it.

For Updater Script:

run_program("/sbin/busybox", "mount", "/system");

package_extract_dir("fonts", "/system/fonts");

run_program("/sbin/busybox", "umount", "/system");

+Kernel

- first create a folder for "META-INF along with the "boot.img" (You will not create a folder for boot.img the only folder you'll create is for META-INF."

- then let's go to the META-INF folder

- create this folders "com/google/android" so first create "com" then inside "com" create "google" then inside "google" create "android".

- inside META-INF along side the "com" folder there should be files such as CERT.SF, CERT.RSA and MANIFEST.MF (Dont worry its included in the files that'll I attach.)

- then inside android you need to create a update-binary file and updater-script file (Don't worry I'll attach the specific files at the bottom.)

- then after putting the two files inside the android folder you need to zip the two files: boot.img and META-INF

- zip those two together not zipping both of them inside a folder. Highlight the 2 files right click and add to archive or compress, choose the zip format.

- after that place it in your sdcard and boot to recovery and flash it.

For Updater Script:

package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");

set_progress(1.000000);

This updater script is for N4 kernels, as you can see "/dev/block/platform/msm_sdcc.1/by-name/boot" this is for this certain device. If you have another device you should know the command line for that.

+Recovery

- first create a folder for "META-INF along with the "recovery.img" (You will not create a folder for recovery.img the only folder you'll create is for

META-INF.)"

- then let's go to the META-INF folder

- create this folders "com/google/android" so first create "com" then inside "com" create "google" then inside "google" create "android".

- now let's go inside META-INF folder

- then inside android you need to create a update-binary file and updater-script file (Don't worry I'll attach the specific files at the bottom.)

- then after putting the two files inside the android folder you need to zip the two files: recovery.img and META-INF

- zip those two together not zipping both of them inside a folder. Highlight the 2 files right click and add to archive or compress, choose the zip format.

- after that place it in your sdcard and boot to recovery and flash it.

For Updater Script:

assert(package_extract_file("recovery.img", "/tmp/recovery.img"), run_program("/sbin/busybox", "dd", "if=/tmp/recovery.img", "of=/dev/block/platform/msm_sdcc.1/by-name/recovery"), delete("/tmp/recovery.img"));

There you go now go create your own flashable zips!!!

Download for flashable zip folders:

Here

Don't forget to RATE THE THREAD and press the THANKS button!!