Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

how to create flashable.zip for any system file modded ???

OP engnajjar

22nd June 2014, 11:15 AM   |  #1  
OP Member
Thanks Meter: 7
 
72 posts
Join Date:Joined: Oct 2011
hello everybody

a lot of times I find system modded files and I wanna use them but the developers often offer the file is not flashable so I have to replace the older and set the permissions

but in all times I did that , the system sent an error and was damaged

so I wanna learn how to make a flashable.zip for any system file to be installed to its location and set the permissions

please help me

thanks
22nd June 2014, 01:06 PM   |  #2  
Member
Thanks Meter: 14
 
38 posts
Join Date:Joined: Jun 2014
More
Quote:
Originally Posted by engnajjar

hello everybody

a lot of times I find system modded files and I wanna use them but the developers often offer the file is not flashable so I have to replace the older and set the permissions

but in all times I did that , the system sent an error and was damaged

so I wanna learn how to make a flashable.zip for any system file to be installed to its location and set the permissions

please help me

thanks

Its quite simple. Download a superuser.zip file that is for your device. Extract it. You will find two folders, System and Meta-Inf. Open System folder and you will find a folder called app inside it. Open it and delete the superuser.apk file and copy your modded system file into it.

For eg., Let the file be Gallery2.apk .
Now open META-INF folder -> com -> google -> android. You will find a file called updater-Script. You have to edit that file. There will be a line, where the system mount command is given. Do not do anything until that line. Delete the lines below it and enter these lines.
delete("/system/app/Gallery2.apk");
# [here Gallery2 is the name of the apk file you copied]
package_extract_dir("system","/system");
ui_print("Installation complete!");

Now rezip the folders together and you have your own flashable zip to install modded system files.

Hit thanks if this helped!
PM me if you require further help.
Last edited by dev27; 22nd June 2014 at 01:11 PM.
The Following User Says Thank You to dev27 For This Useful Post: [ View ]
22nd June 2014, 05:02 PM   |  #3  
OP Member
Thanks Meter: 7
 
72 posts
Join Date:Joined: Oct 2011
Quote:
Originally Posted by dev27

Its quite simple. Download a superuser.zip file that is for your device. Extract it. You will find two folders, System and Meta-Inf. Open System folder and you will find a folder called app inside it. Open it and delete the superuser.apk file and copy your modded system file into it.

For eg., Let the file be Gallery2.apk .
Now open META-INF folder -> com -> google -> android. You will find a file called updater-Script. You have to edit that file. There will be a line, where the system mount command is given. Do not do anything until that line. Delete the lines below it and enter these lines.
delete("/system/app/Gallery2.apk");
# [here Gallery2 is the name of the apk file you copied]
package_extract_dir("system","/system");
ui_print("Installation complete!");

Now rezip the folders together and you have your own flashable zip to install modded system files.

Hit thanks if this helped!
PM me if you require further help.

thanks so much it works well
22nd June 2014, 05:35 PM   |  #4  
Member
Thanks Meter: 14
 
38 posts
Join Date:Joined: Jun 2014
More
Quote:
Originally Posted by engnajjar

thanks so much it works well

Glad that I could help.
The Following User Says Thank You to dev27 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes