Jump to content

  1. 0
  2. 0
  3. 0/5

Rate this Topic

- - - - -

Decompiling Jellybean apk's for Themeing?

  • Please log in to reply

OP Detonation

Detonation

Average Android

  • 486 posts

Posted 28 June 2012 - 08:36 AM #1

Anyone have success decompiling any of the Jellybean apks (SystemUI, Framework-res, etc) for themeing? I tried with apktool but I just get errors. I did install the JB framework. Is it even possible yet, or do we need a new version of apktool?
  • 0 Likes

Schoat333

Schoat333

Themer

Posted 28 June 2012 - 08:42 AM #2

I am able to decompile framework-res, but nothing else so far.

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.
  • 0 Likes

OP Detonation

Detonation

Average Android

  • 486 posts

Posted 29 June 2012 - 05:10 AM #3

Bump. So is this just not possible yet? Anyone know why? Was really hoping to make a 1% battery mod for JB.
  • 1 Likes

Smcdo123

Smcdo123

A Chosen One

  • 783 posts

Posted 29 June 2012 - 06:12 AM #4

Bump. So is this just not possible yet? Anyone know why? Was really hoping to make a 1% battery mod for JB.


Well vanirbean has 1% battery mods. So must be possible see. Win.

Sent from my Galaxy Nexus using RootzWiki

Attached Thumbnails

  • uploadfromtaptalk1340979153210.png

  • 0 Likes
*AOKP "CrackFlashers Anonymous"
*Always Minimal
*My Deviant Art. Walls & Minimalism
http://smcdo123.deviantart.com/

Schoat333

Schoat333

Themer

Posted 29 June 2012 - 06:36 AM #5

It can be done by using an old ICS apk, 7zip, and a bit of hacking.

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.

  • 0 Likes

bouchigo

bouchigo

Android Enthusiast

Posted 29 June 2012 - 07:00 AM #6

I am able to decompile framework-res, but nothing else so far.

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:

Posted ImagePosted Image


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.
  • 0 Likes

Current Phone: LG G2 - Self-built Shadow Rom kk-4.4.2

Current Tablet(s):  Nexus 7 16GB (2012) - CM10.1.3, Nexus 7 32GB (2013) Stock, rooted, and unlocked

Retired Phone(s):  Droid X, Galaxy Nexus, SGS3

Retired Tablet(s):  HP Touchpad

 


OP Detonation

Detonation

Average Android

  • 486 posts

Posted 29 June 2012 - 07:02 AM #7

Did you use the method posted by Schoat333 to get SystemUI to decompile?


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.

  • 0 Likes

bouchigo

bouchigo

Android Enthusiast

Posted 29 June 2012 - 07:07 AM #8

Did you use the method posted by Schoat333 to get SystemUI to decompile?


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.

  • 0 Likes

Current Phone: LG G2 - Self-built Shadow Rom kk-4.4.2

Current Tablet(s):  Nexus 7 16GB (2012) - CM10.1.3, Nexus 7 32GB (2013) Stock, rooted, and unlocked

Retired Phone(s):  Droid X, Galaxy Nexus, SGS3

Retired Tablet(s):  HP Touchpad

 


Schoat333

Schoat333

Themer

Posted 29 June 2012 - 07:10 AM #9

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 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.
  • 0 Likes

bouchigo

bouchigo

Android Enthusiast

Posted 29 June 2012 - 07:20 AM #10

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.


I'm on Windows 7 64-bit.
  • 0 Likes

Current Phone: LG G2 - Self-built Shadow Rom kk-4.4.2

Current Tablet(s):  Nexus 7 16GB (2012) - CM10.1.3, Nexus 7 32GB (2013) Stock, rooted, and unlocked

Retired Phone(s):  Droid X, Galaxy Nexus, SGS3

Retired Tablet(s):  HP Touchpad