[How-to] Maximum StatusBar Brightness 4.4.2 - Galaxy S 5 Themes and Apps

[How-to] Maximum StatusBar Brightness 4.4.2
This guide is based on the KK 4.4.2 Galaxy S5 builds.
I noticed that Samsung always make the statusbar notification areas a bit dim. Probably to help with battery conservation.
This requires decompiling SystemUI.apk.
SystemUI/res/values/dimens.xml edit
Code:
Change these three lines
New values are in BLUE
<item type="dimen" name="status_bar_icon_drawing_alpha">[COLOR="Blue"]100.0%[/COLOR]</item>
<item type="dimen" name="system_icon_area_alpha">[COLOR="Blue"]1.0[/COLOR]</item>
<item type="dimen" name="notification_icon_area_alpha">[COLOR="Blue"]1.0[/COLOR]</item>
Note:
Screenshots are best viewed from a PC so you can rapidly swap images to see the difference.

Nice.
Thanks

Weird. I have no values/dimens.xml file. Using to rootexplorer.

cAase said:
Weird. I have no values/dimens.xml file. Using to rootexplorer.
Click to expand...
Click to collapse
As stated in the OP, this requires being able to decompile the system file SystemUI.apk to make the edits.

This thread is now part of the GALAXY S5 UNIFIED MODS THREAD - GUIDES & LINKS. Check it out when you have time.

Where i can find your teme for status bar ?.
Thanks

Great mod tdunham thank you very much for this tutorial. Working on my S3 using your old method found here. This may be the lazy way but it worked a lot easier for me to just make vrtheme flashables for this instead of doing a full release.

The reason they do this i think is not to save battery but to stop screen burn in of the statusbar icons. Doesnt matter on roms that have changeable icons or colors i suppose but doing this on a standard systemui with white icons may increase the chance of burn in.
I may be wrong but thought it worth mentioning
Sent from my SM-G900F using Tapatalk

Related

Add Wimax toggle to Power Widget

I have been helping Sinistertensai with his ShenduOS port for the HTC EVO 4G. I got Wimax to work and was wanting to see if anyone knows how to add a Wimax toggle to the power widget dropdown from the status bar. The port is CM7 based. In the SystemUI.apk I see there is WimaxButton.smali. I have tried adding the ids for it in public.xml and creating pngs for the toggle. I get no errors on compile but I get reboots or force closes when I try to bring up the power widget dropdown. I have very limited experience with editing smail code. I have also tried copying over the resources, classes, and xmls to the original apk with the same results. I have researched how to edit smali but I could just be doing it wrong or leaving something out. This has been driving me to madness. If anyone could help out that would be amazing!
Is there a reason you can't rebuild from source with Wimax enabled?
Sent from my SCH-R760 using Tapatalk 2
The ShenduOS SystemUI has been changed drastically and I cannot find the source code. That would require me to completely redo what Shendu has done and is well beyond my capabilities. The functionality for the wimax is there, I just need to find a way to add the toggle button. The actual widget has a wimax toggle which works, just not the one in the status bar.
Sent from my EVO using xda premium
I have only done smali a few times. How I did it was for example get a cm build going. Remove all wimax toggle related noti widget elements. Compile. Now you have a systemui base. Now build with the wimax toggle. You have a wimax toggle systemui.
Then use a program like beyond compare and after apktooling both systemui in their own folders. Compare the smali differences. Should get you pretty close. Of course there will be some trial and error if the systemui is different then that of cm.
Sent from my Galaxy Nexus using xda premium
The code is quite different that the CM7 code. I have found what needs to be edited, it just results in reboots upon clicking on the status bar to open the powerwidget dropdown. Here are the steps I take:
Decompile SystemUI.apk
In PowerWidget.smali -> replace both instances of toggleNetworkMode with toggleWimax
In WimaxButton.smali -> write down ids from method updateState (0x7f0200ca is off, 0x7f0200cb is on)
In public.xml -> Removed bad APKTOOL_DUMMYs for above ids. Add the following lines:
<public type="drawable" name="stat_wimax_off" id="0x7f0200ca" />
<public type="drawable" name="stat_wimax_on" id="0x7f0200cb" />
In res/drawable-hdpi -> Created on/off images and placed them there
In drawables.xml -> Removed bad APKTOOL_DUMMYs for above ids that were set to false. Add the following lines:
<item type="drawable" name="stat_wimax_off">true</item>
<item type="drawable" name="stat_wimax_on">true</item>
Recompiled
Pushed to phone with adb and cleared dalvik cache
Reboot
I have also tried pushing the changes and overwriting the ones in the original using Archive Manager(Ubuntu) with the same issues. If someone could point out what I am doing wrong that would help alot! I could have broken my tools(Android Utility/apktool). Feel free to give it a shot if you want. Once I/someone gets it right I will write up a tutorial.

How to make any text touch responsive

Suppose you want that a text should change it's color when you put your finger on it ,, like you want your carrier label to turn blue when you keep your finger on it and white when you remove,,, This is common in pngs, but what about text,, well theres a way for that too
This is a very easy mod,, all you need is to use your brain, information and search skills to find the right xml with the right string
Let us begin with an easy one,,, Open your status_bar_tracking.xml if you have bottom carrier label text and status_bar_expanded.xml if you have it above
now ,, search the line having
<com.android.systemui.statusbar.CarrierLabel
and add an android:textColor="@color/carrier_text" ,,,
Save and close
now let us begin what we need to do to make it blue when we keep our finger on it
Open note pad or note pad ++
Paste this
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:color="#ddff00"
<item android:color="#ffffff" />
</selector>
save with the name carrier_text and add xml as extension in plce of txt to make it an xml file,, now make a folder named color in SystemUI.apk/res
and recompile.....
And then you got it,, white in normal state and ICS blue when pressed.
NOW SPREAD THE KNOWLEDGE LIKE A FLU!!!!!!
But do press the thanks button first if i helped you,, help me rise so i will be inspired to do more
Thanks for this! gonna try it out ^^
Thanks for this awesome share
Want To Ask Question? Ask Here
Thanks,
TechnoSavie
W W
I never knew that this is possible.
Well it is bro!!!!!!!
The android system has a lot of possibilities and if you had seen the lidroid-res.apk or framework-res.apk's xmls in colors folder (or Mms.apk) or just saw its amazing matching with drawable xmls (just replace drawable with color and all image paths to color codes )
YOu would have known too!!!!
One mistake in your post...
In status_bar_tracking.xml, we should add a line
Code:
android:textColor="@color/carrier_text"
and not
Code:
android:textColor="@color/carrier_text.xml"
Ganesh A said:
One mistake in your post...
In status_bar_tracking.xml, we should add a line
Code:
android:textColor="@color/carrier_text"
and not
Code:
android:textColor="@color/carrier_text.xml"
Click to expand...
Click to collapse
NO NO NO bro,, the extensions of xmls and pngs are never displayed ,,, that is the job of the tags (android:textColor) to do the job,, if you write,, u will only face an error while recompiling,, i have already studied it bro,, if you dont believe just open tab_indicator.xml in Contacts.apk/res/layout-finger......
But still it is good that you asked,, your doubt is solved
Thanks for this! This will definitely go into my new Custom ROM.
Sent from my GT-S5360 using xda app-developers app
mvsdroid said:
NO NO NO bro,, the extensions of xmls and pngs are never displayed ,,, that is the job of the tags (android:textColor) to do the job,, if you write,, u will only face an error while recompiling,, i have already studied it bro,, if you dont believe just open tab_indicator.xml in Contacts.apk/res/layout-finger......
But still it is good that you asked,, your doubt is solved
Click to expand...
Click to collapse
Yeah, the extensions of xml's and png's are never displayed but YOU HAVE GIVEN
android:textColor="@color/carrier_text.xml"
AND IT SHOULD BE
android:textColor="@color/carrier_text"
Regards,
Ganesh
Yeah,,, you are right,, i will edit ,it thankyou
certainly,, but give proper credits
THank you,,, it has been fixed
Ganesh A said:
Yeah, the extensions of xml's and png's are never displayed but YOU HAVE GIVEN
android:textColor="@color/carrier_text.xml"
AND IT SHOULD BE
android:textColor="@color/carrier_text"
Regards,
Ganesh
Click to expand...
Click to collapse
Thank you for pointing,, it has been set all right now
Can you tell us also how to hide icon app like cpucontrol in Hyperion ROM?? I want to hide the stock mms.apk only the app icon..
Sent from my GT-S5360 using xda premium
Did it work. I am not able to make this work..
!!!...F4t3rn!Ty L!3S W!T}{ ET3rn!Ty...!!!!
***LooK WithiN YourselF***
#CAN U DIG THIS SUCKAAAA#

10 levels battery Status

I'm currently working on my idea of having 10 levels battery status instead of 100%. It'll work as 9s, 8s, 7s etc. 100% of battery levels divided into 10 pieces. I don't like 100% battery percentage. It's like a torture to me. I don't have a problem with who likes it or made it, it's your choice. No issues. But I need help with this. I don't know how to edit SystemUI and make these changes. Anyone who's interested in helping me, please come forward. I'll give you full credit.
http://forum.xda-developers.com/showpost.php?p=31158863&postcount=92
This is that SystemUI.
And finally thanks to vr5411
Vtrendzzy said:
I'm currently working on my idea of having 10 levels battery status instead of 100%. It'll work as 9s, 8s, 7s etc. 100% of battery levels divided into 10 pieces. I don't like 100% battery percentage. It's like a torture to me. I don't have a problem with who likes it or made it, it's your choice. No issues. But I need help with this. I don't know how to edit SystemUI and make these changes. Anyone who's interested in helping me, please come forward. I'll give you full credit.
http://forum.xda-developers.com/showpost.php?p=31158863&postcount=92
This is that SystemUI.
And finally thanks to vr5411
Click to expand...
Click to collapse
in that SystemUI I believe it is a matter of just replacing the right png's
if I give you the pictures to edit would you be able to?
EDIT: when you say 9s 8s etc
do you mean you want it to be 10 then 20 the 30?
or what?
Me‎ said:
in that SystemUI I believe it is a matter of just replacing the right png's
if I give you the pictures to edit would you be able to?
EDIT: when you say 9s 8s etc
do you mean you want it to be 10 then 20 the 30?
or what?
Click to expand...
Click to collapse
It's also editing some xml files. Specifically strings
Sent from my ST25i using xda app-developers app
Andrewasth said:
It's also editing some xml files. Specifically strings
Sent from my ST25i using xda app-developers app
Click to expand...
Click to collapse
not 100% necessary
if OP explains what he means by 9s 8s etc I could do it
That's easy. No need smali editing. But I don't have time for this. Sorry. But, others can help you too
Sent by typing on my Xperia Sola with my fingers using xda premium
I think you should see and read http://forum.xda-developers.com/showthread.php?t=1434061 <<< this!
Enjoy!
p.s.-I changed my battery style with that tool and "evikal" style. :angel:
/heavy modded stock ics inside white sola/
Decompile SystemUI.apk with apktool. Then go to res/drawable folder.
The files you need to edit are stat_sys_battery.xml & stat_sys_battery_charging.xml
Just open them with Notepad++ and add the required Battery Levels you need in the format of each file.
eg : (in 1st file)
<item android:drawable="@drawable/stat_sys_battery_10" android:maxLevel="10" />
<item android:drawable="@drawable/stat_sys_battery_20" android:maxLevel="20" />
<item android:drawable="@drawable/stat_sys_battery_30" android:maxLevel="30" />
etc..
After saving both, you need to add each image, stat_sys_battery_10.etc in res/drawable-hdpi or res/drawable-xhdpi folders. (If you want to use for Xperia P, xhdpi folder is must)
Finally, go to res/values/public.xml. The ids like '0x7f020041' are hexadecimal values. (Read Wikipedia if you have doubts) Find the largest hexadecimal id for type="drawable" then add new lines like this underneath :
<public type="drawable" name="stat_sys_battery_30" id="0x7f020042" />
The name should be the same filename you mentioned in the res/drawable xmls and also the files in res/drawable-hdpi folder. And the id's should be in increasing order. If the highest id you found for drawable is 0x7f020042, you need to add in order 0x7f020043, 0x7f020044,.... 0x7f02004a, 0x7f02004b... etc
If you have any doubts, let me know Hapy Modding !
Cheers
Min3r said:
Decompile SystemUI.apk with apktool. Then go to res/drawable folder.
The files you need to edit are stat_sys_battery.xml & stat_sys_battery_charging.xml
Just open them with Notepad++ and add the required Battery Levels you need in the format of each file.
eg : (in 1st file)
<item android:drawable="@drawable/stat_sys_battery_10" android:maxLevel="10" />
<item android:drawable="@drawable/stat_sys_battery_20" android:maxLevel="20" />
<item android:drawable="@drawable/stat_sys_battery_30" android:maxLevel="30" />
etc..
After saving both, you need to add each image, stat_sys_battery_10.etc in res/drawable-hdpi or res/drawable-xhdpi folders. (If you want to use for Xperia P, xhdpi folder is must)
Finally, go to res/values/public.xml. The ids like '0x7f020041' are hexadecimal values. (Read Wikipedia if you have doubts) Find the largest hexadecimal id for type="drawable" then add new lines like this underneath :
<public type="drawable" name="stat_sys_battery_30" id="0x7f020042" />
The name should be the same filename you mentioned in the res/drawable xmls and also the files in res/drawable-hdpi folder. And the id's should be in increasing order. If the highest id you found for drawable is 0x7f020042, you need to add in order 0x7f020043, 0x7f020044,.... 0x7f02004a, 0x7f02004b... etc
If you have any doubts, let me know Hapy Modding !
Cheers
Click to expand...
Click to collapse
well this mod includes 100 step battery so all he really needs is to delete lines from the files you mentioned
if I understood what he wanted correctly
No. I mean 10, 9, 8, 7 like this. Suppose the current battery is 95% then it should show 9 only.
What you said is true but you need to delete all the other lines, then the corresponding files & finally edit the public.xml to remove the extra lines.. And trust me, putting in the correct ids in Public.xml is annoying as hell
@Vtrendzzy, just make sure that the image you provide for each case shows only the 9 or 8
No problem mate. You can edit it whenever you've time and release it if you like my idea.
Yes, I deleted those extra lines but when I'm trying to recompile it, it's not working. And honestly, I'm new to this modding subject. I just have this idea but don't have knowledge to apply to it.
OMG! I'll have to take a class for that. Besides i'm a lil busy with my studies. Can you do it? Take full credit. I would've done it but I don't have it's basic knowledge even
Vtrendzzy said:
OMG! I'll have to take a class for that. Besides i'm a lil busy with my studies. Can you do it? Take full credit. I would've done it but I don't have it's basic knowledge even
Click to expand...
Click to collapse
easiest way would be to replace all 70-79 with same pic that says 7
80-89 with same pic that says 8 and so on
without touching any of the xml files
what do you want it to say between 0-9?
Okay I'll try it today. Between 0-9, I call it 1. See the circle around these digits will act as 100% but these digits will change when the voltage drops by 10%. So when it is showing 1, the critical battery level will be shown in red by the circle.
Vtrendzzy said:
Okay I'll try it today. Between 0-9, I call it 1. See the circle around these digits will act as 100% but these digits will change when the voltage drops by 10%. So when it is showing 1, the critical battery level will be shown in red by the circle.
Click to expand...
Click to collapse
I see
ok so 0-9 is 1
10-19 also 1 (?)
20-29 is 2 (?)
...
90-99 is 9 (?)
100 is 10 (?)
Oh I think that's a bug. 0-10 = 1, 11-20 = 2, 21-30 = 3 .... 91-100 = 10 like this.

How to change battery percentage text color?

Hello everyone,
I got Galaxy S5 running Lollipop. So far I have extracted SystemUI.apk and I have made some changes to Wifi/ Signal icons in my GS5 like making these look like Nexus 6. And Now I want to make my battery percentage text from white to black. I know to do it, we have to change some text in some XML file. But I can't find that file. So would anyone help me with this?
thanks
galaxyuser15 said:
Hello everyone,
I got Galaxy S5 running Lollipop. So far I have extracted SystemUI.apk and I have made some changes to Wifi/ Signal icons in my GS5 like making these look like Nexus 6. And Now I want to make my battery percentage text from white to black. I know to do it, we have to change some text in some XML file. But I can't find that file. So would anyone help me with this?
thanks
Click to expand...
Click to collapse
I haven't personally looked at it because I use 3minit battery. A good guess would be colors.xml in values folder or systemui? Not for sure though. There are a lot of color changes in there. Good luck!
If it is like JB...
You should go to res/layout/status_bar.xml (maybe its called "tw_staus_bar.xml") and find this line:
Code:
<TextView android:textSize="16.0sp" android:textColor="#ffffffff" android:id="@id/percentage" android:paddingLeft="4.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
You should change "android:textColor="#anycolour"" to the colour you want.
I hope this helps :good:
XDA Rule
galaxyuser15 said:
Hello everyone,
I got Galaxy S5 running Lollipop. So far I have extracted SystemUI.apk and I have made some changes to Wifi/ Signal icons in my GS5 like making these look like Nexus 6. And Now I want to make my battery percentage text from white to black. I know to do it, we have to change some text in some XML file. But I can't find that file. So would anyone help me with this?
thanks
Click to expand...
Click to collapse
Please post on the right forum.
Any questions you may have should be posted in this forum:
http://forum.xda-developers.com/galaxy-s5/help
#XDA Rule No. 15

(Guide) How To Theme Touchwiz 5.0 [SystemUI] [SecSettings.apk] DIY

These are just notes for myself, also to share to others what I've learned. I'll bring updates when I learn more. This can work if you want to port things.
YOU WILL ALSO NEED TO HAVE SOME KNOWLEDGE OF APKS OR THEMING!
Please also credit me if you used some of the things such as inverting the settings apk!
This thread will have different posts containing guides and extra links. It's too much to fit it under this post and will be confusing. Gimme time and yeah.
Just remember, the key to this is Layers. What is layers you ask? Well lollipop contains some internal code in which uses overlays. These are apks in which are used in phones, and many themes have used in lollipop. They are who made theming possible. They made everything 100% easier. Well, you can find layers on xda. Look in the s4 section and you'll see a few. In those layers apks, they tell you everything you need or what to change or even cherry pick. They contain changes that others how made, so even you can use. To sum this up, overlays that you can decompile and learn and see what you need to change in your apk to replicate it.
So, we all know touchwiz is the same on each device. This should work on many touchwiz devices running 5.0 and also a solution to your problems. I'm not an expert since I'm still in middle school but I have learned alot. There may be errors, you need to figure that out.
Let's get started
Tools you need
--------------------------
-Apk tool for touchwiz lollipop
-Notepad++
- A brain
- paint.net or anything like that
-Flashable zip so you can flash
-your systemui.apk or secsettings apk
Below will be links and a separate guide for each apk.
Credits:
-reggie cheeks for teaching me lots of things when kitkat was out.
-layers team/creators for making things a lot easy.
-ykkfive for expert knowledge on layouts xml. (Just a Boss at modding ?)
-names I forget
-DUHA
Links
---------------------------------------
Apk tool I use: http://forum.xda-developers.com/showthread.php?p=58139464 Simply drag your apks to in folder and decompile with program. You start editing stuff in the out folder.
---------------------------------------
FLASHABLE ZIP
Simply just use the advanced apk tool, decompile the apk, recompile with your changes, then add the apk in the zip flashable in the folder. There will be two folders, one framework and one systemui..
Heres the zip download that someone made and I just added the sub folders:https://www.androidfilehost.com/?fid=95916177934546640
That will make things easyier in lollipop
------------------------------------------------
COLOR CODES
When you need to change something likes #ff0000000 or somesort. This website should help you find the right colors. Make sure you LOWERCASE the letters. https://closedxml.codeplex.com/wikipage?title=Excel Indexed Colors
-DUHA
How to theme systemui apk
---------------------------------------
Now all credits go to this dude. I'll just link the thread since I don't want to copy any of his work. Everything you need is there [emoji14]
http://forum.xda-developers.com/showthread.php?p=59725314
Usefull link to understand Material Design
https://developer.xamarin.com/guides/android/user_interface/material_theme/
-DUHA
How to theme settings.apk
-------------------------------------------
Took me weeks to figure out until I found layers.. *facepalm*. Simply decompile your secsettings apk and follow along!
DUHAsianSKILLZ said:
In res/values go into colors.xml and change the text below to what ever you want. If you want black settings then I already filled those in
#ff000000
#ff000000
#ff269dcc
#ff52afce
#ff000000
#ff000000
Now in styles.xml
search for
or
(Depends on device)
and change it to
-----------------------------------------------------------------------------------------------------------------------
RECOMPILE ERROR in theme.material?!?!?! HERES AN ALTERNATIVE! FOLLOW THIS IF YOU HAVE ERRORS Like " cant find theme.material"
then find
and change to
so...... that should fix it. Just leave alone and that should fix it.
END OF ALTERNATIVE
-------------------------------------------------------------------------------------------------------------------
Back onto original instructions....
Now under that add or change (depends per device)
#ff99a9af
#ff0a0a0a
#ffffffff
#ff99a9af
#ffffffff
#ff99a9af
search for
style name="SettingsTheme.Panel" parent= @ANDROID:style/Theme.DeviceDefault.Light.Panel" />
and replace it with
Search for (just scroll up a bit)
and replace with
Now under that you will see @style/ActionbarIconDisable
Now add
#ff000000
Right under @style/ActionbarIconDisable
This is for black settings. I might be forgetting somethings but it should lead you somewhere. There may be some extra things I added by mistake. Hopefully it works fine for you, since I had to figure it out for my Tab S
EDIT: Just updated my post to include alternative incase of errors. Hopefully this leads you somewhere
Click to expand...
Click to collapse
Theming Settings APK Version 2.0
Now this is a revised version of theming settings apk. In styles xml changing a few things to Theme.Material inverts the whole apk to black. This was introduced in material design by default in which is prethemed. Android M allows you to change between light and dark instead of decompiling now lol.
Now to theme each aspect of the part of the apk to a certain color (like background=black and the Tabs to a blue color etc each element basically) is what I am trying to acheive here instead of usiing what google has already done. This is called custom theme in material design.
Ok
Under
and/ or
you can add these right under it (to both settings theme and theme.settings)
#ff333333
#ff333333
#ff3366ff
#ff0a0a0a @ANDROID:color/black
#ffffffff
#ffffffff
Now your wondering.. what does this do? Well this tells what color to be what in the settings apk! Ok so heres what each one means.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You can change the color code to what ever you want. Right now i am trying to figure out which is the text color and such since theres still alot more to go.
Now your probably wondering what color do i use for @ANDROID:color/black
That is the background color of the settings apk. It doesnt use hex color so you have to make a custom color in colors.xml since it reads the color in color.xml. By default, you can use black, cyan, yellow,red , white , blue. Say you want the background to be white. It will look like this @ANDROID:color/white
see just change the to the color name you want in the default list.
BUT WAIT! I WANT TO USE MY OWN CUSTOM COLOR THATS NOT ON THE LIST! Well if you want you to use your own custom color just put in the color you want in colors xml. Please NOTE THIS MAY NOT BE WORKING ATM!
For example in colors.xml add (you can use this in your to)
#3498DB
#77D065
#B455B6
#ffffffff
Change the name to whatever color yours is like my_orange etc. Then input your color code in your custom color. Then now save your color.xml
Now go back to @ANDROID:color/black
and change it to the color you named your color.
@ANDROID:color/my_orange
QUICK NOTE!
<item name="android:colorAccent">#ff800000</item>
That is the color of the battery graph, swiftches and a few more.
-----
res/layout/battery_history_chart.xml
Changes Battery Graph Text
-DUHA
How to port themes (systemui only)
---------------------------------
I have ported many Note 4 and also S4 themes. It's as simple of copy and paste.
Now, download any lollipop theme from the Note 4 or S4 themes and apps section. It must be a themed systemui.apk.
Now right click on the apk you downloaded and open with winrar or 7zip. Now go into res -> drawable-sw800dp-xhdpi or something like that. Somtimes it may look like drawable-sw600dp-xhdpi or something. Find the folder that has something like drawble-sw ....... something. Each device is different soo yeah. Now inside the drawable-sw (something) folder look for pictures named something like tw_quick_panel_ bla bla bla. Highlight all those tw_quick_panel pngs and drag them into (decompiled systemui from your device) your drawble-sw (something) folder. DO NOT COPY THE .9pngs. You will face errors.
Now after copying and pasting those pictures, its time to modify the colors.xml to match the colors of the systemui. Simply just follow this guide http://forum.xda-developers.com/gal...ow-to-theme-tw-systemui-t3065965/post59725314 and change the color codes to whatever the color the theme your trying to port. Then hit save and recompile. Done!
-DUHA
Using layers to full advantage and to help you!
---------------------------------------------------------------------------
Alright alright, we know that layers is really helpful. This thread is an example of one http://forum.xda-developers.com/gal...ers-overlay-rro-dark-settings-5-0-tw-t3073939. You can use that, but ask for permission first! Once you got permission to modify or use theme simply, download one and extract the apk to your apk tool. Now just decompile and yeah. After its decompiled, when you go in res folder, then vaules folder, you will see a few xmls like styles.xml and colors.xml. Those are the changes that are made/overlay changes in which you can use! They tell you exactly where to put what and what has changed to get those colors/ theme.
So so, now go into your decompiled apk (secsettings or systemui from your device) and compare the stuff in your values folder. Lets say you wanted to have a black themed settings you downloaded a black layers/overlay theme with permission. And you want you want to make your settings apk from your device themed black also useing that overlay. So in colors.xml of your settings apk from your device, fill in the stuff/change the color code to match the layers settings apk. MAtch those colors! Now in the styles.xml, all you need to do is find the same things and add stuff or change things like theme.light to theme.material. What Im saying is to try and see if you can match eachother and add things in order to get it themed. Those layers contain whats modded, so all you need to do is fill in the blanks/change yours slightly to match and get it themed.
Heres and example on what im talking about. Lets say your styles.xml has something like this below settings.base <item name="android:colorBackground">#ff181818</item>. and the layers apk has something like <item name="android:colorBackground">#ff000000</item>. So all you would need to do is change the #ff stuff in your settings apk to what ever the themed layers apk has. Somethings you may need to copy and add another line of text below it if your settings apk doesnt have what the layers apk has. Again fill in the blanks, compare eachother, and add them (school taught me this).
Hopefully you get what I mean
-DUHA
Notes to myself
Settings apk
Background of settings apk is <style name="SettingsTheme" parent="@android:style/Theme.DeviceDefault.Light">
Change to Theme.Material For Darker color.
ActionBar/ Right below status bar color of settings apk
FInd
in values/styles.xml
<style name="Theme.Settings" parent="@style/Theme.SettingsBase">
now add this below it (color code can be waht ever)
<item name="android:colorPrimary">#ff687074</item>
<item name="android:colorPrimaryDark">#ff687074</item>
Now do the same thing for
<style name="SettingsTheme" parent="@android:style/Theme.DeviceDefault.Light">
<style name="TabTheme" parent="@android:style/Theme.DeviceDefault.Light">
DEMATERILIZE and Get Lollipop Settings Apk to look Holo aka Kitkat
Find or something similrar
<style name="SettingsTheme" parent="@android:style/Theme.DeviceDefault.Light">
Replace With
<style name="SettingsTheme" parent="@android:style/Theme.Holo">
Find
<style name="GridTabTheme" parent="@android:style/Theme.Somethingidk" />
<style name="TabTheme" parent="@android:style/Theme.Somethingidk">
Replace with
<style name="GridTabTheme" parent="@android:style/Theme.Holo" />
<style name="TabTheme" parent="@android:style/Theme.Holo">
You may need to change the text color for popup/dialogs but hopefully this should do it if i remember correctly.
SYSTEMUI
SystemUI Brightness slider Tablets
Slider for both auto and off brightness
<color name="tw_progress_color_control_activated_thumb">#ffffffff</color>
<color name="tw_progress_color_control_activated">#ffffffff</color>
<color name="tw_progress_color_control_disabled">#ffffffff</color>
Slider background
<color name="tw_progress_color_control_normal">#ff6c7174</color>
SYSTEMUI HOLO Volume and swtich on Lollipop
FInd
<style name="systemui_theme" parent="@android:style/Theme.DeviceDefault">
and change to
<style name="systemui_theme" parent="@android:style/Theme.Holo">
Nice thanks you. ..
Sent from my SM-T310 using XDA Free mobile app
Nice Thanks for your Work [emoji6] [emoji6]
Hi @DUHAsianSKILLZ,
if I ask you to theme Note 8's systemUI, you would probably going to say "NO", but asking won't hurt
jazzespresso said:
Hi @DUHAsianSKILLZ,
if I ask you to theme Note 8's systemUI, you would probably going to say "NO", but asking won't hurt
Click to expand...
Click to collapse
Is it lollipop or kitkat? I've been busy with projects in school ? I've got 4 projects due by the end of this month ? I usually don't say no to things but I may say "wait".
Sent from my SM-T800 using Tapatalk
KitKat 4.4.2 , no rush i will wait
In SecSettings there are sometimes two lines of text. A main line and a secondary smaller line with descriptions usually. How to change the color of the text in those lines is what I am trying to do. Any ideas please?
bobfrantic said:
In SecSettings there are sometimes two lines of text. A main line and a secondary smaller line with descriptions usually. How to change the color of the text in those lines is what I am trying to do. Any ideas please?
Click to expand...
Click to collapse
I have no idea. Some of the text for me just magicly turned white. The only thing I can suggest is looking over an layers settings apk that has what you want. That's how I learned how to invert secsettings.
Sent from my SM-T800 using Tapatalk
jazzespresso said:
KitKat 4.4.2 , no rush i will wait
Click to expand...
Click to collapse
Been a while since I was on Kitkat. I have no idea what to theme what anymore. I've been on lollipop to much in which I forgot. Sorry.
Sent from my SM-T800 using Tapatalk
DUHAsianSKILLZ said:
I have no idea. Some of the text for me just magicly turned white. The only thing I can suggest is looking over an layers settings apk that has what you want. That's how I learned how to invert secsettings.
Sent from my SM-T800 using Tapatalk
Click to expand...
Click to collapse
Found it. framework-res go to res/colors/primary and secondary text dark xmls
Galaxy Tab S 8.4 Lollipop update demonstration: https://youtu.be/8Hw9QLOEgOM
DUHAsianSKILLZ said:
How to theme settings.apk
-------------------------------------------
Took me weeks to figure out until I found layers.. *facepalm*. Simply decompile your secsettings apk and follow along!
-DUHA
Click to expand...
Click to collapse
I think i may have found a reason for some of the recompile errors people may be having,
in the section here
search for
style name="SettingsTheme.Panel" parent="@android:style/Theme.DeviceDefault.Light.Panel" />
you are missing the first < so when people are copying and searching it highlights that exact text ( if using notepad++ like me ) so when you then copy and paste the text to replace it you are ending up with a line like ( <<style name="SettingsTheme.Panel" parent="@android:style/Theme.DeviceDefault.Light.Panel" /> ) and due to the double << this will cause compile errors, i had this same issue until i looked through all changes carefully and my notepad++ had highlighted the error text
Hope this help
BongOfWar
---------- Post added at 04:03 PM ---------- Previous post was at 03:26 PM ----------
this is my theme im working for my custom rom, with help of your guide, tyvm
BongOfWar said:
I think i may have found a reason for some of the recompile errors people may be having,
in the section here
search for
style name="SettingsTheme.Panel" parent="@android:style/Theme.DeviceDefault.Light.Panel" />
you are missing the first < so when people are copying and searching it highlights that exact text ( if using notepad++ like me ) so when you then copy and paste the text to replace it you are ending up with a line like ( <<style name="SettingsTheme.Panel" parent="@android:style/Theme.DeviceDefault.Light.Panel" /> ) and due to the double << this will cause compile errors, i had this same issue until i looked through all changes carefully and my notepad++ had highlighted the error text
Hope this help
BongOfWar
---------- Post added at 04:03 PM ---------- Previous post was at 03:26 PM ----------
this is my theme im working for my custom rom, with help of your guide, tyvm
Click to expand...
Click to collapse
Your pictures don't load. But thanks for the tip!
Sent from my SM-T800 using Tapatalk
DUHAsianSKILLZ said:
Your pictures don't load. But thanks for the tip!
Sent from my SM-T800 using Tapatalk
Click to expand...
Click to collapse
hopefully they will show this time bud

Categories

Resources