An essential tool when it comes to modifying Android files is Apktool. This tool, originally created by Brut.all and now taken over by iBotPeaches, is a tool for reengineering 3rd party, closed, binary Android apps. It can decode resources to nearly original form and rebuild them after making some modifications; it makes possible to debug smali code step by step. Also it makes working with app easier because of project-like files structure and automation of some repetitive tasks like building apk (Quoted from Brut.all). Put simply, it allows you to decompile an Android app and rebuild it. This tutorial will instruct you on how to use the tool, and my other tutorials will show you how to use this tool for certain other mods.
- Download the Apktool ZIP file here (updated 18/06/13).
- Extract to the root of your hard drive so that you’ll have the extracted folder at C:\apktool
- Pull framework-res.apk from the rom you’re working on and copy it to C:\apktool
- Open a command prompt and navigate to C:apktool. Type : cd C:\apktool
- Now you will need to install the framework-res for apktool to work. This only needs to be done once unless you are working on a different rom. Type : java -jar apktool.jar if framework-res.apk
- We will now decompile the framework-res.apk. Type : java -jar apktool.jar d framework-res.apk (This may take over a minute. Be patient.)
- The process is the same to decompile any other apk. Just put the apk in C:apktool and enter the above command replacing framework-res.apk with the name of the apk you want to decompile.
- Now you should make any changes to the decompiled apks. You can find the decompiled resources in the apktool folder in a folder with the apk name (Example : A decompiled SystemUI.apk will create a SystemUI folder in C:apktool)
- It is now time to rebuild the apk. Once you have made the necessary changes to the decompiled apk, rebuild by entering : java -jar apktool.jar b framework-res . This might take a while so wait for the program to finish rebuilding. As with decompiling, the process is the same for other apks. Just replace framework-res with the name of the apk you want to build. (Note : This time it is important to not include .apk after the name of the apk)
- The new built apk will be in : C:\apktool[decompiled apk name]\dist.
The new .apk found in the dist folder should reflect on any changes done once the apk is decompiled. This allows you to make a number of changes you coulndt make if the apk was not decompiled. Just remember to change the apks if you are working in a different rom and you should have no problems.
2buy cheap levitra online
40 mg lexapro
order cannabis seeds online
order ciprofloxacin online
buy ashwagandha leaves