Related
So im trying to decompile the base theme apk so i can theme, but when i try to decompile the apk i get a big error,
--------------------------------------------------------------------------
|Wed 08/03/2011 -- 14:03:36.33|
--------------------------------------------------------------------------
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
Could Not Find C:\Users\NiTRiX\APK Manager\place-apk-here-for-modding\../place-apk-here-for-modding/signedBase.Theme.v1(1).apk
Could Not Find C:\Users\NiTRiX\APK Manager\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedBase.Theme.v1(1).apk
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\NiTRiX\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a7
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x020a0000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x020a0001
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x020a0001
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x020a0001
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x020a0001
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x020a0002
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800ac
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x0208009b
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a6
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x0208009b
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a8
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800b1
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a4
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a4
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x0208009d
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800ab
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x0208009e
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800b6
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800b3
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800b3
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800bd
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800bd
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x0208009a
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x0208009a
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x0208009c
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800b5
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800b5
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800b7
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800b7
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a2
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a2
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a2
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a1
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a1
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x0208009f
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800aa
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800aa
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020805c3
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020805c1
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a5
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a5
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a5
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a9
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800bb
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800bc
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800bc
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800b9
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800b8
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800d6
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800d6
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800d7
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800d8
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800d7
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800af
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800af
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800b4
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800ad
--------------------------------------------------------------------------
|Wed 08/03/2011 -- 14:06:27.21|
--------------------------------------------------------------------------
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
--------------------------------------------------------------------------
|Wed 08/03/2011 -- 14:06:30.89|
--------------------------------------------------------------------------
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
Could Not Find C:\APK Manager\place-apk-here-for-modding\../place-apk-here-for-modding/signedBase.Theme.v1(1).apk
Could Not Find C:\APK Manager\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedBase.Theme.v1(1).apk
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\NiTRiX\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a7
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x020a0000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x020a0001
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x020a0001
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x020a0001
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x020a0001
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x020a0002
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800ac
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x0208009b
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a6
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x0208009b
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a8
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800b1
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a4
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a4
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x0208009d
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800ab
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x0208009e
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800b6
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800b3
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800b3
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800bd
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800bd
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x0208009a
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x0208009a
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x0208009c
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800b5
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800b5
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800b7
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800b7
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a2
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a2
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a2
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a1
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a1
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x0208009f
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800aa
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800aa
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020805c3
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020805c1
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a5
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a5
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a5
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800a9
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800bb
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800bc
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800bc
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800b9
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800b8
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800d6
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800d6
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800d7
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800d8
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800d7
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800af
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800af
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800b4
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020800ad
How do i fix this error!?
thanks!
Install apktool,and then install com.htc.resources.apk & framework-res.apk.
Sent from my HTC Sensation 4G using XDA Premium App
here is a hint:
apktool if framework-res.apk
or
apktool if framework-res.apk Name(optional)
if you want to be able to switch between two frameworks say Honeycomb and Gingerbread.
Having an issues Decompiling and Re-compiling.
I'm trying to theme the Mms.apk and I'm getting errors decompiling... then on re-compile.
Can anyone point me in the right direction?
Code:
C:\apk>apktool.bat d Mms.apk ./out
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Fishman\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x02070015
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x0205009a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a00bc
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemStyle, value=0x02010020
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a007f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050004
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050004
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050004
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050004
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x0205009a
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a0197
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a007f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000d
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x02070011
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000d
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a00bc
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a007f
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a0210
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000003
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a020f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x0205009a
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a00bc
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a007f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000e
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a00bc
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a007f
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a00bc
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a007f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000d
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a00bc
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000003
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a007f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050004
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a01c0
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000003
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a01c1
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x0207000e
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemStyle, value=0x02010020
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a0135
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemStyle, value=0x02010020
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name
=twSoftkeyItemText, value=0x7f0a007f
I: Decoding values*/* XMLs...
I: Done.
Can't find framework resources for package of id: 2. You must install proper fra
mework files, see project website for more info.
C:\apk>
Code:
C:\apk>apktool.bat b -f -d out
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more
C:\apk>
Got it...
Nevermind
Hey fishman0919 how did you solve this problem. coz i get the same error message
** Edit ***
Never mind got it too lol
in my case it was damn SemcGenericUxpRes.apk
hey guys ,, after i installed a new copy of windows 8 with java normally ... whenever i try to decompile i get this same log from different versions of apk multi tool
--------------------------------------------------------------------------
|Fri 12/06/2013 -- 18:15:48.61|
--------------------------------------------------------------------------
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, sharing)
I: Framework installed to: C:\Users\rrgrrg\apktool\framework\2.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\rrgrrg\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x010805b8
W: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x01040545
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x01030305
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: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=innerRadius, value=0x01050020
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=outerRingDrawable, value=0x7f02006e
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=pointDrawable, value=0x01080336
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=glowRadius, value=0x0105001e
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=targetDrawables, value=0x7f070001
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=handleDrawable, value=0x7f02006d
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=outerRadius, value=0x7f0c002a
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=vibrationDuration, value=0x7f0b0002
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=snapMargin, value=0x7f0c0028
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=feedbackCount, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=alwaysTrackFinger, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=innerRadius, value=0x01050020
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=outerRingDrawable, value=0x7f02006e
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=pointDrawable, value=0x01080336
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=glowRadius, value=0x0105001e
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=targetDrawables, value=0x7f070001
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=handleDrawable, value=0x7f02006d
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=outerRadius, value=0x7f0c002a
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=vibrationDuration, value=0x7f0b0002
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=snapMargin, value=0x7f0c0028
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=feedbackCount, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=alwaysTrackFinger, value=0xffffffff
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=textAppearance, value=0x010301ef
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=prvandroid, name=innerRadius, value=0x01050020
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=outerRingDrawable, value=0x7f02006e
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=pointDrawable, value=0x01080336
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=glowRadius, value=0x0105001e
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=targetDrawables, value=0x7f070001
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=handleDrawable, value=0x7f02006d
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=outerRadius, value=0x7f0c002a
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=vibrationDuration, value=0x7f0b0002
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=snapMargin, value=0x7f0c0028
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=feedbackCount, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=alwaysTrackFinger, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=innerRadius, value=0x01050020
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=outerRingDrawable, value=0x7f02006e
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=pointDrawable, value=0x01080336
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=glowRadius, value=0x0105001e
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=targetDrawables, value=0x7f070001
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=handleDrawable, value=0x7f02006d
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=outerRadius, value=0x7f0c002a
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=vibrationDuration, value=0x7f0b0002
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=snapMargin, value=0x7f0c0028
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=feedbackCount, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=alwaysTrackFinger, value=0xffffffff
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=0x010808ad
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01080a44
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=0x01080659
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x0108065d
I: Decoding values*/* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010103ac
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.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:51)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:264)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:137)
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)
Click to expand...
Click to collapse
i tried
-increasing the heap size to 2048 mb (up to not the exact value)
-different apk multi tool manger
-re-installing java runtime and sdk .. any suggestions
Is it a big issue ?!!!
Sent from my GT-I9100 using xda app-developers app
Hi all,
I tried to decompile SamsungWidget_WeatherClock.apk to correct an annoying typo in german translation.
But anytime I get errors those errors.
I installed the frameworks, and other apps to decompile work.
What I'm missing?
I attached the apk, if someone wants to try out to decompile himself.
Code:
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\hertzschi\apktool\framework\1.apk
I: Loaded.
I: Loading resource table from file: C:\Users\hertzschi\apktool\framework\2.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x02090015
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000d
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000d
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000f
I: Decoding values */* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x02090015
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.encodeAsResXmlAttr(ResScalarValue.java:44)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:40)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:313)
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$1.event(XmlPullStreamDecoder.java:80)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:130)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPullStreamDecoder.java:144)
at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecoder.java:131)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:218)
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)
SHTF Error with UOT Kitchen
So, I have a Xperia P with stock 6.2.A.1.100 firmware. When I submit my theme it shows up this error, I have searched for this but I can't find anything:
Code:
Decompiling framework-res.apk UOT-11-27-18-03-1
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
I: Decoding values */* XMLs...
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.
Decompiling SystemUI.apk UOT-11-27-18-03-1
I: Framework installed to: /root/apktool/framework/1.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /root/apktool/framework/1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
Compiling framework-res.apk UOT-11-27-18-03-1
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:164)
at brut.androlib.Androlib.build(Androlib.java:183)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:160)
... 4 more
It's been days and I can't solve it, any suggestions?