Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Problem decoding kitkat systemUI

OP lloco73

23rd August 2014, 11:02 AM   |  #1  
OP Junior Member
Thanks Meter: 5
 
16 posts
Join Date:Joined: Nov 2010
More
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, 06:59 PM   |  #2  
OP Junior Member
Thanks Meter: 5
 
16 posts
Join Date:Joined: Nov 2010
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 Search this Thread
Search this Thread:

Advanced Search
Display Modes