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 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 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 Document
Updated the README
Added Raw Mode to the Decompiler Switch
Please Visit the website for downloading the applicaiton
Saturday, October 6, 2012
please report this here you will get better support then on here
ReplyDeleteSorry, but I cannot unpack the zip file (with recent winrar). I can unpack the beta, though
ReplyDeleteI'm having trouble when I select 23. It's saying device not found. I have the zip file in the right folder to modify it but it's not reading it. It could be the path in my computer I need to change. Kinda lost in this case. Please help lol
ReplyDeleteHi! This is file can't to be decompiled https://www.dropbox.com/s/ecrgdth5ky25jdr/framework-res.apk
ReplyDelete--------------------------------------------------------------------------
ReplyDelete|20.11.2012 -- 22:20:18,58|
--------------------------------------------------------------------------
java version "1.7.0_06"
Java(TM) SE Runtime Environment (build 1.7.0_06-b24)
Java HotSpot(TM) 64-Bit Server VM (build 23.2-b09, mixed mode)
I: Loading resource table...
W: Config flags size > 36. Exceeding bytes:.........................................
W: Invalid config flags detected. Dropping resources: style-ERR0
Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
Decompiling..
ReplyDeleteI: Baksmaling...
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Boricua\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=uiOptions, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=supportsRtl, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=parentActivityName, value=0x00000066
Exception in thread "main" java.lang.NullPointerException
at java.io.Writer.write(Writer.java:157)
at brut.androlib.res.util.ExtMXSerializer.writeAttributeValue(ExtMXSerializer.java:38)
at org.xmlpull.mxp1_serializer.MXSerializer.attribute(MXSerializer.java:673)
at org.xmlpull.v1.wrapper.classic.XmlSerializerDelegate.attribute(XmlSerializerDelegate.java:106)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamDecoder.java:64)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:98)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPullStreamDecoder.java:112)
at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecoder.java:126)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:152)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:113)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:99)
at brut.apktool.Main.cmdDecode(Main.java:131)
at brut.apktool.Main.main(Main.java:68)
the post above is while trying to decompile settings.apk
ReplyDeleteand this post is while trying to recompile phone.apk even w/out making any changes i get this error
I: Baksmaling...
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Boricua\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\APK-Multi-Tool-master\other\..\projects\Phone.apk\res\values-es\strings.xml:202: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\APK-Multi-Tool-master\other\..\projects\Phone.apk\res\values-es\strings.xml:203: error: Unexpected end tag string
C:\APK-Multi-Tool-master\other\..\projects\Phone.apk\res\values-es-rUS\strings.xml:207: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\APK-Multi-Tool-master\other\..\projects\Phone.apk\res\values-es-rUS\strings.xml:208: error: Unexpected end tag string
C:\APK-Multi-Tool-master\other\..\projects\Phone.apk\res\values\public.xml:1257: error: Public symbol string/mute_disabled declared here is not defined.
C:\APK-Multi-Tool-master\other\..\projects\Phone.apk\res\values\public.xml:1255: error: Public symbol string/slide_to_mute declared here is not defined.
C:\APK-Multi-Tool-master\other\..\projects\Phone.apk\res\values\public.xml:1259: error: Public symbol string/slide_to_speaker_off declared here is not defined.
C:\APK-Multi-Tool-master\other\..\projects\Phone.apk\res\values\public.xml:1258: error: Public symbol string/slide_to_speaker_on declared here is not defined.
C:\APK-Multi-Tool-master\other\..\projects\Phone.apk\res\values\public.xml:1256: error: Public symbol string/slide_to_unmute declared here is not defined.
C:\APK-Multi-Tool-master\other\..\projects\Phone.apk\res\values\public.xml:1260: error: Public symbol string/speaker_disabled declared here is not defined.
C:\APK-Multi-Tool-master\other\..\projects\Phone.apk\res\values\public.xml:1261: error: Public symbol string/sprint_data_roaming_guard_dialog_default declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, C:\Users\Boricua\AppData\Local\Temp\APKTOOL4505141118699718397.tmp, -I, C:\Users\Boricua\apktool\framework\1.apk, -S, C:\APK-Multi-Tool-master\other\..\projects\Phone.apk\res, -M, C:\APK-Multi-Tool-master\other\..\projects\Phone.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:255)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)
at brut.androlib.Androlib.buildResources(Androlib.java:269)
at brut.androlib.Androlib.build(Androlib.java:192)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.apktool.Main.cmdBuild(Main.java:188)
at brut.apktool.Main.main(Main.java:70)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, C:\Users\Boricua\AppData\Local\Temp\APKTOOL4505141118699718397.tmp, -I, C:\Users\Boricua\apktool\framework\1.apk, -S, C:\APK-Multi-Tool-master\other\..\projects\Phone.apk\res, -M, C:\APK-Multi-Tool-master\other\..\projects\Phone.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:253)
... 6 more
any help will be appreaciated...thx
like the website download section report all compiling and decompiling issues here
ReplyDeletehttp://forum.xda-developers.com/showthread.php?t=1755243
I cannot help you with these type issues because it is a binary issue not a script issue
It seems like this does not support the 4.2 API yet. Trying to edit GSF for the DPI patch, and it errors out on the API Level version when trying to recompile.
ReplyDeleteThis what happens to me
ReplyDelete! C:\Users\acer\Desktop\APK-Multi-Toolv1.0.10.zip: Unknown method in APK-Multi-Tool\CHANGELOG
! C:\Users\acer\Desktop\APK-Multi-Toolv1.0.10.zip: Unknown method in APK-Multi-Tool\docs\donate.html
! C:\Users\acer\Desktop\APK-Multi-Toolv1.0.10.zip: Unknown method in APK-Multi-Tool\docs\Manuel.chm
! C:\Users\acer\Desktop\APK-Multi-Toolv1.0.10.zip: Unknown method in APK-Multi-Tool\other\7za.exe
! C:\Users\acer\Desktop\APK-Multi-Toolv1.0.10.zip: Unknown method in APK-Multi-Tool\other\aapt.exe
! C:\Users\acer\Desktop\APK-Multi-Toolv1.0.10.zip: Unknown method in APK-Multi-Tool\other\adb.exe
! C:\Users\acer\Desktop\APK-Multi-Toolv1.0.10.zip: Unknown method in APK-Multi-Tool\other\AdbWinApi.dll
! C:\Users\acer\Desktop\APK-Multi-Toolv1.0.10.zip: Unknown method in APK-Multi-Tool\other\AdbWinUsbApi.dll
! C:\Users\acer\Desktop\APK-Multi-Toolv1.0.10.zip: Unknown method in APK-Multi-Tool\other\apktool.jar
! C:\Users\acer\Desktop\APK-Multi-Toolv1.0.10.zip: Unknown method in APK-Multi-Tool\other\libgomp-1.dll
! C:\Users\acer\Desktop\APK-Multi-Toolv1.0.10.zip: Unknown method in APK-Multi-Tool\other\mgwz.dll
! C:\Users\acer\Desktop\APK-Multi-Toolv1.0.10.zip: Unknown method in APK-Multi-Tool\other\pthreadgc2.dll
! C:\Users\acer\Desktop\APK-Multi-Toolv1.0.10.zip: Unknown method in APK-Multi-Tool\other\roptipng.exe
! C:\Users\acer\Desktop\APK-Multi-Toolv1.0.10.zip: Unknown method in APK-Multi-Tool\other\signapk.jar
! C:\Users\acer\Desktop\APK-Multi-Toolv1.0.10.zip: Unknown method in APK-Multi-Tool\other\signer.bat
! C:\Users\acer\Desktop\APK-Multi-Toolv1.0.10.zip: Unknown method in APK-Multi-Tool\other\sox.exe
! C:\Users\acer\Desktop\APK-Multi-Toolv1.0.10.zip: Unknown method in APK-Multi-Tool\other\testkey.x509.pem
! C:\Users\acer\Desktop\APK-Multi-Toolv1.0.10.zip: Unknown method in APK-Multi-Tool\other\version.txt
! C:\Users\acer\Desktop\APK-Multi-Toolv1.0.10.zip: Unknown method in APK-Multi-Tool\other\zipalign.exe
! C:\Users\acer\Desktop\APK-Multi-Toolv1.0.10.zip: Unknown method in APK-Multi-Tool\other\zlib1.dll
! C:\Users\acer\Desktop\APK-Multi-Toolv1.0.10.zip: Unknown method in APK-Multi-Tool\README
! C:\Users\acer\Desktop\APK-Multi-Toolv1.0.10.zip: Unknown method in APK-Multi-Tool\Script.bat
! C:\Users\acer\Desktop\APK-Multi-Toolv1.0.10.zip: Unknown method in APK-Multi-Tool\Setup.bat
! C:\Users\acer\Desktop\APK-Multi-Toolv1.0.10.zip: Unknown method in APK-Multi-Tool\themer\themetools\7za.exe
! C:\Users\acer\Desktop\APK-Multi-Toolv1.0.10.zip: Unknown method in APK-Multi-Tool\themer\tporter.bat