[Windows][UTILITY][TOOL] APK Multi-Tool

Search This thread

raziel23x

Senior Member
Sep 19, 2010
996
1,022
45
Novi
apkmultitool.com
I can't decompile the latest market v3.3.11.
Is this solved with the new release?

Code:
java version "1.7.0_01"
Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
Java HotSpot(TM) Client VM (build 21.1-b02, mixed mode, sharing)
Could Not Find D:\Android\Apk_Multi-Tool\place-apk-here-for-modding\../place-apk
-here-for-modding/signedcom.android.vending-2_v3.3.11.apk
Could Not Find D:\Android\Apk_Multi-Tool\place-apk-here-for-modding\../place-apk
-here-for-modding/unsignedcom.android.vending-2_v3.3.11.apk
I: Baksmaling...
I: Loading resource table...
W: Config flags size > 32. Exceeding bytes: 20030000.
W: Invalid config flags detected. Dropping resources: layout-v13-ERR0
W: Config flags size > 32. Exceeding bytes: -17FD0000.
W: Invalid config flags detected. Dropping resources: layout-v13-ERR1
W: Config flags size > 32. Exceeding bytes: 20030000.
W: Invalid config flags detected. Dropping resources: string-v13-ERR2
W: Config flags size > 32. Exceeding bytes: 20030000.
W: Invalid config flags detected. Dropping resources: string-ca-v13-ERR3
W: Config flags size > 32. Exceeding bytes: 20030000.
W: Invalid config flags detected. Dropping resources: string-lt-v13-ERR4
W: Config flags size > 32. Exceeding bytes: 20030000.
W: Invalid config flags detected. Dropping resources: string-en-rGB-v13-ERR5
W: Config flags size > 32. Exceeding bytes: 20030000.
W: Invalid config flags detected. Dropping resources: bool-v13-ERR6
W: Config flags size > 32. Exceeding bytes: -17FD0000.
W: Invalid config flags detected. Dropping resources: bool-v13-ERR7
W: Config flags size > 32. Exceeding bytes: 20030000.
W: Invalid config flags detected. Dropping resources: dimen-v13-ERR8
W: Config flags size > 32. Exceeding bytes: -17FD0000.
W: Invalid config flags detected. Dropping resources: dimen-v13-ERR9
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x7f0b0007 dimen/content_entry_large_size, config=-v13
        at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
        at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
        at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:196)

        at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:165
)
        at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:130)
        at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10
5)
        at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)
        at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
        at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes
ources.java:315)
        at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav
a:50)
        at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav
a:43)
        at brut.androlib.Androlib.getResTable(Androlib.java:44)
        at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:148)
        at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
        at brut.apktool.Main.cmdDecode(Main.java:120)
        at brut.apktool.Main.main(Main.java:57)

This should be fixed with the new updates to the APKTOOL.JAR
as Support for Android SDK API 13 which is Android 3.x APK Files
 
  • Like
Reactions: waterpolo

raziel23x

Senior Member
Sep 19, 2010
996
1,022
45
Novi
apkmultitool.com
Right now I am working on some updates if you cannot wait until a official release build you can download the a copy off my github

https://github.com/ApkMultiTools/APK-Multi-Tool

I am not ready for a official Alpha 3 release but I am only waiting on Brut.all to finish with some updates to Apktool.jar before I do a release.

Changes thus far

  • Added Switch decompile mode
  • Added ability to decompile jar files
  • Fixed Random Startup bug (hopefully)
  • Updated the Android SDK TOOL SET to Latest Versions
  • Added Required Files for application /other folder content
  • Other changes I may of forgotten
  • AUTO UPDATE script on launch of apk multi-tool ( may move it to a manual script )
 

zelendel

Senior Member
Aug 11, 2008
23,360
20,609
OnePlus 6T
OnePlus 9
raziel23x said:
Right now I am working on some updates if you cannot wait until a official release build you can download the a copy off my github

https://github.com/ApkMultiTools/APK-Multi-Tool

I am not ready for a official Alpha 3 release but I am only waiting on Brut.all to finish with some updates to Apktool.jar before I do a release.

Changes thus far


[*]Added Switch decompile mode
[*]Added ability to decompile jar files
[*]Fixed Random Startup bug (hopefully)
[*]Updated the Android SDK TOOL SET to Latest Versions
[*]Added Required Files for application /other folder content
[*]Other changes I may of forgotten
[*]AUTO UPDATE script on launch of apk multi-tool ( may move it to a manual script )

Running it through the paces as we speak
 

mohamobo

Senior Member
Feb 19, 2011
502
184
Selangor
Hai..

I downloaded from github then went run script.bat i got this message.

The program can't start because cygwin1.dll is missing.

Any help?
 

raziel23x

Senior Member
Sep 19, 2010
996
1,022
45
Novi
apkmultitool.com
remember download the github with caution as there is features and other things that may be harmful or just down right now function as many of the features on git is experimental at best and i do not feel ready for release for actual use as they are mainly for testing purposes and fine tweaking as well as if people want to add to or even help.

main thing with the git version i am testing out auto update scripts but will be removing them shortly as I am just going to have a custom update application instead that you can run to update with in case you do not wish to update right away
 

raziel23x

Senior Member
Sep 19, 2010
996
1,022
45
Novi
apkmultitool.com
okay I fixed that bug requiring the cygwin dll files as I originally compiled the source code with cygwin and must of mucked up some configurations.

I am also working on fixing the update script and hopefully will have a standalone version of the update script that will better fix the source instead of the method I am using right now

like I said there is a reason it is on git and not released yet lol as you see broken parts
 
  • Like
Reactions: mohamobo

raziel23x

Senior Member
Sep 19, 2010
996
1,022
45
Novi
apkmultitool.com
The current version of the application does not support apk files above froyo ie android os 2.2.1

With the upcoming pending release which can only be accessed through my github for the application but even that version does not support it yet since I am waiting on some more updates to the java source of the apktool.jar before I compile a the updated source.

Sent from my DROID using xda premium
 
  • Like
Reactions: memnoc

memnoc

Inactive Recognized Developer
Feb 23, 2011
4,542
5,209
Thanks for this tool...maybe it is what i looking for..just to be sure..
I used to decompile apk for sense rom, but with apk manager or apk tool you cannot compile an apk with modded png9 inside..you get error, and even if the apk being recompiled, the modded icons are not inside..so I was wondering if this tool allows you to mess up with png9 without any special changes..
 

raziel23x

Senior Member
Sep 19, 2010
996
1,022
45
Novi
apkmultitool.com
Thanks for this tool...maybe it is what i looking for..just to be sure..
I used to decompile apk for sense rom, but with apk manager or apk tool you cannot compile an apk with modded png9 inside..you get error, and even if the apk being recompiled, the modded icons are not inside..so I was wondering if this tool allows you to mess up with png9 without any special changes..


OKAY to be able to use this tool after editing xxx.9.png files do this take the xxx.9.png files rename them to xxx.png then run the files through draw9patch

Follow this TUTORIAL on how to use draw9patch before moving the png files back into the folder in the project and recompile
http://android10.org/index.php/articlesother/279-draw-9-patch-tutorial
 

memnoc

Inactive Recognized Developer
Feb 23, 2011
4,542
5,209
OKAY to be able to use this tool after editing xxx.9.png files do this take the xxx.9.png files rename them to xxx.png then run the files through draw9patch

Follow this TUTORIAL on how to use draw9patch before moving the png files back into the folder in the project and recompile
http://android10.org/index.php/articlesother/279-draw-9-patch-tutorial

Thanks for quick reply;) ok but I've just had the png9 modded files, and them are working..my problem is that I have to update my theme to another firmware base, so I need to replace the stock icons with the custom icons...have I to re-edit png9 again?
 

raziel23x

Senior Member
Sep 19, 2010
996
1,022
45
Novi
apkmultitool.com
There has been a update to the github with a new version of apktool with gingerbread support alpha test build from brut.all which the working source is not released yet.
 

raziel23x

Senior Member
Sep 19, 2010
996
1,022
45
Novi
apkmultitool.com
Thanks for quick reply;) ok but I've just had the png9 modded files, and them are working..my problem is that I have to update my theme to another firmware base, so I need to replace the stock icons with the custom icons...have I to re-edit png9 again?

if you use the theme transfer tool which instructions is in the doc you should not have to do much at all as it will automatically do everything other then a small change you have to do manually so read the instruction manual carefully and it is found in the doc folder
 

Top Liked Posts

  • There are no posts matching your filters.
  • 386
    I am currently working on a major update to the apk manager application as well and changing the name to APK Multi-Tool with some new added features and also to fix some issues with some code errors.

    I am also changing a lot of the features as well since a lot of the code has been outdated for a while.
    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
    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.
    Theres 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 ofcourse, smali/baksmali


    Features:
    - Added framework dependent decompiling (For non propietary rom apks). (Option 10). Checks whether the dependee apk u selected is correct.
    - Allows multiple projects to be modified, switch to and from.
    - Allows to modify system apk's using apktool but ensures maximum compatibility in terms of signature / manifest.xml
    - Batch optimize apk (Zipalign,optipng,or both)
    - Batch Ogg optimization
    - Batch install apk from script (option 19)
    - Batch Theme Image Transfer TOOL
    - Batch Theme optipng TOOL
    - Batch Theme Zipalign APK TOOL
    - Compression level selector (monitor status above menu)
    - Error detection. Checks if error occurred anytime u perform a task, and reports it
    - Extract, Zip apk's.
    - Incorporates brut.all's apktool
    - Improved syntax of questions/answers
    - Logging on/off has been removed. Instead a log.txt is created which logs the activities of the script organized using time/date headers
    - Optimize pngs (ignores .9.pngs)
    - Pull apk from phone into modding environment.
    - Push to specific location on phone
    - Quick sign an apk (Batch mode supported)
    - Read log (Option 24)
    - Sign apks
    - Supports batch installation, so if u drag multiple apks into the script (not while its running) it will install them all for u. U can ofcourse drag a single apk as well
    - User can change the max java heap size (only use if certain large apks get stuck when decompiling/compiling apks) (Option 19)
    - U can now set this script as ur default application for apks. When u do, if u double click any apk it will install it for u.
    - Zipalign apks
    - Much Much More
    Instructions:
    - Place apk in appropriate folder (Any filename will work, if running for first time folders will not be there, you must run and then the folders will be created)
    - Run script
    - Minimize the script
    - Edit files inside the project folder
    - Maximize the script

    Requirements:
    Java 1.6
    Android SDK


    FAQ

    Resulting apk file is much smaller than original! Is there something missing?

    First: compression of resources.arsc file. Sometimes this file is compressed in original apk, sometimes not and apktool always compress it. Second: lack of META-INF dir. Apktool builds unsigned apks, so they lack signatures stored in this dir. Third: apktool uses newest Android SDK, so it could optimize files better, especially if original app is old. So: unpack both original and resulting apk, remove META-INF from original and then compare sizes. If they're still much different, then you could report on XDA or somewhere.

    There is no META-INF dir in resulting apk. Is this ok?

    Yes. META-INF contains apk signatures mostly and after modifying apk in no longer signed, so there are no signatures in it. You have to sign resulting apk and then META-INF dir will be created.

    What do you call "magic apks"?
    Sometimes there are some apks which (for my current knowledge) are invalid, broken, theoretically they shouldn't exist. There may be many reasons of their existence: my lack of understanding of Android resources; some non-public, maybe future SDK tools or custom modifications of these; manual hacking of binaries, etc. Usually I can't do anything about it, but you could at least try to replace broken parts by something valid. Actually it's quite likely that they aren't even used, because if they would, then application would crash.

    Got problems ?
    1. Make sure your path has no spaces
    2. Your filename has no wierd characters
    3. Java/adb are in your path
    4. It's not a proprietary rom's apk (aka Sense,Motorola,Samsung) (If u are, then use option 11 and drag the required framework, eg com.htc.resources, twframework-res...etc)
    5. It's not a themed apk (if it is, expect .9 png errors, use as close to stock as possible)
    6. Look at the log to know whats happening
    7. If all else fails, post as much info as possible and we will try to assist you.

    TO DO LIST
    Add new feature to Randomly Generate a new Key File for signing the apk files after modifying and recompiling of the apk files this will also allow of uploading to the android market as this added feature will allow you to sign apk files that you may of compiled without signing beforehand.

    Modify the Signapk script to be compatible with the Randomly Generation feature in the works

    and a few other added features are in the works as I am redesigning the application and rewriting a lot of the code to fix issues as well as some of the new features have broken parts as some features have been moved and broken some command line prompts.

    Installing APK Multi-Tool Itself

    Run the installer and make sure it is pointed to the root of hard drive
    Example
    C:\APKMultiTools\

    Downloads:
    http://apk-multi-tool.github.io/APK-Multi-Tool/ for all downloads and updates
    Please check back daily or weekly as this project is under active Development and I am releasing Alpha releases on the website for Testing and bug reports.
    Latest test build http://hugefiles.net/79bvb14x2f8p
    Mailing List:
    Google Group Email mailing List

    If you like this and wish to wish to send cash my way Donations Are Welcome
    9
    Optipng'ing is not working for me. After extraction, Optipng will be run and will do nothing because it says it cannot find the folder.

    Which optiping are you using the batch theme opt or the original method

    Sent from my DROID using xda premium
    9
    added lollipop support to 2.0 wip branch
    8
    On the Windows 2.0 WIP branch I have added the latest patches and support for the Lolly-pop Android Versions.

    On the Master branch of the Linux version I have also added support for Lolly-pop Android versions

    in the download section you will see two different links to download the latest builds one is a adfly link and a Normal Link.

    Help support the website by using the adfly links which every click will help support the site with a small advertisement. to get the download just click on the SKIP AD button in the upper right corner which will appear after 5 seconds and to further help please have any ad blocker turned off on the website.

    I have not received any donations in over a year and i have noticed that on a average i am getting between 300-1000 downloads of my application daily and it is hard work and cost money to run a website and also I am unemployed because of a disability and have zero income right now as my disability case is still in limbo and working on a lawyer to get it. I have been unemployed for over a year now and my wife is working three jobs and we are getting behind in the bills and rent because i am unable to work so any support is welcome specially with a wife and 2 kids a 2 year old and a year old.
    8
    APK Multi-Tools Version 1.0.9 Now Released

    Version 1.0.9
    Fixed the broken Option menu list
    Fixed the broken Complier scripts for system Files
    Fixed the broken Complier scripts for non system Files
    Added the ability to create Signed None System APK files with both the keep folder option and to bypass the keep folder
    Added the Option to create unsigned APK Files with out using the keep folder