[Galaxy S II Q&A, Help & Troubleshooting] dloulou:
Thanks, but I still get SHTF error. (UOT-07-07-20-57-1)

Error log: UOT-07-07-20-57-1-SHTF.txt

Decompiling framework-res.apk UOT-07-07-20-57-1

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.DirectoryException: java.util.zip.ZipException: error in opening zip file

at brut.androlib.ApkDecoder.hasSources(ApkDecoder.java:158)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:79)

at brut.apktool.Main.cmdDecode(Main.java:128)

at brut.apktool.Main.main(Main.java:65)

Caused by: brut.directory.DirectoryException: java.util.zip.ZipException: error in opening zip file

at brut.directory.ZipRODirectory.(ZipRODirectory.java:55)

at brut.directory.ZipRODirectory.(ZipRODirectory.java:38)

at brut.androlib.res.util.ExtFile.getDirectory(ExtFile.java:55)

at brut.androlib.ApkDecoder.hasSources(ApkDecoder.java:156)

... 3 more

Caused by: java.util.zip.ZipException: error in opening zip file

at java.util.zip.ZipFile.open(Native Method)

at java.util.zip.ZipFile.(ZipFile.java:131)

at java.util.zip.ZipFile.(ZipFile.java:148)

at brut.directory.ZipRODirectory.(ZipRODirectory.java:53)

... 6 more

Decompiling SystemUI.apk UOT-07-07-20-57-1

Exception in thread "main" brut.androlib.AndrolibException: java.util.zip.ZipException: error in opening zip file

at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:404)

at brut.androlib.Androlib.installFramework(Androlib.java:365)

at brut.apktool.Main.cmdInstallFramework(Main.java:193)

at brut.apktool.Main.main(Main.java:69)

Caused by: java.util.zip.ZipException: error in opening zip file

at java.util.zip.ZipFile.open(Native Method)

at java.util.zip.ZipFile.(ZipFile.java:131)

at java.util.zip.ZipFile.(ZipFile.java:148)

at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:374)

... 3 more

I: Loading resource table...

I: Loaded.

I: Loading resource table from file: /root/apktool/framework/1.apk

I: Loaded.

W: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x010404b1

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010302f7

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x01030305

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x01030305

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x01030305

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x01030305

I: Decoding file-resources...

W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x010301ea

I: Decoding values*/* XMLs...

Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010301e9

at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)

at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:55)

at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:51)

at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:59)

at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:46)

at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:43)

at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:48)

at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:264)

at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:137)

at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)

at brut.apktool.Main.cmdDecode(Main.java:128)

at brut.apktool.Main.main(Main.java:65)

Compiling framework-res.apk UOT-07-07-20-57-1

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml

at brut.androlib.Androlib.readMetaFile(Androlib.java:142)

at brut.androlib.Androlib.build(Androlib.java:159)

at brut.androlib.Androlib.build(Androlib.java:154)

at brut.apktool.Main.cmdBuild(Main.java:182)

at brut.apktool.Main.main(Main.java:67)

Caused by: brut.directory.PathNotExist: apktool.yml

at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)

at brut.androlib.Androlib.readMetaFile(Androlib.java:138)