Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,743,029 Members 43,530 Now Online
XDA Developers Android and Mobile Development Forum
View Poll Results: What Titanium theme are you using, i need this to see which themes are to be switched
Ibrythill WM7 Titanium Project theme 174 34.18%
Rpereira Bliss theme 40 7.86%
DomSim BlackDragon theme 17 3.34%
Greatbal TitaniumShadowNeo theme 55 10.81%
Drkfngthdraglrd NeoTitanium theme 20 3.93%
Ebsbow Buffed theme 7 1.38%
Ebsbow Lizzy theme 5 0.98%
Default theme with or without skin 137 26.92%
Other theme (not skins for default theme) 54 10.61%
Voters: 509. You may not vote on this poll

[APP][05.OCT.09 new beta]Application for theme switching in WM 6.5 Titanium

Tip us?
 
claus1953
Old
(Last edited by claus1953; 11th October 2009 at 08:25 PM.) Reason: Corrected some cprs, fixed isuue that shortcut was not copied to Windows/Start Menu/Programs,added support for ArteseaTwitter
#1  
claus1953's Avatar
Senior Member - OP
Thanks Meter 89
Posts: 2,846
Join Date: Aug 2008
Default [APP][05.OCT.09 new beta]Application for theme switching in WM 6.5 Titanium

There are more and more themes coming up for WM 6.5 Titanium, which are not only tsk, colors etc, but also change greatly the Titanium....x......cpr file and the registries. When one wants to change from one such theme (for example WM7 project) to another (for example Shadow Neo Skin) the former theme has to be removed, and the new one has to be installed and customized, sometimes the plugins have to be reinstalled.

The theme switcher has the following capabilities:
- Backing up the existing theme, grafics files, cpr files, registries, so that it can easily be restored
- Installing the new selected theme

New beta release:

Supported resolutions QVGA, WQVGA, QVGAsquare, VGA, WVGA, VGAsquare... It only works with WM 6.5. You need to have MortScript installed.

IMPORTANT: First of all this will be replacing your Titanium cprs and bronzeres.dll files, so pls. make a backup of your original files.

Installation:
1. Unzip the enclosed file TitaniumThemes to Storage Card.
2. Have all the plugins installed that you want to have in your Titanium screen, so that
the themes can load them.
3. It is not necessary to install all themes, as i have collected all images needed by the
theme and stored them in folders inside the TitaniumThemes folder, so the images will not
clutter your Windows folder. The modded cprs point to this images. Below you find the
links to the corresponding themes threads, so that you can check out how the theme
looks, and say thanks to the theme designer for his nice work.
4. Run the "Install Titanium Theme Changer.mscr" from the apps folder in TitaniumThemes,
choose your resolution and click ok, this will install all supported themes cprs in Windows
and a shortcut for "Titanium Theme Changer. mscr" in Windows/Start Menu/Programs.
5. Run the shortcut "Titanium Theme Changer", select the theme you want to apply and in
a few seconds it will appear on your screen.
6. Apply the tsk of your choice

As said it is a beta version and it might have still some bugs, or errors in the cprs, as i only have a QVGA device, pls. report them.

I could have not done this without the help of many people, like BigDaddyG, RoryB and egoist6 from the MortScript thread, TWolf, drkfngthdraglrd and many more, so thanks to all.
Also please consider that i in no way designed the themes, i only modified the cprs for easy switching, so all thanks go to the themes builders.

Most of the plugins are supported in my cprs, like
All standard plugins
TWolf Multiplugin
http://forum.xda-developers.com/showthread.php?t=523015
JMLToday
http://forum.xda-developers.com/showthread.php?t=540413
IsmToday
http://forum.xda-developers.com/showthread.php?t=535682
AnalogClock
http://forum.xda-developers.com/showthread.php?t=511483
CLauncher, CSettings, CGames, CApps1
http://forum.xda-developers.com/showthread.php?t=514490
CManilamenu 1 to 3
http://forum.xda-developers.com/showthread.php?t=537237
COffice
http://forum.xda-developers.com/showthread.php?t=510362
Titanium Weather
http://forum.xda-developers.com/showthread.php?t=481379
CComm
http://forum.xda-developers.com/showthread.php?t=513747
Settings
http://forum.xda-developers.com/showthread.php?t=515979
System
http://forum.xda-developers.com/showthread.php?t=510051
CVolume
http://forum.xda-developers.com/showthread.php?t=512529
CFacebook
http://forum.xda-developers.com/showthread.php?t=510479
CTwitter
http://forum.xda-developers.com/showthread.php?t=510360
Taskanium
http://forum.xda-developers.com/showthread.php?t=515586
CSchedule
http://forum.xda-developers.com/showthread.php?t=557725
AT FavePeople
http://forum.xda-developers.com/showthread.php?t=506221
Opera Favorites
http://forum.xda-developers.com/showthread.php?t=496758
ArteseaTwitter
http://forum.xda-developers.com/showthread.php?t=511919


Themes:

Bliss
http://forum.xda-developers.com/showthread.php?t=508968
Shadow Neo
http://forum.xda-developers.com/showthread.php?t=524979
Neo Titanium
http://forum.xda-developers.com/showthread.php?t=534553
Buffed and Lizzy
http://forum.xda-developers.com/showthread.php?t=528935
Josito
http://forum.xda-developers.com/showthread.php?t=556378
WM7 project
http://forum.xda-developers.com/showthread.php?t=504716

Could not upload here the zip file, so pls. dowload it from 4shared.com
http://www.4shared.com/file/14013919...mes.html<br />
Attached Files
File Type: cab titanium_default_restore v2.2.cab - [Click for QR Code] (482.2 KB, 1202 views)
File Type: zip MessageIcons.zip - [Click for QR Code] (10.2 KB, 678 views)
(HTC Elfin) sold it
(Samsung Omnia i900L) sold it
SGS I9000T stolen
SGY S5360L sold it
LG P970 (OB) sold it
LG L9 P768g, TELCEL, Stock ROM 4.1.2 V20a (still looking to unlock bootloader without success)
EPad Flytouch 5, The Blazing Dragon by Gaboros ROM
 
nuoyuan
Old
#2  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Jan 2008
I want that theme。THS!
xianyuan81@21cn.com
 
mchapman007
Old
#3  
mchapman007's Avatar
Senior Member
Thanks Meter 10
Posts: 1,830
Join Date: Nov 2007
Location: Salt Lake City
I was thinking the same thing and M2DC comes the closest to mind. We need to get mpenguin14 a device and encouragement to modify it for WM6.5...
MobileMatt - PPC Fanatic


 
claus1953
Old
#4  
claus1953's Avatar
Senior Member - OP
Thanks Meter 89
Posts: 2,846
Join Date: Aug 2008
Quote:
Originally Posted by mchapman007 View Post
I was thinking the same thing and M2DC comes the closest to mind. We need to get mpenguin14 a device and encouragement to modify it for WM6.5...
I am working on such a theme switcher, done in MortScript. I have a folder named TitaniumThemes on my Storage Card. Inside there i have a folder backup where i save the current theme (Titanium_XXXxXXX.cpr (both P and L), bronzeres.dll and CHome registry). I have also a folder for each of the themes, currently WM7, TitaniumBuffed, TitaniumShadowNeo, Bliss, BlackDragon, where i stored the same files for the theme tweaked and set up to my liking. All themes have first to be installed, as some of them store in Windows some files like icons etc, or they create a folder under Program Files with those files. I tried first manually to swap this files and it work very nicely. Now i am trying to make Scripts to do this work, but i am a complete noob in scripting and have following problems:
1. I need to disable Windows Default to be able to copy bronzeres.dll to Windows, and i dont know the command for it.
2. I need to read and save the whole CHome registry (export) and also to import the themes CHome registry. This should be doable with MortScript but i found only how to import/export single keys and dwords in the manual.
3. At the end i have to enable again Windows Default.

When i could solve this points i would have a simple script based program to backup/restore the current theme, and to switch themes choosing from a menu.
(HTC Elfin) sold it
(Samsung Omnia i900L) sold it
SGS I9000T stolen
SGY S5360L sold it
LG P970 (OB) sold it
LG L9 P768g, TELCEL, Stock ROM 4.1.2 V20a (still looking to unlock bootloader without success)
EPad Flytouch 5, The Blazing Dragon by Gaboros ROM
 
rpereira
Old
#5  
rpereira's Avatar
Senior Member
Thanks Meter 1
Posts: 452
Join Date: Feb 2007
Location: Panama
you should be able to replace bronzeres.dll without the need to disable titanium. In order to refresh titanium after changing the theme you can use chomerefresh.exe provided by appstar. PM me If I can be of any help
Galaxy Nexus (Current)
HTC Inspire 4g (Retired)
Motorola Milestone (Retired)
HTC Aria (Retired)
HTC Legend (Retired)
Blackberry 8900 (Retired)
Sony Ericsson Xperia X1a Black (Retired)
iPhone G1 (Retired)
HTC Excalibur (Retired)
HTC Prophet (Retired)
Follow me on Twitter: http://twitter.com/ramonper
 
claus1953
Old
#6  
claus1953's Avatar
Senior Member - OP
Thanks Meter 89
Posts: 2,846
Join Date: Aug 2008
Quote:
Originally Posted by rpereira View Post
you should be able to replace bronzeres.dll without the need to disable titanium. In order to refresh titanium after changing the theme you can use chomerefresh.exe provided by appstar. PM me If I can be of any help
In fact that was my first approach, to copy the files to windows and then refresh chome, but it is not working. Even when copying manually the files with total commander, i can do that for both titanium cpr files, but as soon as bronzeres is copied an error message comes up. So it looks like bronzeres needs titanium to be disabled before copying, when i disable titanium manually the script copies everything correctly to windows. So i have to find the command to disable/enable titanium.
On the other hand i have still problems to find the way to backup/restore the complete chome registry. I tried also to look inside the Sashimi script to find out how it is done there, but i am too much of a noob and could not figure it out (too many subroutines pointing from one to the other).
(HTC Elfin) sold it
(Samsung Omnia i900L) sold it
SGS I9000T stolen
SGY S5360L sold it
LG P970 (OB) sold it
LG L9 P768g, TELCEL, Stock ROM 4.1.2 V20a (still looking to unlock bootloader without success)
EPad Flytouch 5, The Blazing Dragon by Gaboros ROM
 
rpereira
Old
#7  
rpereira's Avatar
Senior Member
Thanks Meter 1
Posts: 452
Join Date: Feb 2007
Location: Panama
I had thought about doing this before but with a more ambitous approach that would have required theme makers to include an .xml file together with their theme. this .xml would include a list of all of the theme files and their destination directory, since not all themes are the same, some people replace bronzeres.dll and some others don't, so it's hard to tell unless you have a list of what to apply and what to remove.

Disabling titanium, as far as my research has gone, it's not possible with mortscript alone. These are lower-level system functions that can be found on C++, just like chomerefresh.exe which is also built on C++. Getting more complex as we dig deeper into it.

but, I still have faith in being able to replace the .dll without disabling windows default first, have you tried using mortscript's file attribute change to change the .dll's attribute from read-only to normal file before copying. I still do believe we'll need to standardize themes.
Galaxy Nexus (Current)
HTC Inspire 4g (Retired)
Motorola Milestone (Retired)
HTC Aria (Retired)
HTC Legend (Retired)
Blackberry 8900 (Retired)
Sony Ericsson Xperia X1a Black (Retired)
iPhone G1 (Retired)
HTC Excalibur (Retired)
HTC Prophet (Retired)
Follow me on Twitter: http://twitter.com/ramonper
 
claus1953
Old
#8  
claus1953's Avatar
Senior Member - OP
Thanks Meter 89
Posts: 2,846
Join Date: Aug 2008
Quote:
Originally Posted by rpereira View Post
I had thought about doing this before but with a more ambitous approach that would have required theme makers to include an .xml file together with their theme. this .xml would include a list of all of the theme files and their destination directory, since not all themes are the same, some people replace bronzeres.dll and some others don't, so it's hard to tell unless you have a list of what to apply and what to remove.

Disabling titanium, as far as my research has gone, it's not possible with mortscript alone. These are lower-level system functions that can be found on C++, just like chomerefresh.exe which is also built on C++. Getting more complex as we dig deeper into it.

but, I still have faith in being able to replace the .dll without disabling windows default first, have you tried using mortscript's file attribute change to change the .dll's attribute from read-only to normal file before copying. I still do believe we'll need to standardize themes.
It is possible to disable and enable titanium with mortscript, it is just a registry HKLM/Software/Microsoft/Today/Items/Windows Default, set Enabled to 0, then RedrawToday. The same to enable it, only set to 1.
I posted my scripts like they are now in the post below, asking for help to make them work, in the Mortscript examples thread. It still does not work to
replace bronzeres.dll, but i will look into your suggestion to change the attributes to normal before copying. The strange thing is that when i do everything manually with total commander with the titanium disabled it works flawlessly. On the other hand you are completely right, the themes are not standardized, but normally, with all the themes installed before, so that all the needed files are there, and then by replacing the above mentioned files it works. Thanks a lot for your help.

http://forum.xda-developers.com/show...postcount=1619
(HTC Elfin) sold it
(Samsung Omnia i900L) sold it
SGS I9000T stolen
SGY S5360L sold it
LG P970 (OB) sold it
LG L9 P768g, TELCEL, Stock ROM 4.1.2 V20a (still looking to unlock bootloader without success)
EPad Flytouch 5, The Blazing Dragon by Gaboros ROM
 
claus1953
Old
#9  
claus1953's Avatar
Senior Member - OP
Thanks Meter 89
Posts: 2,846
Join Date: Aug 2008
First try for an alpha version of the Titanium Theme Switcher. Download from the first post.
(HTC Elfin) sold it
(Samsung Omnia i900L) sold it
SGS I9000T stolen
SGY S5360L sold it
LG P970 (OB) sold it
LG L9 P768g, TELCEL, Stock ROM 4.1.2 V20a (still looking to unlock bootloader without success)
EPad Flytouch 5, The Blazing Dragon by Gaboros ROM
 
MichelDiamond
Old
#10  
MichelDiamond's Avatar
Retired Recognized Developer
Thanks Meter 272
Posts: 2,222
Join Date: Jul 2009

 
DONATE TO ME
Hey claus - I only want to say how much I appreciate your work! It's really hard - especially to save everything, that nothing will be destroyed.

For bronzeres.dll - you must find a way to unload this .dll for changing - I'm not sure, if Mortscript can do it. If you need help - please tell me.
But perhaps you need no unload...this little needful thing could help, which I append
I use them very often by shortcut in StartMenu - especially "disable all" to switch off all todays and "EnableTitanium" - because I'm to lazy to go to my Home-Settings... (please comment iPhoneToday-Lines, if you don't have it - or make a check to Registry-Key, if it's exists)

Some questions:

- When can we expect a VGA-Version?
- Do you have a more technical implemention description how it works?
- What's the problem with cabbing? Perhaps I can help you

Thanx 4 all
Micha
Attached Files
File Type: zip TodaySwitcher.zip - [Click for QR Code] (1.2 KB, 249 views)



Sense Apps: by me: CHTS,CHTSLoco | partly by me: CHTEditor | system parts by me: CHT

Other Apps: Blue Prodigy | TICS | MichasRefresh | TitaniumStarter | TitaniumRSS



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


TRENDING IN THEMER...