yashsingh1/xdaforums huggingface dataset:
[HTC EVO 3D] geenyous:
Theming Settings.apk in Sense 4.1

I posted the same over in the ViperX theming thread:

I spent hours to try to get the settings.apk propperly themed.

So far I had some success, but unfortunately not everywhere.

Most crucial parts of the layout of the Settings.apk are tied to com.htc.resources.apk which we can de- but not recompile. So I directed various stuff to framework-res.apk, where I made the necessary entries before as we can change the parameters there (compared to com.htc, where we can't change xml stuff).

Now I found out fairly soon, that the "common_list_item_src.png" in com.htc/res/drawable changed the background of the settings items, so I changed it to black to play around et voila, all was black. But, since I have a nice dithered holo background, transparent is even nicer so I changed it to transparent. I then discovered, that not all items behave the same in the Settings.apk, some are transparent now that where white/black in the beginning, but others are again white, suggesting that they have a background below the mentioned png.

Interestingly enough, the transparent worked where the text also changed to white as per my changes (again, copy various styles and colors from com.htc to fw-res) but the text stayed black where the background is white... (see attached).

This happens even in the same menu (see power menu screenshot attached). :confused:

Since I spent so much time on this already (htcs programing is a real mess!!) and I just can't forget how beautiful the apps overview looks now (see attached), I am determined to make this happen!

I made an excel list on the way where I documented all my changes. Let's collaborate on this to get it done!

I uploaded it to gDrive, send me a PM to get the password to add your changes.

Doc: Sense 4.1 Theming.

FYI, initially I planned to make changes to the colors of com.htc., that's why the top section of the excel is designed as it is.

I soon discovered that this ain't enough and so I added the lower part which documents changes made and where possible (or already figured out) the effects the changes have. Color underlied fields represent the color change I made (not the exact color, but close) for that entry (except black and white) for easier reference.

I have also labeled some of the fonts on the screens, I need to find out what the others are, especially the fonts on the buttons and one in power menu, where it describes the packages of the respective app (it's black, no good on black background ;)).

Here's my test installer with all the made changes and here are the modified and compiled apks.

Would be really cool of we could do this!!

Cheers
[HTC EVO 3D] lms24:
Sense 3.6 com.htc.framework.jar

Hello I'm new to Rosie modding. I released a Sense 3.6 Rom for HTC Vision with Bliss Rosie. I found two tutorials how to remove the paged app drawer. They both require com.htc.framework.jar to be decompiled and to edit /com/htc/widget/PagedGridView.smali. So I decompiled the jar but the only file I have inside the jar is dummy.smali. I'm using Virtuous Ten Studio. Could someone tell me what I could do to remove the paged app drawer? Thanks in advance :)
[HTC EVO 3D] tbonanno231:
I believe that smali file is in Rosie.apk.
[HTC EVO 3D] il Duce:
Try shortening your response to what you are trying to do. I'm so confused lol. But I've messed around in settings and framework a few times, maybe I can help? You could also PM me your gtalk.

Use straight apktool. Sounds like whatever is in VTS won't do jars.
[HTC EVO 3D] lms24:
Tried different versions of apktool and baksmali. No success. The jar file seems to be empty. Anyone has an idea where the content has gone?
[HTC EVO 3D] il Duce:
Did you look in rosie?
[HTC EVO 3D] geenyous:
Thx for your response.

In the meantime, I got it to work: read here. :victory:
[HTC EVO 3D] lms24:
Sorry, I didn't see the first reply :). I found it in the Rosie. Thank you
[HTC EVO 3D] vanessaem:
But the question is why? ;) Does it prevent me from having to decompile for example, the SystemUI via the apktool to work with those png's?

Brought to you from my HTC EVOlutionary 3-Dimensional Smartphone
[HTC EVO 3D] jeffsanace:
Yes, I try to do them like that as much as possible. Take rangers shadow framework, he has images in there that exceed the size of the original, thus making it impossible to recompile without first re patching the image and then compiling the patched image. Think of a .9 as a rubber band only it has to look the same even when it's stretched to 5 times it's normal size. They're not hard to patch if you have an example. I will post an example of a decompiled framework later. It will show you exactly how each image should be patched. As for the ones that are different than stock size, they can be a bit of a pain and probably should be done by someone that has more experience. Also, if you have bad 9pngs they can cause many problems including bad battery life, lag, sense reloads, etc. The system has to constantly try and render those images, so if let's say you have a bad widget background 9png. It may just force close because the system can't render the image, or it may look really distorted.

Sent from my Bad Seed customized EVO 3D!!
[HTC EVO 3D] steal25:
Heres a link to a really easy .9 compiler, I think jeff mentioned using it in an earlier post, but i haven't seen a link to it. just extract the contents of the zip to a folder and you have to create a folder structure, I just have mine like this because its the first apk i used it with "settings-res-drawable-hdpi". Decompile your apk to be modded and place all your to be modded .9s in drawable-hdpi, I use photoshop to edit, after editing run the .exe and if all went well the recompiled .9 will be in "done-res-drawable-hdpi" take those recompiled .9s and place them directly into the apk (not the decompiledapk) in the appropriate place. Its super easy I use this tool for all my .9 edits. Most of the time when it errors out its the black guide lines and all you have to do is go back in and reblacken them. Hope this helps.

ultimateX
[HTC EVO 3D] tommytomatoe:
Exactly. It's for when you want to play with one or two 9.png at a time without decoding an entire apk.

I have a ninepatch decompiler tool for Unix and Unix-like systems in my signature.

Nevermind. It's not in my Sig.

http://xdaforums.com/showthread.php?t=1181284

It's also in au.

tapatalk signature here. lovely.
[HTC EVO 3D] dased14:
I'm think that's what's going on with my EVO I swapped out the green .9 for blue ones that found in a different theme and after that batt life went to hell
[HTC EVO 3D] jeffsanace:
Xultimate also has an example folder of a decompiled framework. Might need to be updated to a gingerbread framework though.

Sent from my Bad Seed customized EVO 3D!!
[HTC EVO 3D] jeffsanace:
Here is a tutorial Slayer69 did for .9 pngs. This was actually when he did something with .9's LOL! Sorry just a dig at him for being inactive for like a YEAR! Anyway, it is a good guide to working with .9 files. This tut helped me tremendously when I needed it, hopefully it does the same for someone else.
[HTC EVO 3D] jeffsanace:
This is a almost stock decompiled framework-res drawable hdpi. All the .9 files are stock atleast(the link said stock rooted) Just use these as a guide for patching .9's the lines in the decompiled ones are how you would patch them. Hope this helps. Just unzip and save somewhere for reference.

P.S. If anyone needs help with .9's that are being difficult, feel free to ask as I have gotten quite good at it.
[HTC EVO 3D] pstevep:
Sooo, for some reason I have an itch to try something new.. Is Miui easily themed?

_______________________

No d3rp left behind - ranger61878
[HTC EVO 3D] vanessaem:
Making one or applying one?
[HTC EVO 3D] pstevep:
Both

_______________________

No d3rp left behind - ranger61878
[HTC EVO 3D] vanessaem:
It's easy to apply a theme but I'm not sure about theming.
[HTC EVO 3D] Brooklyns_Finest:
Great write up! Very imformative and helpful.

Thanks
[HTC EVO 3D] pstevep:
Well. I am not sure what to say then.

It's hard for me to not theme crap now that I can.

It will be bad when herzog starts making me try to port a rom again..

_______________________

No d3rp left behind - ranger61878
[HTC EVO 3D] vanessaem:
Hmm.... You may not have to. MIUI has hundreds of themes to choose from.

Brought to you from my HTC EVOlutionary 3-Dimensional Smartphone
[HTC EVO 3D] pstevep:
I shall go read the thread..

_______________________

No d3rp left behind - ranger61878
[HTC EVO 3D] Vinchenzop:
Question for someone more experienced in using photo/icon editing. I'm have ported many battery mods to many frameworks as favors for people, but sometimes I get requests for specific battery mods of mine (ones I've compiled from battery images I've found around XDA/Web) in different colors.

Is there a way to batch color-change specific parts of the, sometimes up to 203, battery images? I have the batch plug in for gimp, but haven't figured out how, if at all possible, to change a certain color to another (besides making them all grayscale).

Anyone know?
[HTC EVO 3D] il Duce:
Ranger was just talking about this, pm him. Of course maybe someone will answer here too.
[HTC EVO 3D] eg1122:
+1 I have been theming for a year or so now and my fiancee always want my theme on her phone but in a different color and its a pain to go through every single png and recolor it.
[HTC EVO 3D] pstevep:
And I went miui.. I will give it a try here..
[HTC EVO 3D] officiallytook:
Could someone be so kind as to point me to the xmls to change the white letters to different color instead of white on the HTC_IME.apk keyboard

Thanks for getting me back here duce

Sent From a Super E4GLE_OfficiallyTook

latest everything...awesome kernel

and we're talking purple on a Red Xparent TapaTalk
[HTC EVO 3D] Bebida:
I've done it on sense 4 and it was in colors.XML if I remember correctly.
[HTC EVO 3D] ramjet73:
If no one on this forum answers your question, you could try a PM to jerrytan93 since I know he's modified the Sense 3.6 keyboard to look like a Sense 4.x version so I'm sure he would know.

ramjet73
[HTC EVO 3D] Gumby63:
Yeah the exact edit is in /res/values/colors.xml

Change <color name="ime_common_key_color">ffxxxxxx</color> to what you want.
[HTC EVO 3D] officiallytook:
I don't know what all the fuss is about xda...LOL...imma low-key ****, and know how to listen and keep moving...you guys are the dopest, round of thanks and dranks for the #Team Los Angeles living hit me up well link up...other than that...xda is the Shiet, developers, modders, and those reading are the Shiet too, stay coo love life decompile it and make it work...

Sent From a Super E4GLE_OfficiallyTook

latest everything...awesome kernel

and we're talking purple on a Red Xparent TapaTalk
[HTC EVO 3D] il Duce:
this is the best thread on xda
[HTC EVO 3D] pstevep:
Quoted for truth.
[HTC EVO 3D] officiallytook:
Yes it is, yes it is.

Sent From a Super E4GLE_OfficiallyTook

latest everything...awesome kernel

and we're talking purple on a Red Xparent TapaTalk
[HTC EVO 3D] officiallytook:
Okay just need to locate the white PNG in text suggestion in the pic below any finger pointing would be much appreciated

Sent From a Super E4GLE_OfficiallyTook

latest everything...awesome kernel

and we're talking purple on a Red Xparent TapaTalk
[HTC EVO 3D] lex_is300:
Try fixedwcl_frame_first.9.png and fixedwcl_frame_light.9.png in res/drawable-hdpi
[HTC EVO 3D] charlescaz:
Need some help please , I put the framework files from the rom in currently using into vts , I can decompile and recompile with no problem , I have edited the keyboard and sense skin but when I install them nothing changes or happens . I tried installling as a zip in cwm and have even tried installing apk for sense skin with no luck , i have changed a lot of the png images etc. I cleared sense cache rebooted ,have searched on a lot of different threads any help would be appreciated. Thanks
[HTC EVO 3D] il Duce:
What all did you change in the skin?
[HTC EVO 3D] charlescaz:
I Changed the lockscreen png ( don't like the holo ) and the launcher dockbar , the png's are the correct size as required also , so not a massive change , two small things really. When I unpack the apk the images are in there that I have changed ? Oh I also deleted the public.xml folder just in case. I used the steel.apk from sense ,one thing I did notice now tho the lockscreen ring is the default one not the actual steel one as per the original theme ? Confused.
[HTC EVO 3D] Gumby63:
Did you sign them?
[HTC EVO 3D] knightwolf123:
How about a game of...

"Find that png"

See the two fuzzy grey images?

Who knows the name of those png images?

Sense 4.0 skin :D
[HTC EVO 3D] il Duce:
you can't change those yet, there's no new VTS (m10 tools) which can access those, they're in m10 files. The ones in drawables are dummy pngs and do nothing. You probably did everything right lol.

image fail, no can see.
[HTC EVO 3D] officiallytook:
Think he's talking about.the menu.backgrounds

Sent From a Super E4GLE_OfficiallyTook

latest everything...awesome kernel

and we're talking purple on a Red Xparent TapaTalk
[HTC EVO 3D] knightwolf123:
Image fail = true

Background images supposed to be white but has a grey fuzz.
[HTC EVO 3D] il Duce:
They're probably in resources?
[HTC EVO 3D] charlescaz:
Oops haha. Right ill have to change the base I'm working on , I'm one the one x+ base using the framework files from there . Which base can I use for vts ?
[HTC EVO 3D] knightwolf123:
Skin/res/drawable_xhdpi

just can't find the lil booger
[HTC EVO 3D] il Duce:
You would use the same files in vts as you would in apktool

Keep looking? Lol. Hopefully badseed will drop some knowledge.
[HTC EVO 3D] ssojyeti2:
+1 they are definitely in there somewhere...

Edit: nevermind lol saw that its in a skin. Good luck finding it..
[HTC EVO 3D] charlescaz:
please help , in the picture , the blue at the bottom left highlight where do i find that to change the color ? am i going blind cos i cant find the correct xml to change it in, when you change skins it changes color must be somewhere !! ... :confused::confused:
[HTC EVO 3D] Bebida:
It's a .9png common_subnav_selector_tab.9
[HTC EVO 3D] charlescaz:
Brilliant thanks !!
[HTC EVO 3D] Dougi:
Some nice dev's and work here .. keep it up dudes :cool:
[HTC EVO 3D] callmemitch:
Wahhh.... this make me blur...:eek:

wanted to change somethin in phone like messaging backround... :

Sent from: GT N7000_ROCKET ROM_V12
[HTC EVO 3D] officiallytook:
Anyone know where the speaker in the volume png right there is? Change every one I found so far just don't know why I can't find it

Sent From a Super E4GLE_OfficiallyTook

latest everything...awesome kernel

and we're talking purple on a Red Xparent TapaTalk
[HTC EVO 3D] Gumby63:
Probably com.htc.resources?
[HTC EVO 3D] lex_is300:
Should be zzzz_icon_sound_display.png but there's one in both framework-res and com.htc.resources. I believe framework-res is the one your looking for and the one in com.htc.resources is for the Advanced Power Menu.
[HTC EVO 3D] officiallytook:
Thanks that did it...but now I can't find the white and red png here

Sent From a Super E4GLE_OfficiallyTook

latest everything...awesome kernel

and we're talking purple on a Red Xparent TapaTalk
[HTC EVO 3D] il Duce:
I wanna know where that black background is *behind* that png :)
[HTC EVO 3D] jbermi:
thse are in resources, too I think...but for sure in frame work...zzzz_common_icon_lock_power_off_qb and zzzz_common_icon_lock_restart_qb
[HTC EVO 3D] officiallytook:
Duce ill link u the framework folder and sys UI so you can help this noob figure it out...LOL...

Sent From a Super E4GLE_OfficiallyTook

latest everything...awesome kernel

and we're talking purple on a Red Xparent TapaTalk
[HTC EVO 3D] officiallytook:
I see those but they are not it...o believe its like a overlay selector maybe to let u know which sound tab you are on

Sent From a Super E4GLE_OfficiallyTook

latest everything...awesome kernel

and we're talking purple on a Red Xparent TapaTalk
[HTC EVO 3D] jbermi:
My bad, I misread your post.

try framework, files starting with ab_

Sent from my EVO LTE under your mom's bed.
[HTC EVO 3D] officiallytook:
Aye duce its actually in my skin I just made on the 2nd...well one of em

AND I changed that png ab_background in framework and still same thing...might be an xml edit somewhere gotta dig

Been digging still can't find any help would be appreciated

Sent From a Super E4GLE_OfficiallyTook

latest everything...awesome kernel

and we're talking purple on a Red Xparent TapaTalk
[HTC EVO 3D] jbermi:
where would I find the tmblers and numbers for this (calender)?

i know they are not affected by changing skins..afaik.
[HTC EVO 3D] il Duce:
those are in skins (not sure if the image applies - but they definitely in there)
[HTC EVO 3D] jbermi:
hrm...maybe in fusion. because I just went through a variety of skins I have and none changed.
[HTC EVO 3D] officiallytook:
What about that white and red png?

Sent From a Super E4GLE_OfficiallyTook

latest everything...awesome kernel

and we're talking purple on a Red Xparent TapaTalk
[HTC EVO 3D] il Duce:
Meaning you found the tumblers in the skin, modded them, and it didn't affect the OS?
[HTC EVO 3D] jbermi:
of the skins i use, none alter the look of the tumblers or numbers in the calendar app...1st screen is using badseed;s ICS_matte (stock skin in tranquility) the second one is my modded version of v's mor matte and the last is your white hot. none of the skins affect the tumblers or numbers.
[HTC EVO 3D] il Duce:
And what makes you think they don't all just simply have the same image? Try inverting them and see what happens.
[HTC EVO 3D] tbonanno231:
I see a lot of chatter on skins, which is what I'm working on. I've got a conceptual question which I think is very fundamental.

I've compared my own skin with others that work on Sense 4.x, and I've noticed that there are some that include more images in the m10, and there are corresponding entries in the x10 file for each of them.

So my question is, what controls what images you can or can't add to the m10? Or, my hunch is, another way to ask this question is, what type of references get pulled from the m10 and how is that plumbed?

Any help is greatly appreciated.
[HTC EVO 3D] il Duce:
the bigger skins are ones where the WHOLE /default/shared/images/ *from fusion* were put into the skin, as for how they apply, I've never looked.
[HTC EVO 3D] eg1122:
Htc uses a jar to apply all m10 images, I've looked at it enought to know that much...as far as how exactly it is done via that jar...I have no clue.
[HTC EVO 3D] VictoriousShooter:
Okay, so I've seen that vts has been updated to support m10 images, but I still can't find the dock or 4x1 clock of sense 3.6. Where should I be looking?
[HTC EVO 3D] il Duce:
I've not looked in sense 3.6, but it should be in either fusion/default/ or if you're using a skin it would be in there

assets/drawable/port/images/

and is probably 540*80 or so

Isn't it a big glassy looking thing anyway?
[HTC EVO 3D] VictoriousShooter:
Yes. I've checked that folder, along,with all of the drawables. I guess next is to check fusion. I just wanted to make a skin though
[HTC EVO 3D] il Duce:
Are you using a skin currently?
[HTC EVO 3D] fisha21:
I've seen that effect once before, when I was trying to make menus transparent. Can't remember exactly, but I know I messed with some xmls in skin/drawable (common_list_item_gradient, _texture, _background and _background_activated). According to my notes the 1st and 4th xmls controlled colour and gradient effect on list items, might be worth looking at those. I also edited some pngs, can't remember which ones, but they were the ones referenced in those xmls. Hopefully that'll help you track it down.

On another note, not sure if anyone's tried editing Phone.apk on ICS or JB. I had issues recompiling the apk with ICS, and now with JB too (HTC Sense 4+). Thanks to a sharp eyed user on the apktool thread, I managed to fix the xmls that were preventing it from recompiling. Just thought I'd share them here.

http://d-h.st/1KD

These are taken from the Sense 4+ apk, but just tested with Phone.apk from Sense 4 and that compiled fine as well
[HTC EVO 3D] VictoriousShooter:
I imported a skin into vts, and thats what I was looking in, if that's what you were asking.
[HTC EVO 3D] lex_is300:
Hahaha this thing was a b****h to find, took me forever but it is E6AD4A2B.png. For some reason HTC decided to make the image stretch too even though its not a .9 because its acutally 44x148.
[HTC EVO 3D] VictoriousShooter:
I just checked, doesn't exist
[HTC EVO 3D] lex_is300:
What skin are you trying to edit?
[HTC EVO 3D] VictoriousShooter:
http://www.mediafire.com/download.php?52m911zzll7290b
[HTC EVO 3D] il Duce:
these are contradicting post ;)

the skin is for sense 3.5 - it would never have sense 3.6 things in it, like the 4x1 clock or new dock. You need a new skin ;)
[HTC EVO 3D] VictoriousShooter:
That's just the file name. (im not that dumb)
[HTC EVO 3D] lex_is300:
This skin is actually still using the m10 file from sense 3 or 3.5 so thats why there are sense 3.6 images missing. I fixed it by copying the default folder thats in the fusion.apk and changing the name to what the skin was using. Now its a sense 3.6 skin plus some. ;) I did keep the images that were the same from the original skin you posted too.

HERE
[HTC EVO 3D] il Duce:
I knew it :p
[HTC EVO 3D] fisha21:
Have gained so much from this thread, just wanted to share something back.

Managed to get the 4x5 Rosie homescreen mod working properly with full page widgets, thought I'd share the link here

http://xdaforums.com/showthread.php?p=34313282

Its based on Rosie/widgets from Sense 4+, but the changes should be back-portable. Haven't looked into it yet but will do when I get a chance.
[HTC EVO 3D] VictoriousShooter:
Alright, need some more help. 2 things really:

One- I *think* I have two skins from the HTC rhyme, which is on sense 3.6, yet they don't show up under the skins menu

Two- I need some help with resizing some apps, more info on those apps here: http://xdaforums.com/showthread.php?t=2004807
[HTC EVO 3D] hockeyfamily737:
Even though the Rhyme is Sense 3.6, IIRC it has a 3.7" lower resolution display.
[HTC EVO 3D] VictoriousShooter:
But still, wouldnt it at least show up?
[HTC EVO 3D] il Duce:
Compare the manifests, you probably need to modify them to work on the shooter.
[HTC EVO 3D] VictoriousShooter:
Okay...how do I do that?
[HTC EVO 3D] il Duce:
Decompile both apks, use kdiff to compare the manifests
[HTC EVO 3D] VictoriousShooter:
Actually, after looking inside the Apks, I don't know if it even is a skin. I can't find any m10s.

Here's the skin: http://db.tt/wiDvDrhI
[HTC EVO 3D] il Duce:
If that's the case it is pulling the skin m10 from fusion/assets/nameofskin/

So decompile fusion and the skin with apktool (not vts) and grab the skin m10, then put it into the skin/assets/name of skin folder/name of skin m10

Should work then