Did you sign it?
Sent from my SM-N910P using XDA Free mobile app
RSCDecoder.java:78)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:47)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:39)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:662)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:644)
at brut.androlib.Androlib.installFramework(Androlib.java:636)
at brut.apktool.Main.cmdInstallFramework(Main.java:240)
at brut.apktool.Main.main(Main.java:87)
Did you sign it?
Sent from my SM-N910P using XDA Free mobile app
So I can decompile, I fix some values here and there and when I recompile I get this:
Log For : framework-res.apk
Log Type : Recompiling
Log Recorded At : Thu 16-04-2015 1:33:09.97
Log Recorded By : Advanced ApkTool v4.1.0 By BDFreak
------------------------------------------------------
W: Could not find sources
C:\Users\BRAVA\Desktop\AdvancedApkTool\3-Out\framework-res.apk\res\drawable-sw360dp-xxxhdpi\ic_knox_badge.PNG: error: File is case-insensitive equivalent to: C:\Users\BRAVA\Desktop\AdvancedApkTool\3-Out\framework-res.apk\res\drawable-xxxhdpi\ic_knox_badge.png
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\BRAVA\AppData\Local\Temp\brut_util_Jar_4145538247507964460.tmp, p, --forced-package-id, 1, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 21, --version-name, 5.0.2-G920W8VLU1AOCG, -F, C:\Users\BRAVA\AppData\Local\Temp\APKTOOL1419647242275865316.tmp, -x, -0, arsc, -S, C:\Users\BRAVA\Desktop\AdvancedApkTool\3-Out\framework-res.apk\res, -M, C:\Users\BRAVA\Desktop\AdvancedApkTool\3-Out\framework-res.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:442)
at brut.androlib.Androlib.buildResources(Androlib.java:379)
at brut.androlib.Androlib.build(Androlib.java:282)
at brut.androlib.Androlib.build(Androlib.java:255)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\BRAVA\AppData\Local\Temp\brut_util_Jar_4145538247507964460.tmp, p, --forced-package-id, 1, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 21, --version-name, 5.0.2-G920W8VLU1AOCG, -F, C:\Users\BRAVA\AppData\Local\Temp\APKTOOL1419647242275865316.tmp, -x, -0, arsc, -S, C:\Users\BRAVA\Desktop\AdvancedApkTool\3-Out\framework-res.apk\res, -M, C:\Users\BRAVA\Desktop\AdvancedApkTool\3-Out\framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:506)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:428)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\BRAVA\AppData\Local\Temp\brut_util_Jar_4145538247507964460.tmp, p, --forced-package-id, 1, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 21, --version-name, 5.0.2-G920W8VLU1AOCG, -F, C:\Users\BRAVA\AppData\Local\Temp\APKTOOL1419647242275865316.tmp, -x, -0, arsc, -S, C:\Users\BRAVA\Desktop\AdvancedApkTool\3-Out\framework-res.apk\res, -M, C:\Users\BRAVA\Desktop\AdvancedApkTool\3-Out\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:500)
... 6 more
------------------------------------------------------
Any idea why? If I do not edit anything in the apk it will actually recompile, but I want to edit things in the file.
Anyone help me out please?
Appreciate your reply. I'll try this when I get home! ThanksIf you delete the png in sw360dp, your framework should compile fine. Deleting this image probably won't cause issues because it is still included elsewhere.
hi guys i get this error decompile
W: Could not decode attr value, using undecoded value instead: ns=android, name=touchscreenBlocksFocus, value=0xffffffff
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x0101048f
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:59)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:57)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:53)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:36)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:369)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)
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:83)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:141)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:33)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:114)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:99)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:323)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:131)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:101)
at brut.apktool.Main.cmdDecode(Main.java:165)
at brut.apktool.Main.main(Main.java:81)
it should work if you rename it to apktool.jar and place in \AdvancedApkTool\1-BDFreak\@BDFreak
is this supports newest apktool_2.0.0.jar (v2.0.0 (Released April 21, 2015)? -- see here http://xdaforums.com/showthread.php?t=1755243
Works good fort mePlease check download links its not working... it would be good to upload it on mediafire
thank you
hi, i try to modify SystemUI on my S5. I use this Rom http://xdaforums.com/galaxy-s5/development/rom-t3078179.
When i decompile then recompile SystemUi without any modification (wiht or not sugn or zipaligne or both) i have the same issue :
no error messages.... do u have an idea to help me?
- Black Background
- no Lockscreen
- no screenshot
- no status bar
- no swipe for toggles
Just downloaded the latest apktool and replace the one used in here... Rename it the same way bdfreak did. Worked for meI have this same issue with systemui.apk. Also if i decompile secsettings.apk i get the same thing but no response to touch either. I dont get any errors when recompiling either. Even if I leave them untouched and recompile i get the same result. Every thing else I have decompile and recompile works fine. I have noticed if i zip the files and flash them in recovery over existing rom they work fine but if I backup with twrp and then restore its back to no lockscreen, status bar, or touch response. Glad to see im not the only one.