iBotPeaches / Apktool

A tool for reverse engineering Android apk files
https://apktool.org/
Apache License 2.0
19.66k stars 3.55k forks source link

Error decompiling Settings.apk from Rezound Adnroid 4.0.3 and Sense 3.6 #452

Closed iBotPeaches closed 9 years ago

iBotPeaches commented 9 years ago

Original issue 341 created by dsb9938 on 2012-08-24T17:42:15.000Z:

What steps will reproduce the problem? 1.Using current version (1.4.3), decompile Settings.apk from HTC Rezound ICS OTA (Android 4.0.3, Sense 3.6)

What is the expected output? I expect a decompiled file.

What do you see instead?

Fri 08/24/2012 -- 13:35:33.37

java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode) Could Not Find C:\Users\Dennis\Desktop\Android Dev Shit\Apk_Manager_5.0.2\place-apk-here-for-modding../place-apk-here-for-modding/signedSettings.apk Could Not Find C:\Users\Dennis\Desktop\Android Dev Shit\Apk_Manager_5.0.2\place-apk-here-for-modding../place-apk-here-for-modding/unsignedSettings.apk I: Baksmaling... I: Loading resource table... I: Loaded. I: Loading resource table from file: C:\Users\Dennis\apktool\framework\1.apk I: Loaded. I: Decoding file-resources... I: Loading resource table from file: C:\Users\Dennis\apktool\framework\2.apk I: Loaded. W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500aa W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=layoutheight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac W: Could not decode attr value, using undecoded value instead: ns=android, name=minHeight, value=0x010500ac I: Decoding values/_ XMLs... I: Done. Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010500ac 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.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:40) at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:315) 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.decode(XmlPullStreamDecoder.java:46) at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:34) at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:100) at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:86) at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:132) 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)

What version of the product are you using? On what operating system? 1.4.3 Win 7 x64

Please provide any additional information below.

iBotPeaches commented 9 years ago

Comment #1 originally posted by dsb9938 on 2012-08-24T17:45:18.000Z:

APK attached for testing.

iBotPeaches commented 9 years ago

Comment #2 originally posted by connor.tumbleson on 2012-09-03T17:04:41.000Z:

You have the wrong framework(s) installed. Make sure you install all framework located in the /system/framework folder of the ROM.

iBotPeaches commented 9 years ago

Comment #3 originally posted by connor.tumbleson on 2012-11-15T17:28:15.000Z:

<empty>

iBotPeaches commented 9 years ago

Comment #4 originally posted by connor.tumbleson on 2012-12-26T16:37:36.000Z:

<empty>