[Q] UoT Kitchen SHTF Error w/log - General Questions and Answers

Decompiling framework-res.apk UOT-01-04-20-00-2
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
S: Could not decode file, replacing by FALSE value: layout-1999x999/preference_dialog_edittext.xml
S: Could not decode file, replacing by FALSE value: layout-1999x999/textview_hint.xml
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Decompiling SystemUI.apk UOT-01-04-20-00-2
I: Framework installed to: /root/apktool/framework/1.apk
I: Baksmaling...
I: Loading resource table...
W: Config flags size > 32. Exceeding bytes: 0700000048030000.
W: Invalid config flags detected. Dropping resources: bool-ERR0
I: Loaded.
I: Loading resource table from file: /root/apktool/framework/1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Compiling framework-res.apk UOT-01-04-20-00-2
W: Could not find sources
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL5768030333969371231.tmp, -x, -S, /home/android1/port5/data/working_dir/UOT-01-04-20-00-2/fw_dec/res, -M, /home/android1/port5/data/working_dir/UOT-01-04-20-00-2/fw_dec/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL5768030333969371231.tmp, -x, -S, /home/android1/port5/data/working_dir/UOT-01-04-20-00-2/fw_dec/res, -M, /home/android1/port5/data/working_dir/UOT-01-04-20-00-2/fw_dec/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:87)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Caused by: java.io.IOException: Cannot run program "aapt": java.io.IOException: error=2, No such file or directory
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at brut.util.OS.exec(OS.java:78)
... 7 more
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more
I'm using A2tude for Huawei M865, which is a slightly modified stock gingerbread rom.
I have been working insane hours and my brain is probably not registering the error message...so if anyone has a solution to this; It would be greatly appreciated.

I am bumping this long lost thread

Related

[Q] Apk Manager SystemUI.apk Compile Problem

Hello my friends.
I installed frameworkres and tw framework resources files. I decompiled SystemUI.apk and changed drawables.xml and status bar smali.
But I can't compile SystemUI.apk Error.
Log is here :
Code:
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)
C:\Windows\SysWOW64\Apk Manager\place-apk-here-for-modding\../place-apk-here-for-modding/signedSystemUI.apk BulunamadĀ
C:\Windows\SysWOW64\Apk Manager\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSystemUI.apk BulunamadĀ
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\HP\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...
Exception in thread "main" java.lang.NullPointerException
at org.jf.util.PathUtil.getRelativeFile(PathUtil.java:44)
at org.jf.smali.smaliFlexLexer.getSourceName(smaliFlexLexer.java:2922)
at org.antlr.runtime.CommonTokenStream.getSourceName(CommonTokenStream.java:345)
at org.antlr.runtime.tree.CommonTreeNodeStream.getSourceName(CommonTreeNodeStream.java:106)
at org.antlr.runtime.tree.TreeP****r.getSourceName(TreeP****r.java:78)
at org.jf.smali.smaliTreeWalker.getErrorHeader(smaliTreeWalker.java:372)
at org.antlr.runtime.BaseRecognizer.displayRecognitionError(BaseRecognizer.java:192)
at org.antlr.runtime.BaseRecognizer.reportError(BaseRecognizer.java:186)
at org.jf.smali.smaliTreeWalker.smali_file(smaliTreeWalker.java:451)
at brut.androlib.mod.SmaliMod.assembleSmaliFile(SmaliMod.java:85)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:43)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:64)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:48)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:35)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:243)
at brut.androlib.Androlib.buildSources(Androlib.java:200)
at brut.androlib.Androlib.build(Androlib.java:191)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
up

[Q] No matter what I do I get UOT Kitchen SHTF error

Hello everyone
I'm really at my wit's end with the UOT Kitchen here. I've uploaded 3 different Framework-res.apk and SystemUI.apk from the different ROMS available for my phone (LG Optimus Slider running 2.3.4) and I get the SHTF error each time. I've never had any trouble with UOTK before, granted it was about a year ago that I used it last. Did something change with it?
So I installed Xposed (for Gingerbread) thinking it would work better. Nope. When I try to install the UOT apk it won't install and spits out an error message about "Not being able to parse"
I've never had a problem using the UOTK before. Could somebody please tell me what's going wrong?
Error log: UOT-10-04-19-41-1-SHTF.txt
Decompiling framework-res.apk UOT-10-04-19-41-1
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
Decompiling SystemUI.apk UOT-10-04-19-41-1
I: Framework installed to: /root/apktool/framework/1.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /root/apktool/framework/1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
Compiling framework-res.apk UOT-10-04-19-41-1
W: Could not find sources
I: Building resources...
aapt: /lib/libz.so.1: no version information available (required by aapt)
/home/uotftp/port5/data/working_dir/UOT-10-04-19-41-1/fw_dec/res/values-ko/strings.xml:689: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/uotftp/port5/data/working_dir/UOT-10-04-19-41-1/fw_dec/res/values-ko/strings.xml:691: error: Unexpected end tag string
/home/uotftp/port5/data/working_dir/UOT-10-04-19-41-1/fw_dec/res/values-zh-rCN/strings.xml:689: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/uotftp/port5/data/working_dir/UOT-10-04-19-41-1/fw_dec/res/values-zh-rCN/strings.xml:691: error: Unexpected end tag string
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, /tmp/APKTOOL5382109605747588451.tmp, -x, -S, /home/uotftp/port5/data/working_dir/UOT-10-04-19-41-1/fw_dec/res, -M, /home/uotftp/port5/data/working_dir/UOT-10-04-19-41-1/fw_dec/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, /tmp/APKTOOL5382109605747588451.tmp, -x, -S, /home/uotftp/port5/data/working_dir/UOT-10-04-19-41-1/fw_dec/res, -M, /home/uotftp/port5/data/working_dir/UOT-10-04-19-41-1/fw_dec/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, /tmp/APKTOOL5382109605747588451.tmp, -x, -S, /home/uotftp/port5/data/working_dir/UOT-10-04-19-41-1/fw_dec/res, -M, /home/uotftp/port5/data/working_dir/UOT-10-04-19-41-1/fw_dec/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more

[Q]Problem recompiling Settings.apk

Im new to android developements so please bare with me
I get this error whenever I try to recompile Settings.apk
--------------------------------------------------------------------------
|Sun 01/12/2014 -- 3:11:40.05|
--------------------------------------------------------------------------
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) Client VM (build 24.45-b08, mixed mode, sharing)
The system cannot find the batch label specified - noproj
--------------------------------------------------------------------------
|Sun 01/12/2014 -- 3:12:07.41|
--------------------------------------------------------------------------
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) Client VM (build 24.45-b08, mixed mode, sharing)
5207 KB/s (3807923 bytes in 0.714s)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\jadepaul\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layout, value=0x7f0400ba
I: Decoding values */* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x7f0400ba
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:58)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:50)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferen
ceValue.java:61)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResRefe
renceValue.java:47)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResSca
larValue.java:45)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:4
0)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlRe
sourceParser.java:351)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu
e(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stati
cXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamD
ecoder.java:87)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
coder.java:141)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD
ecoderContainer.java:33)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:1
07)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:9
1)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:285
)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:113)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:116)
at brut.apktool.Main.cmdDecode(Main.java:148)
at brut.apktool.Main.main(Main.java:77)
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:163)
at brut.androlib.Androlib.build(Androlib.java:185)
at brut.androlib.Androlib.build(Androlib.java:177)
at brut.apktool.Main.cmdBuild(Main.java:237)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:159)
... 4 more

about recompiling apps

I have recompiled app using apktool, I got error
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Users\ROCK STAR>cd\
C:\>e:
E:\>cd a
E:\A>apktool if power.apk
I: Framework installed to: C:\Users\ROCK STAR\apktool\framework\127.apk
E:\A>apktool d power.apk
I: Using Apktool 2.0.0-RC2 on power.apk
I: Loading resource table...
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\ROCK STAR\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
testI: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
E:\A>apktool b power
I: Using Apktool 2.0.0-RC2 on power
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Building resources...
E:\A\power\res\drawable-hdpi\matte_ab_back.PNG: error: File is case-insensitive
equivalent to: E:\A\power\res\drawable-xxhdpi\matte_ab_back.png
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [C:\Users\ROCKST
~1\AppData\Local\Temp\brut_util_Jar_4021937814520947120.tmp, p, --forced-package
-id, 127, --min-sdk-version, 9, --target-sdk-version, 19, --version-code, 561, -
-version-name, 2.0.9-build-561-play, -F, C:\Users\ROCKST~1\AppData\Local\Temp\AP
KTOOL9038149586893225175.tmp, -I, C:\Users\ROCK STAR\apktool\framework\1.apk, -S
, E:\A\power\res, -M, E:\A\power\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:449)
at brut.androlib.Androlib.buildResources(Androlib.java:383)
at brut.androlib.Androlib.build(Androlib.java:286)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:240)
at brut.apktool.Main.main(Main.java:89)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [C:\Users\ROCKST~1\AppData\Local\Temp\brut_util_Jar_4021937814520
947120.tmp, p, --forced-package-id, 127, --min-sdk-version, 9, --target-sdk-vers
ion, 19, --version-code, 561, --version-name, 2.0.9-build-561-play, -F, C:\Users
\ROCKST~1\AppData\Local\Temp\APKTOOL9038149586893225175.tmp, -I, C:\Users\ROCK S
TAR\apktool\framework\1.apk, -S, E:\A\power\res, -M, E:\A\power\AndroidManifest.
xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:487)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:434)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\ROCKST~1
\AppData\Local\Temp\brut_util_Jar_4021937814520947120.tmp, p, --forced-package-i
d, 127, --min-sdk-version, 9, --target-sdk-version, 19, --version-code, 561, --v
ersion-name, 2.0.9-build-561-play, -F, C:\Users\ROCKST~1\AppData\Local\Temp\APKT
OOL9038149586893225175.tmp, -I, C:\Users\ROCK STAR\apktool\framework\1.apk, -S,
E:\A\power\res, -M, E:\A\power\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:481)
... 6 more
E:\A>e
what does this mean? How can be it solved?

apkmultitool error

i cant decompile "Whatsapp.apk"
Always showing this error " could not decode arsc file"
how to solve this problem pls help me
E:\AndroidMultitool\Program_Files>apktool.bat d WhatsApp.apk
I: Using Apktool 2.0.0-Beta9 on WhatsApp.apk
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars
c file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:54)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes
ources.java:604)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav
a:74)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav
a:66)
at brut.androlib.Androlib.getResTable(Androlib.java:49)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:93)
at brut.apktool.Main.cmdDecode(Main.java:169)
at brut.apktool.Main.main(Main.java:85)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:43)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:95
)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:81)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 7 more

Categories

Resources