Remove All Ads from XDA

[TOOL] V4.0.3-xdaAutoTool ALL-Win | V5.0.0b-xdaautoAPKTool | V1.0.3-xdaautoDeoTool

5,105 posts
Thanks Meter: 2,006
By xavierjohn22, Inactive Recognized Developer on 27th April 2011, 05:06 PM
Post Reply Email Thread
24th March 2016, 03:38 PM |#991  
Junior Member
Thanks Meter: 1
[QUOTE=xavierjohn22;13254186]************************************************** ******
xda AutoAPKTOOL (xAAT)

************************************************** ******


5th POST: MIUI smali hunting and images to be change + PSD sources
This tool has been tested MIUI XJ Rom HERE
Compile and Decompile APKS, Build language packs faster with many devices, N1, G7, Galaxy S, etc..

Main intention is to automate/batch processing decompiling and recompiling, flashable zip creation, etc
Initially made when translating miui apks and building lang pack

Run AutoAPKToolMain.bat

THE 1-2-3-4 + 5 PROCESS
- Place ALL apks to decompile in _INPUT_APK folder
- Place the framework-res apk in the _INPUT_APK as well (filename: framework-res.apk)

- 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, etc.
You may add drawable-en-hdpi as well
Edit your strings.xml and many more...
Remember to keep the folder structure intact
After all edits are done

- Choose 3 and hit enter
This will recompile all in one shot
A notepad will appear to show if there are errors in recompiling, check the log
Adjust if necessary, you can choose to recompile a single folder if you need to

- 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 _FLASHABLES folder
You may edit it, replace it with the same name, just keep templates by renaming, place your build.prop there, etc
Read the text file thoroughly...

So that is the short story....
For other options and features read the ReadMeHistory.txt
FYI, read notes below (in _OUT_APKTOOL_DIST folder, those are build by APK Tool)
I manage to build APKs that don't FC in the _OUT_APKTOOL_DIST only that...... (see txt for complete explanation)

If you are overwriting an image in an APK (widget_1x.png)
----widget_1x.png (this is the image i will overwrite)

Otherwise if you are adding folders no need to turn on "overwrite resources), put all your files in:
---drawable-de-hdpi (this is the image folder i added)
The Copy added resources "ON" will take care of copying these added resources or files

"_CUSTOM_RES\Gallery\res\menu\media_context_menu.x ml"

Say you are editing a file straight from framework-res\res\drawable\progress_horizontal.xml
1) After doing [3], recompiling the apk

2) Copy the file _INPUT_APK\framework-res\build\apk\res\drawable\progress_horizontal.xml
(this is the binary of your edited file, by doing this, you are telling the tool to overwrite it when building the apk)

3) Once this is done, make sure that "Overwrite res using _CUSTOM_RES" is ON, it is ON by default

4) then do build usable, It should overwrite those binaries in the APK

"Build Usable APKs" perform these depending on options
- overwrite resources.arsc (ON/OFF)
- overwrite classes.dex (ON/OFF)
- copy added resources (e.g. drawable-de-hdpi) (ON/OFF)
- overwrite any file in APK using _CUSTOM_RES (ON/OFF)
- copy optimized pngs to APK (ON/OFF) - EXPERIMENTAL @ the moment (20110503)
- -mx3 is the compression level for the meantime, i'll make it flexible after deotool and windows version

- you must have java installed on your machine, you may even have it already, mine is this per the main log file
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b17, mixed mode)
- tested on windows 7, x64 pc
- adb must be installed in the system, download the image attached to configure adb to be called globally in cmds

Brut.all for Apktool - a tool for reengineering apk files - 7za commandline version
guntherm6​6 for bringing mogrify close to this tool

************************************************** ******
************************************************** ******
Version 5.0.0b
- Massive overhaul of codes
- New in this version is 87 and 88
87 = Can be use to remember single recompile of the last path (after 8)
Turn this ON and it will be active
88 = Is use to trigger the single recompile action
recompiling what is the last path
- Redo the recompile code
- Redo menu, starting from 21 is the new apktool 2.0.0.X settings
- 21 Use New apktool version
- 22 Use -f on recompile (this was migrated to work with new apktool and old apktool)
- 23 Use -c on recompile (this is new to work on new apktool)
- 24 Use -o on recompile (this is new to work on new apktool)
This will create a apkname_NEW.apk in _OUT_NEW folder
- 31 Overwrite resources.arsc
- 32 Overwrite classes.dex
- 33 Overwrite using _CUSTOM_RES
- 34 Copy added resources to APK
- 35 Make zipaligned apk from _OUT_APK
- 36 Force delete dir on Decompile (-f)
- 37 Optimized All PNGS in APKs
- 38 Optimized "xyz.9.png" PNGS in APKs

- The ZIP Align is broken on some apks
- Use 42 ON but leave 43 and 44 off for now
- This will also be redo because the code right now zipaligns then sign
should be sign then zipalign

Version 4.0.2
- Added Menu 21 ON/OFF for new apktool support
- Changed Menu 22 ON/OFF settings saved, Overwrite resources.arsc
- Changed Menu 23 ON/OFF settings saved, Overwrite classes.dex
- Changed Menu 24 ON/OFF settings saved, Overwrite using _CUSTOM_RES
- Changed Menu 25 ON/OFF settings saved, Copy added resources to APK
- Changed Menu 26 ON/OFF settings saved, Make zipaligned apk from _OUT_APK
- Changed Menu 27 ON/OFF settings saved, Force delete dir on Decompile (-f)
- Changed Menu 28 ON/OFF settings saved, Force delete dir on Recompile (-f)
- Changed Menu 29 ON/OFF settings saved, Optimized All PNGS in APKs
- Changed Menu 30 ON/OFF settings saved, Optimized "xyz.9.png" PNGS in APKs
- Changed Menu 85 ON/OFF settings saved, Sign APKs after build themed apks
- Changed Menu 86 ON/OFF settings saved, Build a Flashable Theme Zip (after 84, 85)

version 4.0.1b
- Added support for new apktool 2.0.0b7
- Added menu 58, Open installed framework folder
- Improved colored menu to easily determine numbers from text
Colored_AutoAPKToolMain.bat = colored code
AutoAPKToolMain.bat = default code
- Obsoleted 13recompileICS.bat= 13recompileICS.bat.obsolete
- Obsoleted 14rebuildusableICS.bat.obsolete= 14rebuildusableICS.bat.obsolete

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 directory
- 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 system)

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)
- Option 43, This is the raw APK tool output then Zipaligned
- 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

modified by Agat63 03/31/12
version 2.0.4
1:31 AM 3/31/12
- Added decompile ICS apk
- Added recompile ICS apk
- Added baksmali JAR files
- Added baksmali DEX files
- Added smali JAR files
- Added smali DEX files

Version 2.0.3e
1:19 AM 7/5/2012
by xdaer Peteragent5
- I've added the option to use: apktool_1.4.3.jar
- And I've updated the aapt.exe from la
The Following User Says Thank You to platinumblue70 For This Useful Post: [ View ] Gift platinumblue70 Ad-Free
24th March 2016, 08:10 PM |#992  
Terraalpha's Avatar
Senior Member
Thanks Meter: 13
xda AutoAPKTOOL v5.0.0b Download Link Not working
Please help !!!!
The Following User Says Thank You to Terraalpha For This Useful Post: [ View ] Gift Terraalpha Ad-Free
5th May 2016, 07:24 PM |#993  
Masoud.Ser's Avatar
Senior Member
Thanks Meter: 355
AutoAPKTOOL link not work!!
5th May 2016, 08:31 PM |#994  
Senior Member
Flag Kraków
Thanks Meter: 955
Originally Posted by Masoud.Ser

AutoAPKTOOL link not work!!

new links
The Following 2 Users Say Thank You to ze7zez For This Useful Post: [ View ] Gift ze7zez Ad-Free
6th May 2016, 11:58 AM |#995  
Terraalpha's Avatar
Senior Member
Thanks Meter: 13
Thanks for the new links
13th August 2017, 03:50 PM |#996  
Junior Member
Thanks Meter: 0
i can not download from this link please share other new link for me
13th August 2017, 04:09 PM |#997  
Senior Member
Flag Kraków
Thanks Meter: 955

---- edit ----
I have restored the original links in post #987.
The only difficulty may be the need to log in to download files.
13th August 2017, 04:20 PM |#998  
Junior Member
Thanks Meter: 0
Originally Posted by ze7zez


thank you
19th March 2018, 07:30 PM |#999  
Junior Member
Thanks Meter: 0
good thanks
Originally Posted by xavierjohn22


Good Job
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes