Edit "FrameWork-res.apk"? - Galaxy 3 Themes and Apps

How to edit framework-res.apk? And the compile it back again?
I want to make a few changes....

[email protected] said:
How to edit framework-res.apk? And the compile it back again?
I want to make a few changes....
Click to expand...
Click to collapse
Open it in 7zip & replace respective files with ur edited one..
If u wanna edit those xmls , then use apk manager to decompile & recompile..
Sent from my GT-I5800 using Tapatalk

[email protected] said:
How to edit framework-res.apk? And the compile it back again?
I want to make a few changes....
Click to expand...
Click to collapse
Install 7 Zip Open Archive and replace PNGs you want to change. Check for same resolution specially for files with extention .9.png they create mess if replaced improperly.
For convenience I suggest using 7Zip extract the apk. Go to folders check pngs replace as your requirement and then finally select all the folders you got after modding open archive with 7zip and drag files. It will ask to copy your files or not. Select yes. your apk is done

Thanks both of you....

Related

[Q] replacing files in a .apk file

hello,
i wanna edit some pics in an app from the market.. how can i get it working on my phone.. i signed it and then it won't open on my phone when try to open it..?? here are the files
yakie996 said:
hello,
i wanna edit some pics in an app from the market.. how can i get it working on my phone.. i signed it and then it won't open on my phone when try to open it..?? here are the files
Click to expand...
Click to collapse
Just open the original .apk in 7-Zip, find the files, delete them and then put your new ones in. The have to be exactly the same name. You don't need to decode the apk or resign it.
Some apks won't work like this but very few in the end so you should be okay.
djmcnz said:
Just open the original .apk in 7-Zip, find the files, delete them and then put your new ones in. The have to be exactly the same name. You don't need to decode the apk or resign it.
Some apks won't work like this but very few in the end so you should be okay.
Click to expand...
Click to collapse
when i did this the app don't install on my device..
The 7-zip method not always will work. I use that to edit cyanogenmod themes to best fit my phone, but sometimes I can't install the apk, neither through adb nor file manager
Sent from my Nexus S using xda app-developers app
Try smali the whole apk , replace the pictures then compile it again, using Apk tool.
I'll do this on the go a the time as a matter of fact I did the tsfshell PCB blue theme with the traverse grapheme icons earlier...I do it by using root explorer extract the app and replace whatever you want as long as the file names are the same when done zip everything back up and rename from zip to app then move to system apps or data apps set proper permissions and reboot .....I do it from my cell hope this helps
Sent from my SPH-D700 using Xparent Blue Tapatalk 2
Use APK manager
Decompile the APk
replace or edit the pngs
recompile the APK
Sign it
you are done!!

[Q] Help systemUi decompile sense recent apps

Hello , i realy need help i am not able to decompile my s3 4.1.2 systemUI apk plz help .or if someone can plz do it for me i would like to have sense recent apps in it .Plz every help is much aprreciate it
update systemUi apk DOWNLOAD
Framework res.apk DOWNLOAD
If you can't decompile, then you sure won't be able to compile it back. so the files are useless
Glebun said:
If you can't decompile, then you sure won't be able to compile it back. so the files are useless
Click to expand...
Click to collapse
No the file is for someone to do it for me and get the sense recent apps in it
Mostunique99 said:
No the file is for someone to do it for me and get the sense recent apps in it
Click to expand...
Click to collapse
Why can't you decompile it, have you decompiled apk's before or is this your first attempt at this.
ag4751 said:
Why can't you decompile it, have you decompiled apk's before or is this your first attempt at this.
Click to expand...
Click to collapse
No i have put its always giving me errors
Mostunique99 said:
No i have put its always giving me errors
Click to expand...
Click to collapse
Check this then, before you decompile the apk.,
Open the apk with 7zip or whatever you normally use for zip files then look for classes.dex file, it will be in the main zip not in any sub folders, if there is one this will be causing the decompile error so extract it to your PC then delete it from the apk.
Now decompile the apk, do what you want, compile the apk then put the classes.dex file you extracted to your PC back in the apk.
ag4751 said:
Check this then, before you decompile the apk.,
Open the apk with 7zip or whatever you normally use for zip files then look for classes.dex file, it will be in the main zip not in any sub folders, if there is one this will be causing the decompile error so extract it to your PC then delete it from the apk.
Now decompile the apk, do what you want, compile the apk then put the classes.dex file you extracted to your PC back in the apk.
Click to expand...
Click to collapse
Thank you very much worked out perfectly :good:

Fail editing SystemUI.apk

Hi, i'm trying to edit SystemUI but the file is corrupted or something, when compile i get unsupported method error, and 7zip can't delete files or add files.
What can i do?
Thank you
potaturrias said:
Hi, i'm trying to edit SystemUI but the file is corrupted or something, when compile i get unsupported method error, and 7zip can't delete files or add files.
What can i do?
Thank you
Click to expand...
Click to collapse
Use apktool to decompile and recompile. Using something like 7zip wont decompile to apk properly.
Heres a guide on how to use apktool http://forum.xda-developers.com/showthread.php?t=1891686
chromium96 said:
Use apktool to decompile and recompile. Using something like 7zip wont decompile to apk properly.
Heres a guide on how to use apktool http://forum.xda-developers.com/showthread.php?t=1891686
Click to expand...
Click to collapse
I always use apktool. When apktool fails 7zip fails too, maybe the apk was a bad compression or something.
I'll try with files from stock rom instead modified rom.
Thank you

---> Question Extracting APKs <--- Pls look

So I know how to extract APKs with APK manager.
However, I want to know, when you extract APKs, where are the images of the APK located?
In which folder when you extract the APK files, are the images?
- It used to be easier back in the day, you would extract and all the images would just be there.
to get images folder you dont need to use apktool/manager.. use 7zip.. then extract. you get res folder .. all images in there... you find which one you to replace and rename to it, drag n drop to corresponding folder ur renamed one after opening apk in 7zip... no need to sign apk or whatver
s-X-s said:
to get images folder you dont need to use apktool/manager.. use 7zip.. then extract. you get res folder .. all images in there... you find which one you to replace and rename to it, drag n drop to corresponding folder ur renamed one after opening apk in 7zip... no need to sign apk or whatver
Click to expand...
Click to collapse
Yes, but not all the images are there.. Where are the rest of the images?
xologist said:
Yes, but not all the images are there.. Where are the rest of the images?
Click to expand...
Click to collapse
Most of the images should be there but if not you will have to either go through all of the lies to find them or you can search for them.
Sent from HTC One using Tapatalk 4

How to recompile a decompiled .APK?

How to recompile a decomiled .APK?
Well, i'm not good in these stuff but if you decompiled it with a zip software, maybe you can rezip all folders and archives into a zip file and then change the extension from .zip to .apk.
dj4v1n45h said:
How to recompile a decomiled .APK?
Click to expand...
Click to collapse
Don't start one thread to ask how to decompile and then start another to ask how to recompile.
http://forum.xda-developers.com/showthread.php?t=2295002

Categories

Resources