Related
Hey Dudes, can someone please tell me, where are the Default Theme settings stored in the ROMs of our HTC Wizard (and probably the rest WM6's) ? I am making a new ROM and I want to change the Default theme of the Base ROM I am using.
Look in your SYS folder and its in a package named something like DPI_96 (sorry, don't have a kitchen near me and I don't remember the exact name). Anyway, in there you will find one (or more) files that start with stwater*.bmp (probably like stwater_320_240.bmp, stwater_240_320.bmp). Those are the backgrounds for the default theme (there could also be tdywater.bmp files too, which are used for the background of the start menu drop down). The tricky part is then finding the actual registry entries that set the font colors and such.
What I recommend doing is finding a theme you like now and pull the .tsk apart (.tsk are just a .cab, so any tool that can pull cabs apart can do them). You can then grab the registry entries out of that to then put in a .rgu file for your rom.
Hope that helps. I'm only dabbled with changing the theme, so there may be more elegant methods, but thats what I did with XM6...
mfrazzz said:
Look in your SYS folder and its in a package named something like DPI_96 (sorry, don't have a kitchen near me and I don't remember the exact name). Anyway, in there you will find one (or more) files that start with stwater*.bmp (probably like stwater_320_240.bmp, stwater_240_320.bmp). Those are the backgrounds for the default theme (there could also be tdywater.bmp files too, which are used for the background of the start menu drop down). The tricky part is then finding the actual registry entries that set the font colors and such.
What I recommend doing is finding a theme you like now and pull the .tsk apart (.tsk are just a .cab, so any tool that can pull cabs apart can do them). You can then grab the registry entries out of that to then put in a .rgu file for your rom.
Hope that helps. I'm only dabbled with changing the theme, so there may be more elegant methods, but thats what I did with XM6...
Click to expand...
Click to collapse
Default_stwater_240_320.gif
Default_stwater_320_240.gif
on Base_DPI_96 folder or Base_DPI_96
thanks mates, I knew about the background image, what i needed is to find the reg entries of the Bar colors etc....
Again thanks for your precious help
WizeMan said:
thanks mates, I knew about the background image, what i needed is to find the reg entries of the Bar colors etc....
Again thanks for your precious help
Click to expand...
Click to collapse
you can change Bar color in :
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Color]
"BaseHue"
tom_codon said:
you can change Bar color in :
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Color]
"BaseHue"
Click to expand...
Click to collapse
That's the Base Hue not the bar color ...but it will change the bar color too if you modify that, as well as all the colors in the theme.
anichillus said:
That's the Base Hue not the bar color ...but it will change the bar color too if you modify that, as well as all the colors in the theme.
Click to expand...
Click to collapse
Agree with you bro..!
Hi to All,
I've been playing around with ROM's, cooking my own etc but there's one thing I can't get right..and that's getting a theme to correctly load..
At the moment in the OPeratorPKG folder, I am modifying the line in config_operator.txt and changing the HTC.tsk to the one I want ie
EXEC:\WINDOWS\cusTSK.exe \WINDOWS\WM Black 6.1.tsk then of course adding WM Black 6.1.tsk into the same folder.
But the theme never quite loads properly?, when you tap start the drop down menu is still green??
The only way to get the theme to look correct is to re-select it under Settings/Today
plus I can not get the top and bottom bars to go jet black.
I tried adding the following line to config_operator.txt and adding into the folder Glossy Black Bars.exe
EXEC:\WINDOWS\Glossy Black Bars.exe
but on hard reset, I get an error saying Glossy Black Bars.exe not found? - even though it is correctly installed in the windows directory??
Is there a correct or better way to ensure my phone hard resets to the correct theme I select during the cooking process??
Cheers
John
My (long) method
I had this problem when I was cooking - every time I set cusTSK to install a theme it coloured the bars but left the home screen screen with the Windows green circles.
The only way I found to fix this was to replace the wm61_stwater file in the SYS/base_dpi_96_resh_240_resv_320 folder in the kitchen with the one from the theme I wanted. If you take the .tsk theme, rename the extension to .cab and then you can use a cab editor to extract the stwater and put them into the kitchen. The only problem is that this also changes the background on the inital screen alignment and other setup screens, so I had to change the blankbanner.96.gif, myinfo.96.gif and complete.96.gif files too to avoid the initial post-flash screens look a mess!
Good luck, and if there's an easier way, please let me know!!
Stu
As the title suggests i am trying to track down the images/files that contain the lock screen sliders. HTC have modified these files from the original ones i have noticed and these are no longer the easy to find LS_Lockscreen***.png's. I would like to customise them from boring grey an white to something more colourful but i cant find them!! Any help please.
Hey dude!!
Part of the HD2 Crew now lol!!
Id also like to find these things but also the following:
1: what has HTCUSB2PC.png changed to as i hate the green dot when i connect to USB!!
2: Bootup animation: I have the following reg settings:
Code:
[HKEY_LOCAL_MACHINE\Software\HTC\HTCAnimation]
"StartupGif"="\\Windows\\animated.gif"
"StartupWav"="\\Windows\\BootUpHTC.wav"
[HKEY_LOCAL_MACHINE\Software\HTC\StartupAnimation]
"GIFFile"="\\Windows\\animated.gif"
"WAVFile"="\\Windows\\BootUpHTC.wav"
and the files in place, but nothing happens!
3: Change the Splashscreen!! the O2 Banner is really gay, i knew how to change the splash on the diamond by creating bmp, convert to *.nb, add some extra bytes, convert to *.nbh then flash.
is the same possible on the HD2? does it need HardSPL?
4: It seems that there are alot of repeated png's for eg, the comm manager switched use 4 png files which i have customised to grey:
Status_On
Status_Off
Status_On_Disabled
Status_Off_Disabled
etc, but EG: open comm mrg, enable wifi so the comm mgr switch is "Status_On" this will use my custom png i.e. grey. but if you click on the WiFi tab in Comm mgr, you go to the advanced screen and the WiFi switch has turned back to green.
this happens for everything in the comm mgr. where are the other "Green" switches?
Thanks
MG
Im not the biggest fan of bumping but this is annoying me and i fear it was overlooked by someone who might know the answer so BUMP BUMP!!
Hi there ... my question is for the people who have a clue in editing images .... tried searching here, also in google, but can`t find the answer I`m looking for.
Everyone that has tried to edit a manila file with a .png or .bmp inside has seen that some pictures have PINK background (boarders) that look transparent when installed on the phone. I will attach a picture as example of course ...
So when I try to edit such image using a photo software (for example Photoshop) and save the image after a change or two, I get that PINK to show in my image on the phone .... when it`s not edited the background is still PINK but it never shows up .... so this PINK color is some kind of transparent background that works in a different way than the normal transparent layer that I add to pictures in order to be transparent ....
The perfect example ... I install a SKIN for Resco Explorer ... the skin has a .skn file and 3 png files that are the icons that are used inside the software. All 3 files are with PINK boarders, so when I install them they show completely transparent on the phone ... when I edit them and remove the PINK at all from the image and make that same PINK transparent, the icons are not transparent any more but with WHITE background .... That happens ONLY ON these pictures that have that PINK background by default. If I take a normal image that has no PINK boarders and make it transparent it shows also transparent in my phone. The second try with the png files with the icons for Resco is by editing the file without removing the PINK background ... let`s say I change an icon and then when I save the image and put it in my phone ... I can see the pink behind the edited icon .... when I try to copy just the pink and make it a layer it shows PINK on my phone ....
So in less words ... is there a way to make my own PINK background to look transparent, like in the original files, and is there some kind of tutorial on how to do that .... cause it`s really different when you try to edit an image with that kind of background and a normal transparent background ... it just shows up differently in phone !
Hope people that have worked with photoshop know what I`m talking about.
Thanks for your time reading this whole thing and really hope that someone could help me ... thanks in advanced !
P.S. Uploading 2 images ... 1 is from the phcanImages.dll that has all Images from the Dialer screen , and the other is a png file with icons for resco explorer. Both have that PINK background and both show up differently when that pink is replaced with a normal transparent layer !
Well, a bmp picture won´t give you transparency options.
Attached, see your example as a png picture.
Don´t know about your settings in Photoshop...
And how did u manage to make it look like that .... and if I save that file as .png will I get the PINK background again ?
Ok ... so I tried to save the bmp as png ... the pink background was still there when I saved it as png .... I tried to make it transparent but I don`t know how , cause that is neither Raster or Layer ... it`s background and I cant get it transparent .... I tried another thing ... I made a transparent background ... added a layer and draw custom lines.. then saved the image as .bmp .... I got an image with white background instead of transparent .... how can I get that PINK background that the phone recognizes as transparent and save it as BMP file ???
Ok ... let me put it that way ... someone can really help if he can .... how to make a transparent background in a BMP file ?
c0rp1 said:
Ok ... let me put it that way ... someone can really help if he can .... how to make a transparent background in a BMP file ?
Click to expand...
Click to collapse
This is not possible so far i know!
If you download the attached file ... you`ll see that there is a PINK background that doesn`t show in the phone ... so phone recognizes it as transparent .... I`m asking how can I do such background on a BMP file ......
Anybody
I actually noticed this while messing around with a dialer, it seemed that the pink areas were indeed transparant on the phone. I was able to copy the pink colour to make The answer/ignore slider transparent if i wanted to. No idea if you can create a new image and have tranceparency tho.
try to save it as gif on the PhotoShop and then try to change its extension to bmp, it may work that way. cheers
I`m sure that here are people that have edited tons of bmp files .... it`s absolutely impossible no one to know how can I make transparent parts on a bmp file .... renaming gif to bmp didn`t work !!!!!!
rawrscary said:
I actually noticed this while messing around with a dialer, it seemed that the pink areas were indeed transparant on the phone. I was able to copy the pink colour to make The answer/ignore slider transparent if i wanted to. No idea if you can create a new image and have tranceparency tho.
Click to expand...
Click to collapse
When I copy and paste the pink area I get pink also at the image in my phone .... that is the question ... how can I make such pink area in order the pink area to be shown as transparent on my phone .....
gjizaqin said:
try to save it as gif on the PhotoShop and then try to change its extension to bmp, it may work that way. cheers
Click to expand...
Click to collapse
OMG, you can never do this!, contents on file is the same, you are ONLY changing the file extension. If you, for example, create a .wav file and then change it to .mp3 it doesn't convert to an MP3 file, it's only a WAV file with a xxxx.mp3 name, so, as content isn't mp3, you can't read it in a mp3-only player.
Now, with that in mind, an BMP file format (And JPG's by the way) don't have any way to establish transparency or semi-transparency (like alpha in PNG's format.). So many programs needing transparent pixels on BMP files have used along many years a especific RGB color (also called Mask color) that isn't used often in pictures, like a bright pink or a bright green, (pink being the most used). This way, a program reading this file detect pixels with this EXACT color and do their magic ignoring those pixels making them transparents.
This pink color is R:255, G:0, B:255 or #ff00ff in hex.
Green in turn is R:0, G:255, B:0 or #00ff00 in hex.
NOTE: NEVER use JPG format when working with this type of masking, as JPG compression adds artifacts and modifies colors slightly. You must use EXACTLY this color code for masking BMP files (you can't use for example R:254, G:0, B:255).
also dont know, sorry
+1 on post 12.
I did not know the exact color of pink (hex code) but when I worked with xdashutdown skins, the PNG's have pink background so I simply used the color picker and I have perfect transparencies every time. At least now I know the hex code for this pink. Thanks!
gore_darkside said:
OMG, you can never do this!, contents on file is the same, you are ONLY changing the file extension. If you, for example, create a .wav file and then change it to .mp3 it doesn't convert to an MP3 file, it's only a WAV file with a xxxx.mp3 name, so, as content isn't mp3, you can't read it in a mp3-only player.
Now, with that in mind, an BMP file format (And JPG's by the way) don't have any way to establish transparency or semi-transparency (like alpha in PNG's format.). So many programs needing transparent pixels on BMP files have used along many years a especific RGB color (also called Mask color) that isn't used often in pictures, like a bright pink or a bright green, (pink being the most used). This way, a program reading this file detect pixels with this EXACT color and do their magic ignoring those pixels making them transparents.
This pink color is R:255, G:0, B:255 or #ff00ff in hex.
Green in turn is R:0, G:255, B:0 or #00ff00 in hex.
NOTE: NEVER use JPG format when working with this type of masking, as JPG compression adds artifacts and modifies colors slightly. You must use EXACTLY this color code for masking BMP files (you can't use for example R:254, G:0, B:255).
Click to expand...
Click to collapse
Thanks for your responce .... Tried everything I could , but it didn`t work out as I expected ... it still does show PINK on my phone ... don`t know why .... I use photoshop and the BMP I put in the .dll I`m trying to modify has the same hex color : 255 ; 0 ; 255 ... but still shows as pink.
Can you please try to modify the following and see if there is not a problem with the BMP itself. I`m puting the original image from the .dll and the way I would like to look (the Pink that I add must be transparent) as another image.
P.S.
Tried also to save the bmp as 16bit , 24bit and 32 bit BMP in Photoshop ... cause I read somewhere that the BMP must not be in 24bit format .... when I saved it as 16bit the PINK was saved as 248 ; 0 ; 248 .... then I dofied it again .
So I tried everything in every tutorial without luck
c0rp1 said:
Thanks for your responce .... Tried everything I could , but it didn`t work out as I expected ... it still does show PINK on my phone ... don`t know why .... I use photoshop and the BMP I put in the .dll I`m trying to modify has the same hex color : 255 ; 0 ; 255 ... but still shows as pink.
Can you please try to modify the following and see if there is not a problem with the BMP itself. I`m puting the original image from the .dll and the way I would like to look (the Pink that I add must be transparent) as another image.
Click to expand...
Click to collapse
Ok I'll look
Update: Your pink color is ok, I think it must be the program (manila?) is not programmed to search transparency in that part of the image. If so, there is nothing you can do as far as I know, as you don't have the source code.
gore_darkside said:
Ok I'll look
Update: Your pink color is ok, I think it must be the program (manila?) is not programmed to search transparency in that part of the image. If so, there is nothing you can do as far as I know, as you don't have the source code.
Click to expand...
Click to collapse
Cant be manila .... I`m editing phcanImages.dll ... it`s the file that has all images from the Dialer ... as I saw there were people that modified some images from the same .dll, I don`t think it`s possible some program to recognize just part of the .dll`s images color, not all the images.
So maybe I`m doing something wrong.
I really tried everything possible with the "magic color"... I know about it for a week now, it`s not new information ... so I tried really everything, read many tutorials, but it didn`t help.
Btw ... are you good at editing dll files with images ?
c0rp1 said:
Cant be manila .... I`m editing phcanImages.dll ... it`s the file that has all images from the Dialer ... as I saw there were people that modified some images from the same .dll, I don`t think it`s possible some program to recognize just part of the .dll`s images color, not all the images.
So maybe I`m doing something wrong.
I really tried everything possible with the "magic color"... I know about it for a week now, it`s not new information ... so I tried really everything, read many tutorials, but it didn`t help.
Btw ... are you good at editing dll files with images ?
Click to expand...
Click to collapse
The only dll's i've edited was in Windows, with Resource Hacker. If you are using this, maybe I can help. I think you where editing manila, but my past response (post 16) remains the same. What program are you using to edit the dll?
Same .... resource hacker ... and yes ... phcanImages.dll is in /Windows folder .... I don`t think this has something to do with signing or unsigning also , cause I tried with both signed and manulay copied unsigned file and the result was same !!!
c0rp1 said:
Same .... resource hacker ... and yes ... phcanImages.dll is in /Windows folder .... I don`t think this has something to do with signing or unsigning also , cause I tried with both signed and manulay copied unsigned file and the result was same !!!
Click to expand...
Click to collapse
I'm viewing phcanImages.dll, what is the resource number you are editing, cause it seems my phone has a different dll and I can't find a similar image to the one you posted. Can you post the original/unmodified dll you have?
After searching a while, and partly thanks to poyensa who pointed me to maxtf3d tool, I compared the whole HKCU and HKLM reg trees before and after using that to change the softkey colours, and here's the summary:
Go into the following reg folder
Code:
HKCU\Software\Microsoft\Today
and create (if not already present) a string key named
Code:
Skin
in which you insert any name (example "myskin") and then create a folder in the same path with the same name of the skin and go in there.
In case the key "skin" already exists you have to go into the folder which goes by that name.
The key
Code:
Color_CommandBarText
is the one you want, if already present in the preset theme you need to change it, if instead you created the skin reference, or the key was not present in the preset theme, create a BINARY key by that name, and insert a 4bytes value inside.
For the black value it would be
Code:
00 00 00 00
Restart, the softkeys text colour will have changed.
To change the application name in the taskbar, you have to go into
Code:
HKLM\Software\Microsoft\Color\
and add a BINARY key (if not already present) named
Code:
9
in which you set the text colour in the same manner you did for the softkeys. Restart, served.
The colour for the start menu icons text should be situated in that same folder, in the BINARY key named 39, yet adding that key and restarting doesn't work.
Absolutely noone knows?
Yes, this is a bump
Hellooww
I know as a fact that it's possible, as GTX sports black text softkeys... noone actually cares to share the info?
Have a look HERE my friend...I suppose it could help you !
try this http://forum.xda-developers.com/showthread.php?t=493011
for me HD2 it works but only the tab for color>commandbar text, active enable box and once you have choose your favourite color in RGBA code press activate, TRefresh and softeresset afterwards
Method posted by poyensa worked, I could finally change the text colour of the softkeys using his instructions... thank you
Yet I am prone to tin2404 approach, as I need to know *how* to change that, I mean registry wise or manila wise, which are the things that I manually need to change, otherwise after each flash I will need to use max tf3d utility
Updated thread with working method.
Thankyou ephestione, i have changed the color blue (08 08 8A) using your instructions and it works!
Hi, in your first part of changing the softkey bar text you don't need to add a new skin you only have to go into HTC Black.tsk or whichever theme you're using, then edit the Color_CommandBarText with the colour code you wish to use (default is white FF FF FF 00). In here you can also edit the highlight colour of the text (Color_CommandBarText_Highlight). Hope this helps.
AvRS said:
Hi, in your first part of changing the softkey bar text you don't need to add a new skin you only have to go into HTC Black.tsk or whichever theme you're using, then edit the Color_CommandBarText with the colour code you wish to use (default is white FF FF FF 00). In here you can also edit the highlight colour of the text (Color_CommandBarText_Highlight). Hope this helps.
Click to expand...
Click to collapse
Yes, I have read about that also in MS KB, yet I had no entry whatsoever for any skin under that registry folder, I had to create one specifically for that purpose...
@poyensa, karma going back and forth, you pointed me to max tf3d utility, and only then I could "reverse engineer" it to devise a method
Hi all,
newbie questions,
how to add a new binary key using the PHM registry editor?
How to change the color of the taskbar clock's number?
Thanks in advance.
Sorry I don't use PHM regeditor, but for that purpose I use totalcommander, go into \\plugins folder in root, then registry, then continue from there. pressing the +Add Value+ item
Also DotFred's advanced taskmanager has a registry editor which is not bad at all
ephestione said:
Sorry I don't use PHM regeditor, but for that purpose I use totalcommander, go into \\plugins folder in root, then registry, then continue from there. pressing the +Add Value+ item
Also DotFred's advanced taskmanager has a registry editor which is not bad at all
Click to expand...
Click to collapse
Hi ephestione,
You made my day! Thank u very much!
I installed totalcommander and followed all your instructions and I did it successfully.
Any idea on how to change the color of the taskbar clock?
Thanks in advance.
ehm, no idea about that one
Anyway happy you found a functional registry editor, also, totalcommander is a great tool in general
Anyway, if skinning the taskbar clock is what you're after, then you gotta get BattClock, search in XDA forums for that
ephestione said:
ehm, no idea about that one
Anyway happy you found a functional registry editor, also, totalcommander is a great tool in general
Anyway, if skinning the taskbar clock is what you're after, then you gotta get BattClock, search in XDA forums for that
Click to expand...
Click to collapse
Hi Ephestione,
Yeah, you're right, totalcommander is a great one, I'm playing with it now and it's really good, btw do u know how to go back to a previous step?
Also, I appreciate your suggestion about BattClock which is very good app, but personally I like the simplicity and nice look of the Battline one and unfortunately there is a kind of conflict between those programs.
Thank you very much.
[email protected] said:
Hi Ephestione,
Yeah, you're right, totalcommander is a great one, I'm playing with it now and it's really good, btw do u know how to go back to a previous step?
Also, I appreciate your suggestion about BattClock which is very good app, but personally I like the simplicity and nice look of the Battline one and unfortunately there is a kind of conflict between those programs.
Thank you very much.
Click to expand...
Click to collapse
What conflict is there? Do the Stripes occupy the same space? If yes, just make them empty in BattClock or put them in another place or show other information.