That sucks. One of our guys themed resources image by image running them all thru draw 9 patch tool One by one
I felt sorry for him
Sent from my HTC One X using XDA
Man that is a lot of images.
Sent from my ADR6425LVW using xda premium
Well I wouldn't say all of them, but quite a few
I was able to add a lot of them to a different resources.apk and decompile.
Sent from my HTC Flyer.
Well I wouldn't say all of them, but quite a few
I was able to add a lot of them to a different resources.apk and decompile.
Sent from my HTC Flyer.
It should work on any ics framework sense 4.0
Unfortunately com.htc. resources will not work until apktool is updated.
Sent from my ADR6425LVW using xda premium
I've actually been working on fixing apktool for about a month. That nasty plurals error is fixed and the error where it reverses the attributes of the XML is still in progress.
I've tried to contact brut.all various times for help on updating his tool, but he seems to be missing. If anyone else has some extensive knowledge in apk decompiling contact me, so we can work towards a community product that doesn't mess up XMLs for ICS.
That sucks. One of our guys themed resources image by image running them all thru draw 9 patch tool One by one
I felt sorry for him
Sent from my HTC One X using XDA
Well I wouldn't say all of them, but quite a few
I was able to add a lot of them to a different resources.apk and decompile.
Sent from my HTC Flyer.
dmeadows013$ apktool d SystemUI.apk
I: Baksmaling...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x7f0a000e dimen/status_bar_icon_drawing_size, config=-v13
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:196)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:165)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:130)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:105)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:315)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:50)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:43)
at brut.androlib.Androlib.getResTable(Androlib.java:44)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:148)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:120)
at brut.apktool.Main.main(Main.java:57)
Is there any fix to decompile SystemUI? Haven't tried with 4.0 but 3.6 errors me on apktools 1.4.1, 1.4.2, and 1.4.3.
Code:dmeadows013$ apktool d SystemUI.apk I: Baksmaling... I: Loading resource table... Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x7f0a000e dimen/status_bar_icon_drawing_size, config=-v13 at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65) at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58) at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:196) at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:165) at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:130) at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:105) at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82) at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48) at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:315) at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:50) at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:43) at brut.androlib.Androlib.getResTable(Androlib.java:44) at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:148) at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98) at brut.apktool.Main.cmdDecode(Main.java:120) at brut.apktool.Main.main(Main.java:57)
Use the apktool i posted. I updated the Smali and baksmali properties in it. I've use it in 3.6 systemui many times.
Closer look tho i see your getting past baksmaling. If you want post your systemui. It could be your aapt
Sent from my ADR6425LVW using xda premium
Something tells me it is... Should I use the aapt from the newest apktool? Or from something else?
I have it in my apktool link in the op. It's the newest out
Sent from my ADR6425LVW using xda premium
It should. I updated to the newest android API 15 and tools. I imagine it is in each code version
Sent from my ADR6425LVW using xda premium
What are you using? Mac or Linux? I would just xda search or google it
Sent from my ADR6425LVW using xda premium
Mac. Could I be using a wrong com.htc.resources.apk or framework-res.apk?
<layout name="htc_list_item_2text_2stamp">@layout/zzzz_htc_list_item_2text_2stamp</layout>
<layout name="htc_list_item_2text_bright">@layout/zzzz_htc_list_item_2text_bright</layout>
<layout name="htc_list_item_image_2text_image_bright">@layout/zzzz_htc_list_item_image_2text_image_bright</layout>
<layout name="htc_list_item_imageicon_2text_2stamp">@layout/zzzz_htc_list_item_imageicon_2text_2stamp</layout>
<layout name="htc_list_item_imageicon_text">@layout/zzzz_htc_list_item_imageicon_text</layout>
<layout name="htc_list_item_separator">@layout/zzzz_htc_list_item_separator</layout>
<layout name="keyguard_screen_device_unlock">@layout/zzzz_keyguard_screen_device_unlock</layout>
<layout name="pin_keyboard">@layout/zzzz_pin_keyboard</layout>
<item type="layout" name="htc_list_item_2text_2stamp">@layout/zzzz_htc_list_item_2text_2stamp</item>
<item type="layout" name="htc_list_item_2text_bright">@layout/zzzz_htc_list_item_2text_bright</item>
<item type="layout" name="htc_list_item_image_2text_image_bright">@layout/zzzz_htc_list_item_image_2text_image_bright</item>
<item type="layout" name="htc_list_item_imageicon_2text_2stamp">@layout/zzzz_htc_list_item_imageicon_2text_2stamp</item>
<item type="layout" name="htc_list_item_imageicon_text">@layout/zzzz_htc_list_item_imageicon_text</item>
<item type="layout" name="htc_list_item_separator">@layout/zzzz_htc_list_item_separator</item>
<item type="layout" name="keyguard_screen_device_unlock">@layout/zzzz_keyguard_screen_device_unlock</item>
<item type="layout" name="pin_keyboard">@layout/zzzz_pin_keyboard</item>
That sucks. One of our guys themed resources image by image running them all thru draw 9 patch tool One by one
I felt sorry for him
Sent from my HTC One X using XDA
Well I wouldn't say all of them, but quite a few
I was able to add a lot of them to a different resources.apk and decompile.
Sent from my HTC Flyer.