[Android Software/Hacking General [Developers Only]] stevedub40:
Hi guys,

I've been trying to decompile the SystemUI.apk for the DNA, but it tells me I don't have the framework installed, even though it appears to load. It looks like most of the files are located in the SystemUI folder though. Thanks in advance for any assistance. You guys are always super helpful :)

C:\DNA\apktool>apktool if SystemUI.apk
I: Framework installed to: C:\Users\Steve\apktool\framework\127.apk

C:\DNA\apktool>apktool if framework-res.apk
I: Framework installed to: C:\Users\Steve\apktool\framework\1.apk

C:\DNA\apktool>apktool if framework-htc-res.apk
I: Framework installed to: C:\Users\Steve\apktool\framework\4.apk

C:\DNA\apktool>apktool d SystemUI.apk
Destination directory (C:\DNA\apktool\SystemUI) already exists. Use -f switch if
you want to overwrite it.

C:\DNA\apktool>apktool d -f SystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Steve\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x02080001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x02030057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x02030057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x02080118
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingTop, value=0x02050059
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050001
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.

Nevermind. I just noticed on the post for 1.5.1 for apktools it says there is a known bug with the htc.res.framwork :( Would anyone like to share what they are using to modify DNA apk's? Thanks.