yashsingh1/xdaforums huggingface dataset:
[One (M8) Themes and Apps] BrandonBaskin:
Messages apk

Does anyone know how to edit the bubbles of the messaging apk to make them look more like Sense 7?
[One (M8) Themes and Apps] Mr Hofs:
Decompile the message.apk and edit the file
[One (M8) Themes and Apps] BrandonBaskin:
I decompiled it...change the png for "conversation_me" and I went to the dimens.xml file but I can't get the margins to display correctly. See image
[One (M8) Themes and Apps] Raymond Ebertt:
I ran into that problem before and I think it's related to where the text indentation actually begins. I couldn't solve it but maybe look for something related to text start or something similar.
[One (M8) Themes and Apps] Hoangdat_vista:
I am still waiting ... :(
[One (M8) Themes and Apps] beyored:
hows it goin guys this is my first post here so be gentle......lol

im trying to theme lolipop sense 6 dialer for viper ive been trying for a couple of weeks now and ive come to a point where im just banging my head off a brick wall........

has anybody had the success of theming the dialpad with an img rather than a color if so could someone please tell me the edit that was made to achieve this as i am at a loss.....

this is what i have done so far........

thanks in advance.......
[One (M8) Themes and Apps] ViNOK16Bit:
Hi beyored,

Have you tried the guide in post 4 of this thread?
[One (M8) Themes and Apps] beyored:
Hi vin thanks for the reply...... i have its how i got the bottom of the dialer themed.......there was only the option to change left_img_btn and right _img_btn......

i dont know if it makes a difference that im on m7 and not m8 i gathered it would be pretty much the same procedure......i might be wrong..:confused:
[One (M8) Themes and Apps] ViNOK16Bit:
I haven't played with the dialer myself so can't help you mate. Hopefully someone else can.
[One (M8) Themes and Apps] Mr Hofs:
I haven't either yet. It's still on the list
[One (M8) Themes and Apps] Mr Hofs:
Still working perfecting the scratched metal stuff
[One (M8) Themes and Apps] beyored:
No worries mate I'm sure somethin will turn up.......

Just themed header to match.....also 5 other colors...
[One (M8) Themes and Apps] 2WildFirE:
This looks great!

powered by SkyDragon ROM
[One (M8) Themes and Apps] Mr Hofs:
Thank you ! And very easy to do :)
[One (M8) Themes and Apps] beyored:
is it possible to change " background_floating_material_light" to a drawable image instead of a color.....its the only other thing bugging me at the moment.......

thanks in advance for any help given :fingers-crossed:

edit: sorted i changed

<item name="windowBackground">@drawable/dialog_background_material</item>

to

<item name="windowBackground">@drawable/dialog_full_holo_dark</item>

in styles xml......
[One (M8) Themes and Apps] ineedone:
Hi guys, anyone know how to fix background in this glitch when entering settings?
[One (M8) Themes and Apps] Mr Hofs:
As far as i know it's a background that's controlled in framework-res.apk. I changed the colors.xml - white value and it changed that background color (at least in previous Android versions) but the thing is that it messes up text colors too so that was a no go for me.

Not really useful.....
[One (M8) Themes and Apps] ineedone:
Thanks, tried some of those without result, gonna chase it down when home in a few day's.
[One (M8) Themes and Apps] fichl:
solved it for my M9 theme on 5.0.2 / Sense7 but it should work for you too....

had arround 6 apks that had a white splash when starting them if they where not loded to ram.

most annoying in settings and dialer... ;)

so, to find the activity with that white background you´ll have to check AndroidManifest.xml to see what happens when the app starts.

in settings i found this reference inside the <application> - section:

<application android:hardwareAccelerated="true"
android:icon="@drawable/icon_launcher_settings" android:label="@string/settings_label"
android:name="com.android.settings.framework.app.HtcSettingsApplication" android:taskAffinity=""
[COLOR="Red"]android:theme="@style/HtcApplicationStyles"[/COLOR]>
<meta-data android:name="...

so jump to res/values/styles.xml find HtcApplicationStyles and set the color you like for the background:

<style name="HtcApplicationStyles" parent="@style/HtcDeviceDefault">
<item name="[COLOR="Red"]android:windowBackground[/COLOR]">[COLOR="Red"]@android:color/black[/COLOR]</item>
</style>

couldnt set hex values cause vts refused to compile if i did so i had to link to colors.xml

or use the link to android:color ;)

additionally you´ll have to check the other android:theme references in the <activity> tags in Manifrest

first entry will lead you to a style named fakescreen:

<activity android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/settings_label_launcher" android:launchMode="singleTask"
android:name="com.android.settings.Settings" android:taskAffinity="com.android.settings"
[COLOR="Red"]android:theme="@style/fakeScreen"[/COLOR]>

here its just the same changes like above:

<style name="fakeScreen" parent="@style/HtcDeviceDefault">
<item name="[COLOR="Red"]android:windowBackground[/COLOR]">[COLOR="Red"]@color/background_color[/COLOR]</item>
</style>

and thats it :)

just repeat this way for the other white splashing apks...

most time it will be the android:windowBackground tag except in HtcContactsDialer

i had to change the android:colorBackground tag as well

cheers
[One (M8) Themes and Apps] ineedone:
Nice find mate, thank you very much!
[One (M8) Themes and Apps] hauhauhau7:
Q -how to disable heads-up, removing system apps, clear all notofications

Sorry for posting here too,i posted in the troubleshooting section but got no response

I'm a fresh owner of an HTC M8 (european version 5.02 stock rooted with S-ON), i have a few issues,maybe some of you can help me:

1.Is there a way to disable the native lollipop heads-up?

Before i had a Galaxy S5, LG G3, and it worked with the SQlite editor procedure https://www.youtube.com/watch?v=It2WKA3XB-8, , but when installing SQlite in the M8 (grant supersu acces and all of that) it says that no database found (attached a screenshot below) , the same thing happens on my Moto G 2014, so i thought it can't be that i have the S-ON, i tried also changing SElinux to permissive but no luck

2.I can't uninstall system apps, i tried many system uninstaller apps, titanium backup, etc...after it says they are uninstalled, they appear back after a reboot, the only way i had to deal with this is freezing them...can it be the S-ON thing?

3.Is there any mod to add a 'clear all' button to the notification drawer without having to S-OFF?

THANKS
[One (M8) Themes and Apps] Mr Hofs:
Within 1 day you are "spamming" this around in several threads, from T-mobile/galaxy subforums to opening a Q&A in the apps & themes section in the M8 subforum.

Wait for answers, it can take days before something is solved. It's annoying to see the same copy & paste post appear in so many threads.

Here is one answer i hope it helps you

http://xdaforums.com/showthread.php?t=3114625
[One (M8) Themes and Apps] mvladimir199:
Hi!

Help please, where are the buttons where they are edited, I can not find them

It is very necessary

Thank you
[One (M8) Themes and Apps] Mr Hofs:
Read in the opening post, where to find them is linked/written there !

:)
[One (M8) Themes and Apps] mvladimir199:
The first thing and do

But, alas, do not change
[One (M8) Themes and Apps] Mr Hofs:
I believe that the common background described there is still in resources apk / drawable - xxhdpi folder. Should work even on sense 7

:)
[One (M8) Themes and Apps] mvladimir199:
I Sense 6 and common_app_bkg_src.png such file is not in the same folder in com.htc.resources.apk
[One (M8) Themes and Apps] Mr Hofs:
Check the apk file from where the buttons are. Framework stuff has been spread throughout the independent apk files. Not sure if this is also in the sense 6 but it is in sense 7.
[One (M8) Themes and Apps] mvladimir199:
Check for such png, there is only a common_app_bkg_down_shadow.9.png in framework-res-htc.apk
[One (M8) Themes and Apps] beyored:
try looking in framework-res.apk for( menu_hardkey_panel_holo_light.9)
[One (M8) Themes and Apps] Mr Hofs:
LOL ! finally got that annoying "share divider" done.....but don't know what or where it is located now ! Mwuahaha
[One (M8) Themes and Apps] ineedone:
Yahoo! ?
[One (M8) Themes and Apps] Mr Hofs:
:sly:
[One (M8) Themes and Apps] ineedone:
If you ever remember I sure like to know ?
[One (M8) Themes and Apps] mvladimir199:
Hi!

Prompt please replace buttons and text color and made them white and these clubs have also become white, replacing common_notification_on.png on the same, but a different color brought no result, how to replace that bi and the text was as it is now, and this was another mug colors
[One (M8) Themes and Apps] Mr Hofs:
Those white slider circles are linked with multiply color in color.xml if i remember correctly.

---------- Post added at 11:33 AM ---------- Previous post was at 11:28 AM ----------

Whaaaaa yes me too !!! :D
[One (M8) Themes and Apps] mvladimir199:
I did not find anything

Who knows please send on track, that the rule is not very convenient
[One (M8) Themes and Apps] ineedone:
Should be Progress_track_center_color in systemui
[One (M8) Themes and Apps] kc6wke:
Has anyone been able to successfully decompile the latest HtcLockScreen.apk dated May 7th yet?
[One (M8) Themes and Apps] mvladimir199:
Please tell me where changing the color of the lower buttons (which are black) I want to replace them with white, and the text of buyout do not see the name and number of the caller, mute speaker
[One (M8) Themes and Apps] Basil3:
Here's one I did a while ago for sense 6, you can diff for changes.

From memory, some of the text there can be changed by changes to colors or styles.xml. For the phone number I think I had you create a new local style instead of one coming from resources.

For the images, one can be themed normally, the other you need to change a public id in framework somewhere from a light icon to dark.

https://www.dropbox.com/s/jncnnokf6yzht3p/viperlight_dialer_4.0.0.zip?dl=0

Edit: the bottom bar is just an image, I'm sure?
[One (M8) Themes and Apps] mvladimir199:
Yes, lower the strip just a picture

But the text does not change to black (the number of the caller's name, etc.)

Everywhere where there was a white tabfont_color, #ffffffff, white, was changed, and nothing has changed

The Sense 6 only HTCContacts.apk, HTCDialer.apk, Phone.apk

HTCDialer.apk white text on it and seen it's OK

But the call window does not lend itself
[One (M8) Themes and Apps] Basil3:
Your required edits are in phone.apk
[One (M8) Themes and Apps] mvladimir199:
His and edit

Can you help if you do not difficult to write exactly where, but I have two days I correct and does not work
[One (M8) Themes and Apps] Basil3:
I don't have notes for any apks that old, sorry. You'll just have to look through the zip I gave you and compare.
[One (M8) Themes and Apps] mvladimir199:
I compare like nothing in my files to 4.4.2 Sense 6
[One (M8) Themes and Apps] Basil3:
I think this one is an old one I did for Sense 6/KitKat. It's vr theme, so you'll have to drag the contents into an apk and decompile, or you could possibly try flashing it directly

https://www.dropbox.com/s/u8ryhhoxa2sbe9q/viperlight_dialer_4.4.zip?dl=0
[One (M8) Themes and Apps] mvladimir199:
I set this archive

Errors com.htcdialer ... and an application error all ...

Disassembled your files changed its similar, again error

I can not have, the third day is already gone as the byus with this trouble and did not go
[One (M8) Themes and Apps] Basil3:
OK, well I've tried to help as much as I can. A lot of what you haven't themed is simple stuff like xml colour change, or image theming. One of the links in the OP outlining how to theme might be of some use to you. Good luck!
[One (M8) Themes and Apps] fichl:
Ambient Display on inverted theme

hey, just figured how to prevent inversion for ambient display notification background and textcolor

which will lead to white background and black font color when using dark panels :)

Android 5.0:

if you would like to have ambient display in full color mode use this edit:

in smali/com/android/systemui/statusbar/ExpandableNotificationRow.smali find

.method public setDark(ZZ)V

comment / delete those lines

invoke-super {p0, p1, p2}, Lcom/android/systemui/statusbar/ActivatableNotificationView;->setDark(ZZ)V
invoke-direct {p0}, Lcom/android/systemui/statusbar/ExpandableNotificationRow;->getShowingLayout()Lcom/android/systemui/statusbar/NotificationContentView;
move-result-object v0
if-eqz v0, :cond_0
invoke-virtual {v0, p1, p2}, Lcom/android/systemui/statusbar/NotificationContentView;->setDark(ZZ)V

here´s the edit to just prevent the inversion but keeping it black´n´white:

in smali/com/android/systemui/statusbar/ExpandableNotificationRow.smali find

invoke-virtual {v0, p1, p2}, Lcom/android/systemui/statusbar/NotificationContentView;->setDark(ZZ)V

and comment / delete that line.

in smali/com/android/systemui/statusbar/ActivatableNotificationView.smali find

method private static createDarkPaint()Landroid/graphics/Paint;

scroll down few lines and change array_0 to following code (1:1 color matrix):

:array_0
.array-data 4
0x3f800000
0x0
0x0
0x0
0x0
0x0
0x3f800000
0x0
0x0
0x0
0x0
0x0
0x3f800000
0x0
0x0
0x0
0x0
0x0
0x3f800000
0x0
.end array-data

Android 5.1:

in smali/com/android/systemui/statusbar/NotificationTemplateViewWrapper.smali find and delete / comment following lines:

invoke-virtual {v0, p1, p3, p4}, Lcom/android/systemui/ViewInvertHelper;->fade(ZJ)V

invoke-virtual {v0, p1}, Lcom/android/systemui/ViewInvertHelper;->update(Z)V

additionally you can set the duration how long the notification will be displayed in res/values/integers.xml

find doze_pulse_duration_visible and set desired time in milliseconds.

cheers
[One (M8) Themes and Apps] dmonium:
please could you tell me what is the font of this picture?

or could you share it?

thanks
[One (M8) Themes and Apps] Krocko:
Sony Sketch i think.
[One (M8) Themes and Apps] beyored:
yeah sony sketch i use it all the time..
[One (M8) Themes and Apps] beyored:
How's it going guys...has anyone ever had trouble with framework-res when I theme it and add it to my theme I get reboots when I press power button for reboot menu...... I've never come across it before just wondered if anyone had any info what it could be.....

Thanks in advance......
[One (M8) Themes and Apps] ineedone:
Guess you probably don't use the correct/latest framework-res or framework-res-htc file of that rom
[One (M8) Themes and Apps] beyored:
thanks for the tip mate it was indeed framework-htc-res :good: i was focusing on framework res to no avail so thanks again......
[One (M8) Themes and Apps] mvladimir199:
Hi!

Pdskazhite please, where you can edit the drain topic (black) appear black "cap" a couple of seconds below the status bar anywhere in the dialer, in the gallery, music, settings, etc.

And where is edited by a black stripe in the task manager (which specifies the remaining Amount of RAM)
[One (M8) Themes and Apps] nashshafrulrezza:
Just noticed mine the same. It might be in weather apk.. Will look after I finish the keyboard.
[One (M8) Themes and Apps] Pneuma1985:
It's probably smali it was last time if i remember correctly... One side of that screen was in smali in 5.5 i think. I forget where though, I think fisha can help pretty sure he told me where it was in 5.5 so yup wait on his response.
[One (M8) Themes and Apps] ineedone:
there are some white colors in smali but I don't know how to change them. It might be in Tabmain.smali, it contains const/4 v4, -0x1 but it gives an error when I edit this color

Verstuurd vanaf mijn HTC One met Tapatalk
[One (M8) Themes and Apps] Pneuma1985:
change to:

const v4, -0x1

if you want a different color const v4, -0xB41101 Like that

Now I'm not positive that that's the line but this is how you change it enjoy!

And if it errors then its probably not it. Make sure you check the whole smali file for errors before you compile, it'll underline them in VTS with samli debugging turned on. So if you type something that is an error at least it'll tell you. Hope that helps. Like I said fisha had it in 5.5 and its most likely the same location at least the same file. But I will check for it later for sure, hopefully he replies first.

Yahh and I got post 4 guys so I will be updating my tutorial in that post from now on...

I check this thread more than most so any questions feel free to ask.
[One (M8) Themes and Apps] nashshafrulrezza:
Anyone can help me with disable button? Don't know why I can't find it.

Btw.. [MENTION=3448902]Pneuma1985[/MENTION], any guide for smali? I really don't know what to do with smali.
[One (M8) Themes and Apps] Pfaffinator:
link for psds......http://d-h.st/bE9

blinkfeed,dotview,fitbit,fetch,football feed,guide,power to give,service pack,torch,zoe.
[One (M8) Themes and Apps] Raymond Ebertt:
I'll be posting a small tutorial this evening on Prism smali edits. I might even do another additional search and find tuturial as that is basically all I have been doing lately.
[One (M8) Themes and Apps] Punka-res.apk:
Need help :) >>>> HTC_IME.apk & Prism.apk = Decompilation impossible

Hello guys.

I tryed to decompilate HTC_IME.apk and Prism.apk by many ways and i failed.

If anyone can help me, it would be great !!

I just want the Values folders !!

Thks

---------- Post added at 11:25 AM ---------- Previous post was at 10:50 AM ----------

Here is the answer ! Thanks so much :)
[One (M8) Themes and Apps] Raymond Ebertt:
First tutorial added. Hope it helps. Cheers...
[One (M8) Themes and Apps] 2WildFirE:
Thanks bro another great one!

Powered by SkyDragon ROM
[One (M8) Themes and Apps] Pneuma1985:
The buttons themselves are alpha masks. And smali is well the most illusive language as far as tutorials for it . The way people get good at it is learning java first . Me I did it the old fashioned way. Staring at it for years and tips from others that know slightly more than me.
[One (M8) Themes and Apps] nashshafrulrezza:
So it should be in xml or pngs?

As I thought for smali. I'll skip it then. Thanks again.
[One (M8) Themes and Apps] Pneuma1985:
NVM here they are had to get back to my pc these are the images that control it the white ones are the mask end of it it will get masked in whatever white image or shape you place there. And the image is not confined by transparency either or size or shape no matter what you put there if it has a white value itll overlay it. And obviously common toggle rest is what actually slides left or right.

There are several guides for smali that do exist I have found several...But they are rare and hard to find, the best place to start is stackoverflow b/c it's others working on androids. But most smali tutorial references I have found have been on android blogs actually. There are a few people around here who are smali specialist though. I am more of an xml guy myself and really i have fisha and joeyfettuicine to thank for pushing me into smali and giving it a chance. I can basically read smali now, took a year, but yeah. I can read it and do small edits to it, nothing big though.
[One (M8) Themes and Apps] ineedone:
I recreated those buttons some time ago on sense 5.5, but images needed to include both background and toggles. I didn't any edits to smali , but compensated the color for the mask in the image , I believe. Here is how it looks like, and a screen of the original images I created to make the changes possible. hope this helps

Verstuurd vanaf mijn HTC One met Tapatalk
[One (M8) Themes and Apps] Pneuma1985:
Me to but i removed the on/off and made it bounce out of on/off state so like sorta restructured it and the mask. Oh and the slider itself is controlled by an array that's what actually stacks the images like they are.

I'm more of a modder I guess I always restructure and remove stuff.

had to ss it out of a youtube video lol.
[One (M8) Themes and Apps] ineedone:
These toggles bounce too ?. How did you remove the on off? Would like to remove off

Verstuurd vanaf mijn HTC One met Tapatalk
[One (M8) Themes and Apps] Raymond Ebertt:
What button are you referring too? The on/off buttons? If so, they are in resources.

​
[One (M8) Themes and Apps] 2WildFirE:
Ray can you tell me which 9png

Powered by SkyDragon ROM

---------- Post added at 07:52 PM ---------- Previous post was at 07:52 PM ----------

For the blue divider?

Powered by SkyDragon ROM
[One (M8) Themes and Apps] olorolo:
Here's two here Razor
[One (M8) Themes and Apps] Raymond Ebertt:
Are you referring to the background?
[One (M8) Themes and Apps] fichl:
updated my post about ambient display for android 5.1

cause the methods have changed...

(here)

;)
[One (M8) Themes and Apps] Pete2506:
Hello guys, does somebody knows which xml relates to the white star in statusbar for do not disturb mode? I think it is an vector graphic cause an icon I cannot find.

Regards Pete
[One (M8) Themes and Apps] fichl:
isnt that stat_sys_rate.png ??
[One (M8) Themes and Apps] Pete2506:
In system ui or framework-res.apk?

Thanks mate
[One (M8) Themes and Apps] Udzi:
Latest Sense Browser

Hi Guys,

i'd like to pimp the latest HTC Sense Browser 7.1.2516272514 with new colors - especially the "Labs Circle". There are 4 Color Values in colors.xml for that.

Decompiling works without issues BUT the recompilation fails:

Browser.apk\res\values-v21\styles.xml:34: error: Error: No resource found that matches the given name: attr 'android:seekBarPreferenceStyle'

Browser.apk\res\values\styles.xml:49: error: Error: No resource found that matches the given name: attr 'android:seekBarPreferenceStyle'

Browser.apk\res\values-v21\styles.xml:57: error: Error: No resource found that matches the given name: attr 'android:seekBarPreferenceStyle'

I think it has to do with the Sense Themes, because the seekbar is colorized like the theme colors.

So, does anyone know how to fix those Errors?

THX
[One (M8) Themes and Apps] fichl:
those ?

i use apktool 2.0.0 and framework-res & framework-res-htc from 5.1 rom as frameworks in vts.

5.0 frameworks wont even decompile....
[One (M8) Themes and Apps] Udzi:
Thanks for the tip. Works flawlessly with 5.1 framework :cool:
[One (M8) Themes and Apps] Pete2506:
Where to get these frameworks?

Regards Pete
[One (M8) Themes and Apps] ineedone:
Get them from any 5.1 rom ?
[One (M8) Themes and Apps] Pete2506:
That I could imagine, but a 5.1 htc framework?
[One (M8) Themes and Apps] Pete2506:
In which apk should this png be? Couldn't find it.

Regards Pete
[One (M8) Themes and Apps] ineedone:
It's called framework-res-htc, it's in the framework folder, it can be used as framework, seems to me it meets the criteria, though it's almost the same as in 5.0 roms...

SystemUI
[One (M8) Themes and Apps] Pete2506:
No such png found in whole sysui. Any advice for this?

Regards Pete
[One (M8) Themes and Apps] ineedone:
I have it in /res/drawable-xxhdpi...
[One (M8) Themes and Apps] Pete2506:
I am on leedroid sense 7. I really can't find it.
[One (M8) Themes and Apps] ineedone:
You're right seems not to be there on m8 Leedroid, it is on m9...
[One (M8) Themes and Apps] Pete2506:
So it is possible that it is an xml?
[One (M8) Themes and Apps] ineedone:
Don't really know, but probably has something to do with zen_mode or volume panel, not really finding anything clear
[One (M8) Themes and Apps] mvladimir199:
Hi!

Help please, notice HTCBackup where you can edit it down to move out visible to other dpi screen
[One (M8) Themes and Apps] maxpaynezm:
hi guys, where can I change this text color?
[One (M8) Themes and Apps] Basil3:
I edited it a while back. It uses some kind of Zen XML for the icon. I changed it to a PNG drawable. Can't remember exactly what I did.

framework-res-htc colors.xml
[One (M8) Themes and Apps] maxpaynezm:
and name the white line? to change transparent
[One (M8) Themes and Apps] Basil3:
That is an XML. Something like inset_divider. Should be in the same apk.
[One (M8) Themes and Apps] maxpaynezm:
Basil3 and this white ? is somewhere in prism.but not found in color.xml