APK Multi-Tool

I have updated all the files and modified Apk manager's Scripts to fix many user reported bugs from Daneshm90 apk manager which he had written a simple script to ease the process of editing apks. Got a lot of downloads so thought its in demand

After some thought and after adding new features and decided that since it is no longer just a apk management tool that is is now a multifunctional tool now so I felt to change the name to APK Multi-Tool.

Whether you're doing basic image editing or editing the smali or XML files, on average u have to use (Brut.all or JF's smali/baksmali) awesome tool to extract the apk, edit it, then sign the apk and then adb push/install it. This process is quite tiresome if you are testing a method that needs fine tweaking.

This script should make the process a LOT smoother.
There is an option of compiling/signing/installing all in one step

Thanks:

Goes to Daneshm90 the Original Writer of Apk Manager
Goes to Brut.all for his awesome tool.
Goes to JF for of course, smali/baksmali
Goes to farmatito for porting this script to Linux

Features:

Instructions:
1. - Place apk in appropriate folder (Any file name will work, if running for first time folders will not be there, you must run and then the folders will be created)
2. - Run script
3. - Minimize the script
4. - Edit files inside the project folder
5. - Maximize the script

Decompile Mode:
Switch decompile mode (Allows you to pick to fully decompile the APK's or JAR's or to just decompile Sources or just the Resources or do a raw dump allowing you to just edit the normal images

Themers Convertion Tools:
Before running the themers tool-set make sure when you run the scripts 15 16 17 in this exact order as it is setup as a tool-chain.

To transfer or convert a rom theme pack place the apk files of the theme pack you wish to convert over to your rom in the the Themedapk folder and place the rom files of the same name from the rom you have flashed on your phone in the transferred folder run the scripts.
take note that depending on your computer specs it can take over a hour to complete.

MINIMUM REQUIREMENTS:


Required:

Recominded:

INSTALLATION


  1. Treat your computer to a tune up - follow this procedure before installation:

  2. In Accessories\System Tools, you may find utilities that can increase the

  3. performance of your system.

    • Scandisk your hard drive with "ScanDisk"
  4. - Defragment your hard drive with "Disk Defragmenter"
  5. - Virus Check your Hard Drive with the latest virus definitions
  6. - Reclaim hard drive space by deleting unnecessary files with "Disk Cleanup"
  7. - Verify that you have at least 150MB of free hard drive space for your swap file.

FAQs:

  1. IF Modifying system apps, never resign them unless you want to resign all apk's that share its shared:uid
  2. IF decompiling/recompiling system apps and IF AndroidManifest.xml was not preserved from the original apk, then either push the apk when in recovery or by doing :
    • adb remount
    • adb shell stop
    • adb push something.apk /wherever/something.apk
    • adb shell start
  3. Decompiling a themed apk is not possible, you must get the original unthemed apk, then decompile, make your theme/xml changes and recompile
  4. IF you're stuck and the log doesnot give you any indication as to what you are doing wrong, then post in the thread http://forum.xda-developers.com/showthread.php?t=1310151
    • Make sure u include ur APK-Multi-Tool.log, and IF its not a editing problem i.e its something regarding when u push it to your phone, then post ur adb log as well.
      To do so follow these steps :

What is the Batch Theme Image Transfer TOOL?
This tool makes the process of transferring images from one APK to another APK File of the same file making it easier to update themes or even transferring a theme update.zip of one ROM to another Rom allowing the porting of theme to be much faster.
(Note: You will have to manually replace the progress_horizontal.xml from the framework-res since this file is needed with Theme Changes)