How To Make Recovery Flashable ZIP File For Custom Rom S Recovery S
How To Make Recovery Flashable ZIP File For Custom Rom S Recovery S
Now when you have custom recovery either TWRP Or CWM or any other recovery installed people generally tend to flash custom ROM(s) cyanogenmod rom or rom ressurection or so on......
after flashing custom rom you need to flash GAPPS or google apps zip which installs all google apps and framework its a zip file which needs to be flashed from recovery similarly for example i use Asus Zenfone and i like some asus stock apps like asus music,calculator and so on...... in order to install those oem apps on custom rom it needs to be ported and even if it does not requires porting like for example asus music does not needs to be ported in order to install it on cyanogenmod but keyboard needs to be ported...... porting is discussed here in my blog lets skip porting take for example u want to install asus music in cyanogenmod but as system app this can be done in two ways.....
Process 1 (it requires to have the asus_music.apk file) and the process is mentioned in my blog
Process 2 is the easy one which we will be discussing here and using this process we can install more than one apps at time....
and there are two kinds of flashable zip one is known as AROMA ZIP other one is normal one.....we will start with normal one first... AROMA PACKAGE is there will be a UI in which u can select which apps to install and which to not....
so lets start
REQUIREMENTS:
- any file that you want to replace or add to your phone;
- an existing cwm flashable zip file to use as a base - Ive attached one below;
- Winrar download from here
- Notepad++ download from here
after flashing custom rom you need to flash GAPPS or google apps zip which installs all google apps and framework its a zip file which needs to be flashed from recovery similarly for example i use Asus Zenfone and i like some asus stock apps like asus music,calculator and so on...... in order to install those oem apps on custom rom it needs to be ported and even if it does not requires porting like for example asus music does not needs to be ported in order to install it on cyanogenmod but keyboard needs to be ported...... porting is discussed here in my blog lets skip porting take for example u want to install asus music in cyanogenmod but as system app this can be done in two ways.....
Process 1 (it requires to have the asus_music.apk file) and the process is mentioned in my blog
Process 2 is the easy one which we will be discussing here and using this process we can install more than one apps at time....
and there are two kinds of flashable zip one is known as AROMA ZIP other one is normal one.....we will start with normal one first... AROMA PACKAGE is there will be a UI in which u can select which apps to install and which to not....
so lets start
REQUIREMENTS:
- any file that you want to replace or add to your phone;
- an existing cwm flashable zip file to use as a base - Ive attached one below;
- Winrar download from here
- Notepad++ download from here
- Sample zip (ESSENTIAL) DOWNLOAD
(1) Download and place the sample.zip anywhere on your desktop;
(2) Right-click on it and choose: "Winrar / Open archive" [*DO NOT extract; just *Open archive*];
Now you should see two folders: one called "system" and one called "META-INF".
I - FILES AND FOLDERS:
Lets start with the "system" one, so double-click on it:
In there, will go all files that what you want to add or replace to the system. So lets say for example that you want to replace the bootanimation and bootsound. To do so, we have to create sub-directories in the /system/ folder by following this easy method:
- On your desktop, right-click on an empty spot and select "New / Folder" then edit the name to "etc" (no " ") using no CAPS or space at the end;
- repeat the process to make another folder called "media";
- drag those two new empty folders into the /system/ folder of the 7-zip opened archive [just click yes on the popup dialogs];
- now simply drop the two files in their respective place: the sanim.zip file should go in /system/media folder and the PowerOn.wav into /system/etc folder.
.. If you have more files to add, just follow the logic above
/system/app - all the system apps (SystemUI.apk, asus music.apk etc)
/system/framework/ -framework-res.apk, twframework-res.apk, android.policy.jar
/system/etc - vold.fstab, PowerOn.wav(bootsound)
/system/media - sanim.zip (bootanimation) (only for custom ROMs)
/system/lib - libraries (*.so)
II - UDATER-SCRIPT
The other folder included in the opened archive is named "META-INF" and all the file in it should be left unchanged.
It contains updater binary and updater script
which contains which partition to be mounted and unmounted for placing the files......and if it requires to wipe cache/data/davlik cache
NOTE THIS SAMPLE ZIP SCRIPT DOES NOT HAVE ANY WIPING USED IT DOES NOT WIPE ANY DATA OR CACHE
GAAPS PACKAGE ZIP SCRIPT GENERALLY HAVE WIPING LINES ADDED
Thats it !!
zip created head to recovery install select zip install..............
More Info On Updater Script
More Info On Updater Script
I RECOMMEND USING TWRP RECOVERY
download file now