Thursday, March 27, 2014

[TUT][APK MULTITOOL] Decompile/Compile APK & JAR

================================================================================================ 
SETTING UP APK MULTITOOL
================================================================================================
Requirements

  1. Extract APK-Multi-Tool folder from zip and open it
  2. Place framework-res.apk to other folder
  3. Run Setup.bat
  4. Type 2 & Enter
  5. Type 1 & Enter to start installing framework. Press any key to continue
  6. Type 6 & Enter to return to main menu
  7. Type 3 & Enter to setup directories
  8. Setup Complete!



================================================================================================

DECOMPILING/COMPILING APK/JAR
================================================================================================
  1. Place apk in the place-apk-here-for-modding folder. In this tutorial we have framework-res.apk. For jar files, change the extension from .jar to .apk (e.g. android.policy.jar to android.policy.apk)
  2. Run Script.bat & press any key to proceed to the main menu
  3. If you only have one apk in the place-apk-here-for-modding folder, that apk will automatically be selected. But if you have many apk inside the folder, you can set your current apk for modding by typing 24 & enter. Then select which apk you want to work on.
  4. Once done setting your current apk, type 9 & enter to start decompiling. Wait until it's done. "Decompiling Apk Sources and Resources Files" will disappear when done.
    You can also check the log if there were errors during decompiling process. (tip: you can run Script.bat in administrator mode to display the current process in the main menu)
  5. When it's done, go to projects folder and there you'll find a folder of your decompiled apk named the same as your apk. (note: Do not rename the folder. Folder name should be the same as to the file name of your apk.)
  6. Start editing the files.
  7. Once done, go back to Script.bat and type 11 & enter to start compiling.
  8. Type Y & enter. Wait for the extraction is done
  9. When extraction is done, an instruction will appear. Just follow what is written. (Note: You might not see this because sometimes the script automatically goes to compression process. Just repeat step 7 & 8.)
  10. When you're done deleting the files in keep folder, go back to Script.bat and press any key to proceed to compression process.
  11. Done. Check your newly modified apk in the place-apk-here-for-modding. File name will be unsigned(originalfilename).apk. For system apps, you dont need to sign it. Just remove the "unsigned" from the file name and push it directly to your phone.

No comments:

Post a Comment