[Guide][5.0] How to theme TW SystemUI

manish.t92

Senior Member
Jul 14, 2011
238
37
0
Jaipur
decompile error

when i decomplie SystemUI.apk from apktool then it shown an exception

Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars
c file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:55)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes
ources.java:315)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav
a:50)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav
a: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:128)
at brut.apktool.Main.main(Main.java:65)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:45)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:97
)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
... 8 more

How can i decompile apk? anybody help ?
 

DUHAsianSKILLZ

Senior Member
Aug 6, 2014
2,553
1,727
0
20
Columbus
when i decomplie SystemUI.apk from apktool then it shown an exception

Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars
c file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:55)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes
ources.java:315)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav
a:50)
at ?[/B]
Which apktool are you using? This one works fine for me http://forum.xda-developers.com/showthread.php?p=58139464
 
  • Like
Reactions: malradi8

silentattack

Senior Member
Nov 19, 2013
776
376
0
twitter.com
Can you be more specific please mate. Which apk and .xml should I edit the background? Thanks in advance.
SystemUI.apk/res/values/colors.xml

Here is the codes that you need to change:

Code:
 <color name="notification_legacy_background_color">
    <color name="notification_material_background_color">
    <color name="notification_material_background_dimmed_color">
    <color name="notification_material_background_low_priority_color">
    <color name="notification_material_background_media_default_color">
 

AL_IRAQI

Recognized Contributor / Themer
May 18, 2012
5,947
11,240
263
Baghdad
Im still looking.

Edit: I don't believe it's in Settings. More like framework? All the .light is removed from Settings....so I'm not sure
yes popup text color in framework but if you didn't edit anything in framework it should be white text not gray like the background
 

The Sickness

Retired Recognized Developer
Oct 27, 2012
9,780
22,733
263
Somewhere in Texas
Use unedited framework with material settings

And you didn't fine #ff424242 anywhere in text colors ?
I'm about to search for it now. That's what it has to be.
EDIT: No ff424242 in text colors. But there are different shades that they use. I will just have to pin it down one at a time
 
Last edited:

AL_IRAQI

Recognized Contributor / Themer
May 18, 2012
5,947
11,240
263
Baghdad
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone