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

Search This thread

xavierjohn22

Inactive Recognized Developer
May 24, 2006
5,105
1,999
www.xavierjohn22.com
Ah sorry too, i was not clear either.

Usually i do values-en or values-zh or drawable-en when i do translation in miui.

Anyways, it should save the changes upon recompile.
During build usable make sure:
Overwrite resources.arsc : (10) = ON
Overwrite classes.dex : (11) = ON

10, mostly handle those edits in values xml files
11, when smali edits are made

EDIT:
Ah shocks wait, i am looking at it, seems like i turned it off by bypassing the script

Ah yeah, geez. it only handles the added resources like values-en or drawable-en, since i am experimenting on the -u switches of 7za

Okay for now do this

1) After doing [3], recompiling the apk

2) Copy the file _INPUT_APK\framework-res\build\apk\res\drawable\progress_horizontal.xml to
_CUSTOM_RES\framework-res\build\apk\res\drawable\progress_horizontal.xml

3) Copy the file _INPUT_APK\framework-res\res\value\styles.xml to
_CUSTOM_RES\framework-res\res\value\styles.xml
(these are the binary of your edited file)

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

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

Thanks for the catch, i'll update it when this week past, saturday and sunday is miui day for me, lol
 
Last edited:
  • Like
Reactions: affmalg

reef2009

Senior Member
Aug 8, 2010
581
147
Delft
OnePlus 7 Pro
OnePlus 8 Pro
Hi Xavier,

I've tried your tool but only get this:
"Java was not found, you will not be able to sign apks or use apktool"
Java is installed Java6 on win7x64.
Any idea how to solve this?

On what system does it work fine?

thnx
 

Raffie75

Senior Member
Sep 30, 2010
779
81
Amersfoort
Hi Xavier,

I've tried your tool but only get this:
"Java was not found, you will not be able to sign apks or use apktool"
Java is installed Java6 on win7x64.
Any idea how to solve this?

On what system does it work fine?

thnx

Yesterday i thied it for myself and did a test with the languagepack update 2 or 3, i followed the steps and erverything worked. The only thing i didn't test was if the flashable really worked.
I did not see anything what had to do with java.
Using win7x32 which java i use... i don't know.
 

reef2009

Senior Member
Aug 8, 2010
581
147
Delft
OnePlus 7 Pro
OnePlus 8 Pro
Yesterday i thied it for myself and did a test with the languagepack update 2 or 3, i followed the steps and erverything worked. The only thing i didn't test was if the flashable really worked.
I did not see anything what had to do with java.
Using win7x32 which java i use... i don't know.

try to install JDK and JRE, this maybe fix your problem

Thnx guys,

Got it working :)
Needed Java x64 even when I x86 installed for the Android Kitchen already

Gona play with it tomorrow :D
 

Raffie75

Senior Member
Sep 30, 2010
779
81
Amersfoort
Still got a question how to use your AUTO APK TOOL.

I have downloaded Multi Lang Update 4, unzipped it and put the APKs in _INPUT_APK.
JW made an update for the translations, those are strings, arrays and plurals.
How do i use the update JW made?

Is the fisrt thing i do "decompile" (APKs are in_INPUT_APK), when decompiled i get 'new' folders in _INPUT_APK with the strings etc, can i copy the updated folders to _INPUT_APK so it overwrites the "old" folders and after that recompile and follow the steps 3, 4, and 18 to make my updated flashable language pack?

Ofcourse i only want the NL pack so it is possible to delete the languages i don't use/want?

Which folders/files are "forbidden" to delete, i mean which folders/files are needed for a good running ROM. I do not know how to put it clear to explain, so i hope you know what i mean.

Thnx for now and i'm off to bed. goodnight all.
 

xavierjohn22

Inactive Recognized Developer
May 24, 2006
5,105
1,999
www.xavierjohn22.com
Still got a question how to use your AUTO APK TOOL.

I have downloaded Multi Lang Update 4, unzipped it and put the APKs in _INPUT_APK.
JW made an update for the translations, those are strings, arrays and plurals.
How do i use the update JW made?

Is the fisrt thing i do "decompile" (APKs are in_INPUT_APK), when decompiled i get 'new' folders in _INPUT_APK with the strings etc, can i copy the updated folders to _INPUT_APK so it overwrites the "old" folders and after that recompile and follow the steps 3, 4, and 18 to make my updated flashable language pack?

Ofcourse i only want the NL pack so it is possible to delete the languages i don't use/want?

Which folders/files are "forbidden" to delete, i mean which folders/files are needed for a good running ROM. I do not know how to put it clear to explain, so i hope you know what i mean.

Thnx for now and i'm off to bed. goodnight all.

yeah i got what you mean.

Easiest way is
- decompile my multilang apks, (remove the ones we dont translate)
- yes it will all be in the _INPUT_APK folder (it will recreate struture there)
- yes copy jan willem 3's updates over in the _INPUT_APK folder structure
- it will overwrite all files
- then recompile after copying it over (if all is translated well, it should have no errors)
- then build usable
- then 18 build the flashable, (delete the build.prop inside the flashable_update.zip and inside the system folder before building it, if you know what it is for then just reuse it)

NOTE
as i have said, you can delete all that has values-pt, values-de, raw-de, etc. but you might delete something that is needed so don't delete values folder
the only complicated apk is the framework-res so you can leave that one out if you want


another method
- grab the apks from the en-zh rom
- then just add jan willem 3's nl sources in the decompiled folder structure
- then recompile
- build usable
- 18, build flashable
 

Raffie75

Senior Member
Sep 30, 2010
779
81
Amersfoort
yeah i got what you mean.

Easiest way is
- decompile my multilang apks, (remove the ones we dont translate)
- yes it will all be in the _INPUT_APK folder (it will recreate struture there)
- yes copy jan willem 3's updates over in the _INPUT_APK folder structure
- it will overwrite all files
- then recompile after copying it over (if all is translated well, it should have no errors)
- then build usable
- then 18 build the flashable, (delete the build.prop inside the flashable_update.zip and inside the system folder before building it, if you know what it is for then just reuse it)

NOTE
as i have said, you can delete all that has values-pt, values-de, raw-de, etc. but you might delete something that is needed so don't delete values folder
the only complicated apk is the framework-res so you can leave that one out if you want


another method
- grab the apks from the en-zh rom
- then just add jan willem 3's nl sources in the decompiled folder structure
- then recompile
- build usable
- 18, build flashable

When i would copy JW his update (in this case it isn't the update tranlation for 1.4.29 as far as i know). How do i get the new strings and the string that are deleted?

If i take the APP-EN_BASE_1.4.22_20110423.rar for expamle.
I put it in the right folder and decompile, remove everything i don't want to have (the other languages) and i copy the latest translation in to that folder it will overwrite everything and would delete the new strings that haven't been translated yet (so after copying it is possible that i will miss a few strings).
(When copying a file with a size of 1mb and you copy it to the same file, but that one is bigger (say 1.5mb) the 1mb file will overwrite the 1.5mb file, so this "new" file has a size of 1mb am i correct? Or am i totally wrong and confused?)
 

xavierjohn22

Inactive Recognized Developer
May 24, 2006
5,105
1,999
www.xavierjohn22.com
When i would copy JW his update (in this case it isn't the update tranlation for 1.4.29 as far as i know). How do i get the new strings and the string that are deleted?

If i take the APP-EN_BASE_1.4.22_20110423.rar for expamle.
I put it in the right folder and decompile, remove everything i don't want to have (the other languages) and i copy the latest translation in to that folder it will overwrite everything and would delete the new strings that haven't been translated yet (so after copying it is possible that i will miss a few strings).
(When copying a file with a size of 1mb and you copy it to the same file, but that one is bigger (say 1.5mb) the 1mb file will overwrite the 1.5mb file, so this "new" file has a size of 1mb am i correct? Or am i totally wrong and confused?)

Confuse and wrong.

Remember that when you use 1.4.22 there are other strings that you will miss and might have been deleted.
You will have a hard time recompiling. Best is to compare 1.4.22 with 1.4.29 strings by:

Decompiling the new OTA 1.4.29 APKS
After decompiling you can compare the new strings generated in in the input folder, for Settings as example.

After decompiling all go to
\_INPUT_APK\Settings\res\values\strings.xml

You can compare that English Strings to your DA string in 1.4.22
you will see there are many changes so you cant use the 1.4.22 strings especially if they got deleted.
You will update your strings in values-da then to match what is in values strings.xml and translate it.
Then you will have a successful recompile and fully translated settings.apk

That is the work i do every week.
I added the new strings to your DA strings.xml
Then i copy that to values-da
Then recompile all the APKS
 
Last edited:

xavierjohn22

Inactive Recognized Developer
May 24, 2006
5,105
1,999
www.xavierjohn22.com
@1982strand

Code:
W/ResourceType( 2712): Bad XML block: header size 261 or total size 0 is larger than data size 0
C:\Users\Administrator\Desktop\AutoAPKTool1.0.2\_INPUT_APK\Gallery\res\menu-da\media_context_menu.xml:14: error: Error: No resource found that matches the given name (at 'id' with value '@id/set_or_cancel_cover').
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\ADMINI~1\AppData\Local\Temp\APKTOOL8651035744520181830.tmp, -I, C:\Users\Administrator\apktool\framework\1.apk, -S, C:\Users\Administrator\Desktop\AutoAPKTool1.0.2\_INPUT_APK\Gallery\res, -M, C:\Users\Administrator\Desktop\AutoAPKTool1.0.2\_INPUT_APK\Gallery\AndroidManifest.xml]
	at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
	at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
	at brut.androlib.Androlib.buildResources(Unknown Source)
	at brut.androlib.Androlib.build(Unknown Source)
	at brut.androlib.Androlib.build(Unknown Source)
	at brut.apktool.Main.cmdBuild(Unknown Source)
	at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\ADMINI~1\AppData\Local\Temp\APKTOOL8651035744520181830.tmp, -I, C:\Users\Administrator\apktool\framework\1.apk, -S, C:\Users\Administrator\Desktop\AutoAPKTool1.0.2\_INPUT_APK\Gallery\res, -M, C:\Users\Administrator\Desktop\AutoAPKTool1.0.2\_INPUT_APK\Gallery\AndroidManifest.xml]
	at brut.util.OS.exec(Unknown Source)
	... 7 more

The Gallery has a change in the menu xml file
This one "\_INPUT_APK\Gallery\res\menu-da\media_context_menu.xml"

What you need to do.

After DEcompile of the Gallery
Go to that file, compare it with your 1.4.22 string, you will see that something has change, only the "rename" string needs to be change, use the newest xml and created your menu-da to put that new xml

In miuimusic
There's also a string difference
This error mean that music_picker item is not found anywhere in the APK public, no use for it.
I suggest compare the strings.xml in values over your values-da

Code:
recompiling MiuiMusic.apk... 
I: Smaling...
I: Building resources...
aapt: warning: string 'music_picker' has no default translation in C:\Users\Administrator\Desktop\AutoAPKTool1.0.2\_INPUT_APK\MiuiMusic\res; found: de
I: Building apk file...

WHEnever you get errors of " has no default translation ", often you have use a string that is not needed

ALSO YOU CAN DECOMPILE AND RECOMPILE A SINGLE APK SO IT IS FASTER, ONLY THE APKS WITH ERRORS.
 

Devildog8791

Senior Member
Sep 15, 2009
856
124
Lonoke, AR
Just when I started to have problems with APK Manager, you bring this tool out. It is a little different interface, but at least I'm able to decompile and recompile the apk's that I was having trouble with.

Will you be adding features like optimizing images and zipaligning in the future? If not, that's cool. It does what I can't get APK Manager to do anymore. Thanks.
 

xavierjohn22

Inactive Recognized Developer
May 24, 2006
5,105
1,999
www.xavierjohn22.com
Just when I started to have problems with APK Manager, you bring this tool out. It is a little different interface, but at least I'm able to decompile and recompile the apk's that I was having trouble with.

Will you be adding features like optimizing images and zipaligning in the future? If not, that's cool. It does what I can't get APK Manager to do anymore. Thanks.

I am adding features after i posted this for i am using it in MIUI translation, mass production, LOL, yeah that would come, the auto deodexer was also in my working folder now so they are all there, i just need to get confirmation with autodeodexer for i am modding some of the scripts, if ever i will post it.

but i could update with the optimizing, and zipalign

right now it has optimization MX3 level only on the flashable zip, so we build less file size updater.

it would not be that difficult to put those functions my friend. yes i'll update it once i am over the miui fever this weekend, every friday is like hell
 

Devildog8791

Senior Member
Sep 15, 2009
856
124
Lonoke, AR
Okay, the first two apk's that I decompiled and recompiled worked fine. Now I am trying to invert the Dropbox app, but I am getting this error:


[*] C:\Users\Tim\AutoAPKTool1.0.2\_INPUT_APK\Dropbox.apk
decompiling C:\Users\Tim\AutoAPKTool1.0.2\_INPUT_APK\Dropbox.apk...
I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: G:\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=hardwareAccelerated, value=0xffffffff
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010102d3
at brut.androlib.res.data.ResPackage.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.decoder.ResAttrDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(Unknown Source)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Unknown Source)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(Unknown Source)
at brut.androlib.res.decoder.ResFileDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.decode(Unknown Source)
at brut.androlib.Androlib.decodeResourcesFull(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)​


I was getting this with APK Manager, but I thought it was something to do with the program. Do you have any ideas? I am using Windows Home Premium-64 bit and APK Tool 1.3.1. I thought someone said the new .NET update was screwing things up, but I don't know.
 

Devildog8791

Senior Member
Sep 15, 2009
856
124
Lonoke, AR
I am adding features after i posted this for i am using it in MIUI translation, mass production, LOL, yeah that would come, the auto deodexer was also in my working folder now so they are all there, i just need to get confirmation with autodeodexer for i am modding some of the scripts, if ever i will post it.

but i could update with the optimizing, and zipalign

right now it has optimization MX3 level only on the flashable zip, so we build less file size updater.

it would not be that difficult to put those functions my friend. yes i'll update it once i am over the miui fever this weekend, every friday is like hell

Sounds good, thanks.
 

xavierjohn22

Inactive Recognized Developer
May 24, 2006
5,105
1,999
www.xavierjohn22.com
Okay, the first two apk's that I decompiled and recompiled worked fine. Now I am trying to invert the Dropbox app, but I am getting this error:


[*] C:\Users\Tim\AutoAPKTool1.0.2\_INPUT_APK\Dropbox.apk
decompiling C:\Users\Tim\AutoAPKTool1.0.2\_INPUT_APK\Dropbox.apk...
I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: G:\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=hardwareAccelerated, value=0xffffffff
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010102d3
at brut.androlib.res.data.ResPackage.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.decoder.ResAttrDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(Unknown Source)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Unknown Source)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(Unknown Source)
at brut.androlib.res.decoder.ResFileDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.decode(Unknown Source)
at brut.androlib.Androlib.decodeResourcesFull(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)​


I was getting this with APK Manager, but I thought it was something to do with the program. Do you have any ideas? I am using Windows Home Premium-64 bit and APK Tool 1.3.1. I thought someone said the new .NET update was screwing things up, but I don't know.

You can try to switch to 1.3.2 with this tool or 1.3.1, have you tried decompiling the app in 1.3.2?

Also is this for GB or FROYO, aapt can be change from froyo to gingerbread, just need to put it in the same directory, later i'll add feature to switch too.

I got this from bruts thread with a user reply from me, here's where you get the files if switching from 1.3.1 to 1.3.2 did not help
FROYO
C:\android-sdk-windows\platforms\android-8\tools\aapt.exe
GB
C:\android-sdk-windows\platform-tools\aapt.exe
 

Devildog8791

Senior Member
Sep 15, 2009
856
124
Lonoke, AR
You can try to switch to 1.3.2 with this tool or 1.3.1, have you tried decompiling the app in 1.3.2?

Also is this for GB or FROYO, aapt can be change from froyo to gingerbread, just need to put it in the same directory, later i'll add feature to switch too.

I got this from bruts thread with a user reply from me, here's where you get the files if switching from 1.3.1 to 1.3.2 did not help
FROYO
C:\android-sdk-windows\platforms\android-8\tools\aapt.exe
GB
C:\android-sdk-windows\platform-tools\aapt.exe

Okay, I'll try that.

Sent from my ADR6300 using Tapatalk
 

Raffie75

Senior Member
Sep 30, 2010
779
81
Amersfoort
@XJ What is the fastest and most simple way to compare the deleted and added strings?

Do i have to walk thu all the strings to compare or is there an other way that is faster and easier to do?
Do i have to check the "bugfixlist" and open only the strings that are mentioned there?
 

1982Strand

Senior Member
Feb 12, 2011
965
200
@XJ What is the fastest and most simple way to compare the deleted and added strings?

Do i have to walk thu all the strings to compare or is there an other way that is faster and easier to do?
Do i have to check the "bugfixlist" and open only the strings that are mentioned there?

Don't know if it's the best/fastest way, but what i did was download a programm called Diffmerge (Google it) and then compared the latest english source we have (APP-EN_BASE_1.4.22_20110423.rar) with a decompiled version of newest en/zh rom upgrade.

This way i could "quickly" find changes/additions/removal of strings and then apply them to my language pack :)

But again, i'm also a newbie at this, so i'm not sure if this is the correct thing to do..
 

Raffie75

Senior Member
Sep 30, 2010
779
81
Amersfoort
Don't know if it's the best/fastest way, but what i did was download a programm called Diffmerge (Google it) and then compared the latest english source we have (APP-EN_BASE_1.4.22_20110423.rar) with a decompiled version of newest en/zh rom upgrade.

This way i could "quickly" find changes/additions/removal of strings and then apply them to my language pack :)

But again, i'm also a newbie at this, so i'm not sure if this is the correct thing to do..

Thnx, will try that maybe it will work indeed...
Sound like it's working nice and fast so i will try it and wait if XJ has another way (better and or faster)

Thnx 1982Strand!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 197
    ********************************************************
    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
    71
    xda AutoAPKTOOL

    ********************************************************
    xda AutoAPKTOOL (xAAT)
    CURRENT VERSION: 5.0.0b

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

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



    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..

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

    USAGE:
    Run AutoAPKToolMain.bat

    QUICK HOW TO:
    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)

    EXAMPLE 1: IMAGE
    If you are overwriting an image in an APK (widget_1x.png)
    _CUSTOM_RES
    -MiuiMusic
    --res
    ---drawable-hdpi
    ----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:
    _INPUT_APK
    -MiuiMusic
    --res
    ---drawable-de-hdpi (this is the image folder i added)
    ----widget_1x.png
    The Copy added resources "ON" will take care of copying these added resources or files

    SOME EXAMPLES OF IMAGES AND FILES OVERRIDING:
    "_CUSTOM_RES\AppShare\res\drawable-hdpi\installed.png"
    "_CUSTOM_RES\Gallery\res\menu\media_context_menu.xml"
    "_CUSTOM_RES\ThemeManager\res\drawable-hdpi\desktop_mask.png"

    EXAMPLE 2: XML BINARY WHEN YOU DO DIRECT EDITS
    Say you are editing a file straight from framework-res\res\drawable\progress_horizontal.xml
    FOR NOW YOU HAVE TO DO THIS:
    1) After doing [3], recompiling the apk

    2) Copy the file _INPUT_APK\framework-res\build\apk\res\drawable\progress_horizontal.xml
    to
    _CUSTOM_RES\framework-res\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

    NOTES:
    "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

    REQUIREMENTS:
    - 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

    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/
    mogrify http://www.imagemagick.org/www/binary-releases.html#windows
    guntherm6​6 for bringing mogrify close to this tool

    gn3b.png


    ********************************************************
    AUTO APK TOOL CHANGELOG:
    ********************************************************
    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

    ISSUE:
    - 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)
    _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

    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
    http://xdaforums.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 name
    - 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
    - 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
    - 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
    - Added saving settings of copy apks and generate zip aligns in dist gen apks
    - Added saving settings of compression level

    Version 2.0.0
    - Added adb reboot commands
    - Added script to save apktool version after changing and use that on start of app
    - 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)

    Version 1.0.9
    - 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
    - Added option to toggle copying of apk from DIST folder of apktool gen directory
    - 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
    - Added install additional resources

    Version 1.0.6
    - 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
    - Added apktool 1.4.1, see brut's site for changelog
    (Make sure you also have the aapt file from the latest migration notes)
    http://code.google.com/p/android-apktool/downloads/list
    - Added Single Recompile then Build
    - Added adb commands and tools, you must have ADB installed and configure already,
    (download "configure_adb_to_be_called_anywhere_in_cmd.rar")
    - Reorganized menu for future improvements

    Version 1.0.4
    - Added optimized "xyz.9.png" in APKs option

    Version 1.0.3
    - 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
    - Initial release
    51
    xda AutoDeodexTOOL

    ********************************************************
    xda AutoDEODEXTOOL (xADT)
    CURRENT VERSION: 1.0.3

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

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



    OBJECTIVE:
    Automate/batch processing of deodexing jars and apks (odexed rom)

    USAGE:
    Run AutoDEOToolMain.bat

    IMPORTANT:
    - PLEASE AVOID SPACES IN THE TOOL FOLDER PATH FOR NOW
    - Good path use underscores or only letters, nos. (L:\TOOL\AutoDEOTool1.0.1)
    - Some of the APKs does not like the -mX optimization so watch for those

    QUICK HOW TO:
    To deodex framework files,
    - Place the JARs and corresponding ODEX files in the directory "_framework".
    - Otherwise, place deodexed framework JARs into the directory "deodexed_JAR".
    To deodex APK files,
    - Place the APKs and corresponding ODEX files in the directory "_app".
    (1) is for stock android deodexing
    (2) is for non stock, such as sense, miui where you can put a custom bootclasspath
    (3 to 6) options are for deodexing apks only or jars with 1 and 2 functionality
    Options to change between smali-baksmali versions

    NOTES:
    - Basic out is performed by the tool and classes.dex is just added to the jar/apk
    - No compression feature yet for that would be a separate option, i turned it off for FC with miui soundrecorder apk

    REQUIREMENTS:
    - you must have java installed on your machine, you may even have it already, mine is:
    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

    CREDITS
    CREDITS:
    - JesusFreke, Daneshm90's script and crzyruski Auto-Deodexer
    - 7za commandline version http://www.7-zip.org
    - sggua @ xda (Sergiy G) http://sgg.im/




    ********************************************************
    AUTO DEODEX TOOL CHANGELOG:
    ********************************************************
    Version 1.0.3
    sggua @ xda
    http://sgg.im/
    - New smali/backsmali version 1.3.2
    - API number for right deodex

    Version 1.0.2
    - Added optimized JARs and APKs option
    - Added compression level, functioning separately
    - Added clean folders
    - Fixed compression levels when -a for all called batch

    Version 1.0.1
    - Initial Release
    - Deodex stock and custom bootclass jars and apks of a rom
    - Deodex stock and custom bootclass apks only
    - Deodex stock and custom bootclass jars only
    14
    These are some of the smalis you need to change
    Posted here during MIUI Ver 1.4.22/1.5.6
    (this means, it may change next week, anyways basics are posted)
    Use Beyond Compare or other folder, file comparer, for comparing changes
    Use Windows Grep for hunting down other smalis in the future
    If you got chinese character and you have translated all in strings, arrays, raw, etc.., it is most likely to be in the smali files


    Backup
    L:\_000 _MIUI_ROMs\000_AUTOAPKTOOL_EN\_INPUT_APK\Backup\smali\com\miui\backup\ui\LocalBackupMain.smali
    Code:
        const-string v1, "yyyy\u5e74MM\u6708dd\u65e5 HH:mm:ss"
        const-string v1, "yyyy MM dd HH:mm:ss"

    L:\_000 _MIUI_ROMs\000_AUTOAPKTOOL_EN\_INPUT_APK\Backup\smali\com\miui\milk\ui\PreferenceCloudBackup.smali
    Code:
        const-string v1, "yyyy\u5e74MM\u6708dd\u65e5 HH:mm"
        const-string v1, "yyyy MM dd HH:mm:ss"

    L:\_000 _MIUI_ROMs\000_AUTOAPKTOOL_EN\_INPUT_APK\Backup\smali\com\miui\milk\ui\ProgressResultActivity.smali
    Code:
        const-string v1, "yyyy\u5e74MM\u6708dd\u65e5 HH:mm"
        const-string v1, "yyyy MM dd HH:mm:ss"

    FileExplorer
    L:\_000 _MIUI_ROMs\000_AUTOAPKTOOL_EN\_INPUT_APK\FileExplorer\smali\com\android\fileexplorer\Util.smali
    Code:
        const-string v2, "\u7167\u7247"
        const-string v2, "MIUI Camera Shots"
    
        const-string v2, "SD\u5361"
        const-string v2, "SD Card"
    
        const-string v2, "MIUI\u622a\u5c4f"
        const-string v2, "MIUI Screenshots"
    
        const-string v2, "\u94c3\u58f0"
        const-string v2, "Downloads"

    Gallery
    L:\_000 _MIUI_ROMs\000_AUTOAPKTOOL_EN\_INPUT_APK\Gallery\smali\com\android\gallery\app\AppHelper.smali
    Code:
        const-string v3, "\u25cf"
        const-string v3, "Menu" or const-string v3, "Sort"

    L:\_000 _MIUI_ROMs\000_AUTOAPKTOOL_EN\_INPUT_APK\Gallery\smali\com\android\gallery\fileexplorer\FileViewInteractionHub$5.smali
    Code:
        const-string v8, "\u8bbe\u7f6e\u58c1\u7eb8"
        const-string v8, "Use as wallpaper"
    
        const-string v9, "\u8bbe\u4e3a\u684c\u9762\u58c1\u7eb8"
        const-string v9, "Set as desktop wallpaper"
    
        const-string v9, "\u8bbe\u4e3a\u9501\u5c4f\u58c1\u7eb8"
        const-string v9, "Set as lockscreen wallpaper"

    L:\_000 _MIUI_ROMs\000_AUTOAPKTOOL_EN\_INPUT_APK\Gallery\smali\com\android\gallery\ui\FolderViewActivity$6.smali
    Code:
        const-string v2, "\u91cd\u547d\u540d\u5931\u8d25"
        const-string v2, "Rename failed"

    L:\_000 _MIUI_ROMs\000_AUTOAPKTOOL_EN\_INPUT_APK\Gallery\smali\com\android\gallery\ui\InformationDialog.smali
    Code:
        const-string v18, "\u89c6\u9891\u5c5e\u6027"
        const-string v18, "Video properties"
    
        const-string v18, "\u56fe\u7247\u5c5e\u6027"
        const-string v18, "Video properties"
    
        const-string v5, "\u89c6\u9891\u5c5e\u6027"
        const-string v5, "Video properties"
    
    
        const-string v5, "\u56fe\u7247\u5c5e\u6027"
        const-string v5, "Image properties"

    + this xml file in Gallery
    \Gallery\res\menu\media_context_menu.xml
    Code:
        <item android:id="@id/rename" android:title="???" />
        <item android:id="@id/rename" android:title="Rename" />


    Launcher2
    Make your own workspace in desktop
    L:\_000 _MIUI_ROMs\000_AUTOAPKTOOL_EN\_INPUT_APK\Launcher2\res\xml\default_workspace.xml

    MiuiCamera
    L:\_000 _MIUI_ROMs\000_AUTOAPKTOOL_EN\_INPUT_APK\MiuiCamera\smali\com\miui\camera\ui\PictureSizePreferenceActivity.smali
    Code:
        const-string v10, " (\u5168\u5c4f)"
        const-string v10, " (Full Screen)"

    MiuiMusic
    I don't change and remove tabs in MiuiMusic, it's okay for us here in Singapore
    Don't forget to translate plurals.xml too
    L:\_000 _MIUI_ROMs\000_AUTOAPKTOOL_EN\_INPUT_APK\MiuiMusic\res\values\plurals.xml

    Mms
    translate
    L:\_000 _MIUI_ROMs\000_AUTOAPKTOOL_TEMP\_INPUT_APK\Mms\res\raw-en\sms_frequently_used_phrase

    to remove the third tab
    L:\_000 _MIUI_ROMs\000_AUTOAPKTOOL_EN\_INPUT_APK\Mms\smali\com\android\mms\ui\MmsTabActivity.smali
    remove these lines:
    Code:
    ----------------------------
    .method static constructor <clinit>()V
        .locals 1
    
        .prologue
        .line 22
        const/4 v0, 0x0
    
        sput-boolean v0, Lcom/android/mms/ui/MmsTabActivity;->sPasswordConfirmed:Z
    
        return-void
    .end method
    -----------------------------
    .method private setupRecommendationTab()V
        .locals 4
    
        .prologue
        .line 95
        new-instance v0, Landroid/content/Intent;
    
        invoke-direct {v0}, Landroid/content/Intent;-><init>()V
    
        .line 96
        const-class v1, Lcom/android/mms/ui/FestivalSmsCategoryList;
    
        invoke-virtual {v0, p0, v1}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;
    
        .line 97
        iget-object v1, p0, Lcom/android/mms/ui/MmsTabActivity;->mTabHost:Landroid/widget/TabHost;
    
        iget-object v2, p0, Lcom/android/mms/ui/MmsTabActivity;->mTabHost:Landroid/widget/TabHost;
    
        const-string v3, "festival"
    
        invoke-virtual {v2, v3}, Landroid/widget/TabHost;->newTabSpec(Ljava/lang/String;)Landroid/widget/TabHost$TabSpec;
    
        move-result-object v2
    
        const v3, 0x7f090135
    
        invoke-virtual {p0, v3}, Lcom/android/mms/ui/MmsTabActivity;->getText(I)Ljava/lang/CharSequence;
    
        move-result-object v3
    
        invoke-virtual {v2, v3}, Landroid/widget/TabHost$TabSpec;->setIndicator(Ljava/lang/CharSequence;)Landroid/widget/TabHost$TabSpec;
    
        move-result-object v2
    
        invoke-virtual {v2, v0}, Landroid/widget/TabHost$TabSpec;->setContent(Landroid/content/Intent;)Landroid/widget/TabHost$TabSpec;
    
        move-result-object v0
    
        invoke-virtual {v1, v0}, Landroid/widget/TabHost;->addTab(Landroid/widget/TabHost$TabSpec;)V
    
        .line 99
        return-void
    .end method
    -----------------------------
        .line 45
        invoke-direct {p0}, Lcom/android/mms/ui/MmsTabActivity;->setupRecommendationTab()V

    Notes
    Introduction translation
    L:\_000 _MIUI_ROMs\000_AUTOAPKTOOL_EN\_INPUT_APK\Notes\res\raw\introduction

    Settings
    if you are en base provide html helpfile for tethering too
    L:\_000 _MIUI_ROMs\000_AUTOAPKTOOL_TEMP\_INPUT_APK\Settings\assets\html\en\tethering_help.html
    L:\_000 _MIUI_ROMs\000_AUTOAPKTOOL_TEMP\_INPUT_APK\Settings\assets\html\en\tethering_usb_help.html
    L:\_000 _MIUI_ROMs\000_AUTOAPKTOOL_TEMP\_INPUT_APK\Settings\assets\html\en\tethering_wifi_help.html

    Sidekick
    L:\_000 _MIUI_ROMs\000_AUTOAPKTOOL_EN\_INPUT_APK\SideKick\smali\com\android\sidekick\InputHistoryAdapter.smali
    Code:
        const-string v2, "\u4eca\u5929"
        const-string v2, "Today"
    
        const-string v2, "\u6628\u5929"
        const-string v2, "Yesterday"

    IMAGES that needs to be taken care of,
    Decompile my Updates or Full ROM apks and grab the images there if you want to use it


    13
    How to set-up System Update with MIUI

    1. Set-up your server
    2. Modify the Update.apk smali file pointing to your json file
    3. Make your json file and upload it to the server
    4. Upload your files (see folder structure)
    5. Optional grab my ota binary in xbin, it's from atroy of china, else make your own ota binary