Ads 468x60px

Monday, June 17, 2013

Cara Decompile Android Dengan APK TOOL

Banyak nya cara untuk meng-decompile dengan berbagai cara yang rumit akan tetapi banyak nya artikel yang kurang jelas, nah kali ini saya akan post cara decompile android dengan mudah cekidot brow :

Ramuan :
ApkTool
Java JDK/JRE 32 bit
Super Basic Cmd/terminal knowledge


Download Apk Tool:
Media Fire-Mirror
4Shared-Mirror

Yang pertama unzip dulu apktool.zip nya dimana aja , contohnya : 
C:/android/apktool extracting filenya ke 'apktool' folder.





Command Prompt:

buka command promt mu
Start -> run -> type : Cmd atau

Windows + R ketik cmd --> enter






Code:
Your cmd will probly look like this..

C:\users\yourname>

so type in

cd.. (Yes include the '..' and press enter after you type each command.)

this will get you to back directory so now you will see

C:\users>

so type again

cd..

you should now see this:

C:\>

now type in:

cd 'apktoo'l/'directory'

for me it looks like:

cd android/apktool

now you should see:

C:/android/apktool>

and you are in the apktool directory



Installing Framework:

Sekarang bahwa Anda berada di direktori kita perlu menginstal framework perangkat untuk sistem anda untuk itu untuk mengkompilasi dengan benar sehingga ketik ini:

apktool if framework-res.apk

This will install the devices framework to your system. (need to do this)



Decompiling:

Now to decompile the apk you want to edit, type this:

apktool d framework-res.apk framework1

or

apktool d music.apk music

music.apk is the apk your decompiling
music is the folder you're creating for the decompiled apk

Now go about your business






Recompiling/Finished Product:


Now to recompile your new apk type this:

apktool b music music-new.apk

or

apktool b framework1 framework-res-new.apk

framework1 is the folder with your edited files
framework-res-new.apk is your new apk file






We are NOT done just yet, we cannot use the new apk's... we have to take what we did and add it back to the original apk file to keep proper signature

use something like 7zip, take the 'resources.arcs' file and any other xml files you edited out of the "-new" apk and copy them into Original apk

Your new modded APK is now ready, Congrats!

If you get Java errors see here.

Good Luck Guys!