Pages

Saturday, October 8, 2016

How to Decompile and Recompile Apk(anroid Application ) by using Apktool


hirpara

                          





                                      


                                                   
REQUIREMENTS:
1. Basic Terminal Knowledge
2. Java JRE here
3. 7zip here
4. Notepad++ here
5. Apktool & Baksmali/Smali + Signer for all GB/ICS/JB ROM v2 here





  • ::::Extract Apktool to folder directory::::
  • Windows XP: C:\Document and Settings
  • \your computer name\here
  • Windows 7: C:\Users\your computer name\here



1. Copy and paste framework-res.apk to apktool folder
2. Copy and paste Apk you want to edit to apktool folder. For example: Settings.apk
3. Now Open Command Prompt.bat (CMD)


[Install framework-res.apk and Decompile apk]
Code:
apktool if framework-res.apk [Press Enter]
apktool d Settings.apk [Press Enter]
4. Now you will see a decompiled folder with a name Settings






5. Now you can start editing png, xml, smali file etc..
6. After editing is complete, Now Recompile it..
Code:
apktool b Settings [Press Enter]

 
How to Decompile and Recompile Apk(anroid Application ) by using Apktool
7. After Recompile is complete, go to Settings folder, Open dist folder and open Settings.apk


  by using 7zip
8. Open Original Settings.apk which is on the apktool folder by using 7zip
9. Now Drag & Drop META-INF folder and AndroidManifest.xml from Original Apk to Modded Apk which is on the dist folder.


                                              
10. Finally, push back your Modded Apk into the system/app or push manually by using Root Explorer/Root Browser or make a Flashable Zip.

No comments:

Post a Comment