You are on page 1of 5

################################################################################

###
AUTO APK TOOL
xavierjohn22@gmail.com (Dani/XJ/xavierjohn22).
See below specific versions for modifiers
I placed their names and xda username under their revisions
It's also in the main app window itself
################################################################################
###
================================================================================
===
version 4.0.0
8:08 PM 12/20/2013
- Added autoinstall frameworks on application load
55, 56, 57
- chgcolor options for screen clarity (see acknowledgement in hep file)
- clean-up code for ICS decompile, unneeded file obsoleted but still on root dir
ectory
- clean-up menus and simplify terms on menus
- input text is set to yellow
- AutoAPKToolMain_Colored.bat is a colored text screen
- AutoAPKToolMain.bat is the original file (use this if _Colored fails on your s
ystem)
================================================================================
===
version 3.0.2
6:56 PM 8/19/2012
- Fixed displaying apktool version, remove 'if codes', now displays apktool name
as its version number, there's no need to change and add to this in the future
================================================================================
===
version 3.0.1
2:12 PM 8/4/2012
- Make the choosing of apktool version dynamic
- Your apktool must have "apktool" in the filename as prefix and obviously
extension is ".jar" (e.g. apktool_1.4.3.jar, apktool_1.3.1.jar)
- Fixed detecting apk before signing using option 43 and 44
================================================================================
===
version 3.0.0
10:09 PM 8/3/2012
- Option 42, 43, 44 explained
- Option 42, This is the raw APK tool output in dist (Without using my build apk
)
_OUT_APKTOOL_DIST
- Option 43, This is the raw APK tool output then Zipaligned
_OUT_APKTOOL_DIST_ZIPALIGN
- Option 44, When 43 is ON, 44 is ON, the zipalinged apk gets signed
Option 44 wont work without 43 ON
There's a text file Sign_These_Then_Move.txt in _OUT_APKTOOL_DIST_ZIPALIGN
Apks listed here gets signed and moved to _OUT_APKTOOL_DIST_ZIPALIGN_SIGNED
================================================================================
===
version 2.0.4
1:31 AM 3/31/12

Added
Added
Added
Added
Added
Added

decompile ICS apk


recompile ICS apk
baksmali JAR files
baksmali DEX files
smali JAR files
smali DEX files

================================================================================
===
Version 2.0.3e
1:19 AM 7/5/2012
by xdaer Peteragent5
http://forum.xda-developers.com/showpost.php?p=27566198&postcount=811
- I've added the option to use: apktool_1.4.3.jar
- And I've updated the aapt.exe from latest Android SDK
(Android SDK Platfrorm Tools - Rev.11)
================================================================================
===
Version 2.0.3b/c/d
3:27 PM 10/24/2011
(d)
- Added flexibility of building flashable zip, will build according to folder na
me
- Redo folder structure in building themed apks
(b)
- Added create themed folders
- Added apply Hue and Saturation on pngs
(a)
- Added build all themed, apks in all folders _THEMES
- Added build one themed, apks in specified folder _THEMES
- Option to sign apks after build
- Option to make a flashable zip
Version 2.0.3
9:09 AM 10/2/2011
- Changed folder handling in mogrify commands
- Added option to sign apk after mogrify themed apks are build and zipalign
- Fixed signing apks/zip commands
================================================================================
===
Version 2.0.2
5:32 PM 9/28/2011
- Added mogrify.exe and mogrify features
(Ability to change hues of PNGs, see acknowledgements for mogrify usage)
- Move Following APK DIST generated apk commands to recompile
(Copy generated apks of apktool in _OUT_APKTOOL_DIST)
(Create Zipalign apks in _OUT_APKTOOL_DIST to _OUT_APKTOOL_DIST_ZIPALIGN)
================================================================================
===
Version 2.0.1
11:47 AM 8/8/2011
- Added saving settings of copy apks and generate zip aligns in dist gen apks
- Added saving settings of compression level
================================================================================
===
Version 2.0.0
9:11 AM 7/21/2011

- Added adb reboot commands


- Added script to save apktool version after changing and use that on start of a
pp
- Added option to only zipalign apks placed in the _OUT_APK folder
- Added move apks from _OUT_APK_ZIPALIGN to _OUT_APK
(useful before building flashable zip)
================================================================================
===
11:58 AM 7/9/2011
- Added option to generate zipalign apks after each recompile
- goes to _OUT_APKTOOL_DIST_ZIPALIGN
- Separate option for apktool generated apks
================================================================================
===
Version 1.0.9
================================================================================
===
11:58 AM 7/9/2011
- Added option to generate zipalign apks after each recompile
- goes to _OUT_APKTOOL_DIST_ZIPALIGN
- Separate option for apktool generated apks
================================================================================
===
Version 1.0.8
================================================================================
===
9:46 PM 7/7/2011
- Added option to toggle copying of apk from DIST folder of apktool gen director
y
- Added zip align apks (generated apk from _OUT_APK to _OUT_APK_ZIPALIGN)
- Added setting of compression level
- Added Delete "folder name" of mod file text file
- If you have "Mod1" folder the file should be "Delete_Mod1.txt"
- Sample line in the text file is "AppShare\res\drawable-hdpi\installed.png"
- No need to specify the _INPUT_APK folder
- It will delete any file in that path once listed in the text file
- Fixed code jumping over optimization of pngs
================================================================================
===
Version 1.0.7
================================================================================
===
9:41 AM 5/22/2011
- Added install additional resources
================================================================================
===
Version 1.0.6
================================================================================
===
11:36 AM 5/18/2011
- Added more adb functions
- Added request for mods folders
- Fixed error handling when "Enter" key is pressed without choice
- Fixed menu choices for blank entry and "Enter" key is pressed as well
- Fixed mod folders applying only the last folder in menu
================================================================================
===
Version 1.0.5
================================================================================
===

9:36 AM 5/15/2011
- Added apktool 1.4.1, see brut's site for changelog
- Added Single Recompile then Build
- Added adb commands and tools, you must have ADB installed and configure alread
y
- Reorganized menu for future improvemnet
================================================================================
===
Version 1.0.4
================================================================================
===
5:00 PM 5/4/2011
- Added optimized "xyz.9.png" in APKs option
================================================================================
===
Version 1.0.3
================================================================================
===
5:01 PM 5/3/2011
- Fix menu handling for option 19 to 21
- Changed "u" switch to "a" for handling copy added resources
- Added optimized PNGs in APKs option
================================================================================
===
Version 1.0.2
================================================================================
===
11:42 AM 4/25/2011
- Initial Release
- Compile, decompile and build usable all apks
- Compile, decompile and build usable single apk
- Sign a flashable zip file
- Custom settings on which to include
- Custom settings on what to overwrite
- Settings for apktool (-f) as options
- Differences between _OUT_APK and _OUT_APKTOOL_DIST (see NOTES:)
USAGE:
- Run AutoAPKToolMain.bat
QUICK HOW TO:
THE 1-2-3-4 + 5 PROCESS
- Place apks to decompile in _INPUT_APK folder
- Place framework-res apk in the _INPUT_APK as well
- Choose 1 then hit enter for if framework-res.apk command
(note that framework-res.apk will always be in the _INPUT_APK folder)
- Choose 2 to decompile all in one shot
(this will create the resources and sources folder inside _INPUT_APK folder)
- Do your edits for all in that folder, add your values-en, values-pt, raw-en, e
tc.
You made add drawable-en-hdpi as well
Edit your strings.xml and many more...
Remember to keep the folder structure intact
- Choose 3 and hit enter fter all edits are done
This will recompile all in one shot
A notepad will appear to show if there are errors in recompiling, check the lo
g
Adjust if necessary, you can choose to recompile a single folder if you need t
o
- Choose 4 to build usable APKs

All apks will be in the _OUT_APK folder (These will not FC)
All overwriting of files are automated
These APKs are from the Original apk with:
resource.arsc + classes.dex changed + other resources added
- Choose 5 (the fun part, lol)
It will build your flashable zip signed already, there's a template in the _FL
ASHABLES folder
FYI, read notes below (in _OUT_APKTOOL_DIST folder, those are build by APK Too
l)
I manage to build APKs that don't FC in the _OUT_APKTOOL_DIST only that......
NOTES:
(This is only tested using 1.3.1 version)
The _OUT_APKTOOL_DIST APKs are experimental, it does not FC when used.
The issue is it generates some drawables which are different from the source
It somehow changes the color scheme of the orginal APK images upon decoding
But i manage to generate APKs without FC using the apktool itself
You will not have to worry about images or resources left out here
As long as all sources are in the input folder
(This is tested using 1.3.2 version)
On the other hand APKs in the _OUT_APK are the original APKs with res copied
I recommended this one for the meantime, this has the integrity of all images,
drawable files, etc. The only change here at the moment are:
- classes.dex
- resources.arsc
You can use the _CUSTOM_RES folder to overwrite the image resources you want
EXAMPLE:
If you are overwriting an image in an APK (widget_1x.png)
_CUSTOM_RES
MiuiMusic
res
drawable-hdpi
widget_1x.png
Otherwise (just adding), put all your files in
_INPUT_APK
MiuiMusic
res
drawable-de-hdpi
widget_1x.png
OTHERS:
some apktool commands:
apktool if framework-res.apk
apktool d framework-res.apk
apktool b framework-res
================================================================================
===

You might also like