yashsingh1/xdaforums huggingface dataset:
[One (M8) Themes and Apps] Pneuma1985:
Make sure that is checked in your settings before you decompile it...

Do you have broken res? folders if so thats the only way you'd need to add keep-broken-res
[One (M8) Themes and Apps] Mikanoshi:
Just forget about VTS, it's working! I don't have broken resources with VTS, I have totally broken standalone apktool.

I want to completely get rid of VTS and produce the same results with standalone apktool, dex2jar, smali/baksmali and JAD.
[One (M8) Themes and Apps] Raymond Ebertt:
I appreciate everyone contributing their ideas towards Sense 6 and theming issues however lately the thread has been used to resolve issues that could very well be posted in another thread. I understand the VTS might be causing some folks issues but VTS has its own thread with plenty of support. I'm just finding it a bit awkward skimming through the VTS issues when theming should be the focus. Please don't take this the wrong way, but could we maintain topic, please? Thanks.
[One (M8) Themes and Apps] Mikanoshi:
On topic: Sense themes are hardcoded, Xposed cannot change styles, styles cannot be changed from code even before layouts are inflated.

Result: no customizable colors, only recompiling framework with again hardcoded new themes, and using them after that by activity.setTheme().
[One (M8) Themes and Apps] Basil3:
Thanks for clearing that up. I've been scratching my head over this. I guess there's good and bad to this....I've done one dark theme which has four colour options, which is pretty cool in itself!
[One (M8) Themes and Apps] who MIKE D:
Just curious, is it possible to add a 5th theme or can we only modify the ones that are hard coded?

Thanks for the info

Edit: Just seen your post in the sense themeing thread. I'm not good with the java/smali stuff so none of that made much sense to me lol

So I'll just stick to modifying the ones we have (unless you can write an in depth tutorial on what you were talking about in the other thread) :)
[One (M8) Themes and Apps] Mikanoshi:
You can add any number of themes easily by modifying styles, but adding another option to Settings and changing code for HTC's HtcWrapConfiguration.getHtcThemeId() method will be little harder :)

It is still only predefined colors. I don't do such things, I prefer Xposed and on-the-fly mods. HTC even hardcoded color values directly to styles for themes 2-4, without using colors.xml, so Xposed can currently modify only the first theme.
[One (M8) Themes and Apps] Raymond Ebertt:
I think these themes will become less popular for a number of reasons and I also believe that themers will have their hands full when users start requesting stuff. Even when I make a full theme I know there will be someone who will request to add a color from another theme. It's never going to end. It's like a bad Hitchcock movie and Madonna is the heroin
[One (M8) Themes and Apps] Mikanoshi:
Well, I can theoretically hook colors from the first theme with Xposed and let users change them how they like) Then also let users assign those 5 color categories to any app that supports Sense themes :)
[One (M8) Themes and Apps] Raymond Ebertt:
Yes, in theory. There will be issues with apks. But honestly, who or why would someone want to change a theme on the fly? The idea of four themes is good, but I don't see myself changing a theme throughout the day. If been busting my balls sorting out the concepts of these themes and for some apks, I really don't know an easy alternative to change colors. Some apks rely of specific categories that HTC stated were needed to make all themes compatible with each other. I really do miss the skin days of Sense 4
[One (M8) Themes and Apps] who MIKE D:
It's not to change them constantly, it's to let people customize it the way they want it
[One (M8) Themes and Apps] Raymond Ebertt:
Indeed, that would ideal. Until then, we'll just need to make do with what we can change
[One (M8) Themes and Apps] Basil3:
One thing that should be noted (as I'm sure most of you already know), we now receive updates via the Play Store for a several apps. What this means is we will have to update themes with Play Store updates (my gallery lost it's theming yesterday), and because we are now dealing with data apps, we can't vr theme them.
[One (M8) Themes and Apps] nashshafrulrezza:
Ahh.. no wonder my gallery theme not working.. thanks for informing.
[One (M8) Themes and Apps] Raymond Ebertt:
As a M7 user on Sense 6, I don't have that pleasure... ;)
[One (M8) Themes and Apps] Basil3:
Ah well, you're in the M8 forums, so let's just pretend you do ?
[One (M8) Themes and Apps] nashshafrulrezza:
Your rom not updating it from play store Ray? Mine update from play store.
[One (M8) Themes and Apps] Mikanoshi:
It's only your problem, apk modders :D Xposed mods work just fine between updates, even between android updates, sometimes even between sense updates :)

Look at Toolbox, only ~35% of mods stopped working after major code changes from Sense 5.5 to 6:

https://docs.google.com/spreadsheet...lqQ0V3R2FvdHc&usp=sharing&richtext=true#gid=0

I also theme with Xposed:

http://code.highspec.ru/Mikanoshi/dark-one-mini/tree/master
[One (M8) Themes and Apps] nashshafrulrezza:
Man, i think not everyone know how to make app. And some of us prefer the old school way. Many of my theming partner prefer old school way with modding apk and never use any tweak app while trying code it manually.
[One (M8) Themes and Apps] Basil3:
I theme for Viper, so the devs take care of the mods. Xposed mods are also the cause of quite a few problems that come up on viper, so generally steer clear of it.

The real time consuming part of theming is the creative side of doing the theme, and finding how to theme new parts that HTC have changed. Your theme was done by someone else, so you don't have to worry about the creative side, but you still have to deal with finding where and how to theme things that haven't been done before.
[One (M8) Themes and Apps] Mikanoshi:
Maybe it's time to move on?) :D If you used vrtheme only, then maybe it will be hard (but not really, I learned everything in a couple of months by myself, HTC One is my first Android device and I'm coding on java for only half a year), but I sometimes see modders that edit smali for mods and say they cannot write an app :) Xposed it twice easier than smali.

I changed half of the images in that theme, it is not a copy of Dark One at all, now when Sense is totally flat, making a theme is even easier, just change the colors :) Themes that change style completely will require more work, obviously.
[One (M8) Themes and Apps] nashshafrulrezza:
It a no go for me. I usually don't share my work. So I don't think I need all that. And my principles not going that way. I make a theme for myself and share it. If people don't like it and want other color. That their choice. I not going to follow what their want unless their idea hook me.

Sorry Ray. Don't mad about the off topic. Just explain what I feel.
[One (M8) Themes and Apps] Basil3:
Very true. I might switch to Xposed down the line, but in general Sense 6 is very easy to theme, at least for the look I want, which is generally fairly stock.

On topic: maybe we should do a list of things that we haven't managed to theme yet? Some of these things are theoretically easy, but for some reason I can't see the edit.

1. Background when in tabs screen if browser.

2. Popup to correct text in keyboard.

3. Preview images for the themes.

4. Background in HTC Setup app? I thought this was an easy edit in Sense 5? Can't remember.
[One (M8) Themes and Apps] Mikanoshi:
Who said you should share?) Dark One Mini for example is a theme I made for myself and it themes only apps I use, so it's an ultimate "for private use" version :D
[One (M8) Themes and Apps] nashshafrulrezza:
Which means if I don't share. I don't need to make it vrtheme or anything else to make it easier for user while just edit and push it to my phone.

---------- Post added at 08:30 PM ---------- Previous post was at 08:30 PM ----------

Basil.. how you get the keyboard pop up?
[One (M8) Themes and Apps] Basil3:
You need to have a word that is underlined for being incorrectly spelt, then tap on it. I had never seen it before, until a user pointed it out.
[One (M8) Themes and Apps] ineedone:
Wanted to share this: by making some colors transparent and making changes in drawable I was able to theme dailer. Trying to do the same on HTC_IME no luck so far

Verstuurd vanaf mijn HTC One met Tapatalk
[One (M8) Themes and Apps] Mikanoshi:
They are autogenerated from array of defined colors HtcWrapConfiguration.getThemeColor() by com.htc.home.personalize.picker.datamanager.ThemeDataManager.generateThemePreviewImage() method in HomePersonalize.apk and cached here: /data/data/com.htc.home.personalize/files/themePreview/
[One (M8) Themes and Apps] nashshafrulrezza:
You make the button color trans and force it to use button png right?
[One (M8) Themes and Apps] Basil3:
Thanks, will have a look

It can definitely be done, saw a screenshot of a keyboard themed with gunmetal grey texture this morning. I prefer flat look, so haven't really looked into it.
[One (M8) Themes and Apps] ineedone:
Yes, that's what I did ?

Must be, just haven't found out yet how. Do you know who did it , so I can ask what changes he made

Verstuurd vanaf mijn HTC One met Tapatalk
[One (M8) Themes and Apps] Basil3:
Was [MENTION=1792279]ivicask[/MENTION] (venom dev)
[One (M8) Themes and Apps] Raymond Ebertt:
I think sharing both knowledge and what you have made is not only a sign of good spirit, but a positive model for others to follow. I share what I know and what I made because it took me a long time to learn it and though I had some help a long the way, I want to return what was given to me.
[One (M8) Themes and Apps] ivicask:
Soon on Venom HUB sense 6 IME skins:)

So just wait, it will be much easier to make ur own skins using our skin packs than moding IME your self, or you can try do that if your skilled enough.

Gunmetal
[One (M8) Themes and Apps] Raymond Ebertt:
This is a helping thread. Why not provide some ideas for users that want to learn?
[One (M8) Themes and Apps] ineedone:
Oke, I will find out.. :)
[One (M8) Themes and Apps] Raymond Ebertt:
New Edit Found

Background in Browser.apk when Nagivating Tabs found thanks to [MENTION=918378]Basil3[/MENTION]

A quick tutorial has been added as well
[One (M8) Themes and Apps] ssojyeti2:
wow, xposed seems like a cool 2nd option! time to learn some java o.O
[One (M8) Themes and Apps] xReaper7x:
Can someone please post the Prism.apk with transparent background?
[One (M8) Themes and Apps] Pneuma1985:
Yeah dude not a request thread thats sort of what the tutorials are for... This is more of a sharing of (How-Tos)
[One (M8) Themes and Apps] Raymond Ebertt:
Need some help from themers. We're looking for this popup panel that comes up in the keyboard apk when a word is incorrectly spelled and a red line appears. The font and dividers come from resources, but after a few days searching, no luck with the panel.

Any ideas?

​
[One (M8) Themes and Apps] fisha21:
Great to see so many people contributing to this thread, thanks :) Sorry, not been around much, not had much time for theming recently. Going to do a bit of tidying up now, try and make an index in the OP.

Nice to see some alternative approaches to theming too. I'm very much an xml/png/smali-if-I-have-to themer, never really got into Xposed, though I appreciate it has its advantages.

Have read a couple of posts that I just wanted to comment on. The aim of this thread was to provide somewhere that themers could share info/findings, so we're not all spending time working out the same thing. As such, it is meant more as a themers' resource thread, where we can ask eachother for help with things we're stuck with - not really a request thread. If there is a mod described here that you don't know how to implement, I'd suggest either reading some of the excellent guide threads out there, or posting a request in the Themes/App subforum.

Also, I realise that not everyone wants to share their findings and that's fine, everything on xda is provided voluntarily. But I'd appreciate if people would refrain from posting pictures of mods, and then encouraging people to flash their rom in order to benefit from those mods - unless they are also willing to share their methods. This thread was intended to be ROM-agnostic, and I would prefer it stay that way. That said, if people want to share pictures of mods they have achieved using the info posted here, that's always welcome regardless what rom they flashed.

Right, now to attempt this index...*deep breath*

EDIT: Ok, done. Have revamped first 3 posts, hopefully the useful info in this thread is now easier to find. If anyone feels they posted something I missed, let me know and I'll add it in.

Thanks for posting screenshots when describing an edit you've found, makes it a lot easier to index! Also, quoted people's questions when supplying them with the answer really helped me cut down the number of links required, so thanks for that too!
[One (M8) Themes and Apps] Mikanoshi:
Days?) Just search for an Add to dictionary string as id:

suggestioninfo1.text.replace(0, suggestioninfo1.text.length(), mTextView.getContext().getString(0x10403ed));

It's in framework.jar/android.widget.Editor, and colors are there too:

protected void createPopupWindow()
{
mPopupWindow = new CustomPopupWindow(mTextView.getContext(), 0x1010373);
mPopupWindow.setInputMethodMode(2);
mPopupWindow.setFocusable(true);
if (Editor.sIsHEP)
{
PopupWindow popupwindow = mPopupWindow;
int i;
if (InputMethodManager.sIsSense55)
i = 0xffdfdfdf;
else
i = 0xffeeeeee;
popupwindow.setBackgroundDrawable(new ColorDrawable(i));
}
}

HTC likes to hardcode stuff, shame on them :)
[One (M8) Themes and Apps] Raymond Ebertt:
Thanks a million for pointing us into the right direction. However, I found the edit in a different smali.

Editor$SuggestionsPopupWindow.smali. The color reference helped a lot. Cheers.
[One (M8) Themes and Apps] Mikanoshi:
Different smali, same java class :) I only have decompiled sources)
[One (M8) Themes and Apps] CNexus:
Is there anyone out.there working on this? I'd love to get to working on it since I have a lot of experience with java, but I don't have this device unfortunately.
[One (M8) Themes and Apps] Mikanoshi:
I will in the future) Just a darker version of the current one, like the previous I made, but more flat:

http://code.highspec.ru/Mikanoshi/dark-one-mini/tree/master

Sources will be available too.
[One (M8) Themes and Apps] Raymond Ebertt:
Good to know. So, how could I search for something like this using VTS? I'm a stranger of your methods though they work perfectly.
[One (M8) Themes and Apps] CNexus:
I tend to use gnu grep for windows to do this...command-line, but it's fast and makes recursive id searching easy
[One (M8) Themes and Apps] Mikanoshi:
Get string name from strings.xml (addToDictionary), find it in /res/values/public.xml, there will be a string id (0x0102002a), search for it in smali and you'll find a class where it is used. I just search it in decompiled java files, not in smali) a lot easier for me to understand
[One (M8) Themes and Apps] CNexus:
What are you using to decompile the smali? I've used a lot of tools but none do it very well
[One (M8) Themes and Apps] Mikanoshi:
VTS :) It uses JAD. Tried manually decompile with JAD and latest dex2jar, but code quality is worse than with VTS...
[One (M8) Themes and Apps] CNexus:
Ah...that's odd

I think it's because VTS uses a combination of JAD and jd-gui to do it.
[One (M8) Themes and Apps] Psych0t1c20:
Im just curious where exactly are the phone images? The key, keypress, etc. Some are in the apk but the keys I don't see anywhere.
[One (M8) Themes and Apps] CNexus:
Check contacts app, they tend to share a lot of resources
[One (M8) Themes and Apps] Psych0t1c20:
I looked. Nothing relating to phone keys.
[One (M8) Themes and Apps] nashshafrulrezza:
They don't use any png for the keypad. It use xml. You'll need to mod the xml to transparent and make it use custom png that you create.
[One (M8) Themes and Apps] Psych0t1c20:
Ugh. I'd need to ask someone to do that.
[One (M8) Themes and Apps] mwilky:
Break the signature and put them back in /system and say good bye to auto updates ;)
[One (M8) Themes and Apps] Basil3:
I just advise people not to update :D

In any case, the problem I had with making market gallery a system app was the edit function broke. Is this something I did wrong?
[One (M8) Themes and Apps] Mr Hofs:
Hmm i only changed colors in the color.xml of the IME.apk and it looks like this now.

Or it takes its resource from somewhere else. Will check tonight when my little monsters are sleeping :)
[One (M8) Themes and Apps] Raymond Ebertt:
I would definitely would like to know because I solved that one over a complex framework.jar fix. Let us know for sure. Thanks
[One (M8) Themes and Apps] Pneuma1985:
Someone was asking about the carrier_label in statusbar and another person asked about how to move the clusters after you moved them to the left side... The tutorials are up

Ok sorry it took me a while I've been a bit busy...

I'm gonna do better than that I'll post a tutorial shortly on how to add what other service providers call a carrier_labal in the statusbar...I will show you what other roms and sp's call a carrier_label technically its not the plmnLabel id = true on off signal based carrier_label. In actuality it's android:id="@id/operator_name" or the android:id="@id/plmnLabel in a textview Here's a screenshot of it... One sec I'll post the tutorials for it in a bit... It is not possible to center clock after doing this and have the clock not clip other things within the statusbar though I will confirm that...And that is not limited to the operator id it can't be done when moving the signal_cluster view to the left side either. If we do manage to center clock. It's b/c you may be able to add the clock as a <DigitalClock I'm not exactly sure how the views for that work I havent tried yet but the main statusbar clock will not work in center with these mods in play based on how the viewstubs the layouts and the ticker id are structured... Its a play between all three and that makes it not possible without major clipping. I've reached out ticklefish to see if It might be possible and I'm just not seeing it, but I doubt it since both me and fisha tried and it didn't work.
[One (M8) Themes and Apps] 519ljh:
great work！:good::good:

and no clock on the status bar！ can you solve it？
[One (M8) Themes and Apps] MassStash:
Any kno how to fix larger back button when you change nav bar dpi in framework-res.apk? I tried an edit I found to SystemUI.apk, but that didn't work. Nav bar at 36dpi, but back button still significantly larger than home and recents.

~Jflteusc on OctOS

KToonsez Kernel

1.998 Max ¦ 189 Min ¦ 702 Screen Off

Ktoonsified v5 Setup
[One (M8) Themes and Apps] Pneuma1985:
yeah it says at the bottom of the tutorial if you want the clock just set it to visible in the xml... it's currently set to gone...
[One (M8) Themes and Apps] 519ljh:
very good！
[One (M8) Themes and Apps] Pneuma1985:
Just wanted to point out that the sprint is still a string and yeti let me know that on the AT&T variant it actually does change so i'm gonna dl an at&t rom and see how it works and how they got it in the statusbar with no f/c...

The tutorial on how to turn these spinning 3G icons on is in my tutorial post.

[MENTION=4457281]hawknest[/MENTION] was awesome enough to let me kdiff his stock .smali ui and take the stock method out of it.
[One (M8) Themes and Apps] Bebida:
Nice guide you have here [MENTION=704359]fisha21[/MENTION] I miss your face in our chat. I may have been messing about with some stuff if I ever have time to write it down I will
[One (M8) Themes and Apps] XNine:
I may be out of my element here, but what's stopping us from making our own themes and adding them to the HTC Theme chooser? Why are we editing themes instead of just creating new ones? I only ask because I don't know, and I'd like to know. Thanks for any insight you can provide.
[One (M8) Themes and Apps] Pneuma1985:
Umm well we can add a new class of themes as pointed out earlier in the thread using java or dex2jar utilities. But actually making our own theme will require someone who is skilled with java and then can convert it into dex and have the code be fluent. Not impossible but making our own themes would require generating new categories for it the way the previews are generated is in the cache of the arrays of the categories themselves. So making new ones is going to be quite a challenge. Lots of edits to resources for generating a new theme.
[One (M8) Themes and Apps] XNine:
Ah, I see. Okay, well, that answers that, Lol. Thank you for the info.
[One (M8) Themes and Apps] Pneuma1985:
Ok I got another epic mod I just figured out I will write a tutorial for. Hopefully all goes well with it ;)
[One (M8) Themes and Apps] jwhood:
Delete
[One (M8) Themes and Apps] Raymond Ebertt:
Mate, there is a complete tutorial in the OP. I don't see how you could have missed that. Go to the OP and you'll find several tutorials
[One (M8) Themes and Apps] btje:
Will this work on stock rom?
[One (M8) Themes and Apps] ViNOK16Bit:
No, it is based on ViperOneM8. You can try it but expect some issues

Sent from my HTC One_M8 using Xparent Red Tapatalk 2
[One (M8) Themes and Apps] MassStash:
Anyone have a fix that works for larger back button when editing nav bar dpi?

~m8whl modded stock

2.265 Max ¦ 300 Min

ondemand

row
[One (M8) Themes and Apps] nightrainbow:
Would it be possible to make the app icons on the app drawer a little bit bigger on sense?

If so, would appreciate if somebody could tell me where to look for that/

Thanks
[One (M8) Themes and Apps] btje:
ok time to go venom :)
[One (M8) Themes and Apps] Pneuma1985:
Ok I looked into this for you I'm half way there it required replacing the smali id's with a new image and then mess with the xml for hotseat.xml!
[One (M8) Themes and Apps] Mikanoshi:
Well, not all is lost for the stock :P

[YOUTUBE]UB2fJidr4FQ[/YOUTUBE]
[One (M8) Themes and Apps] Raymond Ebertt:
Inverting Fixes Added

A few more inverting issues have been fixed. Big thanks to [MENTION=5386198]Mikanoshi[/MENTION] for providing some insight and tips on a handy tool.
[One (M8) Themes and Apps] Pneuma1985:
Isnt that just the module for xposed? sense 6 toolbox? J/w
[One (M8) Themes and Apps] Bebida:
Some good names working in here. I need motivation.
[One (M8) Themes and Apps] Mikanoshi:
so?) it is
[One (M8) Themes and Apps] Raymond Ebertt:
Good to see you out and about. Haven't heard from you in a long time. Hope all is well with you.
[One (M8) Themes and Apps] nightrainbow:
Thanks man,

I think you went over my pay grade there, I was hoping maybe some layouts and resources edits.

I was looking for a Google launcher kind of layout, but if it's that tricky I'll leave it on standby for now.

Thanks for the pointers/

I just saw you changed you reply, to some good news/
[One (M8) Themes and Apps] Pneuma1985:
Yeah I actually am halfway there I used the google launcher icon as the app drawer icon give me 20 minutes and hopefully I'll get it and show you how...
[One (M8) Themes and Apps] Bebida:
New job new hobby and my laptop is a heap o crap took 10mins to compile framework the other day so I'm struggling to be bothered all I've done is the usual trans stuff.
[One (M8) Themes and Apps] Raymond Ebertt:
Interesting concept. Sense 6 is a nightmare but it's entertaining as well. Hope to see some stuff from you.
[One (M8) Themes and Apps] Pneuma1985:
As promised I did it and I will post the prism.apk for you or teach you how one or the other... Only reason I offer the .apk is b/c it took a while to figure out lol.

I will play with the padding a bit in the hotseat id to make the icons go back up but i figured out how to get the app icon in the right spot at least. As you notice the the app-drawer icon is the original size of the google app drawer image... Think its like 144x144 i forget doesnt really matter it's larger.

Spent an hour trying to move the app-drawer icon up and finally I got it.. Smali uses a dim id to push it down independent of the other app icons so was a pita!