FORUMS

Problem decoding kitkat systemUI

40 posts
Thanks Meter: 5
 
By lloco73, Member on 23rd August 2014, 10:02 AM
Post Reply Subscribe to Thread Email Thread
hi there

trying to decompile Doogee DG800 SystemUI.apk but it gives a error

Code:
-------------------------------------------------------------------------- 
|23-08-2014 --  9:57:51,55| 
-------------------------------------------------------------------------- 
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) Client VM (build 24.65-b04, mixed mode, sharing)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\lloco\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Loading resource table from file: C:\Users\lloco\apktool\framework\2.apk
Exception in thread "main" brut.androlib.AndrolibException: Expected pkg of id: 2, got: 1
	at brut.androlib.res.AndrolibResources.loadFrameworkPkg(AndrolibResources.java:118)
	at brut.androlib.res.data.ResTable.getPackage(ResTable.java:75)
	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.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:51)
	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)
it says it neede id: 2 framework but can't find it

Can anyone help?
 
 
23rd August 2014, 05:59 PM |#2  
OP Member
Flag Nelas
Thanks Meter: 5
 
More
Quote:
Originally Posted by lloco73

hi there

trying to decompile Doogee DG800 SystemUI.apk but it gives a error

Code:
-------------------------------------------------------------------------- 
|23-08-2014 --  9:57:51,55| 
-------------------------------------------------------------------------- 
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) Client VM (build 24.65-b04, mixed mode, sharing)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\lloco\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Loading resource table from file: C:\Users\lloco\apktool\framework\2.apk
Exception in thread "main" brut.androlib.AndrolibException: Expected pkg of id: 2, got: 1
	at brut.androlib.res.AndrolibResources.loadFrameworkPkg(AndrolibResources.java:118)
	at brut.androlib.res.data.ResTable.getPackage(ResTable.java:75)
	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.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:51)
	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)
it says it neede id: 2 framework but can't find it

Can anyone help?

resolved
just added to C:\Users\yourname\apktool\framework mediatek-res.apk renaming it to 2.apk and after he decodes ok
Post Reply Subscribe to Thread

Tags
dg800, doogee, systemui.apk
Previous Thread Next Thread
Thread Tools
Display Modes