Hi guys I'm just sharing the work of the XDA member Flextrick.This is a simple tool which helps you to compile/decompile and sign the apk's.
- Easy handling: Select your apk and push the "decompile" button!
- This tool makes modding much faster and easier, no cmd handling any more.
- You can read the log which is integrated in the tool to find your mistake in the error.
- This tool makes modding much faster and easier, no cmd handling any more.
- You can read the log which is integrated in the tool to find your mistake in the error.
Requirements:
Winows OS XP / 7 / 8
Installed Java on Windows
Installed Microsoft Powerpacks
Installed .NET framework
How to use this tool?
Follow this small how to!
Here you go..
Well, first extract the AndroidApktool folder to C:\. Otherwise it propably won´t work
-copy your framework-res.apk and other files you want to mod in the "Files" folder (this folder is for all your files you want to mod, don't pick files from any other location)
-Next you have to start AndroidApktool.exe
-select your framework-res.apk and push the "install" button (check log for errors)
Here you go..
Well, first extract the AndroidApktool folder to C:\. Otherwise it propably won´t work
-copy your framework-res.apk and other files you want to mod in the "Files" folder (this folder is for all your files you want to mod, don't pick files from any other location)
-Next you have to start AndroidApktool.exe
-select your framework-res.apk and push the "install" button (check log for errors)
Decompiling and recompiling apk files:
-select the apk you want to mod/decompile and push the "decompile" button (check log for errors)
Note: You can check the "use baksmali" checkbox, then e.g. the useless .line text will be removed
-your decompiled apk will be located in C:\AndroidApktool\Decompiled_apk\"apkname" as a folder
-if you want to compile your apk again, select your decompiled folder, check the "apk" radiobutton and compile it again (check log for errors)
!!!NOTE!!! After compiling you have to copy the AndroidManifest.xml and the META-INF folder from your old apk to your newly compiled one!! Otherwise you´ll get bootloop! (Don't check the smali checkbox, it will create a classes.dex file from you smali files)
-your recompiled apk will be located in C:\AndroidApktool\Compiled_apk\"apkname"
-select the apk you want to mod/decompile and push the "decompile" button (check log for errors)
Note: You can check the "use baksmali" checkbox, then e.g. the useless .line text will be removed
-your decompiled apk will be located in C:\AndroidApktool\Decompiled_apk\"apkname" as a folder
-if you want to compile your apk again, select your decompiled folder, check the "apk" radiobutton and compile it again (check log for errors)
!!!NOTE!!! After compiling you have to copy the AndroidManifest.xml and the META-INF folder from your old apk to your newly compiled one!! Otherwise you´ll get bootloop! (Don't check the smali checkbox, it will create a classes.dex file from you smali files)
-your recompiled apk will be located in C:\AndroidApktool\Compiled_apk\"apkname"
Decompiling and recompiling jar files:
-select in the combobox ".jar" (check the "use baksmali" checkbox for deleting the useless .line comments)
-select the ".jar" file you want to mod
-push the "decompile" button
-your decompiled jar file will be locaten in C:\AndroidApktool\Decompiled_jar\"jarname"
-for recompiling you have to check the "jar" radiobutton and select the folder within your decompiled ".jar" file
-push the compile button
-your compiled jar file will be located in C:\AndroidApktool\Compiled_jar\"jarname"\classes.d ex
-delete the "classes.dex" file in your ".jar" file
-copy the new "classes.dex" file you compiled in the ".jar" file
-select in the combobox ".jar" (check the "use baksmali" checkbox for deleting the useless .line comments)
-select the ".jar" file you want to mod
-push the "decompile" button
-your decompiled jar file will be locaten in C:\AndroidApktool\Decompiled_jar\"jarname"
-for recompiling you have to check the "jar" radiobutton and select the folder within your decompiled ".jar" file
-push the compile button
-your compiled jar file will be located in C:\AndroidApktool\Compiled_jar\"jarname"\classes.d ex
-delete the "classes.dex" file in your ".jar" file
-copy the new "classes.dex" file you compiled in the ".jar" file
Signing apk files:
-select the ".apk" you want to sign
-push the "sign" button
-the signed apk file is located in C:\AndroidApktool\Signed_apk\"apkname_signed"
-select the ".apk" you want to sign
-push the "sign" button
-the signed apk file is located in C:\AndroidApktool\Signed_apk\"apkname_signed"
Downloads 1.Windows 8 - http://www.mediafire.com/download/3xc18gs3we9gt8h/AndroidMultitool_2.1.zip
2.Windows XP/Windows 7 - http://www.mediafire.com/download/5aby5m5zh9vj1h9/AndroidMultitool_2.1_Win7.zip
2.Windows XP/Windows 7 - http://www.mediafire.com/download/5aby5m5zh9vj1h9/AndroidMultitool_2.1_Win7.zip
Questions and answers:
Q: The programm does not start, it crashes.
A: Please install Powerpacks, this one: http://download.microsoft.com/downl...-684E8AD6F0AE/VisualBasicPowerPacks3Setup.exe
Q: What do you mean exactly with "!!!NOTE!!! After compiling you have to copy the AndroidManifest.xml and the META-INF folder from your old apk to your newly compiled one!! Otherwise you´ll get bootloop! " .. I don't understand.
A: You have to open your old apk (this one you selected for decompiling in the folder /files) and copy from that apk the AndroidManifest.xml and the META-INF folder to the apk you just decompiled and recompiled.
A: Please install Powerpacks, this one: http://download.microsoft.com/downl...-684E8AD6F0AE/VisualBasicPowerPacks3Setup.exe
Q: What do you mean exactly with "!!!NOTE!!! After compiling you have to copy the AndroidManifest.xml and the META-INF folder from your old apk to your newly compiled one!! Otherwise you´ll get bootloop! " .. I don't understand.
A: You have to open your old apk (this one you selected for decompiling in the folder /files) and copy from that apk the AndroidManifest.xml and the META-INF folder to the apk you just decompiled and recompiled.
Original Thread : http://xdaforums.com/showthread.php?t=2326604
Credits :
Last edited: