yashsingh1/xdaforums huggingface dataset:
[Android Themes] jabam1:
I: Smaling...

I: Building resources...

/sdcard/apktool/SystemUI_src/res/layout/eboybasit_ltoggles.xml:46: error: Error: No resource found that matches the given name (at 'id' with value @iD/quickpanel_vibrate_btn_icon').

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, /data/data/per.pqy.apktool/APKTOOL3904355219834073021.tmp, -I, ?/apktool/framework/1.apk, -S, /sdcard/apktool/SystemUI_src/res, -M, /sdcard/apktool/SystemUI_src/AndroidManifest.xml]

at brut.androlib.Androlib.buildResourcesFull(Androlib .java:358)

at brut.androlib.Androlib.buildResources(Androlib.jav a:283)

at brut.androlib.Androlib.build(Androlib.java:206)

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.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, /data/data/per.pqy.apktool/APKTOOL3904355219834073021.tmp, -I, ?/apktool/framework/1.apk, -S, /sdcard/apktool/SystemUI_src/res, -M, /sdcard/apktool/SystemUI_src/AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:357)

at brut.androlib.Androlib.buildResourcesFull(Androlib .java:336)

... 5 more

Caused by: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, /data/data/per.pqy.apktool/APKTOOL3904355219834073021.tmp, -I, ?/apktool/framework/1.apk, -S, /sdcard/apktool/SystemUI_src/res, -M, /sdcard/apktool/SystemUI_src/AndroidManifest.xml]

at brut.util.OS.exec(OS.java:89)

at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:355)

... 6 more

here it is btw, is this "Guide for L Panel" stable?

Edit : I've solved the problem by reading this but i still dont get the id replacement in Guide for L Panel
[Android Themes] xenreon:
What you mean by you don't get id replacement in guide
[Android Themes] jabam1:
this one i dont get this :(
[Android Themes] xenreon:
Man id matching:

You will see 0×something in every line of public.xml..... Just copy that and go to the place where you said to go there also you'll see something like 0×something, delete the one there and put the one you copied, in easy words replace.... I hope it helps :D
[Android Themes] jabam1:
Thanks man! But once i pushed my status bar is missing is it because my systemui is odexed?
[Android Themes] xenreon:
Ya you need to have a deodexedui....... And before each step is done don't push..... Good luck ;)
[Android Themes] jabam1:
another favor, but how do i deodexed my ui?
[Android Themes] xenreon:
http://xdaforums.com/android/general/guide-how-to-deodex-app-pcfully-t2979042

Follow this :)
[Android Themes] IcyK:
Sorry to have to ask this, after 3 hours of searching...

I succesfully changed my SystemUI.apk (at least I think so, there were no errors). But how can I get in on the phone?

adb push gives read-only file system errors or permission erors.

I remounted /system rw and chmodded the original SystemUI.apk to 777, but it didn't help.

Also changing the original name with root explorer didn't help.

The phone is a G800H (S5 mini duos) with stock 4.4.2, but rooted and with TWRP.

But in TWRP 'adb devices' stays empty, so Windows (XP) soesn't recognise the phone.

At this point, I'd really appreciate some pointers or a recent tutorial (as many of them seem to be for older Android releases).

Thanks in advance!
[Android Themes] Spannaa:
Stick it in a flashable zip, copy it to your phone and then flash it via TWRP.

Sent via Bacon...
[Android Themes] IcyK:
Thanks, that did it!
[Android Themes] Zidni:
What Problem With My SystemUi.apk Or Framework-res.apk?

Please Read The Log

Log:
[Android Themes] xenreon:
Try with apktool v1.5.2
[Android Themes] Zidni:
i already try with it
[Android Themes] xenreon:
Install framework, 2nd framework (if you have it) and systemui
[Android Themes] Zidni:
i installed framework-res.apk & systemui.apk but haven't 2nd framework.

and result is same :(

please help me.

my jb systemui decompile correctly. but problem with kk.
[Android Themes] Sami Kabir:
Well for KitKat, you need to install KitKat's framework-res.apk (and SystemUI.apk).. I think you are able to successfully decompile Jellybean's apk files because you only installed Jellybean's framework-res.apk (and SystemUI.apk)..
[Android Themes] Zidni:
I installed kitkat's framework-res.apk (SystemUI.apk).

but problem is same.
[Android Themes] xenreon:
That didn't came in my mind :p ..... Yes you should import the roms framework of which's systemui your working on
[Android Themes] Sami Kabir:
Hmm.. Okay, try this..

1. Go to your C drive, then Users folder and then open the folder that shows your PC's user name.. (mine for example is Sami)

2. Now there should be a folder named "apktool". Open it and delete all the contents of framework folder.

3. Now open apktool and install framework-res.apk (and SystemUI.apk).

Tip: I think its better to just keep only one framework-res.apk (and SystemUI.apk) installed in apktool at a time. So install only KitKat's apk files if you decompile (and recompile) apk files from KitKat more often.. If in case you want to decompile (and recompile) Jellybean's apk files then repeat steps 1,2 and 3.

I hope my instructions are clear :)

Alternatively, you can use something like this to make decompiling and recompiling a little bit easier :good:

Yep :laugh:

It happens to all of us.. We all tend to forget the most obvious things every once in a while :p
[Android Themes] Zidni:
both of you thank you very much for giving me time.

I almost forget about mediatek-res.apk & now this problem has been solved.
[Android Themes] xenreon:
Welcome :)
[Android Themes] Nikit:
very nice tutorial

thnx for this clearly and understanding guide on basis of theme:cool:
[Android Themes] pauldominik:
this one is really nice
[Android Themes] Borfas:
for galaxy s6 edge don`t work :(
[Android Themes] josephpatrick:
color/image location>

hi, any idea where is the color of the divider between the rows of toggles in the notification area...played around with some values but no luck
[Android Themes] xenreon:
The lines and xmls are different in s6 so you need to use your brain :P

---------- Post added at 02:43 PM ---------- Previous post was at 02:31 PM ----------

Look at pngs ones..... If you can't get it than its most likely be in smali or a png in framework-res
[Android Themes] SpaceCaker:
Sometimes its in layout and redirects to a color vode in colors.xml or even to styles

Check the layout of the quicktoggles themself
[Android Themes] josephpatrick:
no luck yet, still looking :(
[Android Themes] asc1977:
Can somebody help me how to encode that see on pic

Gesendet von meinem SM-G925F mit Tapatalk
[Android Themes] Spannaa:
Try decompiling the apk with apktool first.

Sent via Bacon...
[Android Themes] asc1977:
Its a file from a zip. I unpack and thats the result

Gesendet von meinem SM-G925F mit Tapatalk
[Android Themes] Spannaa:
You can't edit it unless it's decompiled.

Take a nandroid, flash the zip, pull the apk, decompile it and then you'll be able to edit the xml.

Sent via Bacon...
[Android Themes] asc1977:
Thats a good idea. Thx

Gesendet von meinem SM-G925F mit Tapatalk
[Android Themes] Tulsadiver:
Quicksetting Toggles

I have a Galaxy S6 lollipop tw. The toggles, on,off,dim are not used like previous Galaxy phones. When turned on, the toggles turns colors but not the color of the .png files themselves. There is a colored tint applied to the existing .png "off" icon instead. Does anyone know how to change this to read-use the actual dim,on,off png files so I can use custom icons?
[Android Themes] SpaceCaker:
Possible it redirects to an vector with an overlay?

It should be findable.

As i suppose its either insite a vector file

Or in a .xml file

(Drawables/colors/styles.xml)
[Android Themes] Tulsadiver:
I found where the tint is being applied but I haven't been able to fix it. The tint is being applied in the QSTileView.smali. it seems to take the demensions of the png file and use those demensions to apply the tint. Does that sound plausible?

I found the two tints being applied in colors.xml. I tried making them transparent (#00000000) but then the toggles all dissappear.
[Android Themes] SpaceCaker:
Try to set it to a black colour.

Or ff000000

Or even try to redirect it to a png.

If its a colour view then maybe you need to find a way to invert the tints like green is the other volor?

I have no idea further as i dont own s6
[Android Themes] Tulsadiver:
Thank you for your response and efforts. I mispoke on the smal file. It is the QSpanelview.smali

I've tried different colors and all that does is change the icons from one color to another.

I'll keep trying some different things. I just don't know much about smali code.
[Android Themes] Tulsadiver:
I've made progress. In the QSTileView.smali, I took out anything related to tinting the QStile. I now have the custom tiles showing. One more obstacle remains. The system still uses only the "off" png file so now when you select a toggle, nothing changes. You can't tell by looking at the toggles if one is off or on. It totally ignores the dim and on png files. The QSTILE smali files all have references to the dim and on pngs as they are named in the public.xml

Anyone have any ideas on where I should start looking in order to change the system to use the dim and on pngs?
[Android Themes] Sidrosh:
Thank u

thank u so much... i followed every step.. it really worked... thank u so much....
[Android Themes] azyxter:
hey.. can i follow this tut to theme lolipop status ui ?
[Android Themes] Cdmills:
Glad I stumbled on to this
[Android Themes] richard.elgh:
How do I change to transparent background if I don't have any 0x100 in my smali?
[Android Themes] mjraogr:
Try this in your statusbar expanded xml looking something like background reference png and change to hex code #00000000

to header set in your statusbar expanded header xml
[Android Themes] richard.elgh:
Thanks, but I got it to work. My smali just looked a bit different. :)
[Android Themes] mjraogr:
ok, good
[Android Themes] josephpatrick:
Rounded edge at the bottom of notification panel

Does anyone know how to get the rounded edge at the bottom of the notification panel when not expanded.

http://i.imgur.com/qTwlT9m.png

http://i.imgur.com/dZoB5UT.png

am referring to the bottom edge just above the sfinder buttons (left and right bottom edges)

I know how to get the rounded edges for the notification rows but not this bottom edge....thanks in advance

Update 1:Found solution: is to modify the background of brightness slider to use a xml instead of png or color

Update 2: guess not

update 3: got the answer to the original query, now apparently cannot get the notification rows to have rounded edges..everything looks right but it does not seem to be loading the notification_list_normal and notification_list_press xml files :(

update 4: it worked when i switched to a different framework-res.apk
[Android Themes] nico21311:
mismatch between date in status bar expended and clock

hello

I search during several months without success an answer on this forum. therefore I contact you because I want to know how to manage the date position in status bar expended. because today the date start a the same place of the clock.

I don't find the parameter to modify it.

Could you please help me about this issue?

Thanks in advance for your help.
[Android Themes] xenreon:
It's in your expanded header.xml
[Android Themes] agusmd6:
Hey, thanks for this guide! im trying to modify an alcatel 6030a stock rom, but im stuck with the deodexing process. I already deodexed the "apps" and "framework" files, but when i put them in the phone an reboot, the apps keep force closing. Any idea about this?

Sorry for the bad english
[Android Themes] xenreon:
Delete the odex
[Android Themes] agusmd6:
nvm, i was doing it in the wrong way, but another problem show up now. i already redeodex the files and put them with adb in the correct folders and remove all the .odex, but now im stuck in bootloop. Also tried wipping Dalvik Cache but nothing change...

EDIT: The Alcatel roms have an extra partition "custpack" where are various *-res.apk files, but with no .odex, maybe its something about this...
[Android Themes] xenreon:
Have you also did it with the jars on framework folder..... Sometimes doing that puts you in bootloop
[Android Themes] agusmd6:
Yes, i put the entire framework and app to deodexing, thats what the guide say...

I just tried to rename the sistemui.apk and .odex, and put the systemui.apk deodexed, and it works! So, still need to deodex the entire rom?

Thanks for this help btw, i know a couple of things about linux, java, programming and so, but all this together is really hard to learn, and i get lost all the time...
[Android Themes] Mavz12:
thanks
[Android Themes] rajeshnitk:
Hello,

How to change signal bar icons in lollipop from 4 to 6 bars as in htc phones.?
[Android Themes] xenreon:
You have to entirely edit your signal smalis
[Android Themes] rajeshnitk:
ok. Bro can plz let me know which file ? where to find and which line to edit? Plz give an overview. I am trying it on my nexus 5. Thank u for replying.

---------- Post added at 12:33 PM ---------- Previous post was at 12:32 PM ----------

ok. Bro can plz let me know which file ? where to find and which line to edit? Plz give an overview. I am trying it on my nexus 5. Thank u for replying.
[Android Themes] Betegreuh:
Hi !

Thank you for your useful tut !

I project to theme my ROM, my phone is a LG Optimus L4 II under stock 4.1.2.

I use already some UI tweaks, like Tinted Status Bar. The result of this mod is very nice, but when I expand the notification panel, the status bar is still displayed, unlike in many other ROM's where the status bar is hidden when the notification panel is expanded. So it's a bit ugly with some colors...

Do you know if there is a tweak with SystemUI.apk that can hide the status bar when the panel is expanded ?

I attached a screenshot with YouTube app, here my SystemUI is not themed, except the status bar icons with Xstana module.

Thank you ! :p
[Android Themes] xenreon:
There are some guides available here for that for example one is by sir SpaceCaker you can check that through his profile

---------- Post added at 01:16 AM ---------- Previous post was at 01:15 AM ----------

Sorry I don't know which smali to edit or how to edit.... All I know is that something like this has to be done through smali editing that's all I know
[Android Themes] Betegreuh:
Thanks ! I found this tutorial.

Seems great, I have only one question but the last message (you're the author BTW :p) is old, so I will ask it here. Do you think I can follow the tutorial but just add the header and keep my stock toggles ? Like this (screenshot at the right), without the QSlide bar :

[IMG="G3 Header, at the right"]https://uncertaingeek.files.wordpress.com/2014/04/lg-g3-android-ui.jpg[/IMG]

Thank you again.
[Android Themes] iaditya91:
nice tutorial...explained very clearly.....:o
[Android Themes] xenreon:
This guide won't give you the header, it'll give you a extra layout/drawer on your UI..... Actually he's full screen expanded panel guide is a little older..... So check he's older threads
[Android Themes] SpaceCaker:
My guide wont really work on jb/ics rons sadly

To make it go expanded we used a trick in the smali which changed some default values to either invalid ( which causes it to not draw top bar when pulling down)

But for ics or jb.

Ita definetly doable.

And i have done it before.

But i have lost my guide/sources for it.

Maybe it still is on my github but dont know for sure.

Do keep in mind though that LG ui is also modded and if u say that is JB then there could be a bools value or something like that that could make it fullscreen.

As my old phone also had something like that which turned the wholee OEM skin off and enabled aosp skin.

So take a peek in the files
[Android Themes] Betegreuh:
I noticed that my phone has this line in the build.prop :

ro.lge.capp_optimusui=true

But I didn't try to change to false because I don't want to end in bootloop...

I will search again in my SystemUI.apk.
[Android Themes] xenreon:
Which guide sir ? ..... Full screen expanded panel or 4.2.2 status bar ?

---------- Post added at 02:08 AM ---------- Previous post was at 02:07 AM ----------

Haha make a flashable backup of your build.prop with zipme and try it !
[Android Themes] SpaceCaker:
Fullscreen
[Android Themes] Betegreuh:
I edited my build.prop.

First, no bootloop, yeah ! :good:

I changed these lines :

ro.lge.capp_resource=true
ro.lge.capp_optimusui=true
ro.lge.capp_lockscreen=true

From true to false.

And I got... the AOSP lockscreen :p. I tried before to change only the lockscreen bool, but I got the AOSP lockscreen with an ugly grey bar at the bottom of the screen.

Also some menus (power, volume...) are now black.

I will search in the SystemUI.apk. What was the brand of your old phone ?
[Android Themes] SpaceCaker:
My old phone was an Acer Cloudmobile.

I found the codes in the smali and saw that is was using build.prop for its values.

So instead of editing build.prop i inverted some code in smali :p
[Android Themes] BhosxTris:
Thanks for this... Is this same method on kikat?
[Android Themes] xenreon:
Some things will be quite different, but the "main" method is the same ;)
[Android Themes] KYashK:
gooooooooooooooooooooooooooooooooooooodddddddddddddddddddddddddddddddddddddddddddd:D:D:D:D:D:D:D:D:D:D:D:D
[Android Themes] Abdullaharis:
Nice Guide:good::good:
[Android Themes] muhash:
My volume panel icons are messed up how do I change (set the correct path) in the systemui.apk?
[Android Themes] lucaterpirla:
I have a Letv Le 1 x600 with EUI 5.5 s13 rom by BB72, but I do not like the user interface. I would like to have the same UI as AOSP rom for example, and I tried to replace the SystemUI apk in system folder, but when I restarted the device it crashed continously. How can I edit the actual systemUI or replace the apk file to have AOSP interface fully working? Thanks in advance.
[Android Themes] Emilicious:
Love the post and it may save my world right now (.......yes my world ;) ) however, some of the instructions are a tiny bit dated. For anyone just now joining the thread (here in 2016) I've found up to date instructions for getting the apktool itself installed and working properly! Just give THIS a clicky-poo and you should be good to go!!
[Android Themes] Ticklefish:
It has been a while since this thread was started. This was started in..let's see..wow, over three years ago. That makes me feel old..:eek:

Good to hear your life might be saved. Never good to have members dying on us..lol
[Android Themes] RonnyMih:
Good Morning.

I have a tablet that does not have 3G and phone function, and Airplane Mode, but I have the SIM CARD Network icon in the Quick Settings Toggles sliding down menu.

I wonder how can I remove these icons of this menu.

My android and KitKat 4.4.4
[Android Themes] joehanh88:
Greetings!

Wooww... this thread still alive? even after 3 years??.. hard to believe.. but I'm glad that this thread still helpful to others. I wish I could go back here and make another tuts for you guys.. keep it up guys.:good::good:

Thanks for those who helped me by answering questions.. :D
[Android Themes] Llamas_are_Good:
Thank you for the thread but can you teach me how to get the quick settings toggles (like the kitkat) on jellybean 4.1.2?
[Android Themes] :
can this be used to make the blue UI like on the Pixel Phones?
[Android Themes] frankcck:
Thanks for the helpful tut.

It would be awesome that if you can explain how Android generate system icon in status bar(such as wifi, data, signal, and battery) now programmatically and how to modify it if we want to change the icons.

Always appreciated for sharing valuable information.
[Android Themes] Ticklefish:
The WiFi, data and signal icons are generally now "vector drawables". These are image files generated by XML code and are stored in your drawable folder. You can change them by either editing the code (complicated but possible) or by deleting the XML files and putting PNG files in the relevant drawable-*dpi folder.

The battery icon is a bit more complicated. That's generated by smali. If you want to change it, it's worth looking at something like 3Minit by [MENTION=4619873]gharrington[/MENTION]: https://xdaforums.com/showthread.php?t=2799958
[Android Themes] frankcck:
Thank you so much sir.

I still have some concerns if that don't bother you.

Those XML in /drawable are what I was looking and tried to modify. However, my PS or illustrator skill are minimum, I can't make png that I want. Besides, I wanna use vector drawable to generate those icon because it's a new proper way and I'd like to learn about it.

So I took it another way, for instance, HTC is still using pngs for their system icons, and I wanna use Google pixel's signal, data, and Wi-Fi icons.

Thus, I deleted the related pngs find in HTC's systemUI/res/drawable-xxhdpi and xxxhdpi. Then, replaced htc's stat_sys_signal_0.xml , stat_sys_signal_1.xml ,stat_sys_signal_2.xml ,stat_sys_signal_3.xml ,stat_sys_signal_4.xml with pixel's xmls.(i did same to wifi and data icon 's XMLs.)

But I end up having blank space for those icons.
[Android Themes] Ticklefish:
The easiest way I found to modify the vector drawables in Android was just to make my own instead. Working out the code that they use for the existing icons is a major headache.

There's the official Google page about vector drawables here: https://developer.android.com/reference/android/graphics/drawable/VectorDrawable.html, a handy tutorial here: https://androidbycode.wordpress.com/2015/03/18/vector-graphics-in-android-converting-svg-to-vectordrawable/ and an incredibly useful SVG editor here: http://www.w3schools.com/graphics/tryit.asp?filename=trysvg_circle

Vector drawables aren't quite the same as SVG's but they're close enough that you can easily convert them.

For your phone I'm a bit puzzled what actually happened. You say that they're still using PNG's for their icons...but you replaced the XML files?

The best thing when doing this sort of thing is to work on replacing just the one type of icon first rather than all of them in one go. Concentrate on the WiFi icons. If you can change them then you know the right method to replace everything else.
[Android Themes] frankcck:
Thanks a lot mate. I've read some of them, and will read through others information. Really appreciated.

Concerning your question, I can change the icon by replacing desire pngs, but I can't make beautiful enough icon and couldn't really find one on internet, so I want to use vector drawable to generate icons.(HTC has XMLs in /drawable too, but still puts pngs in xxxhdpi. And the system takes png as icons, if I only removed the pngs, I got blank space too.)

I know Google Pixel is using XML to generate at least signal, data, and wifi status bar system icons, so that's why I replaced HTC's XMLs with Pixel's.

Thanks for the suggestion, I will stick with wifi for now until I get this working. :laugh:
[Android Themes] abessi sofiene:
amazing tuto for the one who like personnalize android
[Android Themes] 3to4:
Volume popup?

Hello!

Is there a way to make the background of the volume adjustment popup transparent?

I mean the volume adjustment which pops up when you press the volume button up or down to adjust the volume.

I have been looking for this since some time, but I have not been able to find even a hint.

Maybe it is not in SystemUI.apk, I am wondering if someone can help.

I am running TW 4.4.2 on my Galaxy Note 3.

Thanks.
[Android Themes] Spannaa:
4.4.2? That's a long time ago...

It was probably a drawable in SystemUI.apk - in 7.1.1 it's res/drawable/volume_dialog_background.xml