瀏覽完整版本 : APK Multi-Tool 安裝.設定.使用簡易說明

08-21-2012, 04:20 PM
APK Multi-Tool 是APK Manager的升级版,是一個APK反編譯工具,具多種功能!


目前官方最新版本是 APK Multi-Tool Windows Version 1.0.7 Released

Version 1.0.7

Updated to next minor build number
Updated Setup.bat Fixing Installing Framework-Res
Fixed Issue With 'apktool' is not recognized as an internal or external command,operable program or batch file."
Fixed Issue with Installing Framework-Res pointing to a incorrect folder that no longer exist
Fixed Issue when Running Installing Framework-Res scripts that the scripts will close after installing instead of going back to the menu.
Updated APKTOOL.JAR to 1.4.9
Added Custom AAPT that was built to work with JELLY BEAN
Fixed issues with setup
Made a few changes to the setup bat to fix alignment size and other misc issues
Fixed Spelling
Did some changes to see if I can fix the issue with The keep option to work with none system applications.
Trying to get batch optionmize to work
Replacing odt with a actual manual in html
Fixed Bug with KEEP Folder not exstracting for None System Applicaitons
Tweaked how the Signed and Unsigned files are compiled adding a small underscore between the recompiled file and the added prefix added by the scripts
Tweaked the option 11 for non system apks
I added the option to allow you to transfer the old key file over to the apk in case you did minor changes so be careful to test the APK files as some will need you to pick the unsigned option depending on how drastic the changes you made and forcing you to have to resign them
Renamed recompiled system files
Renamed the unsigned_ to signed_System_ since the system file changes the signature files are transfered since they are actually signed already instead of the misconception that has been going on for a while

需建構 JAVA 環境 ! 參考帖;JDK 下載安裝 + 環境變數設定 (http://www.android-zone.cc/showthread.php?38-JDK-%E4%B8%8B%E8%BC%89%E5%AE%89%E8%A3%9D-%E7%92%B0%E5%A2%83%E8%AE%8A%E6%95%B8%E8%A8%AD%E5%AE%9A)

SDK (http://developer.android.com/sdk/index.html)系統安裝


下 載:

請至官網下載:APK Multi-Tool Windows Version 1.0.7 (http://apkmultitool.com/?q=node/5)
下載解壓縮將APK-Multi-Tool資料夾複製到C:之下 (C:\APK-Multi-Tool>)


選擇 3. Setup Directories (會展開完整工具資料夾)
選擇 2. Installing Framework-Res (安裝rom系統環境)
註:將 com.htc.resources.apk framework-res.apk SystemUI.apk 複製到 other 資料夾內
系統環境檔會建立於 C:\Users\username\apktool\framework\ 1.apk 2.apk 127.apk



place-apk-here-for-modding -- 存放待修改的 .apk
place-apk-here-for-signing -- 存放待簽名的 .apk
place-apk-here-to-batch-optimize -- 存放批量處理的 .apk
place-ogg-here -- 存放待 OGG 優化的 .apk
projects -- 存放 Decompile apk 資料夾


將欲修改之.apk複製到 place-apk-here-for-modding 資料夾內
點擊工具資料夾內 "Script.bat" 以開啟視窗


1.選擇 "23 Set current project" -- 選擇欲修改的.apk

2.選擇 "9 Decompile apk" -- 反編譯 xxx.apk
將於 projects 資料夾內建立個 "xxx資料夾"

3.此時可在 projects\xxx 內修改


註:接著下一步驟 compile 會詢問是否為 system apk
系統檔的辨識在 projects\xxx\apktool.yml
isFrameworkApk: true -- system apk
isFrameworkApk: false -- 非系統檔

1.選擇 "23 Set current project" -- 選擇欲修改的.apk

2.選擇 "11 Compile apk"
此時會在 projects\xxx\build 建立個build資料夾

3.視窗會出現個訊息:詢問是否為 system apk? -- 如選擇 yes
3-2. y 或 n 都可以.選 n 檔案會小些

1.建立未簽名的 apk
2.建立維持原簽名的 apk

5.如之前是選擇 system apk .此時要選擇 2.建立維持原簽名的 apk

6.place-apk-here-for-modding 資料夾會出現
unsigned_xxx.apk -- 這個為修改.編譯的 apk (去除掉unsigned_字樣即可)


接續步驟1. 2.
3.視窗會出現個訊息:詢問是否為 system apk? -- 如選擇 no
3-2. y 或 n 都可以.選 n 檔案會小些

4.place-apk-here-for-modding 資料夾會出現

5.選擇 "12 Sign apk"

6.place-apk-here-for-modding 資料夾會出現


616 617 618

09-26-2012, 07:16 PM
目前官方最新版本是 APK Multi-Tool Windows Version 1.0.9 (http://apkmultitool.com/?q=node/5)

10-12-2012, 05:23 PM
目前官方最新版本是 APK Multi-Tool Version 1.0.10 (http://apkmultitool.com/?q=node/5)

Version 1.0.10
Rewriten how ADB is detected and used in the script
Minor Changes to the SETUP.BAT Fixing MISC Issues
Fixed ADB PUSH for SYSTEM Files as it was pointed at the wrong files
Minor Tweaks to zipalign
Updated apktool.jar to v1.5.0 (Released September 2 - 2012 ) Codename : Pikmin
* Fix for colours being decompiled with improper hex colours
* Fix for <string-array> being treated as array on occasion
* Support for Mac OS X user:home, instead of dumping frames into /home
* Updated internal framework.jar to API16
* Added <user-sdk> reading to insert into apktool.yml to help with aapt building
* Added --verbose mode to output contents of AAPT (note this is a HUGE output). Only used for debugging.
* Ignore bootclasspath on debug mode. (Causes some classes in smali to be fail decompile)
Updated AAPT to the latest Custom Build
Fixed Decompiler Switch to Actually work
Fixed Compiler script Errors
Replaced The OLD MANUEL HTML File with a Actual Help Doctument
Updated the README
Added Raw Mode to the Decompiler Switch

04-06-2013, 03:33 PM
目前官方最新版本是 APK Multi-Tool Version 1.0.11
Version 1.0.11
Moved DEPENDENCY FILES to its own bat file which fixed issue with installing a DEPENDENCY would close the setup.bat
Updated to ApkTool v1.5.2
-Fixed (issue #299) - output smali filename errors to screen during rebuild instead of filestream
-Only show the --aapt / -a info in verbose mode.
-Fixed (issue #392) - Don't crash out if .git folder isn't present. Use SNAPSHOT-DEV instead.
-Fixed (issue #67) - Only store compressed resources.arsc if original was compressed, otherwise STORE.
-Moved build.gradle files to each sub-project, more organization :)
-Fixed (issue #394) - Prevented duplicated files in final jar which saved around 1.2mb.
-Added Proguard to drop final jar size from 6.2mb to 2.6mb.
-Fixed (issue #395) - Added check for "aapt" in unit-tests.
-Added ability to use "--frame-path" on [if|install-framework]
-Fixed renaming of ".r.9.png" images -> ".9.png".
-Added ability to use --version to print out Apktool version
Fixed Compiler Issues Hopefully when recompiling
Hopefully fixed a bug introduced into the application which would cause keep folder items not being copied over after removing changed files causing corrupted apk files
Updated Custom Build of AAPT for MIUI SUPPORT
Fixed Issue #10 Decompilation fails when resource processing begins
Removed unneeded ping request
Fixed Bug with Viewing the LOGS for the SETUP.BAT
Added the ability to pull Dependencies directly from your phone to use to install using the setup scripts
Fixed bug with Theme porter not functioning
Cosmetic changes to the source.