lnln1111 / android-apktool

Automatically exported from code.google.com/p/android-apktool
Other
0 stars 0 forks source link

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

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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=layout_height, 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.

Original issue reported on code.google.com by dsb9...@gmail.com on 24 Aug 2012 at 5:42

Attachments:

GoogleCodeExporter commented 9 years ago
APK attached for testing.

Original comment by dsb9...@gmail.com on 24 Aug 2012 at 5:45

Attachments:

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

Original comment by connor.tumbleson on 3 Sep 2012 at 5:04

GoogleCodeExporter commented 9 years ago

Original comment by connor.tumbleson on 15 Nov 2012 at 5:28

GoogleCodeExporter commented 9 years ago

Original comment by connor.tumbleson on 26 Dec 2012 at 4:37