yashsingh1/xdaforums huggingface dataset:
[One (M8) Themes and Apps] garyd9:
One thing that really annoys me about "sense" is that HTC really has a thing about it's own weather widgets. Not happy with just having them exist, they FORCE users to see them on the lockscreen and a few other places. I'm trying to get rid of them, but they seem to be buried in the most unusual of places.

The particular thing I'm TRYING to track down right now (so far unsuccessfully) is the resources/smali used to display the 4x1 weather widget looking thing when the phone is locked (just slide lock, not PIN locked) and you get an incoming call, or just missed an incoming call, or a timer is sounding, etc. Does anyone happen to know where that is located and/or how it's called from several different modules? (including Phone, WorldClock, etc)?

The one thing I'm sure of is that, despite the illusion HTC tries to create, the 4x1 weather mentioned above is NOT just a transparent area showing the normal lockscreen widget.

Thanks

Gary
[One (M8) Themes and Apps] ssojyeti2:
An xposed molecule already exists to remove that...the thread is somewhere in this phones theme section
[One (M8) Themes and Apps] garyd9:
The only thing I've found is a thread to disable the lockscreen widget. (I'm active in that thread.) If that's what you're referring to, then you didn't read my post (or I wasn't clear in what I asked for.)

The 4x1 weather "widget" shown when getting an incoming call (or when a timer expires, or there's a clock alarm) is NOT the same as the one for the lockscreen. It looks the same, but it's not the same. I can completely disable the HTC lockscreen weather widget, and the one I'm asking about still comes up.

On the other hand, if you did understand my question and you're referring to a different thread, please feel free to call me an idiot while linking to the thread - as I can't seem to find it. (Rather than search, I've actually checked every thread in this section... there are only 5 or so pages of threads.)

Thanks

Gary
[One (M8) Themes and Apps] ssojyeti2:
Nope, it was me who misread! Good luck finding that widget, I may do some digging tomorrow once I get vts set up :)
[One (M8) Themes and Apps] Basil3:
As far as I can see, (unless viper is different to stock) the widget you're talking about is some kind of messy leftover from HTC. They removed all weather animations in sense 6, bit the ones you talked about still animate, weird stuff as you never actually get a chance to view the animation since you're too busy turning off an alarm or answering the phone.

Sent from something using Tapatalk
[One (M8) Themes and Apps] Mikanoshi:
For those who used VTS only to decompile resources + get java sources, my small bundle that will produce java code better than VTS because of using JadRetro.

It's also a lot faster to just drag APK file to decompile.cmd :)

View attachment Decompile.zip
[One (M8) Themes and Apps] jonthe838:
Sorry if this has been asked before but is there any way to change the dailbuttons from black to white in the phone app?
[One (M8) Themes and Apps] Basil3:
Of course. Can be done with fairly simple xml edits.

Sent from something using Tapatalk
[One (M8) Themes and Apps] Mikanoshi:
Who knows how to fix this?)

https://www.youtube.com/watch?v=dMfbFGGAVRA
[One (M8) Themes and Apps] billbowers:
Not sure what the problem is..

BETEO
[One (M8) Themes and Apps] Mikanoshi:
Flashing white line.
[One (M8) Themes and Apps] autogeek:
I don't think that is something broken. When you move a setting the line blinks marking its original spot. It flashes every time you move from above to below its original spot or vise versa. At least that's how it works on my phone. If you don't go crazy like you did you almost never see it.

Are you trying to "fix' that or just change it to black?
[One (M8) Themes and Apps] Mikanoshi:
this
[One (M8) Themes and Apps] Pneuma1985:
Like basil said easy xml edit....

And mikanoshi good question I also have the same thing in the rearrange lists. Anyone find that when I drag them they turn white.

As for the weather all over the place and the smali for it have you tried notification widget.apk found the lockscreen clock colors in there weather smali may be in there not sure didn't look.
[One (M8) Themes and Apps] Basil3:
if you're talking about the actual panel you're dragging turning white, that's common_rearrange_frame.9.png in resources. for what mikanoshi is talking about, i'm not sure - but i'm sure he'll find it :D
[One (M8) Themes and Apps] Pneuma1985:
Ty sir much appreciated ...
[One (M8) Themes and Apps] Mikanoshi:
Well, I did :)

HTCCommonctrl \ com.htc.widget.HtcReorderListView \ dispatchDraw() \ mBoundPaint

This paint's color is either white for flashing line (actually a 1 pixel element that is in place of item you are dragging) or mAppBackgroundColor (which is an ap_background_color).
[One (M8) Themes and Apps] Pneuma1985:
hey question guys where are the vectorgraphics for weather.apk for the weather icons themselves in hourly and forecast i changed all the vectorgraphics to dark and i still see the light ones? anyone shed some light on this?
[One (M8) Themes and Apps] kelvin216:
ANY HELP

Hi all can anyone point me in the right direction as to where these overlays are located and what to look for, thanks
[One (M8) Themes and Apps] CNexus:
What overlays? You mean the toggle icons?
[One (M8) Themes and Apps] kelvin216:
Hi, yes if its possible
[One (M8) Themes and Apps] CNexus:
Those would be in systemui in one of the res/drawable folders
[One (M8) Themes and Apps] kelvin216:
Ok so its not a smali or xml edit?
[One (M8) Themes and Apps] CNexus:
Nope, not since you want to change the icons correct? Those are just images stored inside the apk
[One (M8) Themes and Apps] fisha21:
I had thought all the Now/ Forecast pages where in the Weather.apk, but if it's not those, have you tried com.htc.weather.res.apk?

Not sure if you mean the red overlay on top of the toggle images? That requires a smali edit in sysui to remove them. Can't remember off the top of my head what the edit was but I'm sure either [MENTION=4380624]Raymond Ebertt[/MENTION] or [MENTION=3415477]Onepagebook[/MENTION] had done the same edit as well??
[One (M8) Themes and Apps] kelvin216:
i think you misunderstand what im saying i already changed the icon i want, for example if you look at pic my mobile data icon has a red overlay to it to show that its on, i wanna be able to take that red overlay off

edit: yes fisha thats what im trying to do
[One (M8) Themes and Apps] ineedone:
overlay color is from com.htc.resources, in,styles.xml it also controls overlay color in settings ?
[One (M8) Themes and Apps] Pneuma1985:
Ty sir I forgot the _m versions of the light icons lol whoops thought i grabbed all of them when i imported into ae... Guess I missed the _m ones which are the ones in weather just an fyi for everyone out there...
[One (M8) Themes and Apps] Mikanoshi:
My dark theme for Sense 6 and Xposed, with sources: The Dark Six

For private use, only the apps I use are themed.
[One (M8) Themes and Apps] Raymond Ebertt:
There isn't much help we can provide you there as the overlay is controlled when activated meaning your image that you have artistically added will be plastered over with a nasty red fill. The edits are in resources (for each theme). In saying that, you could try to make the overlay that covers the png transparent. However, that's going to affect the entire ROM. Another option would be to reduce the transparency of those images that will allow the red to blend in with your theming. Again, that will take fine tuning but possible as I did that for an earlier theme. Good luck
[One (M8) Themes and Apps] kelvin216:
Thanks for the info Raymond, i have both my resources and system apks decompiled, should i be looking for toggles or overlay color references, as i see just overlay color references, hope that makes sense
[One (M8) Themes and Apps] Raymond Ebertt:
I don't have VTS open but no, your edit is going to come from the resources color.xml for the default theme and the styles for the theme choosers. I believe the edit is "overlay_color" but I can't be positive at this time without looking.
[One (M8) Themes and Apps] dased14:
com.htc.resources\res\values\colors\ <color name="overlay_color"

maybe what your looking for

or just use the find feature and look for anything with the words overlay_color in it
[One (M8) Themes and Apps] Pneuma1985:
anyone know where this top header is in prism when you select the search box in blinkfeed?

I edited ever thing for the fourth category that was ff252525 and it didn't change? So not exactly sure where it is I edited fourth category and forth theme sections nothing changed it. Anyone know where it is?
[One (M8) Themes and Apps] maurydes:
mmm not a pc now, but I'm sure is in color.xml not instyle

Inviato dal mio HTC One_M8 utilizzando Tapatalk
[One (M8) Themes and Apps] Raymond Ebertt:
I believe that's the multiply color in default theme if you're referring to the dark background.
[One (M8) Themes and Apps] maurydes:
Yes,correct Ray

Inviato dal mio HTC One_M8 utilizzando Tapatalk

---------- Post added at 02:13 PM ---------- Previous post was at 02:10 PM ----------

Screen

Inviato dal mio HTC One_M8 utilizzando Tapatalk
[One (M8) Themes and Apps] Pneuma1985:
Raymond can I replace these with an image is it like the same as resources where i add an attr and then change the ?multiply for actionbar and the multiply skin color to a drawable?

NVM I GOT IT whakka whakka!:p I set the multiply color in the skin category to trans and added a drawable to common_header in drawables instead of the zero_dummy_asset then added an

@drawable/common_header into the SkinColorStyle.CategoryOne Two Three Four to the multiply color that worked...
[One (M8) Themes and Apps] Raymond Ebertt:
Right. Good job. You should take a little time a write up a small tutorial on how you did that. I would be very interested to know as I'm trying to do a similar edit as well
[One (M8) Themes and Apps] Pneuma1985:
Prism Header tutorial Is up...Ok I pinned it down and redid the tutorial guys it works flawlessly...Not sure why i got a f/c after i edited one color that was weird but i figured out it was the hotseat id i added causing the f/c took that out and all is back to normal...

I will rework the hotseat in a minute to get a custom navbar... Got it...

Speaking of that anyone get buttons into the dialer yet and if so how? I tried everyway I can think of? I tried every xml trick imaginable even replacing the style public id with an image id in smali and even threw in a new method for it still didnt work the apk worked just fine just it didnt show an image so how is that done? Hope someone can shed some light on that. I also had a small issue getting the profile picture to fill_parent in phone.apk when you make a call or get an incoming call. No problem getting it to fill_parent in the dialer just weird in phone.apk it doesnt wanna fit the screen i changed the margin dims to 0 all of that etc still couldnt get it..
[One (M8) Themes and Apps] nashshafrulrezza:
you just need an edit in drawable.xml for custom button in dialer.

<item type="drawable" name="phone_keypad_bg">@drawable/button</item>

That's how I do it. Just remember to trans the gray line and and black line in color.xml.
[One (M8) Themes and Apps] Pneuma1985:
That didnt work for me... Just tried it i had it named wrong but i tried the same thing before im pretty sure though i did squash the dialer down a bit.. Image doesnt show for me...

I think i know why though I was trying to convert the bg image itself and i used the same name... Got now to separate all the images and bg's and get them each to have their own images: accumulator call button and the two right/left side buttons... Will be a challenge but im sure i can pull it off. About 75% done completely theming the dialer the buttons the accumulator and the bottom cmd bar... need to get the two outside buttons still but the call button i did and the rest. Will show examples soon :)
[One (M8) Themes and Apps] nashshafrulrezza:
That will be a though job! good luck! I'm still trying my luck with keyboard. :)
[One (M8) Themes and Apps] fisha21:
For the overlays on Settings page, it uses category_color from com.htc.resources/colors.xml...Can't remember if the quick toggles use the same colour value as well.

What you'll need to do is edit the multipky_color, overlay_color and category_color in com.HTC.res/colors.xml to 3 colours not used in your theme. This'll tell you which value is being used.

The problem with editing that value though is it will affect other things throughout the rom. So you need to find the code in SystemUI.apk that calls that colour as the overlay.

To do that, once you've worked out which colours.xml value is being used, find the public id for that value in com.htc.res/public.xml. Then search for that public id in SystemUI.apk. You'll probably get a few hits but hopefully it'll be obvious which ones related to quick settings (this will be in smali, not xml most likely). Then find a way to edit that code to get rid of the overlay. Don't forget, when searching for the public id, you need to remove the first 0 after the x.....so if public id in com.htc.res is 0x02000000, then you'd search for 0x2000000 in sysui.

I had thought one of the guys had shown me a screenshot of having removed the overlay, but I might have imagined it! I'll have a look into it later this week....
[One (M8) Themes and Apps] Pneuma1985:
I DID IT WOOT WOOT WHAKKA WHAKKA WHAKKA

Each piece of it contains a different image and is using a different image:ie the ability to use diagonal lines without using .9's and it works in big dialer also: After about 3 hours of smali hunting i finally found the right smali line that controls the dialer image itself and both right and left side buttons as well... Its far from done but at least I got all the images different...

The tutorial for the bottom bar is up you can gather how the right side left side were done from the same .smali file in the tutorial.
[One (M8) Themes and Apps] nashshafrulrezza:
congrats! good job mate! Can you help me around keyboard? I've try almost everything I can ever think for it. and none work yet.
[One (M8) Themes and Apps] ViNOK16Bit:
[MENTION=918378]Basil3[/MENTION] removed the overlay in settings in settings.apk HtcResources.smali, search for 0x2060013 (category_color)* ,

change to public id of something transparent

i changed to* 0x7f0b0038*

Sent from my HTC One_M8 using Xparent Red Tapatalk 2
[One (M8) Themes and Apps] Pneuma1985:
Yup Nash I'll dig into the kb tonight and will post tutorials as I go forward with it. Hopefully I can crack the ime like the dialer:fingers-crossed:

Ok well I've narrowed down the problem its in KeyboardView.smali essentially the whole method is saying getColor where we want it to grab a drawable will need to change the entire method in smali around i think to make this work... I tried to give it a color that would revert to a drawable i also tried to give it a drawble.xml common_btn id i tried also replacing the id outright all crash out the ime...So its definitely smali related the cause of the issue I will continue to work on it and see what I can come up with..
[One (M8) Themes and Apps] Pneuma1985:
Regarding the IME im gonna bring in the big guns on this and get a few smali gurus to lend a hand here with the smali on this... So we will get it working for sure... I attempted many smali edits which was weird the smali was proper but it ended up having a crash somewhere else when i logged it so I will need help with that.

I have stripped the ime of its colors and parts so far thought i got a bitmap repeater to work but then it failed after a few seconds...

Figured out how to get a profile image to expand the width of the screen in phone as well. which took a while and lot of messing with the xml turned out one dim and a wrap_content and an alignparenttop works for it.
[One (M8) Themes and Apps] kelvin216:
Hi everyone,

First let me say thank you to Fisha, ineedone,raymond,vinok16bit for all there info on my issue, but ran into another problem guys, was able to remove the overlay but it also removed the toggle lines from the toggles as well as in the settings it removed the on/off indicator switch color, any ideas on what i did wrong,thanks
[One (M8) Themes and Apps] ViNOK16Bit:
I think you have set the overlay color in resources to transparent is that right? When you have edited settings.apk to remove the overlay on the icons you don't have to set the overlay color in resources to transparent.

Edit: I wrote overlay color but I guess it has to be category color. I mix stuff up sometimes after hours editing :confused:

Sent from my HTC One_M8 using Xparent Red Tapatalk 2
[One (M8) Themes and Apps] kelvin216:
Yes i did the edit to catorgory_color xml in com.htc.resources i didnt touch the settings apk, my main goal was to get rid of the overlay on the big icon toggle grid but the edit also removed the overlay on the settings page also
[One (M8) Themes and Apps] ViNOK16Bit:
I would do it the other way by editing settings and systemUI so they don't use the category color from com.htc.resources.

Sent from my HTC One_M8 using Xparent Red Tapatalk 2
[One (M8) Themes and Apps] Pneuma1985:
First time iv ever gotten the ime to actually be see through....It changes with every app actually some apps its grey some its black some its dark grey some its my main ap bg color... Really need to find where that call is im not even sure its in the ime itself could be in commontrl or one of those .jars maybe. I'll have to search. I'm still at it messing with the ime trying to get buttons in there and images of any kind without it crashing.
[One (M8) Themes and Apps] nashshafrulrezza:
some of the grey is from framework-res. it come from background_holo_dark. if you want to use it transparent, better try to call the background to use wallpaper.
[One (M8) Themes and Apps] Pneuma1985:
Well yeah i know where it is and what color its calling it actually calls out for several colors as far as i can see from use... It calls for framework backgorund_holo_dark when using framework apps it calls for common_app_bkg i think in resources apps and it has some where it calls for [MENTION=5711379]ANDROID[/MENTION]:color/transparent and android:color/black it also grabs that to in some framework apps. So it all depends and I cant actually find where the bg overtop of that one is actually getting implemented and i've tried smali implementation and I get insta f/c I've tried to trick it using xml and stacking the xml it still doesnt work no matter what weight i give it or where it is in the layout. The bg you see whatever that may be based on what app your in always shows overtop of whatever I do... See if I go into browser and i do the xml trick and stack the image overtop of what should be the bg id the bitmap repeater shows... But if the app itself calls for the color of any kind it always shows overtop of my bitmap repeater... Its been a real pita thats why i have everything transd out so I can see what is effecting what when I change certain things... I did 3 tear downs so far and attacked it with three different strategies and only one has produced results and its the one your looking at but like I said it doesnt work when the app calls for a bg color for the kb. I have spent countless hours on this so far lol I wont stop till I break it :D
[One (M8) Themes and Apps] Pneuma1985:
Updated the hotseat tutorial for both dividers in the hotseat navbar and lockscreen navbar layouts. :p

No luck in adding images to the ime but i did get it themed got a header into it and the settings section themed... Sucks not having images for the ime but we will get it eventually...
[One (M8) Themes and Apps] dazednconfused:
Ok, needing a little assistance tracking something down please. On the lockscreen clock (screenshot included in attachment), I'm trying to track down the white text for AM/PM and the date. I've gotten it changed everywhere else except the lockscreen. I've made the changes in the layouts folder in the com.htc.android.home.apk but still no change like it was on the M7. Am I missing something simple right in front of me? Thanks in advance.
[One (M8) Themes and Apps] Pneuma1985:
It's in styles fixed lock screen 16 17 18 and 19 I believe...was for me but I'm on the latest m8 ota lock screen should be the same though.

Looking at your ss brings up a question I have... How do I theme google.apks now with the Sig crap? Noticed your hangouts icon looks beveled and themed did you just 7zip it? Or are you using freedom.apk? I can't get any of them themed and working?
[One (M8) Themes and Apps] dazednconfused:
I'm on latest m8 also, so I'll triple check. I'm sure I'm just over looking it. Thank you.

EDIT: I've changed all of those and still have the partial white text. I'll keep digging.

sent from my wicked HTC One M8.
[One (M8) Themes and Apps] Pneuma1985:
Gotcha that's right I always forget which people are m7 and which ones are m8 lol yeah I had the same issue the other day fisha found it so thank him...?
[One (M8) Themes and Apps] dazednconfused:
Using the newest apktool beta versions and framework from our sense files. If you go HERE and scroll down to the bottom, they have some beta versions there to use. There is actually a newer one as well that's not listed, but I'll have to find where I got it.

I've only been doing hangouts lately. Gmail is finicky and the others update too much.
[One (M8) Themes and Apps] fisha21:
pneuma was right in terms of which xml values to edit, he just forgot to tell you where to look ;)

That lockscreen clock is now controlled in HtcNotificationWidget.apk as well. In fact, you can edit all that clock's text colours from in that apk
[One (M8) Themes and Apps] dazednconfused:
That fixed it, thank you so much. I have been pulling my hair out today trying to track that down.
[One (M8) Themes and Apps] Pneuma1985:
Whoops oh yeah forgot that lol my bad dazed should have mentioned that. Whoops sorry about that.

Sent from my badass tron HTCm8!
[One (M8) Themes and Apps] dazednconfused:
No problem at all man. I was pulling my hair out way before that, which finally led me here to ask. You guys are awesome.
[One (M8) Themes and Apps] Pneuma1985:
Wait isnt 2.0.0.9beta what we are all using? its that or 1.5.2 in vts! Are you putting the google apps in system? when i install them or flash them to system it gives me "this whatever app has stopped" so how do i do it I really am curious and I cant seem to get it no matter what I do... It always f/c's on me I have the libs and stuff in the zip for hangouts nada... I am on 2.0.0.9beta and according to this page http://connortumbleson.com/2014/02/apktool-2-0-0-beta-9-released/

This build has the same problem! So how are you doing it lol im pulling my hair out over this one lol.

Google Apps rebuild problem – issue #526

This is a strange little problem. Long story short. The hack of the “public.xml” we use to maintain constant resource ids, causes the resources to be public. Apparently in new Android (4.3+), references to framework resources (0×01 package id) are not allowed. The system fails to associate the resource, since its in a different package. We are working on maintaining constant resource ids without changing the resources to be public. Follow the above bug report to be notified of any changes.
[One (M8) Themes and Apps] dazednconfused:
Have you tried putting them in system/priv-app? I just played around with the newest Hangouts and not getting any fc.

Here is a screenshot of the newest one that my teammate virago just did based off of gunthermics inverted base....
[One (M8) Themes and Apps] Pneuma1985:
No but i just tried that check your hangouts dazed :P I have more questions lol
[One (M8) Themes and Apps] fisha21:
This thread's only as good as all the contributors, so thank you to all the users who have come here and shared their findings with the rest of us, Nice to know collaboration still exists on XDA after all :D
[One (M8) Themes and Apps] Kite.:
good i love it ~!
[One (M8) Themes and Apps] Punka-res.apk:
Oh just a little contribution ;)