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

Harshraj

Senior Member
Aug 21, 2012
356
387
0
24
Kalyan
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).
 
Last edited:

kevin12lin

Senior Member
Jul 27, 2013
150
46
0
Taichung
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 ?
 

coolsid.

Member
Aug 21, 2013
21
1
0
chandigarh
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.:D
 

stefano2626

Senior Member
Sep 17, 2009
262
96
58
37
pitesti
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.:D
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
 
  • Like
Reactions: coolsid.

coolsid.

Member
Aug 21, 2013
21
1
0
chandigarh
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.:)
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone