yashsingh1/xdaforums huggingface dataset:
[Android Themes] 3to4:
Yes, I know it's very old, but as I did a lot of customization, and I don't know if I can do the same kind of customization with a new rom, and that would take a lot of time. That's why I keep 4.4.2, and it's OK for my limited use.

I looked for volume_dialog_background.xml and similar or part of the name, like volume, dialog, background, but I could not find a file which seemed relevant... So, maybe 4.4.2 is different.

Thank you anyway for your advice. I will keep on looking.

PS: I found it. It's in framework-res.apk.

You just need to set background to #00000000 in layout-sw360dp-xxhdpi/volume_adjust.xml
[Android Themes] andreas951207:
Hi,

When i follow this guide a lot of system functions doesnt work like: fingerprint reader, status bar, notification center, launcher wallpaper, system settings etc.

Anyone who know why that happens? how can i fix it?

I have a Lenovo ZUK Z2. Could it be becaue of the change i made or because of my phone?
[Android Themes] Niii4:
I'm a total noob but this all exclusively works w/ *root* access, aye?
[Android Themes] NFSS10:
Thank you, good tutorial, I can give some life to my phone now :D
[Android Themes] mcn1970:
does it work for nougat also? i have RR Rom for Mi Mix and recompiling gives me a bunch of errors
[Android Themes] mcn1970:
cannot rename temporary files...

Edit: i pulled out systemui. apk from the phone... ran apktool d systemui. apk... everything ok... changed colors. xml with same named file with only a color changed... ran apktool b systemui... and error pop out... drives me crazy already
[Android Themes] Ticklefish:
What error pops out?
[Android Themes] joehanh88:
you mean the "setting" border, right?

Sent from my GT-I9070

[MENTION=4949057]sameer4344[/MENTION]

find in framework-res/res/drawable-hdpi/tw_ab_transparent_dark_holo.9.png.

that is where the image belong..

and for the sub title of every display, it belong to tw_list_section_divider_holo_dark.9.png in the same folder in case if you want to change it too :)

good luck in theming :D
[Android Themes] sameer4344:
Thank you :) btw would u mind sharing ur framework-res.apk? Just curious what a great themer like you would be using :D
[Android Themes] joehanh88:
i will create new thread for how to theme framework-res.apk soon.

only for touchwiz and JB.

you'll learn everything from there :)

and the thread first OP will be the longest thread in this forum ever i think :D

because there were many things that i will put in there.

or you just want my themed framework for making as reference?
[Android Themes] sameer4344:
It was only because of u and ur awesome thread I learnt theming systemui.apk :) thank you for that.. And yeah.. I'll be waiting for ur new guide :)
[Android Themes] joehanh88:
nah..im just sharing what i know :)

you might share anything that you know also in here then i will put it at OP if that things not included yet.

happy theming and good luck :)
[Android Themes] hara74:
please do that with the new thread for framework :thumbup:

I also always look here for news and how to ;)

my theme isn't perfect bcs I themed a lot of unnecessary things or wrong things, I guess :o

to find the buttons for pin input after reboot was a nightmare :mad:

or find the right lines for colors in the xml files too

so u see, it would be great to have such a thread for starting themers :D

sent from my G-Note
[Android Themes] joehanh88:
but it takes a lot of times for making such thread.. :p

since I'm working, I don't have much time to spend for those.. so the new theming thread should be not to expect to be published really soon..

but i will publish it for all ;)

Sent from my GT-I9070
[Android Themes] Madaditya:
Waiting for your framework thread !;)

You could also add this amazing tool for handy image edits

Tickle my droid(you might know it already)

http://xdaforums.com/showthread.php?t=1633333

Add's 1% battery xmls,status bar icon edits very easily..

More useful for a precise thread for newbies!

^Coz We dont just Root phones for Fun ;)
[Android Themes] hara74:
take ur time m8,

I will wait for the new thread, and I´ll also wait a little bit longer :fingers-crossed:

but to know what png or xml really change is half or work,

instead of changing nearly everything in hope u get the right one ;)
[Android Themes] joehanh88:
i don't really change any xml in other apk accept systemUi.apk. :)

so the framework-res.apk don't have much xml to be edit of..

i just edit the png inside of it.. that is the easy way..

btw, thanks for supporting me.. really appreciate that my friend :D

Sent from my GT-I9070
[Android Themes] hara74:
no editing xml's,

I have to because I change always the system color from that baby blue :sly: into other colors (theme related)

also some backgrounds

and we have to support such good guys, like u, where we can still learn a lot

but that's only my opinion ;)

sent from my G-Note
[Android Themes] Artha_CR:
very nice tutorial :fingers-crossed:
[Android Themes] hara74:
hi m8 and all others,

I have a question,

how can I change the color of ongoing things triggered, like if I swipe them to the right or left to delete

I hope you know what I mean ;)

sent from my G-Note
[Android Themes] hara74:
I find out it myself

it´s in systemui/res/values/drawable tw_notification_background_pressed
[Android Themes] Sami Kabir:
Do you know how to add a "Clear" Button on the top of the Notification bar, next to Settings shortcut and remove the existing clear button...?

Thanks in Advance!
[Android Themes] joehanh88:
sorry dude, if forgot how to done that.

but someone in our device forum know how to do it..you may ask him..

and please, if you know how to done that thing, let me know the steps and what need to change.. so that i can put it in OP :)

sorry again :(
[Android Themes] Namoi:
I can send you my xml layout which do just this. You will have to adapt it though.

But tomorrow as i am not at work.

Send me a PM for me not to forgot if interested.
[Android Themes] Sami Kabir:
I found an alternate solution... But yeah please send me your xml... I can surely take a look at that too.. Thnx :)

Sent from my phone, because I'm away from my PC right now :p
[Android Themes] Namoi:
I hope i won't forgot. Bump the thread if no post from me.
[Android Themes] einst31n:
Guys I need some help.

I have tried modified some xmls in order to theme a lil more than just replacing pngs but I dont have the png names in the android background as it is said in this tutorial.

I get : android background : "id\some hexadecimal no" . This no I believe the order no of the png. How can I redirect these backgrounds to other pngs ?

P.S. I am on ICS

Hit thanks if I helped :)

sent from GT-S7562 , with a better stock ROM ;)
[Android Themes] mcn1970:
unable to rename temporary files
[Android Themes] Ticklefish:
Can you share the exact error message you get from apktool please?
[Android Themes] mcn1970:
in fact i just want for a substratum theme to change status bar icons color. they are all white and want to change. what would be the best approach for a beginner?

so far I took systemui. apk from the phone, decompiled it, changed some colors in /res/values/colors. xml, compiled again but after moving to the phone it gives a lot of FC
[Android Themes] Tulsadiver:
I don't know anything about Substratum but the easiest way to change their colors is in the color.xml like you did. The ones to change are light_mode_icon_color_single_tone (make this the color you want full alpha ff), light_mode_icon_color_dual_tone_background(make this your color with a alpha of 90 or maybe 4d), and light_mode_icon_color_dual_tone_fill(make this one full alpha ff). This is how I do it, anyway.
[Android Themes] Mo'men2001:
Theme

I want to theme my systemui such as Center Clock , add Flashlight toggle to expanded Status bar But i found some tutorial but i didn't understand how to do this.......can you help me and theme my system ui......... i attached my system ui apk link on drive.. i want center clock , make battery in the right and make signal in the left... :) this is the link of my system ui drive.google.com/open?id=0BxUfxGdEkrlXZm9VQmlLZXlXUUU
[Android Themes] mcn1970:
i wanted the same but since i am a beginner i gave up. better is to install xposed and flat style status bar module. it gives so much flexibility. however must have root for this
[Android Themes] :
Hello thanks for guide. How to change position of wifi icon and how to enlarge the signal bar on status bar ? Im using cm11 and im new on the theme. I look to all xml files of systemui.apk but i dont understood anything :( Can someone help me ? I want only change wifi icon's postion and enlarge the signal bar on status bar :(
[Android Themes] Ticklefish:
Where do you want to move the WiFi icon to?

If you want to make the signal icon larger, you'll need to redraw it. You can do that either by changing the code in the XML files in the drawable folder, or by deleting them and replacing them with PNG files that you've made yourself at the size you want.
[Android Themes] :
Thank you a lot of :) i want move to far of the signal icon. Because if i make the signal icon more larger it overriding to wifi icon and it is very annoying :)
[Android Themes] Ticklefish:
I don't know CM11 in detail but it's worth having a look in signal_cluster.xml. In stock Android these days that controls the display of the WiFi and signal icons.
[Android Themes] :
I forget the say. I switched cm12.1 and i will stay on 12.1
[Android Themes] Ticklefish:
Okay. That shouldn't be a problem
[Android Themes] kingkobra97:
Hello, guys!

Which file I need to edit to push up the text?

http_://i.imgur.com/m5c7IUz.jpg (remove the underscore)

Thanks!
[Android Themes] maz izaackovich:
help me please...

i really cant find aapt.exe . i just have apktool.bat and apktool.jar (2.2.4) . do i need to download aapt.exe or what..?

sorry for such noob question, I have failed a lot trying to edit SystemUI.apk

thanks..
[Android Themes] Spannaa:
aapt has been included in apktool since v2.0.0 so there's no need to use an external exe.

The apktool documentation is here.
[Android Themes] maz izaackovich:
thanks mate for your clearly explanation.. :D
[Android Themes] Tulsadiver:
In my phone it is called qs_tile_label.xml in the systemui.apk layout folder.
[Android Themes] senseijtitus:
Can I use this guide to change the look and feel of Stock Lenovo P2 Android 7 ?
[Android Themes] HritikSH:
Yes it's Universal because every phone has a systemui.apk
[Android Themes] xenreon:
Yes as you've already been told, but things like file names and layouts will be pretty different so you'll have to go with trial && error method.
[Android Themes] zooperaj:
A) Some basic information:

Samsung Galaxy Quattro, GT-i8552; pre-July 2014, rooted

I have already modified stock Jelly Bean 4.1.2, rooted, deodexed, debloated 82 system apps, has busybox, init.d support

B) Recently, I have been trying to change background colours of status bar, expanded status bar, notification panel, settings, pop-up panels, horizontal dividers etc. I referred to many XDA topics and threads,

including this thread

. I could successfully modify background colours at many places.

But even after modifications / changes in different XMLs, 9.PNGs and PNGs, I could not change background colour as under:

1) background colour of the top area of expanded status bar (where clock and date appear)

2) background colour of brightness controller / bar on expanded status bar

3) background colour of area where "Ongoing" and "Notifications" text appears on expanded status bar

Please see the screenshot with arrows pointing to those areas.

Please help.
[Android Themes] SamsungRoot:
every time i open an xml from system ui in notepad++ i get this:

     ? (  ?   / ? N ^ d p } ? ? ? ? Š ? ? ??   H K V ? ? ? ? ??. ` k ?  ? ? ?? id

background orientation layout_widÿ0f0„`ayout_height paddingStart

paddingBottomýsrc scaleType

visibility

paddingEnd

layout_weight alpha gravity

singleLine textColor textSize layout_alignParentStart textAppearance

inflatedId layout anýýßÐd **http://hgfhghgb gnfg gdcom/apk/res/android systemui 77http://schemas.android.com/apk/res/com.android.systemui 77com.android.systemui.statusbar.phone.PhoneStatusBarView FrameLayout ImageView LinearLayout 88com.android.systemui.statusbar.AlphaOptimizedFrameLayout //com.android.keyguard.AlphaOptimizedLinearLayout TextView 00com.android.systemui.statusbar.StatusBarIconView //com.android.systemui.statusbar.phone.IconMerger include @layout/system_icons ++com.android.systemui.statusbar.policy.Clock ViewStub  \ ??G????????A?]???4 ????    ??     ??   `  ????      ??   ?? ?

  ?? f `  ????1B202020142014200320202020202020

1620202020202020?? u

  ?? ??  ?? ??  ????  G " ????     ?? v

  ??   ??    ?? L

  ?? ??  ?? F  ??    ??    + ????  ? - ????      ??   ?? w

  ?? ??  ?? ??  ??  

??   ? 5 ????      ??   ?? x

  ??    ?? ?? ??  ? ?? U=? ` ? ????     ?? y

  ?? ??  ?? ?? G F ????      ??    ?? ??

??   ?? z

 ??    ?? ??  ?? ??  ?? ??  N ????  ? R ????     ?? -

 ??    ?? ??  ?? ??  ?? ?  X ????  ? Z ????     ?? ?

 ??    ?? ??  ?? ??  ?? ?  ` ????  ? b ????!     ?? {

 ??    ?? L

  ?? ??  ?? ?  g ????!  ? h ????"    

??    ??   ?? |

  ?? ??  ?? ??  ?? ??  m ????"   n ????   o ????  t q ????      ??   ?? }

  ?? ??  ?? ?? 8 w ????$    ??# %  ?  w ????$  G y ????&      ??  

??   ?? 



  ?? ??  ?? ??  ?? ?? ?? U=?  ??    ????&   à ????   G ????  ? O ????'     ?? ~

  ?? ?  ?? 

  ?? ??  ?? ??  ? ????'   ? ????   ? ??    ? ?? 
[Android Themes] Spannaa:
Looks like you didn't decompile the apk before opening the xml.

You need to use apktool.
[Android Themes] SamsungRoot:
ohhhh,lol guess im still a newbie,i literally just adb pulled systemui.apk and used winrar to decompress the xml files
[Android Themes] The_And:
Console-like interface

I have a rooted LG l Prime D337 and i am working in a fully console-like interface, what needs ROM modifications. I want to remove the nav bar (virtual buttons), i know that some xposed modules can do it and is that the system that i am using now but i prefer mods in systemui.apk. Now we arrived in the topic of the thread topic: i edited the nav/notifications bar files in the systemui.apk/framework-res.apk but noting changes. I think in the possibilit of the cache, i wiped it and... nothing changes. i got crazy and delete systemui.apk and nothing changed (of course that i restarted the cellphone). So, there is another file that control the ui? What i could do to mod my interface? Why nothing changes when i edit systemui.apk?
[Android Themes] Ticklefish:
The best way to remove your navigation bar is probably just to edit your build.prop. Have a look at this link here: https://www.technologyhint.com/enable-soft-keys-android-phone/

That's about enabling the nav bar for devices that don't have it, but it does also mention how to get rid of it.

As for why nothing's changing when you make your edits...that's a harder question. That depends on what edits you're making and how you're putting your modified APK files back to your phone.

By the way, you can change the height of the nav bar by editing framework-res.apk but it'll still exist, which may cause problems. Better to try editing build.prop first.
[Android Themes] LoneRanger76:
Hi. Why do I always fail to center the clock? I edited my status_bar.xml just like yours but it always fail. Hoping for your quick response.
[Android Themes] Ticklefish:
In what way does it fail?
[Android Themes] Ticklefish:
Apktool does produce long error messages, it's true. But there is information inside them which tells you what's going wrong.

In particular, this bit:

W: res\layout\status_bar.xml.bak:0: error: Resource entry status_bar is already defined.
W: res\layout\status_bar.xml:0: Originally defined here.

This is saying that your "status_bar" resource is defined in more than one file. You can't have more than one definition so your APK won't recompile.

Do you need "status_bar.xml.bak"? Can it be deleted? I suspect that's not supposed to be there..
[Android Themes] LoneRanger76:
Oh. I see. My bad, I just thought it would be fine to include the bak file (for back up purposes). I'll will try removing then recompile again and see if there is a difference. Thank you.

----

I just tried it and it appears that it still has some errors. Can you guide me to correct this?

W: C:\Tools\SystemUI\res\values\styles.xml:168: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar'.
W:
W: C:\Tools\SystemUI\res\values\styles.xml:169: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar'.
W:
W: C:\Tools\SystemUI\res\values\styles.xml:174: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar'.
W:
W: C:\Tools\SystemUI\res\values\styles.xml:184: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar'.
[Android Themes] Ticklefish:
Normally if this sort of error shows, it's because you didn't install all the relevant framework files before you decompiled your APK.
[Android Themes] LoneRanger76:
Hm, but I already installed my framework-res.apk of my device. Am I forgetting something that I need to do before I start modding?
[Android Themes] Ticklefish:
Do you have any other framework files? If you're using a Samsung device you may have twframework-res.apk or samsung-framework-res.apk in there as well.

Have a look in the framework folder for any other APK files with "res" in the title. If you've got some, try installing those as well before you decompile your SystemUI.apk.

Framework files provide resources that apktool uses when it decompiles and recompiles. That's why I am guessing that this is where the issue lies.

Of course, I could be wrong but it's a good place to start.
[Android Themes] LoneRanger76:
Hm. I understand. I'll try doing that. Thank you.
[Android Themes] Ticklefish:
How did you get on? Any luck?
[Android Themes] Ticklefish:
[/QUOTE]

If you can share your files I'll try it on my setup and see what I can work out for you.
[Android Themes] LoneRanger76:
If you can share your files I'll try it on my setup and see what I can work out for you.

Shall I send my 2 framework-res.apk and SystemUI.apk or just the SystemUI folder?
[Android Themes] LoneRanger76:
If you can share your files I'll try it on my setup and see what I can work out for you.

I will just send the SystemUI folder as zip file.
[Android Themes] Ticklefish:
I will need the APK files, yes. I'll try decompiling and recompiling so I can see what the problem is.
[Android Themes] Fablos:
Someone may help with SysUI mod?

Recompiling always fails to recompile due to malformed .9.png, every time I tried.

Wating Clock on Center and Data/WiFi on left, Battery on right, but i have no idea how, and Try and Error doenst work either (cant recompile?)

Someone may tell me afterwards how and in case hot to move clock left?

SysUI attached, framework-res: https://mega.nz/#!oxgRlLDR!Q9mYgALkkpoBkIW2NCEvdD4EARamq6hJwSkxYt470KA
[Android Themes] LoneRanger76:
I will need the APK files, yes. I'll try decompiling and recompiling so I can see what the problem is.

I can't attach it here but you can download it here: https://mega.nz/#!UyRkjRzb!85UNKGHqVQqogWREDE-fOGvd1yrCKarZ7oSRjBZnjLY

Inside the file are the apk's. Thank you so much for the help, Sir. :)
[Android Themes] Spannaa:
Fix the malformed .9.png and you should be able to recompile the apk ;)
[Android Themes] Ticklefish:
Thanks for sharing your files. I think I know where the issue is coming from.

You're getting these errors here:

W: C:\Tools\SystemUI\res\layout\status_bar.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/status_bar_background').
W: C:\Tools\SystemUI\res\layout\status_bar.xml:6: error: Error: No resource found that matches the given name (at 'id' with value '@id/icons').
W: C:\Tools\SystemUI\res\layout\status_bar.xml:7: error: Error: No resource found that matches the given name (at 'id' with value '@id/left_icons').
W: C:\Tools\SystemUI\res\layout\status_bar.xml:8: error: Error: No resource found that matches the given name (at 'id' with value '@id/carrierLabel').
W: C:\Tools\SystemUI\res\layout\status_bar.xml:9: error: Error: No resource found that matches the given name (at 'id' with value '@id/doNotDisturbIcon').
W: C:\Tools\SystemUI\res\layout\status_bar.xml:9: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/tw_dnd').
W: C:\Tools\SystemUI\res\layout\status_bar.xml:14: error: Error: No resource found that matches the given name (at 'textSize' with value '@dimen/status_bar_clock_text_size').

This is saying that you mention resources in "status_bar.xml" that aren't actually in the decompiled APK. I did wonder if these were missing because the relevant framework file wasn't installed but I think I know what's going on now.

It looks like you've copied and pasted some lines of XML into your code but you don't have the resources those lines mention in your particular APK.

The best thing I can suggest here is working out how to change your particular code. There's a guide to XML modding here: https://xdaforums.com/general/xda-university/xml-101-xml-modding-easy-t2929816

There's a section there about centering the clock that's worth taking a look at.

Give it a try and, if you have any problems, just post on that thread and the OP will be more than happy to help you. He's an awesome person. ;)

---------- Post added at 05:52 PM ---------- Previous post was at 05:35 PM ----------

You can edit ninepatch files using Android Studio. Have a look here: https://developer.android.com/studio/write/draw9patch.html

There's an old guide to editing ninepatch's here: https://xdaforums.com/showthread.php?t=605662

It was written before Android Studio was developed but it should help give you an idea of what to do.
[Android Themes] LoneRanger76:
Thank you. Last friday, I also realize what I was doing was wrong haha. Thank you for the help. I'll try modding later.
[Android Themes] nony1234:
I want to add volte icon to the status bar can anyone guide me how to do it. Even a hint would be appreciated.
[Android Themes] GreenNoid123:
---->Hello, I really liked this guide, but can you tell me how to change the grid of quick settings (Im using Nemesis Reborn for S5, S8 themed rom), I wanted to have a fully 5x3 grid, and the lines under the toggles a bit longer, because they are short. Thank you!
[Android Q&A, Help & Troubleshooting] thearcher4:
Hello, I have a tablet, the penta ws802c (specs here: pantel.in/Products/T-Pad-WS802C-3G.aspx), which I have managed to root. It's a low budget tablet, on which I do some general Android fooling around.

So I've been looking up on ROM Manager and see if I could install it, but unfortunately, it needs ClockWorkMod installed for it to work, and there is no build for my device.

I was wondering if anyone could help me, guiding me in the proper direction on how to get clockworkmod working on the tablet. Any help would be much appreciated!
[HD2 Android Q&A, Help & Troubleshooting and Genera] davidk91:
Hello every one,

I would like to ask you abou one thing.

Do you think, is possible to get wifi fix like flash *.zip? I finally find ROM where I don´t loose cellular, but there is not working wifi. After new build of that ROM, where is wifi working (kernel) I am loosing data. I would like to try apply some wifi zip fix for cellular working build.

ROM: http://xdaforums.com/showthread.php?t=2149115

Thanks for your answers.