[Desire Android Development] xavierjohn22:
********************************************************

xda AutoTool (xAT)

CURRENT VERSION: 4.0.3 RELEASE

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

This POST: xda AutoTool (xAT) Windows Version (AIO)

2nd POST: xda autoAPKTool (xaAT) Command Line automation

3rd POST: xda autoDeodexTool (xaDT) Command Line automation

5th POST : MIUI smali editing and translation tips

7th POST : MIUI System Update modified for OTA

LATEST DOWNLOAD: http://tweaksparadise.com/download/xavierjohn22/index.php?action=list&folder=2100

NOTES:

there's no need for a how-to and full doc in this beta

all auto apk tool and auto deodex tool applies here

adb functionality is in progress

still a lot of room for improvement

REQUESTS:

If you happen to have an idea, please post and make a clear description or screenshot of what you want to happen or do

TO DO:

add more options in the settings menu

catch errors and better handling errors

add more tabs for custom commands

PLANS:

my looking forward is to be able to create custom scripts and run with the tool

also to be able to put many jar files by just adding it in settings and run custom commands for that jar

that way it will automate whatever manual things users do in their customization of apks, rom zip, lang pack, etc

IMPORTANT:

ALL THE DEPENDENCIES LIKE OCX WILL PROMPT ERROR if not in your machine

YOU MAY NOT HAVE THESE OCX YET SO I INCLUDED IT IN THE Res folder

STEPS on FIRST RUN ONLY

1) Go to /Res/

2) Run FileRegister.exe to register these ocx files

If you are using latest w7 it may probably be registering in the wrong path so register manually.

INSTALL:

Place the folder where there is no space yet

C:xdaAutoTool

I havent handled white space yet

- Tested on Windows 7 workstation, it should run in XP as well

- All ocx and posibble dll references and dependecies will be in your machine if you are close to W7 X64 and had installed ms vb runtime in the past

- All the dependency file list are inside the docs folder (docs/xdaAutoTool.xml)

- This means i used mainly files in your Windows 7 system to run it without installation

- Installer will come later or when issues with running is that massive

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

xdaAutoTool CHANGELOG:

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

Version 4.0.3

10:30 AM 8/5/2012

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

- Fixed code of changing apktool version via combobox

Version 4.0.2

9:30 PM 3/7/2012

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

- Move apktool choose settings to combobox

- Fixed theming folder creation runtime error

- Speed up reading columns and lines on multiple apk to display in listview

Version 4.0.1

9:27 PM 2/28/2012

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

- Added MULTIPLE INPUT apk support, choose working folder in combobox

- Added code to detect status after recompile or decompile

- Update code to handle listview loading

- Executable size is still down to 1.476KB, decent, he he he

Version 4.0.0

7:58 PM 2/27/2012

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

- Recode detecting BIN folder for faster loading

- Load all available apktool versions in menu and use

- Added color code for text on compiled and not compiled apk

- Added save form position to remember when loading app (for testing)

- Added Decompile With..... apktool version

- Added Recompile With..... apktool version

- Added more columns:

-- Compiled (YES or NO)

-- Last compiled (apk)

-- Decompiled with (apktool version from yml file)

Version 3.0.1 (BETA)

2:59 PM 11/5/2011

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

- Fixed deodex full rom and timers

- Added bottom last panel as application path panel

- Added xUltimate-d9pc for THEMES

- Added running draw9patch compiler in pngs using xUltimate-d9pc

- Redo zipalign dist code in build usable apk, when option to zipalign is ON, the dist out apk will now be deleted

- Added toolbar icons

- Changed application icon temporarily

- Fixed changing apktool jar file version after pressing save button

Version 3.0.0 (BETA)

5:15 PM 10/29/2011

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

- Added mogrify theming options

- Added create themed folders

- Added apply Hue and Saturation using mogrify

- Added Build All Themed APKS, all apks in specific folder structure

- Added Build One Set themed apks

- Added support for Copy_Folders.txt in _CUSTOM_RES

USAGE:

"Left file path source" + delimeter "||" + "Right file path destination"

SAMPLE:

Launcher2buildapkresxmldefault_workspace.xml||Launcher2resxmldefault_workspace.xml

NOTE:

Folder gets deleted after build usable

- Added support for Copy_Files.txt in _CUSTOM_RES

USAGE:

"Left folder path source" + delimeter "||" + "Right folder path destination"

SAMPLE:

framework-resbuildapkresanim||framework-resresanim

NOTE:

File does not get deleted yet after build usable,

thinking if it make sense, filecopy command already overwrites

- Added MOD TAB, use for multiple modding apks

- Added overwrite AndroidManifest.xml binary file

In APK DIST generated apks this is not necessary

Using the apks _OUTPUT_APK_DIST_ZIPALIGN after AndroidManifest.xml is better

It generates a build apk and put it in _OUTPUT_APK_DIST_ZIPALIGN

This then will be signed and gets a new META-INF file to ake the apk usable

(overwrite AndroidManifest.xml binary file is only use when all else fails)

- Added reference to microsoft scripting runtime,

Better folder/file handling,

Space not yet handled for these are third party executables

- Switch to Native Code compiler, no-optimization

- Exe is now 800kb, compiled optimized exe is throwing error atm

P-Code is not an option

Version 2.0.0 (BETA)

8:02 PM 8/28/2011

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

- Added zipalign.exe file in bin folder

- Added generate zip aligned APKs option in build usable APKs command

- Added move zip aligned apks in _OUTPUT_APK_ZIPALIGN to _OUTPUT_APK folder

- Added move zip aligned apks in _OUTPUT_APK_DIST_ZIPALIGN to _OUTPUT_APK folder

- Added apktool dist generated apks copy option

- Added apktool dist generated apks zipaligned option

- Added make zipaligned apks independent button for apks in _OUTPUT_APK

- Fixed enabling selection buttons bug

- Fixed error restarting when app save window position on exit

- Fixed saving tab to remember it next time app is started

- Optimized BUILD USABLE apk commands

Version 1.0.3 (BETA)

11:03 AM 6/14/2011

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

- Added optimized pngs in TOOLS tab

- Added clear files of working directories in TOOLS tab

- Added feature to add to open with menu, in "Edit" menu

- Added copy to phone and delete to phone function in phone explorer

- Added save column width on all listviews

- Changed UI for progress bar when executing commands

Version 1.0.2 (BETA)

12:33 PM 6/11/2011

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

- Added Phone Explorer in ADB TAB

----display system app and data app as initial

----able to copy files from those folders for now

----filter files and save last browse path in worstation

----some adb commands added to UI

- Added Apply Mods

- Added saving of TAB positions when exiting app

- Added save form positions for main and future phone explorer

- Added load input folder when APK Tab was pressed

- Moved all adb related commands in the Phone Explorer form

- Fixed error when double clicking list view without files

- Fixed deodexing rom zip picked from directory with spaces in file path

- Fixed editing bootclass files and adb files

- Changed SIGN to TOOLS, more sign commands in mouse Right Click

- Changed UI for folders and file list views

- Changed the way icons are shown when loading files, now associated

Version 1.0.1 (BETA)

3:34 PM 6/6/2011

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

- Fixed list files error when all items are deleted

- Fixed error on check uncheck option when no item is in the list

- Fixed deo rom directory clean up, will clear all source/deo directory

- Added capability to change apktool, smali and baksmali jar file versions

- Added experimental deodexed a full rom and create rom zip file

- Added more flexibility on selection method for files in the list

Version 1.0.0 (BETA)

11:30 PM 6/3/2011

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

- Initial release

- apk tool automation

- deodexing basics automation

- sign apk and zip commands

- adb commands- Initial release

- apk tool automation

- deodexing basics automation

- sign apk and zip commands

- adb commands

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

Acknowledgement:

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

My thanks to the support of the people here in xda and people who

appreciate my work in any way expressed, Cheers!!!

MGunther, JHatley

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

CREDITS:

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

Brut.all for Apktool - a tool for reengineering apk files

http://www.7-zip.org - 7za commandline version

- signapk.jar

- optipng http://code.google.com/p/roptipng/

- smali/baksmali

- JesusFreke, Daneshm90's script and crzyruski

- mogrify executable by ImageMagick

- http://www.imagemagick.org/script/index.php

- xeudoxus xUltimate Draw9Patch Compiler

- http://www.droidforums.net/forum/xeudoxus/47283-release-xultimate.html

XDA:DevDB Information

[TOOL] V4.0.3-xdaAutoTool ALL-Win | V5.0.0b-xdaautoAPKTool | V1.0.3-xdaautoDeoTool, Tool/Utility for the HTC Desire

Contributors

xavierjohn22

Version Information

Status: Testing

Created 2014-11-05

Last Updated 2014-11-04