Learn to Sync Files Between Android And PC with Unison

Dropbox and similar cloud services are great if youre planning to keep your files … more

OnePlus Indian Ban Lifted, Android One Expanding – XDA TV

Android 5.0.1 Lollipop is available for the Nvidia SHIELD Tablet! That and … more

Nvidia and Robotics w/ Barrett Williams – XDA:DevCon 2014

Robotics continues to dominate our videos from this years XDA:DevCon 2014 in … more

Speed Up Deodexing with JoelDroid Batch Deodexer

Android 5.0 Lollipop brings many under-the-hood changes like changing the default compiler … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Titanium] CTheme Changer- A new Titanium Plugin

OP lioryte

2nd September 2010, 08:57 PM   |  #1  
lioryte's Avatar
OP Senior Member
Flag Miami
Thanks Meter: 178
 
686 posts
Join Date:Joined: Dec 2008
Donate to Me
More
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
Last edited by lioryte; 11th February 2011 at 03:30 AM. Reason: Updating
The Following 2 Users Say Thank You to lioryte For This Useful Post: [ View ]
2nd September 2010, 08:58 PM   |  #2  
lioryte's Avatar
OP Senior Member
Flag Miami
Thanks Meter: 178
 
686 posts
Join Date:Joined: Dec 2008
Donate to Me
More
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.
Last edited by lioryte; 3rd September 2010 at 03:49 PM. Reason: updating
2nd September 2010, 08:58 PM   |  #3  
lioryte's Avatar
OP Senior Member
Flag Miami
Thanks Meter: 178
 
686 posts
Join Date:Joined: Dec 2008
Donate to Me
More
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...
Last edited by lioryte; 11th February 2011 at 03:11 AM.
2nd September 2010, 08:59 PM   |  #4  
lioryte's Avatar
OP Senior Member
Flag Miami
Thanks Meter: 178
 
686 posts
Join Date:Joined: Dec 2008
Donate to Me
More
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, 105 views)
Last edited by lioryte; 11th February 2011 at 03:38 AM. Reason: Reg settings added
2nd September 2010, 09:02 PM   |  #5  
claus1953's Avatar
Senior Member
Thanks Meter: 89
 
2,846 posts
Join Date:Joined: Aug 2008
More
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
2nd September 2010, 09:02 PM   |  #6  
biernes_atrece's Avatar
Senior Member
Thanks Meter: 139
 
888 posts
Join Date:Joined: Feb 2009
Donate to Me
More
Thumbs up
great news for titanium lovers like me.
will wait for a wvga version.

keep up the good work
2nd September 2010, 09:16 PM   |  #7  
lioryte's Avatar
OP Senior Member
Flag Miami
Thanks Meter: 178
 
686 posts
Join Date:Joined: Dec 2008
Donate to Me
More
Quote:
Originally Posted by claus1953

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

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
2nd September 2010, 09:20 PM   |  #8  
sv0911's Avatar
Senior Member
Thanks Meter: 288
 
679 posts
Join Date:Joined: May 2010
More
Thumbs up
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
2nd September 2010, 10:08 PM   |  #9  
claus1953's Avatar
Senior Member
Thanks Meter: 89
 
2,846 posts
Join Date:Joined: Aug 2008
More
Quote:
Originally Posted by lioryte

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.
3rd September 2010, 12:02 AM   |  #10  
orb3000's Avatar
XDA Portal Team / Senior Moderator
Flag T r a v e l i n g Likes: HTC & XDA Dislikes: apples...
Thanks Meter: 3,045
 
22,289 posts
Join Date:Joined: Feb 2007
Donate to Me
Thanks for sharing!

Post Reply Subscribe to Thread

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

Advanced Search
Display Modes