Decompiling Jellybean apk's for Themeing?
#1
Posted 28 June 2012 - 08:36 AM
#2
Posted 28 June 2012 - 08:42 AM
If you just want to edit images, make a copy of the apk, rename it to .zip, and then extract it. You can then edit non .9 images, and then use 7zip to drag them back into the original apk.
#3
Posted 29 June 2012 - 05:10 AM
#4
Posted 29 June 2012 - 06:12 AM
Detonation, on 29 June 2012 - 05:10 AM, said:
Well vanirbean has 1% battery mods. So must be possible see. Win.
Sent from my Galaxy Nexus using RootzWiki
*Always Minimal
*My Deviant Art. Walls & Minimalism
http://smcdo123.deviantart.com/
#5
Posted 29 June 2012 - 06:36 AM
Heres what you need to do. (Make sure you have installed the JB framework-res.apk using "apktool if framework-res.apk")
1. Open both the JB and ICS apks in separate 7zip windows.
2. Drag the resources.arsc, AndroidManifest.Xml, and Res folder from the JB apk, into the ICS apk
3. decompile your modified ICS APK
4. make your changes
5. Recompile modified ICS apk
6 move whatever you changed back into the JB apk using 7zip.
Edited by Schoat333, 29 June 2012 - 06:42 AM.
#6
Posted 29 June 2012 - 07:00 AM
Schoat333, on 28 June 2012 - 08:42 AM, said:
If you just want to edit images, make a copy of the apk, rename it to .zip, and then extract it. You can then edit non .9 images, and then use 7zip to drag them back into the original apk.
I was able to decompile and modify just fine.
I modified framework-res.apk and SystemUI.apk; added 1% and changed the nav bar, and centered the lockscreen:


I was also able to make mods to Launcher2.apk until I decided to use Nova Launcher because my go to Laucher (Apex Launcher) isn't working on jellybean, at least not for me.
Previous Phone: Galaxy Nexus - No more - Sold and shipped on 4-6-13
Tablet: Nexus 7 (16GB) - CM10.1 M3
#7
Posted 29 June 2012 - 07:02 AM
Alternatively, would you mind sharing your mods? The only thing I'm really missing on JB is 1% battery and a dedicated menu button, which you've evidently both done.
Edited by Detonation, 29 June 2012 - 07:04 AM.
#8
Posted 29 June 2012 - 07:07 AM
Detonation, on 29 June 2012 - 07:02 AM, said:
No, that's too much work for me.....lol
I just downloaded the latest sdk and took the new aapt.exe file and placed it in the "other" folder in APK Manager/APK Multi-Tool. I then added framework-res.apk to apktool as Schoat333 said ("apktool if framework-res.apk").
That was it, decompile and compile with ease.
Edited by bouchigo, 29 June 2012 - 07:09 AM.
Previous Phone: Galaxy Nexus - No more - Sold and shipped on 4-6-13
Tablet: Nexus 7 (16GB) - CM10.1 M3
#9
Posted 29 June 2012 - 07:10 AM
bouchigo, on 29 June 2012 - 07:07 AM, said:
I just downloaded the latest sdk and took the new aapt.exe file and placed it in the "other" folder in APK Manager/APK Multi-Tool. I then added framework-res.apk to apktool as Schaot said ("apktool if framework-res.apk").
That was it, decompile and compile with ease.
Weird, I got the new aapt, but that doesn't work for me. What OS are you in? I'm using crappy XP on my work computer, so that may be why.
#10
Posted 29 June 2012 - 07:20 AM
Schoat333, on 29 June 2012 - 07:10 AM, said:
I'm on Windows 7 64-bit.
Previous Phone: Galaxy Nexus - No more - Sold and shipped on 4-6-13
Tablet: Nexus 7 (16GB) - CM10.1 M3




