Post Reply

GUIDE Modify apks

OP MysticKing32

13th April 2012, 09:31 PM   |  #1  
MysticKing32's Avatar
OP Senior Member
Thanks Meter: 532
 
1,489 posts
Join Date:Joined: Dec 2011
Hi. I just wanted to write a guide on modifying apks. You probably have seen my rom in the ported section.

(I'll make the guide look better when I get home)

Well lets get started.

1.
First. An introduction to what an apk is. An apk is (believe it or not) a zip of files.

2.
So how do you go about editing a zip? I suggest using 7z on your computer or root explorer on your phone.

Second: there are a lot of apks you can edit but for this guide I'll be using the systemui.apk that you find in any rom in the system/app folder.
3.
Ok. So assuming you start with the system ui apk your going to need to extract the apk with 7z on your computer. (or root explorer on your phone. Es file should work also)

4.
Now you should have a new folder where you chose to extract your apk. Open that folder. Your going to see a bunch of files. What your probably going to be interested in is the res folder. Go into that folder and find the drawable hdpi folder. Open it.
Your going to see a lot of icons. Here is where you can change things like wifi icons. You can add 4g icons and so much more. Even edit what your contacts look like.

5.
This is an important step. Make sure your using the system ui apk from the rom your currently on or make sure its compatible with yoir rom.
Ok so now we get to the things like icon changes. Download a theme you've been dying for but couldn't get because it was either for another rom or phone. And the only thing you wanted was a few things from the theme.
Now extract that zip. Then extract the systemui.apk again from the zip you want your icons to look like. MAKE SURE YOU RENAME THE THE SYSTEM UI TO SOMETHING DIFFERENT SO YOU DON'T MIX THEM UP.

6.
So now that you got the system ui apk with whatever you want to use all you need to do is go into the drawable hdpi of the one with the icons you want in it. Copy them and bring them to your roms stock system ui and replace them.

7.
Thats about it. Now zip your roms stock system ui back up and change the ending to .apk. Then put it in system/apps and replace it. Reboot. And boom. Your modded apk is ready.

Hit thanks if I helped.
The Following User Says Thank You to MysticKing32 For This Useful Post: [ View ]
13th April 2012, 10:52 PM   |  #2  
howtomen's Avatar
Senior Member
Flag Brea CA
Thanks Meter: 1,221
 
1,992 posts
Join Date:Joined: Jan 2011
Donate to Me
More
for step three rename the. apk to .zip its easier
13th April 2012, 11:29 PM   |  #3  
shoman94's Avatar
Recognized Contributor
Flag Maine
Thanks Meter: 12,219
 
8,448 posts
Join Date:Joined: Mar 2009
Donate to Me
More
This can only be used for replacing regular images in the APK. There are many images that are .9 images which require decompiling.
There are MANY guides across xda that go into detail and show you the proper way to modify APK's..... There is much more then images.

This one is even in this forum: http://forum.xda-developers.com/show....php?t=1388459
Last edited by shoman94; 13th April 2012 at 11:35 PM.
The Following User Says Thank You to shoman94 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes