Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,354 Members 41,477 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
engnajjar
Old
#1  
Member - OP
Thanks Meter 7
Posts: 71
Join Date: Oct 2011
Question how to create flashable.zip for any system file modded ???

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
My posts : Sony Walkman Font
------------------------------------------------------------------------------
- Sony Ericsson Xperia arc S
- - ROM : Xperia Ultimate HD 5.0.1
- - Kernel : LuPuSv16

 
dev27
Old
(Last edited by dev27; 22nd June 2014 at 12:11 PM.)
#2  
Member
Thanks Meter 14
Posts: 38
Join Date: Jun 2014
Quote:
Originally Posted by engnajjar View Post
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.
The Following User Says Thank You to dev27 For This Useful Post: [ Click to Expand ]
 
engnajjar
Old
#3  
Member - OP
Thanks Meter 7
Posts: 71
Join Date: Oct 2011
Quote:
Originally Posted by dev27 View Post
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
My posts : Sony Walkman Font
------------------------------------------------------------------------------
- Sony Ericsson Xperia arc S
- - ROM : Xperia Ultimate HD 5.0.1
- - Kernel : LuPuSv16

 
dev27
Old
#4  
Member
Thanks Meter 14
Posts: 38
Join Date: Jun 2014
Quote:
Originally Posted by engnajjar View Post
thanks so much it works well
Glad that I could help.
Hit Thanks if I helped ! PM me if you require further help...
The Following User Says Thank You to dev27 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes