Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,813,801 Members 40,110 Now Online
XDA Developers Android and Mobile Development Forum

GUIDE Modify apks

Tip us?
MysticKing32's Avatar
Senior Member - OP
Thanks Meter 532
Posts: 1,489
Join Date: Dec 2011
Default GUIDE Modify apks

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.

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

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.
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)

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.

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.

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.

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.

Mystic's Glory (Thanks Incloud Design)
The Following User Says Thank You to MysticKing32 For This Useful Post: [ Click to Expand ]
howtomen's Avatar
Senior Member
Thanks Meter 1,221
Posts: 1,992
Join Date: Jan 2011
Location: Brea CA

for step three rename the. apk to .zip its easier
Check out My Android YouTube Channel!

I'll answer any question, just ask nicely.
N5 running whatever i want
(Last edited by shoman94; 13th April 2012 at 11:35 PM.)
shoman94's Avatar
Recognized Contributor
Thanks Meter 12,203
Posts: 8,431
Join Date: Mar 2009
Location: Maine

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:
IRC: freenode|#shostock

Asus Transformer Prime[32gb]

Asus Transformer[16gb]
The Following User Says Thank You to shoman94 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes