Narithandroid / apktool

Automatically exported from code.google.com/p/apktool
1 stars 0 forks source link

decompile #17

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
can't decompile/recompile SystemUi in JB i9100... but for other apk & 
framework-res work fine.
only if decompile SystemUi not found Apktool.yml...
help to fix this... thanks

Original issue reported on code.google.com by Trih...@gmail.com on 1 Dec 2013 at 2:22

GoogleCodeExporter commented 8 years ago
dialog error is:
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: ?/apktool/framework/1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=theme, value=0x01030315
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=theme, value=0x01030315
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=theme, value=0x01030315
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=theme, value=0x01030315
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=drawable, value=0x010808ad
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=drawable, value=0x010808ad
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=drawable, value=0x01080a43
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=drawable, value=0x0108065d
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=drawable, value=0x0108065d
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=drawable, value=0x0108065d
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=drawable, value=0x01080a43
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=drawable, value=0x010806e2
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=drawable, value=0x01080659
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=drawable, value=0x0108065d
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=drawable, value=0x01080a44
I: Decoding values */* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 
0x01040623
    at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
    at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
    at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
    at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:62)
    at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:46)
    at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlValueExt(ResScalarValue.java:86)
    at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlValue(ResScalarValue.java:55)
    at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlItemValue(ResScalarValue.java:48)
    at brut.androlib.res.data.value.ResArrayValue.getType(ResArrayValue.java:74)
    at brut.androlib.res.data.value.ResArrayValue.serializeToResValuesXml(ResArrayValue.java:50)
    at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:440)
    at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:243)
    at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)
    at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
    at brut.apktool.Main.cmdDecode(Main.java:146)
    at brut.apktool.Main.main(Main.java:77)

Original comment by Trih...@gmail.com on 1 Dec 2013 at 3:15

GoogleCodeExporter commented 8 years ago
import all apk in /system/framework as framework and try again.

Original comment by dongfangxunlei@gmail.com on 1 Dec 2013 at 1:10

GoogleCodeExporter commented 8 years ago
Thank you very much sir, I've been able to copy framework-res.apk way to / data 
/ data / per.pqy.apktool /? / Apktool / framework / here. then I delete the old 
1.apk & i rename "framework-res.apk to 1.apk" thanks apktool :-)

Original comment by Trih...@gmail.com on 3 Dec 2013 at 12:16