Help - Search - Member List - Calendar
Full Version: Problem changing themes
PPCSG > Power Up Your Devices > Plug-ins & Themes Zone
Portegris
For some reason I am no longer able to change themes on my O2 Atom
running Windows mobile 5 (WM5). Any suggestions would be appreciated.

I have tried to change themes using Settings>Today> etc. It lets me
select a theme and when I click OK the cursor changes to the progress
circle. but when I go to the Today screen there is no change from the
default blue screen theme.

I can set the background picture. That works.
I added some themes (tsk) files to my device by creating "\Themes"
folder in the "My Documents" folder. When I did that the themes get
listed in the theme selection list but none of them will "take".

I suspect that the problem is a corrupted registry setting but I can't
find any details about where to look.

Cheers
TonyS.
xiaobaoge
QUOTE(Portegris @ Dec 13 2007, 07:02 AM)
For some reason I am no longer able to change themes on my O2 Atom
running Windows mobile 5 (WM5).  Any suggestions would be appreciated.

I have tried to change themes using Settings>Today> etc.  It lets me
select a theme and when I click OK the cursor changes to the progress
circle. but when I go to the Today screen there is no change from the
default blue screen theme.

I can set the background picture.  That works.
I added some themes (tsk) files to my device by creating  "\Themes"
folder in the "My Documents" folder.  When I did that the themes get
listed in the theme selection list but none of them will "take".

I suspect that the problem is a corrupted registry setting but I can't
find any details about where to look.

Cheers
TonyS.
*


Hi Portegris,

I have that before. I don't know which and where went wrong. But I did a proper backup and perform a hard reset.

Afterwhich, it resolve my issue.
lmf2501
Try to place it in your Windows folder and then proceed to Today and select and see whether the theme change, usually it will work so.
BenThon
See this thread : TSK and XML.

It is maybe the reason of problem.
Portegris
Hi All, Thanks for the responses.

I have followed the suggestions and links but it is still not working for me.

I can report the following;

Placing a theme file in the windows folder makes no difference.

Whenever I change themes
HKEY CURRENT USER\Software\Microsoft\Today
correctly shows the name of the theme I whenever I change the theme.

I cannot find any entries in
HKLM\Software\Apps\name of TSK
that correspond to the name of the theme I select.

ditto for
HKLM\Seurity\AppInstall\name of TSK

I have an entry
HKLM\Seurity\AppInstall\TSKAllowed
This has four entries in it numbered 1 to 4 each 782 bytes in Hex.
The contents appear to be filenames and sizes for the stwater.gif, tdywater.gif etc as mentioned in this post
http://forum.xda-developers.com/printthrea...80&page=3&pp=50

although I haven't checked in detail that it is exactly the same.

I tried renaming the TSKAllowed entry and did a softboot to see it that would recreate the entry but it didn't and the problem persists.


I tried this link
http://forum.xda-developers.com/showthread...599#post1016599
and downloaded the zip file (tskinfcompressed.zip ) from there which contains HTC_DefaultUSinf.tsk and HTC_DefaultUSxml.tsk

Transferred these to my PDA. They show up on the list of available themes but do not install.


So the problem seems to be the inability to remove the current "corrupt?" theme entry, but I can't see where that corruption is.

Any other suggestions?

Cheers
TonyS.


BenThon
Have you read the RTF file "Tsk and Xml" which is in the zip of ThemeGenCE ?

QUOTE
TSK and XML

I have found that with WM5 it is possible to define TSK with a _setup.xml instead of a conventional INF. I think it will be with a _setup.xml  that TSK will be installed in future (WM6). So, I have added in the Options Tab of main page the opportunity to define TSK in 3 manners (with a Radiogroup)
• with  conventional INF
• with a _setup.xml
• with both, conventional INF and _setup.xml

Nevertheless, there is a light problem with TSK created with XML :
I have found a drawback writing TSK with _setup.xml :

New keys in registry :
• HKLM\Software\Apps\name of TSK
• HKLM\Seurity\AppInstall\name of TSK
And it creates a folder in Windows\AppMgr\name of TSK with a tmp file inside. You can't delete these folders as they are System.

Tsk installed with XML have registry key :

HKEY_LOCAL_MACHINE\Security\AppInstall\TSK_Name\Role = 64d

So, When this key is set to 64d, application are masked to the uninstaller.

If you put the value 24d, as other applications, you can uninstall TSK with classical uninstaller.

It deletes the registry keys of HKEY_LOCAL_MACHINE\Software\Apps\TSK_Nameand HKEY_LOCAL_MACHINE\Security\AppInstall\TSK_Name

and it deletes folders concerned.


So :
• actually, when a TSK is loaded with xml, it creates keys in HKLM\Security\AppInstall\TSK_Name\Role = 64
• and folder in Windows\AppMgr\TSK_Name
But you cannot uninstall the TSK by normal procedure because the uninstall is hidden by the value 64 of Role.
If you set this value to 24, it is possible.


New in ThemeGenCE :

I have updated ThemeGenCE to see in PDA Infos form (if connected to ActiveSync) a new button AppInstall which shows a new form (if WM5 or higher).
This new form has 2 parts :
• Listbox which shows all application with a different value than 24 in Role (so, hidden for uninstall).
• Memo which shows all applications installed.
The user can check in ListBox the applications he wants to change Role (with value different from 24) to 24, so they will be accessible by uninstall.

On my PDA, it does not work because ACER has protected some parts of registry for writing by Remote Apis by setting :

HKLM\Security\Policies\Policies\00001001 = 2

But if I set it on the PDA to the value 1, my program can overwrite values of Role for each item selected !
So, if you set the key :
HKLM\Security\Policies\Policies\00001001 =1 (With a registry editor) then ThemeGenCE can do this for you !

HKLM\Security\Policies\Policies\00001001 represents REMOTE API (RAPI) Policies : 1 allows write in sensible zone of registry, 2 disallows it.

Policy Value Description
Hex ------Dec
00000002 0002 AutoRun Policy.
00001001 4097 RAPI Policy.
00001005 4101 Unsigned .cabs Policy. Smartphone only.
00001006 4102 Unsigned Applications Policy. Smartphone only.
00001007 4103 Unsigned Themes Policy. Smartphone only.
00001008 4104 TPS Policy.
00001009 4105 Message Authentication Policy.
0000100B 4107 WAP Signed Message Policy.
0000100C 4108 Service Loading Policy. Smartphone only.
0000100D 4109 Service Indication Policy. Smartphone only.
0000100E 4110 Unauthenticated Messages Policy.
0000100F 4111 OTA Management Policy.
00001010 4112 WDP Push Policy. Smartphone only.
00001011 4113 WSP Push Policy.
00001017 4119 Grant Manager Policy.
00001018 4120 Grant User Authenticated Policy.
0000101A 4122 UnsignedPrompt Policy. Smartphone only.
0000101B 4123 PrivilegedApps Policy. Smartphone only.


Portegris
Hi Benthon,

Thanks for the info.

re: New keys in registry :
QUOTE
• HKLM\Software\Apps\name of TSK
• HKLM\Seurity\AppInstall\name of TSK
And it creates a folder in Windows\AppMgr\name of TSK with a tmp file inside. You can't delete these folders as they are System.

Tsk installed with XML have registry key :

HKEY_LOCAL_MACHINE\Security\AppInstall\TSK_Name\Role = 64d


I re-checked my PDA registry. I do not have any entries in the above locations that contain a value of 64d

QUOTE
HKLM\Security\Policies\Policies\00001001 =1 (With a registry editor) then ThemeGenCE can do this for you !


This did have a value of 2 which I changed to 1.

I then downloaded your THEMEGENCE and created a new theme by modifying One I had previously used.

The only changes I made to the theme is to set the "Erase tdywater(s), stwater(s) when leave" checkbox.

I created the theme and transferred it to the PDA then changed theme to it.

This did not change anything.
I again changed the theme to something else (in case the effect of the above checkbox might help when changing from a theme with this value set) but alas it still refuses to change the theme.


I can't determine the name of the theme (hence the image) that is actually being used because any change of theme does write the selected theme name to
HKEY CURRENT USER\Software\Microsoft\Today\Skin

Ill have a little more play with this later. I'll remove all themes from the PDA and see if I can use THEMEGENCE to "Read a theme on the Pocket PC" (great feature that!).

Cheers
T.
Portegris
OK,

In addition to my previous post....

I have removed all the themes (*.tsk) files from my PDA that I could.

ThemegenCE reports only three themes remaining. These are all in the Windows\ folder.
I cannot remove then so assume they are in ROM.

The files are;
Guava Bulles.tsk
O2.tsk
Swirl.tsk

None of them appear to be the image that is displayed on my today theme. Guava Bubbles.tsk does not appear to have an image when I select it but when I select the "Today Image" Checkbox in ThemeGenCe it displays a reddish colour image, nothing like the one I can't get rid of.

The image seems to be "Default_stwater.gif" or "Default_stwater_240_240.gif".

I tried selecting an image from File Explorer and making it the "Set as Today Background" in case this would replace one or both of the above Default files and then allow me to reselect another theme, but that didn't work either. So I am still stuck.

Any further help short of a complete reset will be much appreciated.


Cheers
T.
Mityay
I have the same problem on ASUS P535, WM6! Please, write here if you can find a solution.
mocha
Same problem on Asus P750 WM6
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.