5,598,779 Members 35,483 Now Online
XDA Developers Android and Mobile Development Forum

[Titanium] CTheme Changer- A new Titanium Plugin

Tip us?
 
lioryte
Old
(Last edited by lioryte; 11th February 2011 at 02:30 AM.) Reason: Updating
#1  
lioryte's Avatar
Senior Member - OP
Thanks Meter 174
Posts: 671
Join Date: Dec 2008
Location: Miami

 
DONATE TO ME
Angry [Titanium] CTheme Changer- A new Titanium Plugin

Hi there Folks,

CTheme Changer is a titanium plugin that allows seamless switch and preview between titanium themes right from the today screen. Currently supports 8 9 themes, this is still a work in progress as I need to modified all themes to work with all plugins

Since I run WQVGA it's the only resolution I'll be releasing for now.

Post 1 got the eye candy
Post 2 got release info
Post 3 is Q&A (cooking this baby in/ general)
Post 4 have all codes and sources

Working on porting gchris's theme, ldawg214's 1+2 Themes and (patiently!) waiting for sv0911's WQVGA version.

|

These mega themes will take a while to port over...Lots of work... :'(
Plz post if you got any Q's


Credits:

Big, big thanx to claus1953
DFT's oldoldstone and bleem for introducing to me a new concept of 10 in 1 themes.
XDA's Claus1953 and HTCSpain's xavinet for their earlier work
Android Stuff


Lioryte ROM+Kernel (α)


WM Stuff (Retired)

i910 ROM@MoDaCo
More titanium weather icons HERE|||WQVGA only themes HERE||| CTheme Changer HERE|||

If you like my stuff buy me a Beamish
The Following 2 Users Say Thank You to lioryte For This Useful Post: [ Click to Expand ]
 
lioryte
Old
(Last edited by lioryte; 3rd September 2010 at 02:49 PM.) Reason: updating
#2  
lioryte's Avatar
Senior Member - OP
Thanks Meter 174
Posts: 671
Join Date: Dec 2008
Location: Miami

 
DONATE TO ME
Supported Themes
  1. Enkidu's Beta- Thread
  2. lioryte modified titanium showing day of the week, next appointment and weather icon in default titanium
  3. rpereira's Bliss- Thread
  4. ibrythill's WM7- Thread
  5. Another default titanium by xavinet
  6. ldawg214's LTD1- Thread
  7. drkfngthdragnlrd's Dragon World Neo Titanium modified by f4LK0n- Thread
  8. greatbal's Shadow Neo skin- Thread
  9. jositochanante's titanium-Thread

In the works/ To do list
  • Port LTD2
  • Port gchris's titanium
  • Port sv0911's theme
  • Make landscape possible for all themes
  • Make sure all themes support as many plugins as possible
  • Port CTheme Changer to other resolutions

Release Log

Code:
9/1/2010-V4.2 Initial release for WQVGA only, supports 8 themes, added support for titaniumweather to Enkidu's beta theme currently portrait only.
9/3/2010- V4.38- Added LTD1, made landscape version of LTD1.
Android Stuff


Lioryte ROM+Kernel (α)


WM Stuff (Retired)

i910 ROM@MoDaCo
More titanium weather icons HERE|||WQVGA only themes HERE||| CTheme Changer HERE|||

If you like my stuff buy me a Beamish
 
lioryte
Old
(Last edited by lioryte; 11th February 2011 at 02:11 AM.)
#3  
lioryte's Avatar
Senior Member - OP
Thanks Meter 174
Posts: 671
Join Date: Dec 2008
Location: Miami

 
DONATE TO ME
Q&A

How to add this to your ROM?
  1. First, make sure mortscript is there
  2. Add the reg settings I posted at your personal reg. (either at the OEM or at the EXT folder). This is done to ensure that CThme changer is enabled at first boot. Make sure that any other reg. settings/ ext/ OEM that effect CHome is disabled.
  3. Add the CTheme Changer OEM to the root of your OEM folder.
  4. Build your ROM. If on first boot you can't see CTC than enable it via CHomr editor and look again at your personal reg settings to see what is preventing it from showing.


All Other Q&A
  1. Will there be a release with my resolution? - Sorry, but I am now roaming an android device so I have stopped working on this. I did post everything I got for someone to play around with
  2. Will the OEM work on my device? - HELL yea it will. As long as your device is WQVGA and has mortscript.
  3. I need/ I want/ Could you... - keep this thread alive, post any idea you have there are some sharp folks who might be able to help ya out...
 
lioryte
Old
(Last edited by lioryte; 11th February 2011 at 02:38 AM.) Reason: Reg settings added
#4  
lioryte's Avatar
Senior Member - OP
Thanks Meter 174
Posts: 671
Join Date: Dec 2008
Location: Miami

 
DONATE TO ME
Default CTheme Changer Source Code

Since I'm now running android, HERE is the CTheme Changer OEM Folder for whomever wants to work on this. (WQVGA!!!)

Required for this to run this plugin: mortscript

Reg settings:

Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\CHome]
"Enabled"=dword:00000001
"CPRFile"="Enkidu"
"ExtensibilityXML"="<Plugins Order=\"CThemes;CMyPhotos;CMusic;CWelcomeCenter;CPhone;CVoicemail;CClock;CText;CEmail;CAppointments;CHomeFavs;CWindowsLive\"  CPRFileName=\"Enkidu\" DisplayStyle=\"Titanium\" />"
"Plugins"="CThemes;CMyPhotos;CMusic;CWelcomeCenter;CPhone;CVoicemail;CClock;CText;CEmail;CAppointments;CHomeFavs;CWindowsLive"
"DefaultXML"="<Plugins Order=\"CMyPhotos;CMusic;CWelcomeCenter;CPhone;CVoicemail;CClock;CText;CEmail;CAppointments;CHomeFavs;CWindowsLive\"  CPRFileName=\"Titanium\" DisplayStyle=\"Titanium\" />"
"EmailOverride"=dword:00000000
"SMSMMSOverride"=dword:00000000
"DisplayStyle"="Titanium"
"SK1TEXT"="Contacts"
"SK1URL"=":MSCONTACTS"
"HomePluginGuid"="{892B90CB-9806-427e-8BED-F45C6A9E576B}"
"DockOperatorBar"=dword:0000000


THE BELOW CODE IS NOT A PART OF CURRENT CTHEME CHANGER, BUT AN IDEA TO MAKE IT SMALLER/BETTER
A modified script by claus1953 (Thanx!) to use the storage card (Need further development, just an mortscript mind scramble at this point)
This is the start of porting all graphics to SC


Code:
installpath=SystemPath("ScriptPath")
current_theme = Regread( "HKLM", "Software\Microsoft\CHome", "CPRFile")
CurrCPRport = "current_theme" & "_" & "240x400"
CurrCPRland = "current_theme" & "_" & "400x240"

SetFileAttribs("\Windows\bronzeres.dll", FALSE, FALSE)
Run (installpath \ "disableTitanium.mscr")

Neo_Titanium = '<Plugins Order=\"JMLToday;JMLLauncher;CMyPhotos;CMusic;CWindowsLive\" CPRFileName=\"Titanium\" DisplayStyle=\"Titanium\" />'
ShadowNeo_Titanium = '<Plugins Order=\"JMLToday;JMLLauncher;CMyPhotos;CMusic;CWindowsLive\" CPRFileName=\"ShadowNeo\" DisplayStyle=\"Titanium\" />'
WM7_Titanium = '<Plugins Order=\"JMLToday;JMLLauncher;CMyPhotos;CMusic;CWindowsLive\" CPRFileName=\"WM7\" DisplayStyle=\"Titanium\" />'
Default_Titanium = '<Plugins Order=\"JMLToday;JMLLauncher;CMyPhotos;CMusic;CWindowsLive\" CPRFileName=\"Titanium\" DisplayStyle=\"Titanium\" />'
Lizzy_Titanium = '<Plugins Order=\"JMLToday;JMLLauncher;CMyPhotos;CMusic;CWindowsLive\" CPRFileName=\"Lizzy\" DisplayStyle=\"Titanium\" />'
Buffed_Titanium = '<Plugins Order=\"JMLToday;JMLLauncher;CMyPhotos;CMusic;CWindowsLive\" CPRFileName=\"Buffed\" DisplayStyle=\"Titanium\" />'
Bliss_Titanium = '<Plugins Order=\"JMLToday;JMLLauncher;CMyPhotos;CMusic;CWindowsLive\" CPRFileName=\"Bliss\" DisplayStyle=\"Titanium\" />'
Josito_Titanium = '<Plugins Order=\"JMLToday;JMLLauncher;CMyPhotos;CMusic;CWindowsLive\" CPRFileName=\"Josito\" DisplayStyle=\"Titanium\" />'
Hero_Titanium = '<Plugins Order=\"JMLToday;JMLLauncher;CMyPhotos;CMusic;CWindowsLive\" CPRFileName=\"Hero\" DisplayStyle=\"Titanium\" />'
TitaniumLTD_Titanium = '<Plugins Order=\"CHero;ATContacts;CLauncher\" CPRFileName=\"TitaniumLTD\" DisplayStyle=\"Titanium\" />'


Neo_TitaniumSwitch=("DragonWorld Neo Titanium")
ShadowNeo_TitaniumSwitch=("Greatbal ShadowNeo Titanium")
WM7_TitaniumSwitch=("Ibrythill WM7 Titanium")
Default_TitaniumSwitch=("Titanium")
Lizzy_TitaniumSwitch=("Ebsbow Lizzy Titanium")
Buffed_TitaniumSwitch=("Ebsbow Buffed Titanium")
Bliss_TitaniumSwitch=("Rpereira Bliss Titanium")
Josito_TitaniumSwitch=("Josito Chanante Titanium")
Hero_TitaniumSwitch=("Titanium_Hero_by_Chriscsh")
TitaniumLTD_TitaniumSwitch=("TitaniumLTD_by_Idawg214")
Cancel=("Cancel")
SaveCurrent=("Backup current theme")

# Set switches according to current settings
SettingOptions[1]=Neo_TitaniumSwitch
SettingOptions[2]=ShadowNeo_TitaniumSwitch
SettingOptions[3]=WM7_TitaniumSwitch
SettingOptions[4]=Default_TitaniumSwitch
SettingOptions[5]=Lizzy_TitaniumSwitch
SettingOptions[6]=Buffed_TitaniumSwitch
SettingOptions[7]=Bliss_TitaniumSwitch
SettingOptions[8]=Josito_TitaniumSwitch
SettingOptions[9]=Hero_TitaniumSwitch
SettingOptions[10]=TitaniumLTD_TitaniumSwitch
SettingOptions[11]=SaveCurrent
SettingOptions[12]=Cancel

SetChoiceEntryFormat(28,14)
Choice("Titanium Theme Changer","Choose CPR for CHome",SettingOptions)

Case(1)
   RegWriteString("HKLM","Software\Microsoft\CHome","ExtensibilityXML", Neo_Titanium)
RegWriteString( "HKLM", "Software\Microsoft\CHome", "CPRFile", Neo)
Copy(installpath \ "allcprs\WQVGA_cprs" \ "Neo_240x400.cpr", "\Windows\Neo_240x400.cpr", TRUE )
Copy(installpath \ "allcprs\WQVGA_cprs" \ "Neo_400x240.cpr", "\Windows\Neo_400x240.cpr", TRUE )

Case(2)
   RegWriteString("HKLM","Software\Microsoft\CHome","ExtensibilityXML", ShadowNeo_Titanium)
RegWriteString( "HKLM", "Software\Microsoft\CHome", "CPRFile", ShadowNeo)
Copy(installpath \ "TitaniumShadowNeo" \ "bronzeres.dll", "\Windows\bronzeres.dll", TRUE )
Copy(installpath \ "allcprs\WQVGA_cprs" \ "ShadowNeo_240x400.cpr", "\Windows\ShadowNeo_240x400.cpr", TRUE )
Copy(installpath \ "allcprs\WQVGA_cprs" \ "ShadowNeo_400x240.cpr", "\Windows\ShadowNeo_400x240.cpr", TRUE )

Case(3)
   RegWriteString("HKLM","Software\Microsoft\CHome","ExtensibilityXML", WM7_Titanium)
RegWriteString( "HKLM", "Software\Microsoft\CHome", "CPRFile", WM7)
Copy(installpath \ "WM7" \ "bronzeres.dll", "\Windows\bronzeres.dll", TRUE )
Copy(installpath \ "allcprs\WQVGA_cprs" \ "WM7_240x400.cpr", "\Windows\WM7_240x400.cpr", TRUE )
Copy(installpath \ "allcprs\WQVGA_cprs" \ "WM7_400x240.cpr", "\Windows\WM7_400x240.cpr", TRUE )

Case(4)
   RegWriteString("HKLM","Software\Microsoft\CHome","ExtensibilityXML", Default_Titanium)
RegWriteString( "HKLM", "Software\Microsoft\CHome", "CPRFile", Titanium)
Copy(installpath \ "DefaultTheme" \ "bronzeres.dll", "\Windows\bronzeres.dll", TRUE )
Copy(installpath \ "allcprs\WQVGA_cprs" \ "Titanium_240x400.cpr", "\Windows\Titanium_240x400.cpr", TRUE )
Copy(installpath \ "allcprs\WQVGA_cprs" \ "Titanium_400x240.cpr", "\Windows\Titanium_400x240.cpr", TRUE )

Case(5)
   RegWriteString("HKLM","Software\Microsoft\CHome","ExtensibilityXML", Lizzy_Titanium)
RegWriteString( "HKLM", "Software\Microsoft\CHome", "CPRFile", Lizzy)
Copy(installpath \ "Lizzy" \ "bronzeres.dll", "\Windows\bronzeres.dll", TRUE )
Copy(installpath \ "allcprs\WQVGA_cprs" \ "Lizzy_240x400.cpr", "\Windows\Lizzy_240x400.cpr", TRUE )
Copy(installpath \ "allcprs\WQVGA_cprs" \ "Lizzy_400x240.cpr", "\Windows\Lizzy_400x240.cpr", TRUE )

Case(6)
   RegWriteString("HKLM","Software\Microsoft\CHome","ExtensibilityXML", Buffed_Titanium)
RegWriteString( "HKLM", "Software\Microsoft\CHome", "CPRFile", Buffed)
Copy(installpath \ "TitaniumBuffed" \ "bronzeres.dll", "\Windows\bronzeres.dll", TRUE )
Copy(installpath \ "allcprs\WQVGA_cprs" \ "Buffed_240x400.cpr", "\Windows\Buffed_240x400.cpr", TRUE )
Copy(installpath \ "allcprs\WQVGA_cprs" \ "Buffed_400x240.cpr", "\Windows\Buffed_400x240.cpr", TRUE )

Case(7)
   RegWriteString("HKLM","Software\Microsoft\CHome","ExtensibilityXML", Bliss_Titanium)
RegWriteString( "HKLM", "Software\Microsoft\CHome", "CPRFile", Bliss)
Copy(installpath \ "Bliss" \ "bronzeres.dll", "\Windows\bronzeres.dll", TRUE )
Copy(installpath \ "allcprs\WQVGA_cprs" \ "Bliss_240x400.cpr", "\Windows\Bliss_240x400.cpr", TRUE )
Copy(installpath \ "allcprs\WQVGA_cprs" \ "Bliss_400x240.cpr", "\Windows\Bliss_400x240.cpr", TRUE )

Case(8)
   RegWriteString("HKLM","Software\Microsoft\CHome","ExtensibilityXML", Josito_Titanium)
RegWriteString( "HKLM", "Software\Microsoft\CHome", "CPRFile", Josito)
Copy(installpath \ "allcprs\WQVGA_cprs" \ "Josito_240x400.cpr", "\Windows\Josito_240x400.cpr", TRUE )

Case(9)
   RegWriteString("HKLM","Software\Microsoft\CHome","ExtensibilityXML", Hero_Titanium)
RegWriteString( "HKLM", "Software\Microsoft\CHome", "CPRFile", Hero)
Copy(installpath \ "Hero" \ "bronzeres.dll", "\Windows\bronzeres.dll", TRUE )
Copy(installpath \ "allcprs\WQVGA_cprs" \ "Hero_240x400.cpr", "\Windows\Hero_240x400.cpr", TRUE )

Case(10)
   RegWriteString("HKLM","Software\Microsoft\CHome","ExtensibilityXML", TitaniumLTD_Titanium)
RegWriteString( "HKLM", "Software\Microsoft\CHome", "CPRFile", TitaniumLTD)
Copy(installpath \ "TitaniumLTD" \ "bronzeres.dll", "\Windows\bronzeres.dll", TRUE )
Copy(installpath \ "allcprs\WQVGA_cprs" \ "TitaniumLTD_240x400.cpr", "\Windows\TitaniumLTD_240x400.cpr", TRUE )

Case(11)
   Run (installpath \ "save_current.mscr")
sleepMessage(3,"backup complete")

Case(12)
   Run (installpath \ "exit.mscr")

   
EndChoice

Run ("Archivos de programa \ JMLPanex \ ClearCacheAll.mscr")

RunWait ("Archivos de programa \ JMLPanex \ JMLOffset.mscr")

sleepMessage(2,"complete")

Run (installpath \ "activateTitanium.mscr")
   RedrawToday

Delete("\Windows"\CurrCPRport)
Delete("\Windows"\CurrCPRland)
All of the .cpr's can be changed to any resolution with using the attached .cpr res. changer (attached). I hope someone will keep this alive...
Attached Files
File Type: 7z CPR-resolution-converter.7z - [Click for QR Code] (5.9 KB, 104 views)
Android Stuff


Lioryte ROM+Kernel (α)


WM Stuff (Retired)

i910 ROM@MoDaCo
More titanium weather icons HERE|||WQVGA only themes HERE||| CTheme Changer HERE|||

If you like my stuff buy me a Beamish
 
claus1953
Old
#5  
claus1953's Avatar
Senior Member
Thanks Meter 89
Posts: 2,846
Join Date: Aug 2008
Great news
I am using currently Xavinet's plugin but had to modify all cprs to allow the use of more plugins. And very nice that you include the last themes too. Congratulations
(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
 
biernes_atrece
Old
#6  
biernes_atrece's Avatar
Senior Member
Thanks Meter 137
Posts: 888
Join Date: Feb 2009

 
DONATE TO ME
great news for titanium lovers like me.
will wait for a wvga version.

keep up the good work
i. l o s t. m y. H D 7

i design
houses & buildings
 
lioryte
Old
#7  
lioryte's Avatar
Senior Member - OP
Thanks Meter 174
Posts: 671
Join Date: Dec 2008
Location: Miami

 
DONATE TO ME
Quote:
Originally Posted by claus1953 View Post
Great news
I am using currently Xavinet's plugin but had to modify all cprs to allow the use of more plugins. And very nice that you include the last themes too. Congratulations
Thanks, I am doing the same now... Lots of work... Are you running Spanish or English on your i900? If English let me know I'll send you the OEM. Porting the other themes is LOTS of work, really time consuming

Quote:
Originally Posted by biernes_atrece View Post
great news for titanium lovers like me.
will wait for a wvga version.
keep up the good work
Once I'm done with WQVGA I'll start with other resolutions
Android Stuff


Lioryte ROM+Kernel (α)


WM Stuff (Retired)

i910 ROM@MoDaCo
More titanium weather icons HERE|||WQVGA only themes HERE||| CTheme Changer HERE|||

If you like my stuff buy me a Beamish
 
sv0911
Old
#8  
sv0911's Avatar
Senior Member
Thanks Meter 288
Posts: 678
Join Date: May 2010
Location: Baden-Baden
My friend,

that is just fantastic what you have released here..!!!

Now i have to work even faster to get the wqvga fixed..!!!
The wqvga is allmost done..!! Maybe allready under the next week..!!!
As soon it is ready to release i will send you as usual a message..!!

Big thanks for sharing lioryte...!!!!!!

Greetings
sv0911
"If you like my work...... go and by yourself a drink... and enjoy the ride......"

My latest dedications to xda:
+ T H E M E Harmony Blue
+ T H E M E Gingerfire Black
+ T H E M E Gingerfire Blue
+ T H E M E Black Chrome
+ T H E M E White Chrome
+ T H E M E Glowing Blue

..more releases on my profile statistics...

 
claus1953
Old
#9  
claus1953's Avatar
Senior Member
Thanks Meter 89
Posts: 2,846
Join Date: Aug 2008
Quote:
Originally Posted by lioryte View Post
Thanks, I am doing the same now... Lots of work... Are you running Spanish or English on your i900? If English let me know I'll send you the OEM. Porting the other themes is LOTS of work, really time consuming



Once I'm done with WQVGA I'll start with other resolutions
I am running a spanish rom from htc spain.
(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
 
orb3000
Old
#10  
orb3000's Avatar
XDA News Writer / Senior Moderator
Thanks Meter 3010
Posts: 22,272
Join Date: Feb 2007
Location: T r a v e l i n g Likes: HTC & XDA Dislikes: apples...

 
DONATE TO ME
Thanks for sharing!
orb


HTC One Max - HTC Butterfly S - HTC Universal

XDA is about developing and is for developers. Any user that recognises that will gain the most benefit from this site


 
This is and always will be a site for developers, pure and simple. Without them we are nothing, without them there would be no reason for XDA Developers to exist; we should never ever forget that. Without them this place would not be called XDA-Developers but something else, e.g Mobile Phone User Support Services For Ungrateful Nerds.

Previous devices: HTC: Treo 650 - Excalibur - Diamond - Diamond 2 - Maple - HD2 - Rhodium - Desire Z - Desire HD - Vivid - Sensation - One V - One X - Titan II - One X+ - DNA - Butterfly

Tags
ctitaniumchanger, theme changer, wm6.5, wqvga
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Say Goodbye to Holo Blue Once and for All

When Google released Android 4.4 KitKat back in October of last year, they changed quite a bit … more

Sony Z Ultra Google Play Edition Receives Bluetooth Certification for Android 4.4.3

You may recall that a few days ago, Sprint jumped the gun … more

Easily Configure Xposed Module Projects in Eclipse

XDA Recognized Developer rovo89‘s innovative and versatile Xposed Framework allows … more

Android Control Center Becomes Quick Control Panel, Brings Host of New Features

You may recall that back in August of last year, we talked … more