yashsingh1/xdaforums huggingface dataset:
[One (M8) Themes and Apps] agro1980:
Does not work, nothing has changed.
[One (M8) Themes and Apps] ineedone:
Sort to say, but this is not the viper support thread, move to the appropriate thread
[One (M8) Themes and Apps] Krocko:
Very helpful post. Respect!

This has nothing to do with Viper support.

He asks for an overlay color. What's wrong with you?
[One (M8) Themes and Apps] ineedone:
As far as I know this used to be some setting in vipertweaks app, though I could be wrong as it's been a long time since I used viper. If so, sorry, I misunderstood/misinterpreted
[One (M8) Themes and Apps] Basil3:
I have a solution/workaround for you. Will post screenshot now from device, then instructions in a minute from pc.

alright, so with the clear all recents mod, you'll notice there's an addition to recents.xml, where the clear all icon is added. in this xml, you can see the ripple drawable that is used when you press on clear all:

android:background="@drawable/ripple_drawable"

this is what gets coloured orange. when you go and look at this ripple_drawable.xml, you can see that the colour used is:

<ripple android:color="?android:colorControlHighlight"

now i don't know how exactly that dynamic colour is controlled, but for whatever reason, it wants to be orange.

all i did was duplicate that xml, called it ripple_drawable_recents.xml, then changed the colour from ?android:colorControlHighlight to whatever. In the screenshot, I've used #99ffffff, which is probably a bit too strong. After that, just change the recents xml to use ripple_drawable_recents instead of ripple_drawable.

Edit: maybe didn't make this clear.....all edits are in SysUI
[One (M8) Themes and Apps] Neo:
Awesome!! That's exactly what I want right there :)
[One (M8) Themes and Apps] Neo:
Thanks! So all I'd really have to do then is change the <ripple android:color="?android:colorControlHighlight" to android:color="#HexValueIWant"

Sound about right? I'm assuming this change was made in SystemUI
[One (M8) Themes and Apps] Basil3:
You could just change that value...that's a really dirty way of doing it :D

That value is used over 60 times in sysui, and i'm sure that by the nature of it, it changes colour in some instances.....so just changing that one value would definitely have a knock-on effect....I just don't know how bad it will be.
[One (M8) Themes and Apps] Neo:
Thanks!

I'll let you know here if I notice anything wonky after doing it that way :D
[One (M8) Themes and Apps] kc6wke:
Notification Icon colors 5.0

Does anyone know how to change or what controls the notification icon color in the L/H side of the status bar on 5.0, like download arrows, mail, playstore, message etc. It used to be png's but changing them has no effect.
[One (M8) Themes and Apps] Mr Hofs:
When i change the statusbar icon of let's say the mail app (envelope) it is the colour i changed it to when i receive mails. Not sure why it shouldn't for you ?

Edit :

Sure you are theming the correct drawable folder ?
[One (M8) Themes and Apps] dmonium:
Thanks For the idea, I was looking for this

I've used #33ffffff, it's similar to others
[One (M8) Themes and Apps] agro1980:
Help me please. How to change color of this background and these black dividers?
[One (M8) Themes and Apps] kc6wke:
Yes I've changed the stat_notify_XXXX Icons in the xxhdpi folders (apps and frameworks) and they still stay white. This worked on kitkat, but lollipop just cant seem to get them to change.
[One (M8) Themes and Apps] Basil3:
Are you sure these apks dont use xxhdpi-v4 by default now?
[One (M8) Themes and Apps] ineedone:
There is a color overlay for those icons. in BaseStatusBar.smali of SystemUI.apk, you find

invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

move-result-object v2

const v3, 0x106000b

invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getColor(I)I

move-result v2

invoke-virtual {v1, v2}, Lcom/android/systemui/statusbar/StatusBarIconView;->setColorFilter(I)V

you can change 0x106000b (color/white from framework-res) to an other color reference, in your case you could change it to 0x7f0a0003 (system_bar_background_transparent = #00000000) which would obviously make it transparent, or any other color reference if you want them to have a specific color.
[One (M8) Themes and Apps] agro1980:
On Viper rom it changes here: SystemUI\Data\smali\com\android\systemui\statusbar\BaseStatusBar.smali

invoke-virtual {v4}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

move-result-object v4

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

invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getColor(I)I

move-result v4

invoke-virtual {v3, v4}, Lcom/android/systemui/statusbar/StatusBarIconView;->setColorFilter(I)V
[One (M8) Themes and Apps] kc6wke:
That was it. Thanks so much greatly appreciated:D
[One (M8) Themes and Apps] OMJ:
Anyone?
[One (M8) Themes and Apps] agro1980:
Tell me ,please,where it is possible to change this white background color?
[One (M8) Themes and Apps] Kiray1982:
Should be the ap_background_color in colors.xml
[One (M8) Themes and Apps] agro1980:
Tell me,please,where in Mail.apk change these colors:background and text?
[One (M8) Themes and Apps] mvladimir199:
Hi!

Help Me please

Where to look for the slider (Runoff is white), marked in red

Worth module TheDarkSix and he is black here and there

Android 4.4.2 Sense 6.0

InsertCoin 3.0.8
[One (M8) Themes and Apps] Mr Hofs:
Slider in red ? You mean the pause button only ? If so its in com.HTC.resources.apk : drawable-xxhdpi folder.
[One (M8) Themes and Apps] mvladimir199:
What you need around the pause button (as if the duration of the track)
[One (M8) Themes and Apps] threetwentyfizzle:
Hey all, I've backread and searched this thread trying to find a solution, but has anyone been able to change JUST either the Music notification widget background on the lock screen ONLY?, and leave the white material background alone for other notifications? I'm trying to fix the White text on white background for a dark inverted theme.

Or another solution to change the text color for the music lockscreen widget without altering it for all other notifications?

The only thing I've been able to do to fix the white on white issue is to invert the notification backgrounds, but then I can't figure out what controls the notification panel text colors.. if any of that makes sense. Screenie enclosed

Thanks guys for the help

.
[One (M8) Themes and Apps] fisha21:
We had the same issue with the Google music notification and our inverted theme. I managed to fix it by editing colors.xml/notification_material_background_media_default_color in systemui

Seems like in Lollipop, different types of notifications use different colours. I did make a screenshot of which notifs used which colour, will post it here if I haven't deleted it yet!

EDIT: screenshot attached
[One (M8) Themes and Apps] Mr Hofs:
You just can't resist eh ! :)
[One (M8) Themes and Apps] threetwentyfizzle:
Thanks so much [MENTION=704359]fisha21[/MENTION] ! I think I did try hex editing the notification_material_background_media line to an inverted color, but its still appearing as white on the lock screen, (and pulldown). I'll have to double check later today to confirm. If its a worst case scenario, and I can't just alter the music notification, you know where I can invert the notification text to be white on a dark notification background? I couldn't figure that one out either.

Thanks again for the assistance and sharing your grand knowledge! This threads been a lifesaver for me lol.

☺
[One (M8) Themes and Apps] fisha21:
Haha, well I have to keep the grey cells ticking over somehow....just forget it all otherwise!

Haven't looked into notification text colour for the last several Sense versions I'm afraid. Latter versions of Sense have used system-wide text colours from either com.htc.resources.apk or framework-res.apk, so probably worth digging into those. Other place to look would be colours.xml and styles.xml in SysUI. Do let us know if you work it out!
[One (M8) Themes and Apps] autogeek:
Hey guys,

I'm wondering if anyone might have a clue on where to start to look to remove the LTE text from my status bar? I'm on Sprint with an m7 using viper lollipop rom. It's the Sprint spark LTE text that sits next to the data icon. I've never played with removing things from the status bar so I figured maybe someone here can help narrow down my search a little.
[One (M8) Themes and Apps] Basil3:
Yeah, I did a zip which removes it. It might work if you flash it, but at the very least you can see the xml I edited.

https://www.dropbox.com/s/atozlz5f3tmv5bn/sprint_remove_LTE_text.zip?dl=0
[One (M8) Themes and Apps] autogeek:
Thanks man! I will pick through it later tonight.
[One (M8) Themes and Apps] agro1980:
Help me please to correct a background color
[One (M8) Themes and Apps] kc6wke:
Does anyone know where the "Android is upgrading" white background on boot is located in 5.0?
[One (M8) Themes and Apps] Mr Hofs:
Should be a material background in colors.xml in framework res apk. If i am correct its a floating material background.
[One (M8) Themes and Apps] agro1980:
Would be correct background_floating_material_light.It is possible to add also the background.
[One (M8) Themes and Apps] kc6wke:
Thanks Guys
[One (M8) Themes and Apps] Rushing:
Sense 7

Do the recompiling zips work on sense 7 Lollipop? I havent tried replacing them before decompile yet, thanks... EDIT #3 : I notice that the framework-res-htc.apk pic fixes are not on download page or didnt see them. got systemui to recompile but still framework-res-htc wont decompile??? any tips? TIA

ERRORS

I: Loading resource table from file: /home/odin/apktool/framework/1.apk

W: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x0307006a

the supposed errors go on and on =]

edit #5 or so: I only apktool if framework-res.apk and framework-res-htc.apk are there others I need to IF.... sorry for the mess =[
[One (M8) Themes and Apps] Mr Hofs:
All apk files can be decompiled and recompiled fine on my PC using the provided apk tools here by Raymond and basil

:)
[One (M8) Themes and Apps] 2WildFirE:
+1 fully agree

powered by SkyDragon ROM
[One (M8) Themes and Apps] skeleton1911:
hi guys.

i have a problem with the htcdialercontacts.apk

i cant find the path to change that background.

its the background when you search contacts.

hope anyone can help . :)
[One (M8) Themes and Apps] ineedone:
hi mate, found it! in Dailer.smali of HtcContactsDialer

.method private initListView()V
.locals 4

const v3, 0x106000b

invoke-virtual {p0}, Lcom/htc/htcdialer/Dialer;->getListView()Lcom/htc/lib1/cc/widget/HtcListView;

change to:

.method private initListView()V
.locals 4

const v3, 0x7f0c00ef

invoke-virtual {p0}, Lcom/htc/htcdialer/Dialer;->getListView()Lcom/htc/lib1/cc/widget/HtcListView;

now it uses ap_background_color from color.xml :)
[One (M8) Themes and Apps] skeleton1911:
thank you very much :) that fixed it .:good:
[One (M8) Themes and Apps] ineedone:
Hi,did you ever solve this? I have the same issue, also when I touch that textmessage imputfield it turns back to white.
[One (M8) Themes and Apps] agro1980:
Not solved the problem, and no one helped.
[One (M8) Themes and Apps] Mr Hofs:
If no one knows the answer they can't help. Its not that people are not willing to help.

Sometimes your posts come across a bit less polite and kinda demanding. Maybe English is not your native language, but even so i would friendly suggest to work on that.

:)
[One (M8) Themes and Apps] agro1980:
I think that it's not me, but Google Translate :confused:
[One (M8) Themes and Apps] Basil3:
I've started theming Sense 7 now, found the edit this morning

On M9, it's in Message.apk, line 328

\smali\com\htc\sense\mms\util\HtcSpecificInputField.smali in .method private a(Landroid/content/Context;Landroid/util/AttributeSet;)V

const v1, -0x1

Change the -0x1 to whatever colour you want.

(I think on M8, it may be different line)
[One (M8) Themes and Apps] ineedone:
Thanks for the edit! For me it was in line 264
[One (M8) Themes and Apps] phikal:
Im trying to port a theme (bindroid) from 4.4.2. to 4.4.4.

Wanna port the colors of theme 1 from one build to another.

Got stuck on recompiling the com.htc.resources.apk, keeps giving public.xml errors.

Did install framework, using VTS.
[One (M8) Themes and Apps] Mr Hofs:
I can zip up what i use to decompile/recompile all files tonight. Made some folders with what i use for the different apk files. But can't do that before 8 o clock this evening

:)
[One (M8) Themes and Apps] phikal:
Thx for the help mate !

No rush though, am working till tomorrow morning anyway.

Just to be sure, in the 4.4.2 rom (insert coin)default theme one has different colors then on the 4.4.4 ic rom. I am not sure if thats rom related or theme related.

The 4.4.2 theme zip only has a resources.arsc for the com.htc.resources.apk.

Could that file contain the theme changes like dailer edits and blinkfeed colors ?
[One (M8) Themes and Apps] Mr Hofs:
Yeah, the resources.arsc contains the values. So that means the color.xml and styles.xml (and some more files of course) are packed in that file which holds the main color edits.
[One (M8) Themes and Apps] phikal:
What would be the easiest aproach to add those edits to the 4.4.4 com.htc.resources.apk ?

I have no clue how to decompile a resources.arsc file.
[One (M8) Themes and Apps] Mr Hofs:
Open the resources.apk with 7zip, drag in the resources.arsc file into the apk and then decompile it. Then the edits are present in the decompiled file.

:)
[One (M8) Themes and Apps] Mr Hofs:
As promised, the stuff i use at this moment ! Apk tools + smali

https://www.dropbox.com/s/e15sua2oiwsdloi/APK Tools.rar?dl=0

Thanks to :

[MENTION=704359]fisha21[/MENTION] [MENTION=4380624]Raymond Ebertt[/MENTION] [MENTION=918378]Basil3[/MENTION] [MENTION=1148003]lyapota[/MENTION]

Not sure anymore which file comes from who but its coming from one or more of te above mentioned

:)
[One (M8) Themes and Apps] phikal:
Can i use those files with vts or does it has to be done with commandline ?

Verstuurd van mijn HTC One_M8 met Tapatalk
[One (M8) Themes and Apps] 2WildFirE:
Yes, u can use with vts.
[One (M8) Themes and Apps] phikal:
Last question for now :D

Will i need to also hexedit the original resources.arsc like it says here ?

www.usoftsmartphone.com/t127317.html

Thx for the great support, am learning here big time. :thumbup:
[One (M8) Themes and Apps] Mr Hofs:
Well don't think you need to do that. If you can decompile/recompile you don't need hex editing. Somebody correct me if i am wrong. Just compare edits and port/change what's needed.
[One (M8) Themes and Apps] 2WildFirE:
Hey guys in here, any chance to make a thread like this for sense7?

powered by SkyDragon ROM
[One (M8) Themes and Apps] ViNOK16Bit:
In some cases decompile/recompile breaks things. One example is One Gallery which accesses images you store in the cloud, Google Drive for example, through the gallery. To avoid that you could hex edit but a more easy way is to just drag your compiled resources.arsc out of the apk to the original apk.

Sent from my HTC One_M8 using Xparent Red Tapatalk 2
[One (M8) Themes and Apps] phikal:
Thx for the info !

Wouldnt know where to start without it. :thumbup:

Gonna try to finish my "little project" tomorrow.

Verstuurd van mijn HTC One_M8 met Tapatalk
[One (M8) Themes and Apps] phikal:
I tried with the new files but it keeps giving errors (mainly, no resources found that matches the given name) when building, decompiling goes fine even with the added 4.4.2 resource.arsc.

I am pretty sure i added the right framework files in vts.

Maybe someone would be so kind to try and tell me what im missing here ?

I added the needed files aswell as the needed 4.4.4 framework files as attachtment

What i am trying to do is to add the resource.arsc file coming from a com.htc.resources.apk (4.4.2) to the 4.4.4 com.htc.resources.apk.
[One (M8) Themes and Apps] ineedone:
Could be a good idea as theming is a bit different to sense 6, with the new theme engine, I'm sure we al want to figure out how to make use of it the xda way ?. Though also still a lot applies to sense7. But probably best to start one in m9 thread?
[One (M8) Themes and Apps] Mr Hofs:
Safer is to decompile the 4.4.2 and the 4.4.4 resources.apk. then compare and edit what's needed. That's to rule out errors between the values. Not just copy them over. Maybe entries and values are different, then you get errors also.
[One (M8) Themes and Apps] agro1980:
Tell me,please, where to change the color of temperature?
[One (M8) Themes and Apps] ineedone:
The theme you applied has a dark accent color. Where are your themecolors coming from?
[One (M8) Themes and Apps] Mr Hofs:
As far as i have seen it hangs together with the multiply colour. Not sure yet how to seperate those 2 entries.
[One (M8) Themes and Apps] ineedone:
Haha, seems your right didn't notice before
[One (M8) Themes and Apps] phikal:
I get what youre saying but i started with just decompiling the apk and then re-building without making any changes to the apk, i tried the different apk tools versions you uploaded (copied them to the vts directory) but it just wont build, even without any changes done to the file.

I guess if it would build i will just copy the theme one hex values from one file to the other file but because it wont recompile i am kinda stuck.
[One (M8) Themes and Apps] Mr Hofs:
Well just to clarify, I only use 1 apktool jar file in the vts apktool dir. I copy and replace them. They are called the same so inside vts i don't know which one is used. So i put the one i need in the directory and delete the other at that time so they don't mix up
[One (M8) Themes and Apps] agro1980:
I use ARHD One M8 41.0 rom and the color changes depending on the chosen theme. How to fix this color.
[One (M8) Themes and Apps] 2WildFirE:
i think so to.

atm i'm waiting for my m9 .
[One (M8) Themes and Apps] BrandonBaskin:
Modding Sense 7?

Can you tell me what software you are using to decompile Sense 7 apks?
[One (M8) Themes and Apps] Basil3:
I use Virtous Ten Studio (link in sig)....it's great.

I'm currently a beta tester, and I'm hoping sometime soon [MENTION=2295247]Diamondback[/MENTION] finds the time to push out an update, as he has added a couple of really nice features. Even with the current public release, it's really nice.
[One (M8) Themes and Apps] ineedone:
looking forward to that :)

some features i can think of, i like to see in this already great tool:

-a close all (except)button for opened tabs

-keyboard shortcuts to close current tab, navigate to next/previous opened tab

-Hovering above name of opened file in side list also shows full pad, like tabs showing across
[One (M8) Themes and Apps] ineedone:
Hi guys, anybody knows where this language screen is coming from? Looking for the font.. thanks
[One (M8) Themes and Apps] Mr Hofs:
Hmm never checked that, sorry !
[One (M8) Themes and Apps] Bebida:
Still here doing this then Basil? I'm feeling a return from myself soon.
[One (M8) Themes and Apps] Basil3:
Hey mate! Yep, still floating around.....

You're getting S6?
[One (M8) Themes and Apps] Bebida:
Yes mate the edge may look into a bit of java for functionality
[One (M8) Themes and Apps] phikal:
Does anybody know where to find the color of the numbers from the dailpad ?

Verstuurd van mijn HTC One_M8 met Tapatalk
[One (M8) Themes and Apps] Mr Hofs:
My guess would be the ContactsDialer.apk or the Telephony.apk .......

Got a question on the side, would anyone know how to "activate" the tilt/slash clock by default ?

Thanks in advance ! :)
[One (M8) Themes and Apps] maurydes:
Look in HTC.contact.dialer.apk/values /color around line 250/253[emoji6]

---------- Post added at 11:38 AM ---------- Previous post was at 11:29 AM ----------

Not a PC now but im sure come from framework.res.apk maybe....i forgot look on it later but you can try[emoji6]
[One (M8) Themes and Apps] ineedone:
Actually the one I was looking for , I just found in framework-res-htc. The one you get in settings/language & keyboard/language
[One (M8) Themes and Apps] maurydes:
Oooh good mate im sure is framework but have forgot it[emoji13] well happy you solve it[emoji106]
[One (M8) Themes and Apps] ineedone:
Don't know if you can simply activate it... Htc made the themes pretty tight, every theme seems to be checked against a checksum. Probably best to put the images in the original apk
[One (M8) Themes and Apps] Mr Hofs:
The slash clock images are already in the apk and the theme pulls them from there (tested it via a theme) but the clock is not default. maybe i am thinking way off or too difficult :D
[One (M8) Themes and Apps] ineedone:
Not sure if you mean this.. but probably this has to do with it. The default theme by htc is pulled from here : /system/customize/resource/theme/com.htc.theme.tb930c680-2eae-47da-909f-992e4f061056/WeatherClock.apk you can't change it there by simply modifying this as it get checked against the json file, or by simply deleting it here, but you can give it a try ?
[One (M8) Themes and Apps] Mr Hofs:
Thanks mate, will give it some attention and see what i can do :good:
[One (M8) Themes and Apps] phikal:
Found out that compiling with apktools 3.50 works best for me.

Compiles everything i throw at it.

Vts is much pickier with compiling, decompiling goes fine with vts but compiling gives lots of errors.

Verstuurd van mijn HTC One_M8 met Tapatalk
[One (M8) Themes and Apps] phikal:
I could use some help with weather app and the clock app (both 4.4.4), both apps won't theme (show a green theme always).

I did all the edits to color.xml and styles.xml on com.htc.resources.apk, prism.apk, htcweatherwidget and on weather.apk but no luck.

Cant find the color edit for notification screen clock and date also.

They seem not to be in systemui.apk.

Verstuurd van mijn HTC One_M8 met Tapatalk
[One (M8) Themes and Apps] ineedone:
Are you sure the apps didn't auto update from playstore?
[One (M8) Themes and Apps] phikal:
I guess so, they are in priv-apps and no option to remove in playstore.

The fact that the theme stays green in these apps seems odd, only does that when there is no reference if i recall right.

i assigned all themes with the same color combination in styles.xml from htc.resources.apk.

Its just the last points i have to do, then the theme iwanted is ported completly, i did all edit i could find in the original theme xml's but the heme is for 4.4.2, maybe thats the problem. Something changed with themes for those apps in 4.4.4 ?
[One (M8) Themes and Apps] ineedone:
Did you just change an exciting theme or did you add new ones in those apks? If so you probably need to add them also in arrays
[One (M8) Themes and Apps] phikal:
no, just porting a excisting theme from 4.4.2 to 4.4.4.

Found the strings for the apk's, had to make some edits in styles.xml to make it working.

If someone would know where to make to color edit for notification bar clock and date, would be great !
[One (M8) Themes and Apps] agro1980:
Why after decompiling and compiling file HomePersonalize.apk it did not run in menu Settings?
[One (M8) Themes and Apps] Hoangdat_vista:
how to transparent appdrawer on sense 7. Thanks
[One (M8) Themes and Apps] Raymond Ebertt:
I've looked into it and some of the edits have changed. I couldn't figure it out but I think I'll look at it again this week.
[One (M8) Themes and Apps] ineedone:
Htc themes allows you to set a background image for appdrawer, won't that give about the same effect ?
[One (M8) Themes and Apps] 2WildFirE:
Agree, this is the simplest way

powered by SkyDragon ROM
[One (M8) Themes and Apps] Hoangdat_vista:
I already know how to make sense 6.0. Full transparent. But sense 7, I don'k know

This is ROM SOUL 30 (Sense 7.0)

[/URL]
[One (M8) Themes and Apps] ineedone:
I see, if that's the case, you have some more digging to do ?. Hope you'll manage, looks cool!
[One (M8) Themes and Apps] Basil3:
Ask the Soul ROM guys where they got the mod from. They only steal stuff from other people, which is why you don't see their ROMs on XDA.
[One (M8) Themes and Apps] Hoangdat_vista:
oh! the same. If you know you can show me how to do that