You will need two programs for editing these files – you more than likely already have them : 7zip and Notepad++
First off kang a known version of the zip installer files.. download one of mine - open invitation to take what you need..
Once you have the file downloaded. Extract all the files to a folder of your liking.
The most common file structure: (two sets of folders)
Another set of folders may also be:
data/local – in the place of system/media
Note: you may also find other files and folders in there – leave them be.. they are required for the correct install..
In the first set of folders you will find a file called, “updater-script”
This is the script file that will mount correct memory block and copy the necessary files from the zip file to the correct location in the phone.. Depending on the ROM and the Clockwork Mod version you are using it may require different scripts.. There are a lot out there.. I have lableled mine to indicate what type of ROM they are scripted to install on .. Nex – Gnexus , 403 - 4.0.3 ROM Gnexus, mtd – CM7, Edify - CWM 3.x and 4.x.. the list goes on.. just take one of mine that is known to work.
Example 1: - mounts for 4.0.2 and will install to system/media.. This will also work with CM7.. Will not work with Edify installs..
Example 2: - mounts for 4.0.3 and installs to data/local
run_program("/sbin/busybox", "mount", "/system");
ui_print("Complete. Boot Animation Installed....");
If you know that this is the file that will work with the desired ROM just continue to use this format and only modify or remove the lines of code that start with “ui_print("");” Text may be inserted between the quotation marks only..
mount("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.0/by-name/data", "/data");
package_extract_dir("data", "/data");show_progress(0.100000, 0);
Neat to look at but don’t tinker too much.. you can cause major issues if you try commands that you are unfamiliar with..
In the system/media or data/local folders you will find my bootanimation.zip file.. remove it..
Delete or use as an example, or just kang it - its cool..
Place your bootanimation.zip file that you have worked so hard on in that folder then back out so that you can see the :
system/media/ - or - data/local folders..
Highlight both the folders and then right click using 7zip and zip (store) these folders – just like you did making the boot animation zip file.. give it a name is a good indicator of what you want to call your boot..
Ding – your boot will appearing below the folders..
Transfer to your newly made boot animation zip installer to your sd card – boot into recovery - install zip from sdcard..