[Q] How to make my own flashable .zip package for system apps. - Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl

Hi guys ,
I've been modding my apps from last two days , and i'm on the climax to mod those apps.
My main question is , that how can I make a .zip file to push apps in my system/app directory....
This means replacing the stock apps with the modded ones.
I'm not able to push the apps and pushing it via mobile is too boring.
Please help.
Sent from my GT-S5360 using xda premium

Google it.

download a sample zip for your phone..
any flash-able zip from this forum will do it..
extract it, you will see two folders, meta-inf and system.
if you want install system app through that zip then create folder in system and name it 'app' and place whichever app you want to install..
meta-inf is folder you don't wanna mess with..
it would be better if you just google it.
Sent from my GT-S5830i using xda app-developers app

srt99 said:
download a sample zip for your phone..
any flash-able zip from this forum will do it..
extract it, you will see two folders, meta-inf and system.
if you want install system app through that zip then create folder in system and name it 'app' and place whichever app you want to install..
meta-inf is folder you don't wanna mess with..
it would be better if you just google it.
Sent from my GT-S5830i using xda app-developers app
Click to expand...
Click to collapse
Please ,
Can u provide Me with a link of such file?
Sent from my GT-S5360 using xda premium

Saurabh Kamble said:
Hi guys ,
I've been modding my apps from last two days , and i'm on the climax to mod those apps.
My main question is , that how can I make a .zip file to push apps in my system/app directory....
This means replacing the stock apps with the modded ones.
I'm not able to push the apps and pushing it via mobile is too boring.
Please help.
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
get this meta inf folder https://www.dropbox.com/s/cjnqv80zzbuw1m5/META-INF.rar then get notepad ++
copy its meta inf folder to your documents
then delete the file u downloaded
create a new folder
named app
put all the apps u modded in the folder app
now create a folder named system
put the folder app to system...
put meta inf folder and system to the same place...
now go to meta inf/com/google/android
edit updater-script via notepad ++
delete all lines and put this in it
Code:
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("system", "/system");
run_program("/sbin/busybox", "umount", "/system");
then save
go to the folder where u put meta inf and system folders
click n drag those folders then right click
then choose add to archive
then choose zip
then store method
then ok
push the created zip to root of sdcard
then flash using recovery...
IF U HAVE DONE THIS STEPS CORRECTLY.. NOTHING CRAPPY WILL HAPPEN...

http://forum.xda-developers.com/showthread.php?t=1611615
press thanks if i help u

Thankx alot guys.....
Sent from my GT-S5360 using xda premium

Alternately you can download a custom rom and use the script if ur having a hard time.
Sent from my Xoom using xda premium

Thanx......Close this 4 me someone plz.....Problem solved
Sent from my GT-S5360 using xda premium

74M3NUMB3RS said:
get this meta inf folder https://www.dropbox.com/s/cjnqv80zzbuw1m5/META-INF.rar then get notepad ++
copy its meta inf folder to your documents
then delete the file u downloaded
create a new folder
named app
put all the apps u modded in the folder app
now create a folder named system
put the folder app to system...
put meta inf folder and system to the same place...
now go to meta inf/com/google/android
edit updater-script via notepad ++
delete all lines and put this in it
Code:
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("system", "/system");
run_program("/sbin/busybox", "umount", "/system");
then save
go to the folder where u put meta inf and system folders
click n drag those folders then right click
then choose add to archive
then choose zip
then store method
then ok
push the created zip to root of sdcard
then flash using recovery...
IF U HAVE DONE THIS STEPS CORRECTLY.. NOTHING CRAPPY WILL HAPPEN...
Click to expand...
Click to collapse
This will work on gti9105P?
I want to install my stock music apk (deleted it dont ask why. No other methods worked you are my last hope )
Do I need the odex file also putted in folder app allong with music apk? Thank you in advance
---------- Post added at 10:35 PM ---------- Previous post was at 10:30 PM ----------
74M3NUMB3RS said:
get this meta inf folder https://www.dropbox.com/s/cjnqv80zzbuw1m5/META-INF.rar then get notepad ++
copy its meta inf folder to your documents
then delete the file u downloaded
create a new folder
named app
put all the apps u modded in the folder app
now create a folder named system
put the folder app to system...
put meta inf folder and system to the same place...
now go to meta inf/com/google/android
edit updater-script via notepad ++
delete all lines and put this in it
Code:
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("system", "/system");
run_program("/sbin/busybox", "umount", "/system");
then save
go to the folder where u put meta inf and system folders
click n drag those folders then right click
then choose add to archive
then choose zip
then store method
then ok
push the created zip to root of sdcard
then flash using recovery...
IF U HAVE DONE THIS STEPS CORRECTLY.. NOTHING CRAPPY WILL HAPPEN...
Click to expand...
Click to collapse
Another things. Apps that already installed in system app will NOT get lost right? The method ADDS apps not REPLACING them. Right?

just use my flashable zip template
download flashable zip template
unzip contents
you will notice there is already a system/framework folder - anything you want to add to the framework folder place here
if you want to add anything to the app folder simply create a folder named app in system and place any apps here
same goes for any other location - just create the folder and place any files in that location
once you have created all the folders and placed any files you want to flash in them just zip everything back up again and flash in cwm with system mounted

Related

[Q] is this the right step to modify framework-res.apk ?

hi...
i want to change standard notification bar from my htc desire running sense froyo rom with mod battery percentage, animation icons for data, signal, etc.
what i did is :
1. pull framework-res.apk from /system/framework folder
2. extract framework-res.apk using apktool
3. extract & overwrite with icons colour pack v4 downloaded from http://forum.xda-developers.com/showthread.php?t=722993 into drawable & drawable-hdpi folder from extracted framework apk folder.
4. bundled modified framework-res.apk using apktool
5. sign framework-res.apk
6. in recovery mode, adb push framework-res.apk to /system/framework. before doing that, i mount /system first..
7. reboot
what i found, everytime i choose network setting or wireless setting it crashed with error message process.com.android.settings has stopped unexpectedly.
why this error occured ? any other step that i did is wrong ?
I just pull from adb, my PC has 7zip installed so can see drill into the compressed file, drag replace the altered images, back out of the compressed file to commit, push via adb, reboot.
Sent from my Nexus One using XDA App
Why not use the UOT kitchen?
Sent from my HTC Desire using XDA App
HTCinToronto said:
I just pull from adb, my PC has 7zip installed so can see drill into the compressed file, drag replace the altered images, back out of the compressed file to commit, push via adb, reboot.
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
This is what I do, basically. I make the battery mod with UOT, and when the flashable zip is ready I extract the framework-res to some folder and just replace couple of images, then I'll put the modified framework-res back to the UOT-file and flash it. Works every time.
EDIT: I don't extract the files within framework-res.zip, only the .zip itself so I can open it via WinRar and replace the files. It isn't probably even needed, you could probably replace the needed files when browsing the UOT file with winrar/whatever etc etc. Haven't tried.
Can this same method be applied to anything that can be found in the framework ?

[CWM][MOD-ZIP] BootAnimation Changer v1.4

hi everyone, i've made bootanimation changer zip for changing bootanimation.zip without ADB or PC Connection.
You need just a Zip Editor (in PC or phone), and your favourite bootanimation.zip with this zip file.
First of all, prepare your bootanimation.zip, this mod, current nandroid backup, and zip opener/editor (Such as androzip or else..)
-> open your zip manager (for me this is Root Explorer)
-> Extract my zip file any directory
-> put your bootanimation.zip in extracted-folder/system/media/
-> select your "extracted-folder" and choose "zip this folder"
-> your file ready for flashing.
NOTICE: I WILL NOT RESPONSIBLE IF YOU BRICK YOUR PHONE. ALL RESPONSIBLITIES BELONGS TO YOURS
If anything gone bad; restore your nandroid backup..
please comment and tell issues me.
Images below (with comment)
fatal.blade said:
hi everyone, i've made bootanimation changer zip for changing bootanimation.zip without ADB or PC Connection.
You need just a Zip Editor (in PC or phone), and your favourite bootanimation.zip with this zip file.
First of all, prepare your bootanimation.zip, this mod, current nandroid backup, and zip opener/editor (Such as androzip or else..)
-> open your zip manager (for me this is Root Explorer)
-> Extract my zip file any directory
-> put your bootanimation.zip in extracted-folder/system/media/
-> select your "extracted-folder" and choose "zip this folder"
-> your file ready for flashing.
NOTICE: I WILL NOT RESPONSIBLE IF YOU BRICK YOUR PHONE. ALL RESPONSIBLITIES BELONGS TO YOURS
If anything gone bad; restore your nandroid backup..
please comment and tell issues me.
Images below (with comment)
Click to expand...
Click to collapse
Sir, can I request [CWM][MOD-ZIP] for application?
Sent from my GT-S5830 using Tapatalk
yes but your application's name and path must be changed in updater-script in extracted META-INF\com\google\android\updater-script .
For Example; i have embed Google Maps 5.8 in /system/app folder (this means you make this app SYSTEM APP situation)
1) just extract my zip any place you preferred
2) go into extracted folder and delete system/media/ folder
3) make folder named "system" in extracted folder
4) go into "system" then create another folder named "app" in there.
5) put your apk in "app" folder,
6) for now you have this folder tree:
extracted/cwm-flashable/
--------------------------- META-INF/
-------------------------------------- com/google/android/updater-script and update-binary
-------------------------------------- [few signer files there in META-INF]
--------------------------- system/app/google-maps-5.8.apk
Click to expand...
Click to collapse
7) go into META-INF/com/google/android/updater-script and select "open in text editor"
8) find these lines:
Code:
[FONT="Courier New"]
ui_print("----------------------------");
ui_print("Detected: Samsung Galaxy Ace");
ui_print("google maps 5.8 installer"); <<-- Change app name with version
ui_print("by fatal.blade"); <<---------------------------
ui_print("INFO: ITS HIGHLY RECOMMENDED"); <<
ui_print("BACKUP SYSTEM WITH NANDROID "); << DONT CHANGE THESE because it warn you from bricking
ui_print("BEFORE FLASHING THIS UP!!!! "); <<
ui_print("----------------------------"); <<---------------------------
ui_print("->installing google-maps.5.8.apk");
delete("/system/media/bootanimation.zip"); << Remove This Line
ui_print("->bootanimation.zip deleted."); << Remove This Line
package_extract_dir("system", "/system"); << DONT CHANGE IT
ui_print("->google-maps installed"); << Change it with your info
set_perm(0, 0, 0644, "/system/app/google-maps-5.8.apk"); << Change your apk name but not touch numbers
ui_print("->Process Completed.");[/FONT]
9) Save updater-script
10) go to extracted/ and change name of folder before zipping ("I Changed it "cwm-google-maps" ")
11) now you have :
----- extracted/cwm-google-maps/META-INF ----- etc
folder.
12) tap and hold cwm-google-maps folder and select "Zip this folder" Option
13) After zipping process, Select "Go To Extracted" option
14) Finish, you can flash your file with cwm.
that's it. very easy huh?
I will upload example "cwm-google-maps.zip"
cheers, fatal.blade
fatal.blade said:
yes but your application's name and path must be changed in updater-script in extracted META-INF\com\google\android\updater-script .
For Example; i have embed Google Maps 5.8 in /system/app folder (this means you make this app SYSTEM APP situation)
1) just extract my zip any place you preferred
2) go into extracted folder and delete system/media/ folder
3) make folder named "system" in extracted folder
4) go into "system" then create another folder named "app" in there.
5) put your apk in "app" folder,
6) for now you have this folder tree:
7) go into META-INF/com/google/android/updater-script and select "open in text editor"
8) find these lines:
Code:
[FONT="Courier New"]
ui_print("----------------------------");
ui_print("Detected: Samsung Galaxy Ace");
ui_print("google maps 5.8 installer"); <<-- Change app name with version
ui_print("by fatal.blade"); <<---------------------------
ui_print("INFO: ITS HIGHLY RECOMMENDED"); <<
ui_print("BACKUP SYSTEM WITH NANDROID "); << DONT CHANGE THESE because it warn you from bricking
ui_print("BEFORE FLASHING THIS UP!!!! "); <<
ui_print("----------------------------"); <<---------------------------
ui_print("->installing google-maps.5.8.apk");
delete("/system/media/bootanimation.zip"); << Remove This Line
ui_print("->bootanimation.zip deleted."); << Remove This Line
package_extract_dir("system", "/system"); << DONT CHANGE IT
ui_print("->google-maps installed"); << Change it with your info
set_perm(0, 0, 0644, "/system/app/google-maps-5.8.apk"); << Change your apk name but not touch numbers
ui_print("->Process Completed.");[/FONT]
9) Save updater-script
10) go to extracted/ and change name of folder before zipping ("I Changed it "cwm-google-maps" ")
11) now you have :
----- extracted/cwm-google-maps/META-INF ----- etc
folder.
12) tap and hold cwm-google-maps folder and select "Zip this folder" Option
13) After zipping process, Select "Go To Extracted" option
14) Finish, you can flash your file with cwm.
that's it. very easy huh?
I will upload example "cwm-google-maps.zip"
cheers, fatal.blade
Click to expand...
Click to collapse
Thanks now I know.... its easy..
Sent from my GT-S5830 using Tapatalk
i uploaded zip file for u
where do we find the rom boot animation in root manager !
Sent from my GT-S5830 using xda premium
dylan_ace said:
where do we find the rom boot animation in root manager !
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
its in system>media
its the bootanimation.zip
The app bootanimation changer is fully automated though..
of course, but it is an alternative way (and exercise for me )
Now I test it with my own apps... working great... thanks:beer:
Sent from my GT-S5830 using Tapatalk
You're welcome
Sent from my GT-S5830 using XDA App

Porting Other Devices System App

How to port applicAtions from other devices to sgy? thanks :thumbup:
Sent from my GT-S5360 using xda premium
This method requires your device to be rooted.....
1) Firstly check whether the application can run on arm v6...(go to app /lib/if their is folder named armebi then u can install it on sgy)
2) check whether app requires lib files...if yes then copy it to your sdcard
3) now go to system/etc/permissions
and check xml files which required for app to be installed...
Copy that xml file to your sdcard
4) open above xml file ...
In that file, their given a framework file......
Copy that framework file from /system/framework to your sdcard
5) copy all files at appropriate place in your system...change permissions and reboot......
6) after that install apk.....and enjoy.....
Sorry for bad english.....
Sent from my GT-S5360 using xda premium

Creating a Flashable zip problem

Hi I created a bootanimation and want to make it flashable. I followed tutorials from the net and xda. I got two files META-INF and system.
I put my bootanimation.zip in system/media. That's all. I didn't touch META-INF .
After flashing the zip in cwm, it says Installation aborted . Need Help please...
thats because the flashable zip wasnt for your phone
status 0 - wrong update binary
status 6 - wrong update script
here is my template for you
simply download it
open it in winrar (or if using phone just unzip everything)
open the system foler
you will notice a framework folder that is currently empty
you can leave this folder as it is
just create folders to where you want to flash the file to
for example your bootanimation.zip create the following
in the system folder create a folder called media
in the media folder place your bootanimation.zip
the same is true for any other files you want to flash
if you want to flash a file to system/framework just put a file in that folder
if you want to flash a file to system/app just create a folder called app in the system folder and put what you want to flash there
if on winrar you just have to open the zip and right click and create a folder - no need to unzip everything
if on phone and you have unzipped everything just zip everything back up when done
flashable zip template can be download from here
if you are using stock rom you need to enable custom boot animations first using the custom boot enabler zip
(if you already have a custom boot animation and bootanimation.zip working in a custom rom then you dont need to do this)
Ovafloa_X said:
Hi I created a bootanimation and want to make it flashable. I followed tutorials from the net and xda. I got two files META-INF and system.
I put my bootanimation.zip in system/media. That's all. I didn't touch META-INF .
After flashing the zip in cwm, it says Installation aborted . Need Help please...
Click to expand...
Click to collapse
If just a bootanimanion, push using root browser only
Or using a another flashable bootanimation file and the replace the bootanimation.zip with yours
I attch it . Credits to its maker
works perfectly! thanks

how can i install . help me my brothers

my rom is stock odex i used universal deodexer and deodexed my.system/app and system/framework folders . now my question.
how can i install that app and framework folders to my phone ??(i tried replace with root explorer but it does not .(
how can i make thats to a flashable zip?
but
my problem is not that . i can make a flashable zip . its working fine but after i flashed old .odex files doesnt delete. how can i add it to meta inf for when flashing delete app and replace new app and same for framework
No need to create any kind of meta inf you just need to find any flashable zip may be of some kind of theme or update package of your rom if available and just edid it using zarchiver(android) or winrar(windows) simply delete eveything inside the system folder inside the zip except the app folder then delete everything inside app folder then put the apk you want to replace in the app folder. And you are done. Its recommended to sign the zip using apktool(windows) or zipsigner(android) but you can skip this step. Thats about making a flashable zip.
But as far as i know you need to have deodnexed rom to make any changes to system.
Anyways this thread should have been posted in q&a section.

Categories

Resources