How to make cwm flashable zips on phone - Micromax A110

Want to know how to make CWM flashable zips using phone? Here's what you have to do. I have attached a sample zip file which consists of two folders viz. META-INF and system. Now download PowerGrasp.apk from the attached files. Install it, open it and then copy any app which you want as a flashable file. And then paste it in a new folder named "app" under the "system" folder in the "sample CWM.zip" file. Now the compressor of PowerGrasp will pop up. Set the compression level to 6. Now compress it. And you're done.
Now you've successfully made your own cwm flashable zip file. Use CWM recovery to flash.
{Neither of the attached files is my development. I got these files from a friend and posted these to help others who want to make flashable zips on phone}

Related

Question about modifying signed Rom zip files

Can I modify an existing one by simply dropping in updated bootscreen files, rosie.apk, etc.. and signing the existing rom zip?
Any good guides on how to do one if not, and/or how to use Flipz kitchen tool to create a rom?
Ceger
I am pretty sure if you sign the file and you modify it after that you will have to resign it. At least thats how it goes for other things that are similar that I deal with.
Kcarpenter said:
I am pretty sure if you sign the file and you modify it after that you will have to resign it. At least thats how it goes for other things that are similar that I deal with.
Click to expand...
Click to collapse
I understand that, just wondering if I can add new files and they will move or does some master script need to be updated to know to move the files. In other words, is it done by directory or by file?
For example, if I add some apps to /data/app in the zip will they be there on the phone when I install the ROM zip, etc.. More specifically, I have added an alternate boot sequence. The rom does not have a boot1.gif. If I add the new sequence with XML, will the boot1.gif be installed as well or do I need to update something that directs the install of the ROM to move that file or is it automatic as the folder is moved over?
Ceger
Ceger said:
I understand that, just wondering if I can add new files and they will move or does some master script need to be updated to know to move the files. In other words, is it done by directory or by file?
For example, if I add some apps to /data/app in the zip will they be there on the phone when I install the ROM zip, etc.. More specifically, I have added an alternate boot sequence. The rom does not have a boot1.gif. If I add the new sequence with XML, will the boot1.gif be installed as well or do I need to update something that directs the install of the ROM to move that file or is it automatic as the folder is moved over?
Ceger
Click to expand...
Click to collapse
I have found that the easiest thing to do is just put the files that you want to use to replace the old ones into a signed zip and then flash just those files I have tried altering a rom file with no success
wtphoto said:
I have found that the easiest thing to do is just put the files that you want to use to replace the old ones into a signed zip and then flash just those files I have tried altering a rom file with no success
Click to expand...
Click to collapse
Oh well, was trying to have a one step zip. I guess I can make at least have a 2 step process which is better than 4-5.
Thanks,
Ceger
Yes you can modify just about anything in the rom and flash your zip as long as it is signed and the update script is correct. I always make all my changes to a rom before flashing it so i do not have to flash several different things etc.
The update script is located in RomName\META-INF\com\google\android\
Lets look at a very simple update script to show you what i mean.
In this update script it is to write something to /system
example:
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
show_progress 0.1 10
We see here that whatever is in the system folder within the signed zip will be written to the phone
in this case i am writing /system/app/mobiledefense.apk
That will be the only file written to the phone and will be written to /system/app
The update script is not specific to every file so you can have 1 thing in the system folder or 100 and it will write everything in there.
One thing that many people mess up on is not using a update-script file when they sign a .zip file. The recovery has to know what to flash or it will not flash anything.
So the answer is yes you can change many things and then flash the signed update.zip file.
Not everything can be done this way but most things will work.
But for example changing the boot sceen can be done even if the file names are different as long as the folder structure stays the same and the .XML file is the correct one for the boot screen. I opened the .zip of a rom deleted everything out of the boot screen folder and dropped in all the files from the nexus one hero hybrid boot screen re signed the zip and everything flashed perfect. I changed many other things as well in the .zip like rosie.apk, sound files, lockscreen files, busybox files, added apps to /system/app and just resigned the zip and everything flashed the way i wanted it to and works perfect.
The way to correctly zip a file is to extract the zip modify what you want then select everything inside the zip right after you open the folder and the highlight everything select add to archive and then zip it up now sign that .zip
so say you extract the ROM and it is named Rom123 now you will have a folder named Rom123 open that folder and select everything file or folder in there and then hit add to archive that will make another zip right there called Rom123.zip pull that zip out to the desktop and sign that zip file and thats it.
I Know that is confusing as it is late as hell and i am tired but wanted to answer this real quick.
zippy-man said:
Yes you can modify just about anything in the rom and flash your zip as long as it is signed and the update script is correct. I always make all my changes to a rom before flashing it so i do not have to flash several different things etc.
The update script is located in RomName\META-INF\com\google\android\
Lets look at a very simple update script to show you what i mean.
In this update script it is to write something to /system
example:
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
show_progress 0.1 10
We see here that whatever is in the system folder within the signed zip will be written to the phone
in this case i am writing /system/app/mobiledefense.apk
That will be the only file written to the phone and will be written to /system/app
The update script is not specific to every file so you can have 1 thing in the system folder or 100 and it will write everything in there.
One thing that many people mess up on is not using a update-script file when they sign a .zip file. The recovery has to know what to flash or it will not flash anything.
So the answer is yes you can change many things and then flash the signed update.zip file.
Not everything can be done this way but most things will work.
But for example changing the boot sceen can be done even if the file names are different as long as the folder structure stays the same and the .XML file is the correct one for the boot screen. I opened the .zip of a rom deleted everything out of the boot screen folder and dropped in all the files from the nexus one hero hybrid boot screen re signed the zip and everything flashed perfect. I changed many other things as well in the .zip like rosie.apk, sound files, lockscreen files, busybox files, added apps to /system/app and just resigned the zip and everything flashed the way i wanted it to and works perfect.
The way to correctly zip a file is to extract the zip modify what you want then select everything inside the zip right after you open the folder and the highlight everything select add to archive and then zip it up now sign that .zip
so say you extract the ROM and it is named Rom123 now you will have a folder named Rom123 open that folder and select everything file or folder in there and then hit add to archive that will make another zip right there called Rom123.zip pull that zip out to the desktop and sign that zip file and thats it.
I Know that is confusing as it is late as hell and i am tired but wanted to answer this real quick.
Click to expand...
Click to collapse
Perfect, just what I was looking for.
Thank you, just made my day!
Ceger

[MOD] Flashable Zip for Ringtones and Notifications

I have wanted a way to easily flash a zip immediately after flashing a new ROM that will import all my custom ringtones and SMS notifications.
I found a DIY-zip posted by maatsby. It was made for the Desire HD, and it might work just fine with our phones just as it is. I don't know a whole lot about flashable zips but I looked at the zip Synergy made for our GS3s to back up the EFS partition, and I modified the script of the original DIY file to match the same dev/block address for the system partition.
Followed the instructions maatsby had in the OP to put in my own files, flashed on Carbon 1.5 AOSP and it worked perfectly! You can give maatsby thanks in his thread
Here are the steps:
1. Download the DIY-sounds-GS3.zip
2. Open zip but do not extract it
3. Navigate through "system" until you get to the folder that you want to make changes to
4. Drag and drop your song in that folder
> e.g. if you want a new ringtone, navigate to "ringtones" folder and drop your song in to the ringtones folder
5. Delete the README.txt
6. Navigate to the other folders and add your songs there too
> If you don't want to add any other songs, just delete the README.txt files in each of the other folders
7. Nandroid backup
8. Flash in recovery
Well this is awsome
Make it so number one!
Thanks for this, it saves me a lot of time.

[Tutorial][Guide] How to make a CWM flashable zip

Tutorial on [how to] make a flashable zip 
Credits:
Special Thanks to google.com for teaching me  and rishik999 for sample.zip
---------------------------------------------------------------------------
REQUIREMENTS
- Any file that you want to replace or add to your phone;
- An existing (base) cwm flashable zip file. - I've attached one below;
- 7-zip, Winrar or any program which can open and modify zip files .
STEPS:
DIRECTORY STRUCTURE:
(1) Download and place the base.zip (attached below) anywhere on your desktop;
(2) Right-click on it and open the archive with 7zip, winrar ... [DO NOT extract]
Now you should see two folders: one called "system" and one called "META-INF".
1. Let's start with the "system" one, so open it:
In there, will go all files that what you want to add or replace to the system. So let's say for example that you want to replace the bootanimation.
Make a "New Floder"
-Rename its as "media" (make sure its aint in CAPS nor with in quotation marks)
-drag those two new empty folders into the /system/ folder of the 7-zip opened archive
-now simply drop the two files in their respective place: the bootanimation.zip file should go in '/system/media' folder
.. If you have more files to add, just follow the logic above; I'm sure you get the idea by now.. :silly:
Hints
/system/app - all the system apps (SystemUI.apk etc)
/system/framework/ -framework-res.apk,android.policy.jar
/system/media - bootanimation.zip
/system/lib - libraries (*.so)
2. The other folder included in the opened archive is named "META-INF" and all the file in it should be left unchanged.
Now,just place the zip into your sd card! & try your luck  Of course it will work 
That's it !
Hihihihi...damn easy na ???
Common friend ..dont be a noob ..be a newbiee !!
HIT THANXXX !!
NOTE: Always backup your existing system file that you are going to replace by the patch(zip).
Here is the sample.zip which u can use to make any sort of flashable zip file
Deleted : Solved
kk9999gada said:
Where are Credits?
Click to expand...
Click to collapse
2nd line
Deleted : Solved
Edit : Done
thanks
i will try... :laugh:
Thanks, I will try it
Thanks will tryyy...
Sent from my Sony Ericsson Xperia Mini Pro(SK17i) using Tapatalk 2
How to make a flashable zip of a recovery.img?
Sent from my GT-S7500 using Tapatalk 2
video recorder problem
hello, I use the camera fix for CM10.1.
It works awesome but the video recorder cannot work after fixing.
Before fixing, I use both stock camera and camera jb+.
Video recorder can wok on camera jb+ then.
But it cannot work after flashing fixing camera jar via cwm!
How should I do ?
Warning:No file context!
Does this sentence "Warning:No file context" might affect the phone recovery????
Thumbs Up Bro !!
You made my day !!
learned something new...
Really nice thread.
I wanna ask that i want to edit my build. Prop file. So in case if anything goes wrong can i flash the original one via this method or it will work only for apps.
Because i once had modified it but stucked at bootloop. So i don't want it to happen again.
coolsid. said:
Really nice thread.
I wanna ask that i want to edit my build. Prop file. So in case if anything goes wrong can i flash the original one via this method or it will work only for apps.
Because i once had modified it but stucked at bootloop. So i don't want it to happen again.
Click to expand...
Click to collapse
It'working for every single file that's in the android os...i allways backup in a flashing zip the original files that i am tryng to change/mod
Sent from my GT-S7500
HEY BUDDY YOU SAID THAT..
Make a "New Floder"
-Rename its as "media" (make sure its aint in CAPS nor with in quotation marks)
-drag those 'two new' empty folders into the /system/ folder of the 7-zip opened archive
-now simply drop the "two files" in their respective place: the bootanimation.zip file should go in '/system/media' folder
this includes what are the two folders and the two files. Sorry but i could figure out only one. I Want To Make a zip file using your method but don't want to take any risk.

Changing the zombie art of a CUSTOM ROM

First of all, what is "zombie art"..??
>>> It is that image that is displayed by your phone when you tap the android version in Settings/About phone
This guide is meant for all Cyanogenmod roms ie. CM7,CM9,CM10,CM10.
What you need..??
1>> your zipped custom rom
2>> WinRAR (for zipping and unzipping roms)
3>> some degree of carefulness.
4>> Working Brain.
First of all please take a nandroid backup of your current rom incase anything goes wrong. I m nt responsible for it.
Steps:
1) unzip your rom into a folder. Name it anything that you like.
2) navigate to system/framework/ and copy the framework-res.apk file to another folder.
3) change the extension from .apk to .zip
4) extract this framework-res.zip file into a folder.
5) inside the extracted folder, navigate to res/drawable-nodpi
6) inside this folder you will find many files. but here we will only deal with platlogo.png
7) Replace this .png file with the one you like but be sure that its name remains "platlogo.png". you can find the .png files for ics and jellybean
in the attachments.
8) Now zip the files (the framework-res.zip) but with the changes made and name it the same ie "framework-res.zip".
9) change the extension of this zipped file to .apk
10) place it back in the system/framework/ directory .
11) zip the rom folders using WinRAR.
12) when you flash this zip file which that was edited this way, you will have the desired image when you tap on Android version in
Settings>About phone
13)please note that you can replace the original platlogo.png with any image file: provided you rename your desired file as platlogo.png.
If you have a .jpeg image, the edit it using Paint or any image editor and save the file as .png one.
PLEASE HIT THE THANKS BUTTON AT THE BOTTOM OF THE PAGE IF I HELPED.
MY DEVICE>> Motorola defy plus
shubhu2604 said:
First of all, what is "zombie art"..??
>>> It is that image that is displayed by your phone when you tap the android version in Settings/About phone
This guide is meant for all Cyanogenmod roms ie. CM7,CM9,CM10,CM10.
What you need..??
1>> your zipped custom rom
2>> WinRAR (for zipping and unzipping roms)
3>> some degree of carefulness.
4>> Working Brain.
First of all please take a nandroid backup of your current rom incase anything goes wrong. I m nt responsible for it.
Steps:
1) unzip your rom into a folder. Name it anything that you like.
2) navigate to system/framework/ and copy the framework-res.apk file to another folder.
3) change the extension from .apk to .zip
4) extract this framework-res.zip file into a folder.
5) inside the extracted folder, navigate to res/drawable-nodpi
6) inside this folder you will find many files. but here we will only deal with platlogo.png
7) Replace this .png file with the one you like but be sure that its name remains "platlogo.png". you can find the .png files for ics and jellybean
in the attachments.
8) Now zip the files (the framework-res.zip) but with the changes made and name it the same ie "framework-res.zip".
9) change the extension of this zipped file to .apk
10) place it back in the system/framework/ directory .
11) zip the rom folders using WinRAR.
12) when you flash this zip file which that was edited this way, you will have the desired image when you tap on Android version in
Settings>About phone
13)please note that you can replace the original platlogo.png with any image file: provided you rename your desired file as platlogo.png.
If you have a .jpeg image, the edit it using Paint or any image editor and save the file as .png one.
PLEASE HIT THE THANKS BUTTON AT THE BOTTOM OF THE PAGE IF I HELPED.
MY DEVICE>> Motorola defy plus
Click to expand...
Click to collapse
There is a pop up shown after I tap the image, how can I change the op up text ?
leezhijiang said:
There is a pop up shown after I tap the image, how can I change the op up text ?
Click to expand...
Click to collapse
follow this link n tou will find how to change the text
http://forum.xda-developers.com/showthread.php?t=1883003

How can I tell if a zip file is flashable?

I've been trying out different boot animations on my daughter's Droid Incredible. All are zip files, but some are flashable and some are just mean to be copied to the system/media folder. How can I tell if a zip file is flashable?
CheapDad
CheapDad said:
I've been trying out different boot animations on my daughter's Droid Incredible. All are zip files, but some are flashable and some are just mean to be copied to the system/media folder. How can I tell if a zip file is flashable?
CheapDad
Click to expand...
Click to collapse
Use a zipping tool (i use 7 zip) > open the zip file in archive and see if it has Meta -inf folder
If meta inf folder is there then it is flashable other wise it isnt

Categories

Resources