yashsingh1/xdaforums huggingface dataset:
[Android Themes] JinbrianZ:
help~ -_-

hi, I have a problem will anyone help me? i did follow everything to make kitkat look a like in framework-res. in first picture the thing is when using only Light themes the OFF button cant be really seen while ON can. which should I edit in colors or drawables in res/values. thanx.

secondly, in the second picture how should I make my lockscreen in fully clear one like in the right pic, i want to remove the dim of my lockscreen seems it will not match on my status bar.(left one is my StockRom 4.2.2 MT6589 / right is from Cyanogen port to our ROM and without any third party like Xposed to make that full clear one.) thank you. hope somebody will help me. :D
[Android Themes] Calingo:
Request

Please make This Theme Compatible With Jelly Bean - Kitkat UI CM11 Theme
[Android Themes] :
<style name="TextAppearance.Holo.Widget.Switch" parent="TextAppearance.Holo.Small">
<item name="android:textColor">@android:color/secondary_text_holo_dark</item>
</style>

<style name="TextAppearance.Holo.Light.Widget.Switch" parent="TextAppearance.Holo.Small">
<item name="android:textColor">@android:color/primary_text_holo_dark</item>
</style>
[Android Themes] Diaz1999:
[MENTION=5266287]EnricoD[/MENTION] Hey! now I know it!

Why KitKat isn't all white/still have holo blue around and then we called it improperly designed?

Well, I think it's because KitKat is only a stepping stone! Just like in the past, the Honeycomb!

I think we should stop these and patiently waiting Material Design in action :good: :)

if u think I'm right :p
[Android Themes] rush25:
lol now you say this :D
[Android Themes] blackwatch92:
Scrubbers are still blue

help... i followed the guide step by step but the scrubber didn't change color. i have tested the fix posted on page 2 but still the same...

i already checked the pngs and i had already overwrite it with the provided resources...

running tw 4.1.2
[Android Themes] :
tw resources are named differently, search inside the framework for scrubber_control... or something like this
[Android Themes] blackwatch92:
Now that you mentioned it i found some xmls like that, gonna change its drawable now thankss
[Android Themes] Sami Kabir:
[MENTION=5266287]EnricoD[/MENTION]

I've managed to replace most of the blue-ish elements from here but this small part remains unchanged.

So can you please help me solve this small problem I'm having?

EDIT: I found a workaround.. I've replaced all the const/high16 v2, -0x4000 with const v2, -0x333334 in LinearColorBar.smali... Now the highlighted part on my screenshot above has disappeared, indicating that obviously I've done something wrong; but at least its gone.

I know its wrong, so can you please tell me if this will break any other things too?
[Android Themes] :
the only holo blue light values in a smali are

-0xff6634

just replace const v#, -0xff6634 with const v#, -0x333334

or search in colors.xml

give me also smali, maybe the holo blue light is argb or something else
[Android Themes] Sami Kabir:
- There were 3 "-0xff6634" in LinearColorBar.smali. I've already replaced 3 of them with "-0x333334"

- I've already set holo_blue_light to ff666666 (in colors.xml)

- I've attached my LinearColorBar.smali below:

View attachment LinearColorBar.zip

Thanks :)
[Android Themes] godlesplay:
how did you do that?
[Android Themes] :
i'm looking now, sorry for the delay :)
[Android Themes] :
I found this

const v6, -0x777778

sget-object v7, Landroid/graphics/Shader$TileMode;->CLAMP:Landroid/graphics/Shader$TileMode;

move v2, v1

move v3, v1

invoke-direct/range {v0 .. v7}, Landroid/graphics/LinearGradient;-><init>(FFFFIILandroid/graphics/Shader$TileMode;)V

invoke-virtual {v9, v0}, Landroid/graphics/Paint;->setShader(Landroid/graphics/Shader;)Landroid/graphics/Shader;

.line 80
:goto_0
iget-object v9, p0, Lcom/android/settings/applications/LinearColorBar;->mEdgeGradientPaint:Landroid/graphics/Paint;

new-instance v0, Landroid/graphics/LinearGradient;

div-int/lit8 v2, v8, 0x2

int-to-float v4, v2

const v5, 0xa0a0a0

const v6, -0x5f5f60

sget-object v7, Landroid/graphics/Shader$TileMode;->CLAMP:Landroid/graphics/Shader$TileMode;

move v2, v1

move v3, v1

invoke-direct/range {v0 .. v7}, Landroid/graphics/LinearGradient;-><init>(FFFFIILandroid/graphics/Shader$TileMode;)V

invoke-virtual {v9, v0}, Landroid/graphics/Paint;->setShader(Landroid/graphics/Shader;)Landroid/graphics/Shader;

.line 82
return-void

.line 77
:cond_1
iget-object v9, p0, Lcom/android/settings/applications/LinearColorBar;->mColorGradientPaint:Landroid/graphics/Paint;

new-instance v0, Landroid/graphics/LinearGradient;

add-int/lit8 v2, v8, -0x2

int-to-float v4, v2

[B][COLOR="Red"]const v5, [U]0x99cc[/U][/COLOR][/B]

const v6, -0x333334

sget-object v7, Landroid/graphics/Shader$TileMode;->CLAMP:Landroid/graphics/Shader$TileMode;

move v2, v1

move v3, v1

try to change that with -0x333334 and see what happens... (make a backup before trying )

if it won't works post decompiled settings, framework.jar and framework-res.apk ;)
[Android Themes] godlesplay:
[MENTION=4896492]Diaz1999[/MENTION] could you reply?
[Android Themes] Diaz1999:
which one? the scrollthumb indicator?
[Android Themes] godlesplay:
yes, white and grey scrollthumb
[Android Themes] the_vanya1:
I changed, but nothing changes
[Android Themes] godlesplay:
[MENTION=4896492]Diaz1999[/MENTION] so, could you help me?
[Android Themes] core720:
Please helpme... Dialer
[Android Themes] lacoursiere18:
Seems like its the right spot if it changed the one below.. If he doesn't respond I will look for you guys tomorrow
[Android Themes] Sami Kabir:
I actually like the way things are right now...
[Android Themes] lacoursiere18:
Yea looks good.. I think I see where you managed to make that gradient fade bluish whatever the hell it is disappear.. You are setting a color in the smali where it is spouse to be a value for the edge of it.. SO yea that would more than likely make it disappear..
[Android Themes] lacoursiere18:
This is still unchanged.. which is prob what you need to change..0x99cc is this color:

Here it is in the smali which I think someone else mentioned a few post back:

iget-object v9, p0, Lcom/android/settings/applications/LinearColorBar;->mColorGradientPaint:Landroid/graphics/Paint;

new-instance v0, Landroid/graphics/LinearGradient;

add-int/lit8 v2, v8, -0x2

int-to-float v4, v2

[COLOR="SeaGreen"] const v5, 0x99cc[/COLOR]

const v6, -0x333334

sget-object v7, Landroid/graphics/Shader$TileMode;->CLAMP:Landroid/graphics/Shader$TileMode;
[Android Themes] godlesplay:
[MENTION=4896492]Diaz1999[/MENTION] so, you won't help me?
[Android Themes] lacoursiere18:
I just gave you the location of it in the post above..
[Android Themes] godlesplay:
I don't see anything related to this http://xdaforums.com/showpost.php?p=54879265&postcount=746 in your post ;)
[Android Themes] lacoursiere18:
Where it says internal storage.. That gradient grey... In application/RAM manager..

Its looks to be a smali color edit.. I gave you the location of it in the smali..
[Android Themes] godlesplay:
I don't want change gradient color, I want have white and grey thumbscroll ;)
[Android Themes] lacoursiere18:
Ahh my bad.. Ill go to the corner now..:(
[Android Themes] Diaz1999:
I'm sorry, but recently i just finished reinstall my Windows8.1 at my laptop, so the guide is gone, either the drawables, but i still remember correctly how to separate the fastscroll thumb into holo dark and holo light. Just give me your styles.xml inside your decompiled framework-res

PS you're using LegacyXperia's CM too, right? Just wait until cm-11-20140906 arrived on your device, install, decompile framework-res, then give me your styles.xml
[Android Themes] lacoursiere18:
Just need to change the png call of the Light and Holo theme.. Show him.. Don't just do it for him =)

One of the apps prob uses the Holo theme and the other uses the Light Holo theme..
[Android Themes] Diaz1999:
ikr, i just forgot which line i've to change, i haven't setting up the apktool yet. besides, it's 8.24PM here, i need to sleep
[Android Themes] lacoursiere18:
Ill find it and post how to change it..Give me a sec
[Android Themes] godlesplay:
http://www38.zippyshare.com/v/64748692/file.html

yeah, I would like to know how do this
[Android Themes] the_vanya1:
How to remove this green line?
[Android Themes] lacoursiere18:
Not sure what Green line you referring too..
[Android Themes] Sami Kabir:
Try searching for "textfield" in your framework-res.apk.. There will be a lot of results in your drawable-(*)dpi folder.. Just look for the ones that are green and edit them to which ever color you prefer.
[Android Themes] varazir:
OOT But where can I find a list for all the standard colors without trying to understand the xml code ?

The Code for the blue, the white, the black background, how much is the screen dimmed when you get the manu and so on?

I have tried to google "kitkat android default colour codes" but no list explaining the codes.

I can't understand how hard it can be to get that list
[Android Themes] lacoursiere18:
What do you mean by "standard" colors.. There no such thing.. Android uses either Hex values (#ff000000), uses colors set by the framework (textColor=@android:color/white) in colors folder under res/ or colors.xml under values.
[Android Themes] varazir:
It's the Hex values in looking for.

The main theme on a nexus 5 is dark and light gray, blue and white. Like this
[Android Themes] lacoursiere18:
Ok.. That is not controlled by a hex value.. This is a dialog, which is a png inside of the framework. The main theme is Holo set in styles.xml
[Android Themes] varazir:
Ahh, well my hope was to make a scene in tasker with the same style/Color s etc.
[Android Themes] lacoursiere18:
What do you mean?

The theme it is using, Holo, can be applied to ANY android application..
[Android Themes] Klen2:
Thanks, i will use this guide to revert to holo blue on AOSB rom.
[Android Themes] varazir:
I can't find the option to apply that in a Tasker scene.
[Android Themes] M4XSUN:
Anyone got flashable zips for 4.4.4?
[Android Themes] Toni Suwanto:
[MENTION=4896492]Diaz1999[/MENTION] : bro,, have flashable zip of this whiteUi Mod for lx cm11?

sesama user lww hehehe
[Android Themes] Diaz1999:
I have it on my repository but, I haven't update it since 2 cm11.0 versions ago, because I focused on theming mike's cm11.0 into a l preview, without any cm11 theme :D
[Android Themes] Toni Suwanto:
Wow L.... :good:
[Android Themes] Umang96:
Here are alternater resources for hdpi, I tried the ones in OP, but got many artifacts, the ones i have attached works perfectly, tested on 480x854 [MENTION=353015]240[/MENTION]dpi
[Android Themes] 22sl22:
Android L Information

I know this is discontinued but anyway, if there's any life out there..............

Android L

L or Lollipop 5.0 is out as we all know. Material design is nearly everywhere, knocking out good chunks of Holo Blue but there is some remaining. After using L for a few hours here is what I found:

Like I said, large chunks have been removed throughout the system, such as (obviously there's more but i'm just giving a few examples):

Titanium backup, header/header line was blue, now gone

Scroll Bars (can't remember because I always used to use a custom one) but i'm pretty sure it was blue :good:

Iv'e only been using L for a few hours at most, just installed it but here's what I found:

The ugly snake rears its head once again.........

Root Explorer Headers plus headers in other places

Highlighting things in gallery

Few other things

I have most probably missed a few but once I use L more I will post more if I see:

And then there's the 'gray' areas, where it's really just personal opinion, such as Dialer and Contacts. Blue is there but it's not holo blue, it's Material. To me it looks great and doesn't need changing but that's just my opinion

Now I haven't looked at the latest ApkTool developments so I haven't peeked in the framework or anything. So for now i'm just posting this so that people know what need's to be done to L to make it complete. I'll take a look at the framework and things when I get time but I hope that the good devs and themers of this thread are not gone or haven't lost interest in removing holo blue so this serves as as a wake up call for anyone out there............ :good: :good:
[Android Themes] :
ATTENTION PLEASE! :)

I'm searching for someone who wants to continue support for this thread and keep the guide&mods alive and updated also for next big release, Lollipop :)

Just let me know if someone of You is interested, i will give him the op and other posts :)

thanks :p​
[Android Themes] abang:
good work at motoG stokrom 4.4.4

thank's a lot ;)
[Android Themes] Toni Suwanto:
waitting Complete Your KitKat look like Android L if any? :D
[Android Themes] Alls51:
Hey Buddy,Will This Guide Work For 4.2.2 ?

Thanks!
[Android Themes] :
i don't know because i've tried only on kitkat... but it should work
[Android Themes] :
seems like there are missing defined colors

e.g. color/white

declared here is not defined

color/title

_color

etc... There are missing colors...

How did You decompiled the .apk? did you used its framework?
[Android Themes] Haris Nilwan:
Nice guide mbah :good: , very helpful for noob like me :D
[Android Themes] bluepratham:
somehow i like black apps more

better for battery life also (samoled)

doesnt hurt eyes while sleeping

inverted apps (y)

personal opinion these are, dont bash me :p
[Android Themes] :
Some devices (e.g. moto g) have different patched .9.png... if I will find them I will share :)

Post framework-res.apk and settigns.apk ..i will look as soon as possible :)
[Android Themes] DaRkRhiNe:
OK the modified one or the og one???
[Android Themes] cirrhus:
So, that .9.png is the reason my N4 is having this display error - ok.

Guess I've got to learn to deal with these grey line for the moment then.
[Android Themes] nemofbaby2010:
odex files

when making the flashable zip my rom uses odex files should i put those in the zip as well?
[Android Themes] DaRkRhiNe:
I noticed now that when I compile the apk for the first time , only androidmanifest and others are formed. Meta info folder is not created> Can that be that problem??
[Android Themes] :
Yes.. :)

If You don't re-add meta-inf it won't work
[Android Themes] :
For .odex flash and then delete the .odex files... :)

it's strange, because rush25 used these resources in N4 forum to theme the stock and he had no problems...

https://github.com/SlimRoms/packages_apps_Settings/tree/kk4.4/res/drawable-xhdpi

For N4 should be ok
[Android Themes] nemofbaby2010:
also for people who dislike using command lines i found a apktool with a gui, i just used it and it worked perfectly:

https://code.google.com/p/super-apk-tool/
[Android Themes] DaRkRhiNe:
No luck tried every possible solution :(
[Android Themes] nemofbaby2010:
Only issue I have is my ram usage is will blue did I forget a code somewhere?
[Android Themes] :
can You post the settings and the framework.. tomorrow i will look for errors and i will explain better ;)

-----

added also some fixed text fields resources for xhdpi... thanks to rush25

now i'm tired... we'll see tomorrow XD :)
[Android Themes] DaRkRhiNe:
Original framework and settings

- https://www.dropbox.com/s/qcd32swro1o3c1m/framework-res.apk

- https://www.dropbox.com/s/drwowxo915t02cf/Settings.apk

My phone Samsung galaxy s advance [Hdpi]
[Android Themes] cirrhus:
Got help from rush25, fixed now. Had to change some files in framework-res.apk and flash again.

All good now.
[Android Themes] :
yeah..i see..i added also that files in op :)
[Android Themes] AHomelessGuy:
kinda makes you wonder why google didnt do this in the first place when kitkat was released lol
[Android Themes] :
try this

http://xdaforums.com/showpost.php?p=50146968&postcount=93

but please don't overwrite with the file provided there, just make the same modification yourself :)

I don't know... maybe samsung firmware is different :) don't know.if you post the files i will look inside :) thank YOu
[Android Themes] username4this:
Flashed and everything is working fine on my N7 2013 except two things.

When it first boot the wallpaper was screwed, after reseting the wallpaper it worked fine.

The second issue, more severe is, whenever I long press the power button it reboots the device. Google boot animation shows up and it boots up. I can't turn it off or reboot. Only though xposed framework.

Any ideas? I'm on ElementalX Kernel and CleanRom.

I didn't wipe cache or anything else. Should I do it?

Thanks!
[Android Themes] nemofbaby2010:
Was there a fix for the disappearing white text?
[Android Themes] brainless00:
me too :confused: the complete KitKat theme looks much better, but I like the Jelly Bean theme too
[Android Themes] kogli:
Is there anyone who would make a CM theme? I don't wanna do all this, I change ROMs too often :D

Odesláno z mého GT-I9000 pomocí Tapatalk 4
[Android Themes] :
ADDED A DOWNLOAD FOR STOCK ROMs ODEXED (NEXUS 5) by [MENTION=5187906]engraver65[/MENTION]

https://mega.co.nz/#!cVpzHRxb!Pt0QTL_c87amjY1p0q49aozLYwjRxQ59kgqaSF7vJ88
[Android Themes] :
thanks .. i'm looking into it right now :)
[Android Themes] :
This is not a flashable zip because I don't know if You have it in system/app or system/priv-app :)

View attachment Settings.zip

Hope this will work :)
[Android Themes] DaRkRhiNe:
It worked !!

The one I had made was smaller in size About 200 ~ 300 kb

Can you plzz tell me How you fixed it?

And plz can you also upload your apktool

I think mine is buggy

Thanks a ton bro, really appreciate your help :good::highfive:
[Android Themes] :
I used the one in OP... :)

I just followed instructions... no magics :P

Maybe You make some mistakes in .smalis...

How You do that? :)

for example... when you change

.prologue

- const v0, -0xff6634

to

.prologue

+ const v0, -0x333334

You should replace only ff6634 with 333334 and keep the original structure of the smali :)
[Android Themes] DaRkRhiNe:
Yea I took special care in that

Don't know what is causing the problem
[Android Themes] :
Try to delete

C:\Users\Administrator\apktool

folder

and refresh framework-res.apk installation :)
[Android Themes] DaRkRhiNe:
Ok will try again and report

---------- Post added at 06:58 PM ---------- Previous post was at 06:49 PM ----------

No luck

Plz post your apktool

I am using this one

[Window XP_7_8][GB_ICS_JB_KK] Apktool - baksmali - Signer v3 Mixed by ibanez7
[Android Themes] :
Sure..

I use the official by ibotpeaches ;)

View attachment apktool-install-windows-r05-ibot.zip
[Android Themes] DaRkRhiNe:
Your apktool worked ... Yay !! :victory:

Thanks a lot for your patience

Learned something today :laugh::angel:
[Android Themes] bpdev:
Has anyone tried this on Paranoid Android for the nexus 5 yet?
[Android Themes] Gingerbread1611:
I've tested it on my Nexus 7 (grouper) and Galaxy Nexus (maguro) and it works fine.

If someone is interested ehres the download: https://drive.google.com/folderview?id=0B9qdBehTf7HudUQtRFZoVjVuaTA&usp=docslist_api#
[Android Themes] :
Cool! Many Thanks :)
[Android Themes] :
Post the files needed and someone will do :P
[Android Themes] Gingerbread1611:
I have to thank you for this great guide! :)

I will also do other nexus devices as requested in the G+ community of Paranoid Android, i will post them later here. :)
[Android Themes] :
Ok.. thanks a lot friend :)

really appreciate :)
[Android Themes] droid_junkie:
Can you also change the blue background on the icons the the Notification drawer?

Something like this:
[Android Themes] Gingerbread1611:
Mako is done and Hammerhead is uploading (Which can take a little bit)

https://drive.google.com/folderview?id=0B9qdBehTf7HudUQtRFZoVjVuaTA&usp=docslist_api#

Please let me know if everything works (Do a backup first.) MPlease test also the revert to original zip.
[Android Themes] :
thanks ..will look into this :)
[Android Themes] unseenvision:
Thanks!
[Android Themes] antoxa2584x:
Anyone done this for crDroid Simple?

I cant right decompile apk files from that rom(
[Android Themes] :
it's a know problem with slimbean/slimkat and all roms that implement his trsd theme engine feature

these roms are impossible to decode :(

http://xdaforums.com/showthread.php?t=1755243&highlight=slimkat&page=224

You should wait until ibotpeaches will fix this in aapt or for slimkat official apktool

https://github.com/SlimRoms/apktool

but still no updates..

it's outdated but you can try and see if it works

https://github.com/SlimRoms/apktool/tree/jb-ver-1.x/apktool-compiled
[Android Themes] antoxa2584x:
Ohh((

Will be nice if Cristiano Matos from crDroid will use this mod in his rom.

I hate this ics blue colors)
[Android Themes] :
ask him to merge slimkat commits.. are in op ;)
[Android Themes] bpdev:
Works perfectly! Thanks.

+1 this is an awesome idea. The only other thing that could be better is the top of the in call screen. I think it should be a little bit darker.

Sent from my Nexus 5
[Android Themes] donjamal:
This will only work as long as the app uses the built in notification template. For instance, GoogleDeskClock doesn't use it from the framework, therefore you either have the blue bar or change it in there as well

Unless I missed something (which honestly, I doubt)

Sent from the outer space, delivered by an android using a 4th gen nexus
[Android Themes] Guto ViP:
Someone can port this to Moto X? Please....
[Android Themes] mekanismen:
Just wanted to add, in case someone's looking to change it, that the color of highlighted text, such as in the picture below, is set in framework-res/res/values/colors and in these two lines:

<color name="highlighted_text_holo_dark">#6633b5e5</color>
<color name="highlighted_text_holo_light">#6633b5e5</color>

I currently have mine set to #66ffffff for holo dark and #66000000 for holo light.
[Android Themes] tazlooney89:
any solution to this problem? please! http://xdaforums.com/showpost.php?p=50170450&postcount=49
[Android Themes] payas0:
can you make one for maguro as well ? thanks !
[Android Themes] hemantv:
+1 for maguro. ;)
[Android Themes] mjuhari:
This clear guide confirmed working on CM11 HTC Sensation (Pyramid)

Thanks [MENTION=5266287]enricocid[/MENTION] ,

My first time editing smali and decompiling apk, and your clear guide make it looks almost flawless and bug-less.

I use HTC Sensation (Pyramid), CM11 ROM (Android 4.4.2)

(ROM URL: http://xdaforums.com/showthread.php?t=2530073)

I needed to do an extra editing when following your guide, I had to define white color in colors.xml of SystemUI.apk, otherwise it's causing error when recompiling the apk.

If anyone with the same phone and ROM want to flash the MOD, you can download it from here (file size 49 MB) and flash via recovery.

You can revert back to the original look by flashing this (file size 46 MB) in recovery.

[MENTION=5266287]enricocid[/MENTION] and moderators, please let me know if I'm not supposed to share the link, and I will remove it.
[Android Themes] :
don't worry bro :)
[Android Themes] Gingerbread1611:
Maguro is already done.

(more roms will come soon.)
[Android Themes] hemantv:
Oh yeah, found it. But as it is PA version, I think I'll have to wait as I'm on CM 11.

Still thanks!
[Android Themes] payas0:
can i try this on CM11 ?
[Android Themes] :
ADDED INSTRUCTIONS TO THEME

GoogleCamera.apk

added also a separate flashable mod for N5 stock rom deodexed

will update also the aio mods for n5 with new googlecamera as soon as possible ... :)

Thanks to:

- [MENTION=3185139]kroz[/MENTION]

- [MENTION=4337046]rush25[/MENTION]

- [MENTION=4770534]snak3ater[/MENTION]

- [MENTION=2428855]Etihad[/MENTION] for the infos ;)
[Android Themes] :
Nooo :) it will bootloop if you try :)
[Android Themes] payas0:
thanks for the warning. :)

can i request one for CM11 then ?
[Android Themes] hemantv:
[MENTION=5523492]Gingerbread1611[/MENTION] already said that he is building for other roms too. So let's wait.
[Android Themes] :
thank You ! :)
[Android Themes] mekanismen:
No thank YOU for the guide. My phone's looking way more consistent and therefore also way better now!
[Android Themes] :
post decompiled framework-res... maybe you missed something :)