Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,247 Members 45,947 Now Online
XDA Developers Android and Mobile Development Forum

Problem decoding kitkat systemUI

Tip us?
 
lloco73
Old
#1  
Junior Member - OP
Thanks Meter 5
Posts: 16
Join Date: Nov 2010
Default Problem decoding kitkat systemUI

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?
 
lloco73
Old
#2  
Junior Member - OP
Thanks Meter 5
Posts: 16
Join Date: Nov 2010
Quote:
Originally Posted by lloco73 View Post
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
Tags
dg800, doogee, systemui.apk
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes