## Due to exams I won't be able to reply on questions, there are however many experienced developers active on this thread like @SpaceCaker & @K.A. ##
I have seen a lot of guides on how to decompile with Apk Tool, but none are noob friendly, so I thought I would post this.
What You Need:
ApkTool
Java JDK/JRE 32 bit
Super Basic Cmd/terminal knowledge (My 5 year old brother can handle this)
Download Apk Tool Here: (Must be this one)
Mega
First you need to extract that zip folder to anywhere you choose, preferably on root of c/drive E.g: C:/android/apktool extracting the files to 'apktool' folder.
Now copy the apk you would like to mod into your Apk Tool folder.
Command Prompt:
Open up your Command Prompt by going to:
Start -> run -> type : Cmd
Code:
Your cmd will probly look like this..
C:\users\yourname>
so type in
cd.. [COLOR="Red"](Yes include the '..' and press enter after you type each command.)[/COLOR]
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:
Now that you are in directory we need to install the device's framework to your system for it to compile correctly so type this:
apktool if framework-res.apk
Remember: Devices like HTC / Samsung / Huawei have other frameworks that are used in their apps too, sometimes you need to install them too.
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 :victory:
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! :highfive:
If you get Java errors see here.
If you recompile fine but doesn't install " App couldn't not be installed " see here.
Good Luck Guys! :fingers-crossed:
Last edited: