First download Zipme from the playstore:
https://play.google.com/store/apps/...zipme&pcampaignid=APPU_1_3kCMVePfNsz9ULqsgogC
Then download DC07's Aroma Installer Template (attached below).
1.Use Zipme to generate a flashable zip file.
2. Extract your mod/theme (that you made with zipme) into any folder
3. Extract the aroma installer template.
4.Rename the updater-binary in your mods META-INF to update-binary-Installer
5. Move it along with your updater-script into the .../Aroma's_META-INF/com/google/android folder (the extracted one)
6.Rename AROMA'S_META-INF to META-INF
7.Delete the META-INF in your mod folder (the one you extracted)
8.Copy and paste Aroma's META-INF (the one you renamed to META-INF)
9.Compress to .zip
You can edit the updater-script created by Zipme. ui_print is basically echo "say what you want here"
CREDITS
DC07 FOR HIS TEMPLATE
Preferably view it on your phone in Google Chrome.
If there are any problems please Reply to me.
If the Aroma installer touch doesn't work properly with your touch screen,
1. Go to recovery
2. Install zip (your mod.zip)
3. Hold and release home button
4. Click on calibrate (or something like that)
5. Follow the instructions
6. Once finished write down the code that pops up.
7.
Replace in aromameta-inf/com/google/android
Code:
#calibrate("7.90","20","7.90","20");
With your code:
Example
Code:
calibrate_matrix("26310.00","-2205.00","420520.00","-3360.00","282240.00","913920.00","280644.00","20");
Important Note: The # must be removed otherwise it won't work
daboss5 said:
First download Zipme from the playstore:
https://play.google.com/store/apps/details?id=zip.me&hl=en&referrer=utm_source=google&utm_medium=organic&utm_term=zipme&pcampaignid=APPU_1_3kCMVePfNsz9ULqsgogC
Then download DC07's Aroma Installer Template (attached below).
1.Use Zipme to generate a flashable zip file.
2. Extract your mod/theme (that you made with zipme) into any folder
3. Extract the aroma installer template.
4.Rename the updater-binary in your mods META-INF to update-binary-Installer
5. Move it along with your updater-script into the .../Aroma's_META-INF/com/google/android folder (the extracted one)
6.Rename AROMA'S_META-INF to META-INF
7.Delete the META-INF in your mod folder (the one you extracted)
8.Copy and paste Aroma's META-INF (the one you renamed to META-INF)
9.Compress to .zip
You can edit the updater-script created by Zipme. ui_print is basically echo "say what you want here"
CREDITS
DC07 FOR HIS TEMPLATE
Preferably view it on your phone in Google Chrome.
If there are any problems please Reply to me.
Click to expand...
Click to collapse
Where is Aroma Installer Template???
Related
OK, so I've been using Android Kitchen (URL provided) to modify other ROMS (not CM6 cuz the kitchen is not compatible) to add my own apps and whatnot. So I flash nightly about ever couple of days or so, and hate having to flash the core CM zip and then gapps then copy over my apps, and do mods that I like, etc.
Now you can do all of that in one shot here's how.
In this example, I will demonstrate adding Gapps, change density of LCD, and add my own apps to /system/app (note, this might prevent market from auto update on your apps).
1. Download nightly zip
2. Extract it using your favorite zip program
3. You should get a directory (if not unzip it into a directory) of CM6.
To change LCD Density:
4. go into /system/ folder and open build.prop and look for "ro.sf.lcd_density" and change the value to some'n you like. I have mine at 170 instead of 240 (default)
5. Save the file and do a chmod 755 system/build.prop
Note: I'm not sure if step 5 matters but I thought I would put it back to original state when it was found in the archive.
To Add Gapps:
6. Download Gapps zip file
7. Extract to a directory other than the ROM directory
8. Go into system folder and copy over all the respective files in the folders into CM6 corresponding folder. For example: Gapps => /system/app/Vending.apk then you will copy that apk into /CM6_extracted_folder/app/ and so on so forth.
To add your own apps:
9. Simply add all apks into /CM6_extracted_folder/app/
10. Do a chmod -R 755 /CM6_extracted_folder/app/
Note: same note as in step #5.
Putting it all together:
11. Now create an zip archive with your favorite zip app
12. Add all the contents of /CM6_extracted_folder/ into the archive. NOT the /CM6_extracted_folder/ folder itself but everything underneath it.
13. IMPORTANT: DO NOT set any compression rate, just add it as normal rate (default in most app). I tried it with diff. compression rate and recovery flash have hard time reading it.
After all of that you should have the following folder structure in your archive:
boot.img
META-INF
system
If you don't see it like that then redo ur archive.
Now you can transfer the file over to sdcard and flash it all in one sweep.
If you really want to get fancy, you can write script to automate all of this.
Things you'll need :- 1. Auto sign tool2. update-binary for FIT3. update-script(If you don't know how to make, then use the one provided in the zip file. It can be used to copy files in the system folder to the /system/ of the phone)
DOWNLOAD LINK :- w w w . multiupload .c o m / K2QQNT3W2N
NOTE :- Make sure you make a backup of the files you are flashing. For backup you can refer to the docs and download "deodexed update.zip" for your respective ROM !!
Lets get started :-1. Make a new folder on the desktop and rename it as "TEST"2. Make this structure of folders in the TEST folder
------META-INF>>>>COM>>>>GOOGLE>>>>ANDROID
TEST-----
------SYSTEM3. Now add whatever you want to flash Eg. You want to flash /app/systemUI.apk and /framework/framework-res.apk
Sol. 1. Create two folders named "app" and "framework" within "TEST>>>SYSTEM" 2. Put your files in the respective folders.
4. Now put "update-script" and "update-binary" in "meta-inf>com>google>android". (Provided in REPLICA in zip file !! ENJOY )
5. Now select the "META-INF" and "SYSTEM" folder together and compress it and make a file named "update.zip".
6. Put the update.zip in the "Auto-Sign" folder and run the" Sign.bat". Press any key to continue..
7. Now you'll get a "signed_update.zip" in the same folder !!
8. Flash it via RECOVERY....
the file was deleted...
Hello Guys,This is an updated guide for creating an update.zip for your rom.I know that there are a few guides out there but i think my guide is a bit simpler and straight forward.
Step 1:
Download AutoUpdateCreator_V1.1
Step 2:Extract file and click on "CreateUpdateZip.exe"
Step 3: You can either drag your created zip file or press ENTER (If you did not compress your rom yet)
Step 4:Now drag & drop your ROM Folder in the program
**NOTE** Structure of ROM folder should be as follows:
ROM FOLDER(Containing)
---System
---Data
Note: If you get an error it means that your ROM Structure is incorrect!!)
Step 5:Now that everything is done,zip is signed go to GENERATED ZIPS in autoupdatecreator folder.
Step 6:Copy your update-script in your generated zip file at /META-INF/COM/GOOGLE/ANDROID/
(Do NOT replace Update-binary file!)
Other Notes:
(Update Script must be created,there are templates available)
(Editing Update Script with normal windows text editor will cause Status 6 Error)
(Adding an incorrect or non existing file in update-script will also give you a Status 6 Error)
Cheers
Thanx for work.means now i can convert .tar files into zip?and can flash from cell
not working in last cwm
switch to Edify error
Hey man, i guess you can help me. I have a samsung double time and it can't be flashed via odin, my wifi and all connections, except mobile data are not working. So i have the .tar firmware extracted. Is there any way to create an update.zip file from this firmware.
Stavr0s91i said:
Hello Guys,This is an updated guide for creating an update.zip for your rom.I know that there are a few guides out there but i think my guide is a bit simpler and straight forward.
Step 1:
Download AutoUpdateCreator_V1.1
Step 2:Extract file and click on "CreateUpdateZip.exe"
Step 3: You can either drag your created zip file or press ENTER (If you did not compress your rom yet)
Step 4:Now drag & drop your ROM Folder in the program
**NOTE** Structure of ROM folder should be as follows:
ROM FOLDER(Containing)
---System
---Data
Note: If you get an error it means that your ROM Structure is incorrect!!)
Step 5:Now that everything is done,zip is signed go to GENERATED ZIPS in autoupdatecreator folder.
Step 6:Copy your update-script in your generated zip file at /META-INF/COM/GOOGLE/ANDROID/
(Do NOT replace Update-binary file!)
Other Notes:
(Update Script must be created,there are templates available)
(Editing Update Script with normal windows text editor will cause Status 6 Error)
(Adding an incorrect or non existing file in update-script will also give you a Status 6 Error)
Cheers
Click to expand...
Click to collapse
The Download link is offline
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!!
Link is dead.
The link to download the files "updater-script" and "update-binary" is dead. Please help!!!
TWRP Flashable Zip - Sample
About
This is a sample zip i.e Empty, with this you can move anything (for say: apps, fonts, boot anim, libs/hals, build.prop etc) to your system partition easily.
How-to?
Extract the zip
Now copy-paste the stuff you want to flash
normally compress the zip again
Go to TWRP
Flash and Reboot.
Hit thanks and Enjoy xD
Download
Attached below - click click
Notes
For anything you want to flash/move to system: You will have to first make a folder inside the system folder for ex
You want to push a lib in lib64 folder for that you need to create a folder as 'lib64' inside the system folder
so the path will be : (flashable zip)/system/lib64/(your file)
Lets say :-
For Apps:
(flashable zip)/system/app/(your app)
For Fonts:
(flashable zip)/system/fonts/
For Boot anim:
(flashable zip)/system/media/(bootanimation.zip)
PS : Sorry for Typos if any.
thread closed as per OP request