Related
OK I was working in the customization of the HTCHomeplug.
What is HTCHomeplug? If you own a HTC X7500 Advantage (the HTC make of Athena or Ameo) then in the Today screen you got a plugin that shows some icons like Battery, Rotation, Comm Manager, Screen Light, Quick GPS and TVOut. What I discovered is who to deal with this plugin in order to change the icons and applications associated there.
I used PHM Registry to edit entries at the PPC registry, but you can use the editor of your like.
First is access using the registry editor to this entry:
/HKEY_LOCAL_MACHINE/SOFTWARE/HTC/HTCHomeplug
There is the configuration of the plugin. There we will find two entries pointing to the first two icons (Battery and Rotation) that seems to be configured in a different way that the rest of the icons. Those are the two DWORD entries:
PowerIconSlot with value of 0 (this means the first position in the plugin)
RotateIconSlot with value of 1 (this means the second position)
The rest of the positions in the HTCHomeplug appears like KEY entries with names from 2 to 5 meaning positions 3 to 6 in the plugin bar.
Inside each key (2 to 5) we find 3 values (or entries):
1- iconindex DWORD type of Decimal which contains 103 in the case of entry KEY 2
2- LaunchApPath STRING contains the path to the executable file associated to the icon
3- ResPath STRING contais the path to the resource file which contais the icon image poited by iconindex entry. This path points to a DLL or EXE file containing the icon image.
So... since we want to add a icon/application we need to create the entry KEY 6 and we must create both STRING entries and DWORD one inside the KEY 6.
To add Tomtom Navigator in the HTCHomeplug (as an example) I added:
iconindex = 101
LaunchApPath = \Program files\Navigator\Tomtom Navigator.exe
ResPath = \Program files\Navigator\Tomtom Navigator.exe
So I'm using the icon storaged in the Tomtom Navigator executable file itself and my Tomtom is in the path I show in the entry. Off course this could not match your installation.
How I found the iconindex information that points to the icon in the Tomtom's EXE file??? Easy I used a program called RViewer (for PPC) develop by Vicott Wong. The program can by found in Google or in the web page shown in the About screen.... http://mobile-sg.com
Running that program and browsing the EXE file (or a DLL) we can see the index for each resource and if it's an image the image is display in the screen, so I found the 101 is the index for the Tomtom icon inside de EXE file.
Once the entries in the Registry are done the rest is easy. Just go into Start - Configuration - Personal - Today and int the Elements Tab. There unmark the HTCHomeplug and exit the configuration going into the Today screen to check that the plugin is not in the screen. Then we back to the Today configuration and select again the HTCHomeplug to mark it. Once we are back into the Today screen we will see the new icon.
(OK in the previous paragraph I'm translating the menu options and clicks from my spanish release of WM5 into english one so the names could not match... what you need to do is configure Today screen to remove the plugin and to configure again to insert the plugin, that way the plugin is reseted and the new icons loaded).
I did several tests and looks like the HTCHomeplug only supports 7 icons (0 to 6) but since many of the original icons are not use on daily bases we can setup up to 5 programs in that plugin leaving the Battery and Rotary icons in its place.
I hope this is useful... and I beg your pardon for my poor english.
Regards,
mahjong
P.S.: I posted this first at todopocketpc.com in spanish. If you know that language maybe you prefer read it in my mother language. For sure will be much better written.
mahjong said:
OK I was working in the customization of the HTCHomeplug.
What is HTCHomeplug? If you own a HTC X7500 Advantage (the HTC make of Athena or Ameo) then in the Today screen you got a plugin that shows some icons like Battery, Rotation, Comm Manager, Screen Light, Quick GPS and TVOut. What I discovered is who to deal with this plugin in order to change the icons and applications associated there.
I used PHM Registry to edit entries at the PPC registry, but you can use the editor of your like.
First is access using the registry editor to this entry:
/HKEY_LOCAL_MACHINE/SOFTWARE/HTC/HTCHomeplug
There is the configuration of the plugin. There we will find two entries pointing to the first two icons (Battery and Rotation) that seems to be configured in a different way that the rest of the icons. Those are the two DWORD entries:
PowerIconSlot with value of 0 (this means the first position in the plugin)
RotateIconSlot with value of 1 (this means the second position)
The rest of the positions in the HTCHomeplug appears like KEY entries with names from 2 to 5 meaning positions 3 to 6 in the plugin bar.
Inside each key (2 to 5) we find 3 values (or entries):
1- iconindex DWORD type of Decimal which contains 103 in the case of entry KEY 2
2- LaunchApPath STRING contains the path to the executable file associated to the icon
3- ResPath STRING contais the path to the resource file which contais the icon image poited by iconindex entry. This path points to a DLL or EXE file containing the icon image.
So... since we want to add a icon/application we need to create the entry KEY 6 and we must create both STRING entries and DWORD one inside the KEY 6.
To add Tomtom Navigator in the HTCHomeplug (as an example) I added:
iconindex = 101
LaunchApPath = \Program files\Navigator\Tomtom Navigator.exe
ResPath = \Program files\Navigator\Tomtom Navigator.exe
So I'm using the icon storaged in the Tomtom Navigator executable file itself and my Tomtom is in the path I show in the entry. Off course this could not match your installation.
How I found the iconindex information that points to the icon in the Tomtom's EXE file??? Easy I used a program called RViewer (for PPC) develop by Vicott Wong. The program can by found in Google or in the web page shown in the About screen.... http://mobile-sg.com
Running that program and browsing the EXE file (or a DLL) we can see the index for each resource and if it's an image the image is display in the screen, so I found the 101 is the index for the Tomtom icon inside de EXE file.
Once the entries in the Registry are done the rest is easy. Just go into Start - Configuration - Personal - Today and int the Elements Tab. There unmark the HTCHomeplug and exit the configuration going into the Today screen to check that the plugin is not in the screen. Then we back to the Today configuration and select again the HTCHomeplug to mark it. Once we are back into the Today screen we will see the new icon.
(OK in the previous paragraph I'm translating the menu options and clicks from my spanish release of WM5 into english one so the names could not match... what you need to do is configure Today screen to remove the plugin and to configure again to insert the plugin, that way the plugin is reseted and the new icons loaded).
I did several tests and looks like the HTCHomeplug only supports 7 icons (0 to 6) but since many of the original icons are not use on daily bases we can setup up to 5 programs in that plugin leaving the Battery and Rotary icons in its place.
I hope this is useful... and I beg your pardon for my poor english.
Regards,
mahjong
P.S.: I posted this first at todopocketpc.com in spanish. If you know that language maybe you prefer read it in my mother language. For sure will be much better written.
Click to expand...
Click to collapse
Excellent post and thanks for your efforts and sharing! I'll be trying this out later. Just what I was looking for.
I'll report my experiences later.
Excellent! I will try this!
When using TrueVGA, does anybody know a way of making the icons work? I see only 1/4th of an icon, and it's even the wrong icon. The only icon is the one for the Light Settings...
Anybody know the iconindex for Opera so i can have the Opera icon instead of Web&Walk icon!
Mahjong tells you how to find it...
mahjong said:
How I found the iconindex information that points to the icon in the Tomtom's EXE file??? Easy I used a program called RViewer (for PPC) develop by Vicott Wong. The program can by found in Google or in the web page shown in the About screen.... http://mobile-sg.com
Click to expand...
Click to collapse
No Joy I'm afraid...
I'm afraid that it hasn't worked for me on the Ameo. Maybe it's due to how T-Mob have configured/altered things with their customisation of their ROM.
I reverted to using the TrayApplet in the same regedit folder that the HTCHompeplug resides in, but to no avail.
Quote "Just go into Start - Configuration - Personal - Today and int the Elements Tab. There unmark the HTCHomeplug and exit the configuration going into the Today screen to check that the plugin is not in the screen. Then we back to the Today configuration and select again the HTCHomeplug to mark it. Once we are back into the Today screen we will see the new icon.
(OK in the previous paragraph I'm translating the menu options and clicks from my spanish release of WM5 into english one so the names could not match... what you need to do is configure Today screen to remove the plugin and to configure again to insert the plugin, that way the plugin is reseted and the new icons loaded). " End Quote.
No HTC Plugin on the Ameo Today settings menu either, but visible in HLKM...software etc...as the HTCHomeplug.
I can get some of my choice of programs in the TrayApplet, but not the associated icons!!??!!
Same as before when I tried. Anyone else with an Ameo who has had success in getting it to work with the right icons?
Hi,
Thanks for the tip, it's really useful! I wanted to customize the plugin but didn't have the patience to go through all the registry.
Twp questions though:
- I made a shortcut for the calculator (calc.exe) but the icon is too big (both res. index 0 or 100 in calc.exe). Is there a way to scale it down, or a smaller calculator icon in another file? What's the "main" icon library for Windows Mobile (the equivalent of shell32.dll under Windows)
- I tried to make a shortcut to the phone application, but I can't find the exe file (the Start menu shortcut doesn't point to an exe file, but to :MSCProg?......). And I can't find the icon either...
Please help.
Regards,
Silviu
Hi silviu.h.
Which Athena device do you have, Advantage, Dopod or Ameo?
Hi, I have the HTC Advantage (not Ameo, not Dopod), and the vanilla french ROM.
silviu.h said:
Hi, I have the HTC Advantage (not Ameo, not Dopod), and the vanilla french ROM.
Click to expand...
Click to collapse
Thanks for the reply. That would explain why to a large extent it works on your device.
P.S. try \Windows\HTCICON.dll (I think that is the equivalent to shell32.dll)
Let us know how you get on.
Thank you for your answer.
The hack from mahjong works OK, except for the quirks I have already posted above (the Calc.exe icon is too big and I can't find the main icon store). htcicon.dll doesn't exist
However it's OK for Tomtom.
I'll keep you posted on my findings (I'm not giving up, I just have to go to bed )
See you,
Silviu
mackaby007 said:
No HTC Plugin on the Ameo Today settings menu either, but visible in HLKM...software etc...as the HTCHomeplug.
I can get some of my choice of programs in the TrayApplet, but not the associated icons!!??!!
Same as before when I tried. Anyone else with an Ameo who has had success in getting it to work with the right icons?
Click to expand...
Click to collapse
Yeah that was the reason for adding this to my note: "If you own a HTC X7500 Advantage (the HTC make of Athena or Ameo) then in the Today screen you got a plugin..."
Only for HTC users I'm afraid.
Best Regards,
mahjong
mahjong said:
Yeah that was the reason for adding this to my note: "If you own a HTC X7500 Advantage (the HTC make of Athena or Ameo) then in the Today screen you got a plugin..."
Only for HTC users I'm afraid.
Best Regards,
mahjong
Click to expand...
Click to collapse
Well, you can simply enable it on the T-Mobile Ameo using the following Reg-Keys:
- Navigate to: HKLM\Software\Microsoft\Today\Items
- Create a new Key named: HTC-Homeplug (or whatever you like)
- Navigate into that key
- Create the following items under that key:
String: DLL
Value: htchomeplug.dll
DWORD: Enabled
Value: 0 (or 1 if you want to enable it directly)
DWORD: Flags
Value: 0
DWORD: Options
Value: 0
DWORD: Order
Value: 0
DWORD: Type
Value: 5
After doing the above go to your today-screen settings and the Homeplug plugin is there...
Cheers
I seem to have BOTH HTCHomeplug and Trayapplet on my Ameo
It seems that there is a today item [email protected] or something I can turn on/off that doesnt appear to do anything, I beleive this is turning on/off the HTCHomeplug.
Because Trayapp is already on, and overwriting the HTChomeplug you only see its icons, therefor the homeplug is hidden.
I will experiment with turning off trayapp then turning on the @home today item and see what happens, but it looks like a lot of the confusion for Ameo users is the fact both are installed.
I did a hard reset, and didnt fiddle with the home/tray stuff, so this is how the rom set it up!
HKLM/software/htc/HTCHomeplug
HKLM/software/htc/TrayApplet
Both have keys of (and ONLY of),
PowerIconSlot=0
RotateIconSlot=1
In them.
Under HKLM/software/microsoft/today/items/[email protected]
DLL=hztdplug.dll
enabled=0
flags=0
options=0
order=1
type=5
Pyrofer said:
I seem to have BOTH HTCHomeplug and Trayapplet on my Ameo
It seems that there is a today item [email protected] or something I can turn on/off that doesnt appear to do anything, I beleive this is turning on/off the HTCHomeplug.
Because Trayapp is already on, and overwriting the HTChomeplug you only see its icons, therefor the homeplug is hidden.
I will experiment with turning off trayapp then turning on the @home today item and see what happens, but it looks like a lot of the confusion for Ameo users is the fact both are installed.
I did a hard reset, and didnt fiddle with the home/tray stuff, so this is how the rom set it up!
HKLM/software/htc/HTCHomeplug
HKLM/software/htc/TrayApplet
Both have keys of (and ONLY of),
PowerIconSlot=0
RotateIconSlot=1
In them.
Under HKLM/software/microsoft/today/items/[email protected]
DLL=hztdplug.dll
enabled=0
flags=0
options=0
order=1
type=5
Click to expand...
Click to collapse
The T-Mobile plugin has nothing to do with the HTC-Homeplug. HTC-Homeplug provides the sam functionality as the TrayApp.
The [email protected] Today Plugin is only useful for T-Mobile customers as it provides functions for HomeZone users.
The dll name hztdplug.dll means HomeZoneTodayPlugin...
If you want to use the HTC-HomePLug plugin you have to create the registry key I've posted above.
Cheers
Ok, I dont want the homezone rubbish.
But im still stuck with both HTCHomeplug and Trayapp
How do I enable/disable the trayapp? That doesnt seem to have any today element to it. I cant get icons working at all in trayapp and wanted to try the HTCHomeplug as that looks a much more userfriendly app.
Pyrofer said:
How do I enable/disable the trayapp?
Click to expand...
Click to collapse
Go to HKLM\init
Delete the Launcher for TrayAp.exe. On mine it is Launch92...
Make a Softreset after you changed this setting and the TrayAp is gone.
Cheers
Thanks!
I now have the HTC Homeplug working, and the trayapp gone! W00t!
I like the bigger icons, and now I can edit them better im happy. Much nicer.
Anyone thought about coding a contol panel applet for this homescreen plugin??
Moskus said:
Excellent! I will try this!
When using TrueVGA, does anybody know a way of making the icons work? I see only 1/4th of an icon, and it's even the wrong icon. The only icon is the one for the Light Settings...
Click to expand...
Click to collapse
If you use combination of Spb pocket plus and Commmgrpro, you don't need to deal with these problems of wrong size icons in the comm manager and home plug. Both of these need not be used at all.
I'm yet to find a replacement for Spb GPRS monitor though. SPb GPRS monitor also have problem displaying in true VGA. There are some but they do not show the kbps figure - only the downloaded volume.
Hi all,
i have a little Question and hope that this wasnt ask by someone else. (sorry for my bad english)
In the startmenu i can put up to 7 Programs at max. Does exist any Registry entry to stack up the Number of programs that i can put in the startmenu?
Start menu "Settings" Shortcut
Help, I lost the "settings" shortcut on the startmenu. Is there a way to get it back without having to hard reset the device?
SidEwigk said:
Hi all,
i have a little Question and hope that this wasnt ask by someone else. (sorry for my bad english)
In the startmenu i can put up to 7 Programs at max. Does exist any Registry entry to stack up the Number of programs that i can put in the startmenu?
Click to expand...
Click to collapse
Maybe if you copy the shortcut files manualy to Windows\Start menu from Windows\Start menu\Programs\
thx but that not works. Also i have searched in the Registry a little bit but dont found any entry for this....can anyone help me?
Im Shure i can usw Wishbar3 but i dont want to install so many progs^^
You may want to take a look at this tool, one of the most valuable tools I've installed on my Polaris: 'QuickMenu' of Chinese origin. It replaces the startmenu on the windows logo, while the original windows startmenu is still available under 'Start'.
http://www.freewarepocketpc.net/ppc-download-quickmenu-v2-7.html
Functions:
- Cascading StartMenu (fully configurable)
- Cascading Settings menu (windows mobile settings)
- TaskManager (easy switch and close functions from the startmenu)
- TaskSwitcher (create alt-tab shortcut to QM-active-next which you can map to a hardbutton)
- Hibernate/Suspend/Reboot from startmenu
- Execute ...
- SIP panel selector
- Bluetooth toggle (connectable, discoverable, off)
- Batterystatus (in percentage)
- Memorystatus (internal or memorycard)
There's no installer, unzip the archive to a 'quickmenu' folder in your program files and run the exe once. If you don't like it, delete the folder. The only issue I had with it on my previous device was that the 'Settings' menu which links to WM's personal, system and connection settings didn't work correctly, possibly because it was mapped to the 'Settings' function, in stead of the dutch 'Instellingen'. The rest of the functions worked fine.
My Polaris has an english system and QM works perfectly. Great little tool.
"You may want to take a look at this tool, one of the most valuable tools I've installed on my Polaris:"
Thanks for this. A top tool.
Indeed a great tool, but can you disable the battery status on the upper right corner ? It is messing with the task manager and i cant close or select which program i want.
I tried disabling it from the settings of the program itself, and the battery status gets removed, but i still cant see the task manager icon.
Go into Settings/Task Manager/Button tag and re-check the "Enable Quick Menu on Today Screen"
Sky740 said:
Go into Settings/Task Manager/Button tag and re-check the "Enable Quick Menu on Today Screen"
Click to expand...
Click to collapse
thank you mister
Last night i was playing around with the Program Launcher menu and discovered that you can extend it by simply adding some values in the registry.
The registry key to do all this is:
HKEY_LOCAL_MACHINE/Software/HTC/Manilla/ProgramLauncher
Standard the subkeys are numbered from 0 to 29.
You can extend your Launcher menu by adding a new group of 3 empty program buttons by adding 30, 31 and 32 (so new subkeys). Always add keys in groups of 3. So 33, 34 and 35 and so on. Don't know if there's a limit on this one.
A number subkey should contain the following values:
String - DispName
String - IconPath
DWORD - IsReadOnly, dec value 0
String - Path
You can leave the string values open because they are automatically filled in when you add a new shortcut.
Don't forget to adjust the following value also. It's in HKEY_LOCAL_MACHINE/Software/HTC/Manilla/ProgramLauncher/totalItemCount (dword, dec value), change to the max number op empty program places. I tried with 50.
You can now disable TF3D and re-enable it again to see the new empty program buttons or you can simply soft reset your device (reboot windows mobile).
This should work perfectly. But some problem I'm having is, after having installed the cabfile with which you can wipe the first 4 (unremovable) program shortcuts, I'm not able to add any program shortcuts anymore. Well i can select a program which i like in the program launcher as a shortcut, but the shortcut is not added to the launcher menu. I uninstalled the cabfile, and rebooted windows mobile, but the problem isn't solved with that. Some one know a solution to this?
TheWizzard2203 said:
Last night i was playing around with the Program Launcher menu and discovered that you can extend it by simply adding some values in the registry.
The registry key to do all this is:
HKEY_LOCAL_MACHINE/Software/HTC/Manilla/ProgramLauncher
Standard the subkeys are numbered from 0 to 29.
You can extend your Launcher menu by adding a new group of 3 empty program buttons by adding 30, 31 and 32 (so new subkeys). Always add keys in groups of 3. So 33, 34 and 35 and so on. Don't know if there's a limit on this one.
A number subkey should contain the following values:
String - DispName
String - IconPath
DWORD - IsReadOnly, dec value 0
String - Path
You can leave the string values open because they are automatically filled in when you add a new shortcut.
You can now disable TF3D and re-enable it again to see the new empty program buttons or you can simply soft reset your device (reboot windows mobile).
This should work perfectly. But some problem I'm having is, after having installed the cabfile with which you can wipe the first 4 (unremovable) program shortcuts, I'm not able to add any program shortcuts anymore. Well i can select a program which i like in the program launcher as a shortcut, but the shortcut is not added to the launcher menu. I uninstalled the cabfile, and rebooted windows mobile, but the problem isn't solved with that. Some one know a solution to this?
Click to expand...
Click to collapse
Great tip!
I have the same problem that the shortcuts are not added though...
What does work is to add the path and name manually...
To easily create more keys you can also export 1 key and edit the key name in notepad (increase the number by 1) and import the key again.
I think you need to edit some more keys.
Could it be you need to add the program path as a string value in the root of ProgramLauncher as well?
At least I increased the totalItemcount to 32.
of course you can add the shortcuts manually through the registry, but that's not quite the solution. Are there more people having this problem?
Yeah I have the same problem, I get empty boxes to add more programs but can't seem to make the button register a program unless done manually via registry.
Great find though, Thanks
i use mine own cabfile, works great, to find it goto xperia rom forum, and one of the sticky post is called FTP, by mostberg, goto mostbergs ftp and goto rom, touch x, addons, there you will finjd the cabs needed for top icons, not home atm, so cant post the cab right now sorry, but goto ftp there it is...
Is this the menu you see when long-clicking on the Hang up key?
Deleted. Sorry.
Thanks
Thanks a lot. I've finally reached to remove that "Business mail" locked shortcut on my TD2. I can now replace it by another one !
here:
http://forum.xda-developers.com/showthread.php?t=534596
smaberg said:
i use mine own cabfile, works great, to find it goto xperia rom forum, and one of the sticky post is called FTP, by mostberg, goto mostbergs ftp and goto rom, touch x, addons, there you will finjd the cabs needed for top icons, not home atm, so cant post the cab right now sorry, but goto ftp there it is...
Click to expand...
Click to collapse
I cant find the file...
i ave add 6 new space for program in the start menu but i cant add the programs... i add the link in the registry, but doesnt work...
help!
any working solution yet??
Hi all
I always wanted to be able to shortcut to start menu folders from within the manila program launcher but unfortunately it was not very straight forward to do.
I found this post: http://forum.xda-developers.com/showthread.php?t=416092
and I've developed the ideas a little and come up with a cab which will allow you to link to your Connectivity, Games, Multimedia, System Tools and Utilities folders within the Start Menu from the manila program launcher.
First go to Windows/Start Menu/Programs and make sure you have the above folders, if you haven't you can create them. (Although I don't think it will matter if you don't, the shortcuts will just not point you at anything). You can then organise your .lnk files to your liking. If you haven't tinkered with your Start Menu set up already you will find that Games are organised into their own folder and everything else will be pretty much jumbled up. If you just want to shortcut to the Games folder just leave everything else as it is.
Then install the attached cab. This will provide you with a set of shortcut files that can be selected from program launcher as normal. (Thanks to Andrew-in-Woking and this post http://forum.xda-developers.com/showthread.php?p=1782122 for the icons which I used).
I've tested on my Kaiser and TP2 and seems to work fine. Let me know of any issues.
John
Couple of screen shots.....
or in registry point the manila start menu to this...
[HKEY_LOCAL_MACHINE\Software\HTC\Manila\ProgramLauncher\0]
"DispName"=""
"IconPath"=""
"IsReadOnly"=dword:0
"Path"="\windows\startmenu\programs\games"
"Command"=""
this will open games folder within manila startmenu.
But this will only work with the folders in startmenu, not settings.
if you want to map settings you will need to know the right path, i dont remember right now, but it can be done...
Somebody know the path for settings?
folderview.exe
ai6908 said:
Somebody know the path for settings?
Click to expand...
Click to collapse
You need to search for folderview.exe and open it with parameters if you want to display folders like games in the screenshot..
I'm at work now, if needed i can upload the file and some examples later today.
Good Luck
John Charles (OP), is that WM 6.5 or 6.1 in your screen shots?
It's WM6.5 but the folderview.exe it utilises gives the folder a distinctly 6.1/6 look.
as for a path for settings i don't think there is one. i found control.exe which again gave a 6.1 view to settings but it messed up the icons and wouldn't show today settings. I've lookyed for a similar exe in the wm6.5 windows folder (presumably the one that is executed when the left softkey under the tf3d settings tab is pressed) but i couldn't find anything.
Anyone know what the equivalent exe would be?
John Charles said:
It's WM6.5 but the folderview.exe it utilises gives the folder a distinctly 6.1/6 look.
Click to expand...
Click to collapse
Does that folderview.exe allow finger scrolling of the folders?
yep, just tried it.
How do I get the "Programs" (with 4 columns) tab on my Touch Flo 3D? Mine doesn't have that
http://forum.xda-developers.com/showpost.php?p=4174394&postcount=1
I tried the 'extend to 64 icons' addition but ended up removing it because it slowed down the program tab activating too much for me. (Hence finding out about the shortcuts above).
This works on my HD but can't stand the icons. I would prefer to just have a standard folder icon. Anyone know how to change these?
I tried smaberg's approach and I got it to work with some modifications. I have a Sprint TP2 with 6.5 and manila 2.5.2012. Stock ROM but MANY cabs...
I used PHM registry editor to navigate to:
[HKLM\Software\HTC\Manila\Home\...]
this folder contains folders 0-8 corresponding to placement of the quicklink.
edit each folder for different shortcuts changing these values:
DWORD: "ContactFavorType" = 1566658532 -Decimal
String: "DispName" = (whatever you want the link named)
String: "ExePath" = \windows\start menu\programs\games.lnk (tell it where to find the link you want to use)
DWORD: "HomeServiceType" = 1 -Decimal
String: "IconPath" = (point at whatever icon you want to use.. it works with .ico and .png)
DWORD: "IsSet" = 1 -Decimal
These are the settings that worked for me. Thanks to smaberg for pointing me here.
Hi uhohh
Thanks for the information. Am running a TD2 with WinMo 6.5, Manila 2.5.20113030.0 Stock ROM, Max Manila Themes v3.0 (which allows me up to 20 Quick Links) AND a largish number of .CABS.
I managed to create a shortcut to to Windows\Start Menu\Programs and located it in the Programs folder itself. I used Total Commander to do this and create a 'Programs.lnk'. I then defined a new Quick Link and assigned the Programs shortcut that I found with all the other programs in the usual place.
I used then PHM registry editor to navigate to:
[HKLM\Software\HTC\Manila\Home\...] and located the relevant folder (which in this case was 11 or 0 - 19, as I have 20 Quick Links defined) and checked the values below that you mentioned in your post:
DWORD: "ContactFavorType" = a unique decimal
String: "DispName" = Programs
String: "ExePath" = \windows\start menu\programs\programs.lnk (it had correctly registered what I told it to)
DWORD: "HomeServiceType" = 1 (Decimal)
String: "IconPath" = \windows\start menu\programs\programs.lnk (not pointing to a .ico or .png...but funnily enough neither are any of the other 19 Quick Links?)
DWORD: "IsSet" = 1 (Decimal)
When I try to use the shortcut I get the error noted in a number of other posts, ie, "Either not signed with a trusted certificate, or one of it's components cannot be found...".
I am therefore wondering if it has to do with the lack of pointing to a .ico or .png OR that I may be trying to call the Programs folder recursively.
Any thoughts? I would love to get this working as with all the .CABS I have 20 short custs is not enough and so a link to the programs to be able to run infrequently used ones would be the icing on the cake.
I hope that there is wisdom re. this out there!
Regards
Balders
ya, i'm seeing some other issues with this as well. I was cleaning house and deleting some unused cabs (i thought they were.) It looks like I had a cab that was doing some sort of voodoo. "shortcut to folders in manila.cab" If this cab is running, then it will work. It looks like this cab creates links (*.lnk) in your programs folder that redirects to another folder. ie.. games.lnk will redirect to games folder. You can still rename the link and change the icon with the reg tweaks. Apparently this was running when I set it up cuz it stopped working as soon as I deleted the cab. unfortunately, I'm not yet at a point where i know how to decipher a cab to figure how to do this myself.
Links to control panel items on the HTC Leo HD2. Some of these will work on different platforms, some won't. This article relates to my HD2 Leo running wm 6.5.x build 28232, but it should be common across all hd2 roms.
Control panel items are generally not files in their own right, rather they are bundled together into .cpl files.
To create a link directly to a particular control panel item is easy. (we will use the USB to PC Activesync screen as our example)
Open a new notepad document on your pc, paste in the command
23#ctlpnl.exe mycpl.cpl,34
save the text file, (example usb2pc.txt) and then rename the extension from .txt to .lnk (LNK for 'link')
Move the file usb2pc.lnk to the phone, and move it to the windows\start menu folder.
Now when you click an empty quicklink space you will find that usb2pc is now available to set as a quicklink.
The command explained.
------------------------
23#ctlpnl.exe mycpl.cpl,34
23 == tells the system how many characters are in the command. (Seems not to matter too much whether this is correct or not, at least on the HD2)
# == is the delimiter to signify the begining of the command.
ctlpnl.exe == is the control panel program that opens and executes the .cpl file.
mycpl.cpl == specifies the .cpl file to use.
,34 == is the index of the command within the cpl file. Not every index is used.
You can further specify the exact tab to open for items held in the cplmain.cpl file by specifying the tab number at the end.
For example
24#ctlpnl.exe cplmain.cpl,2 calls up the owner info ident tab
whilst
24#ctlpnl.exe cplmain.cpl,2,1 calls up owner info, but on the notes tab.
Looking for this info online turned up the fact that it doesn't stay quite the same from one version of windows mobile to the next, and manufactures can add their own .cpl files too, so I decided to manually try the variants and compile a list specific to the hd2
The one exception to the cpl method is for the power settings, which have now been moved to powerexe.exe
==================================================
22#ctlpnl.exe mycpl.cpl,1 - advanced network settings (hsdpa enable)
22#ctlpnl.exe mycpl.cpl,2 - clear all data! (hard reset screen)
22#ctlpnl.exe mycpl.cpl,3 - phone info
22#ctlpnl.exe mycpl.cpl,4 - battery & backlight (To open on a specific page, see the powerexe.exe links)
22#ctlpnl.exe mycpl.cpl,7 - wifi settings
23#ctlpnl.exe mycpl.cpl,34 - USB to PC
23#ctlpnl.exe mycpl.cpl,35 - G-Sensor Calibrate
==================================================
12#Powerexe.exe - power and backlight
12#Powerexe.exe 1 - battery tab
12#Powerexe.exe 2 - backlight tab
==================================================
24#ctlpnl.exe cplmain.cpl,1 - phone password settings
24#ctlpnl.exe cplmain.cpl,2 - owner info - ident
24#ctlpnl.exe cplmain.cpl,2,1 owner info - notes tab
24#ctlpnl.exe cplmain.cpl,3 - battery & backlight
24#ctlpnl.exe cplmain.cpl,4 - memory - main
24#ctlpnl.exe cplmain.cpl,4,1 memory - storage card tab
24#ctlpnl.exe cplmain.cpl,5 - about - version
24#ctlpnl.exe cplmain.cpl,5,1 about - device id tab
24#ctlpnl.exe cplmain.cpl,5,2 about - copyrights tab
24#ctlpnl.exe cplmain.cpl,6 - fails to open 'backlight.exe' (use powerexe.exe instead)
24#ctlpnl.exe cplmain.cpl,7 - screen align
24#ctlpnl.exe cplmain.cpl,7,1 screen clear type
24#ctlpnl.exe cplmain.cpl,7,2 screen text size
24#ctlpnl.exe cplmain.cpl,8 - input method
24#ctlpnl.exe cplmain.cpl,8,1 input options
24#ctlpnl.exe cplmain.cpl,9 - sounds & notif - sounds
24#ctlpnl.exe cplmain.cpl,9,1 sounds & notif - notifications
25#ctlpnl.exe cplmain.cpl,10 - remove programs
25#ctlpnl.exe cplmain.cpl,12 - program h/ware buttons
25#ctlpnl.exe cplmain.cpl,12,1 program h/ware buttons up/down
25#ctlpnl.exe cplmain.cpl,13 - home - appearance settings
25#ctlpnl.exe cplmain.cpl,13,1 home - items
25#ctlpnl.exe cplmain.cpl,14 - domain enroll
25#ctlpnl.exe cplmain.cpl,16 - clock&alarms - Time
-----------------------------cant specify alarms tab?
25#ctlpnl.exe cplmain.cpl,17 - wifi - wireless networks tab
-----------------------------cant specify network adapters tab?
25#ctlpnl.exe cplmain.cpl,18 - regional settings - region
25#ctlpnl.exe cplmain.cpl,18,1 regional settings - number
25#ctlpnl.exe cplmain.cpl,18,2 regional settings - currency
25#ctlpnl.exe cplmain.cpl,18,3 regional settings - time
25#ctlpnl.exe cplmain.cpl,18,4 regional settings - date
25#ctlpnl.exe cplmain.cpl,19 - connections - tasks
25#ctlpnl.exe cplmain.cpl,19,1 connections - advanced
25#ctlpnl.exe cplmain.cpl,20 - phone - sounds
25#ctlpnl.exe cplmain.cpl,20,1 phone - network
25#ctlpnl.exe cplmain.cpl,20,2 phone - gsm/umts services
25#ctlpnl.exe cplmain.cpl,20,3 phone - more
25#ctlpnl.exe cplmain.cpl,20,4 phone - advanced
25#ctlpnl.exe cplmain.cpl,22 - certificates - personal
25#ctlpnl.exe cplmain.cpl,22,1 certificates - intermediate
25#ctlpnl.exe cplmain.cpl,22,2 certificates - root
25#ctlpnl.exe cplmain.cpl,24 - error reporting
25#ctlpnl.exe cplmain.cpl,25 - gps settings - programs(port)
25#ctlpnl.exe cplmain.cpl,25,1 gps settings - hardware
25#ctlpnl.exe cplmain.cpl,25,2 gps settings - access
25#ctlpnl.exe cplmain.cpl,26 - comm manager
25#ctlpnl.exe cplmain.cpl,27 - encryption
=================================================
25#ctlpnl.exe BTConfigCE.cpl - brings up bluetooth
=================================================
25#ctlpnl.exe CarKitMode.cpl - brings up navipanel settings
=================================================
30#ctlpnl.exe AGPSSettingsCPL.cpl - location services settings
=================================================
35#ctlpnl.exe HTCAccountManagerCPL.cpl - account manager - log in/out
=================================================
26#ctlpnl.exe UploaderCPL.cpl - uploader status
*
*
*
*
*
*
update - create direct links to folders, see post 35 HERE
*
*
*
*
*
*
I can't believe no-one's commented on this in nearly 2 weeks! Brilliant job mate. BIG kudos to you for doing this.
Thanks
great job
Wow.
thats great job m8.I'm sure so many people will like this
heh thanks. I got tired of giving out links info that ended up being wrong.
Well I've bookmarked this little gem and have already given it out to one person asking for advice
Also bookmarked, very useful. Thanks for taking the time to put this together!
Great post. Book marked.
Sometimes the simplest explanations are the best ... what a great post ... Thanks!!
Update
-------
I've been looking at changing the default link icon when you create the link, cos its rubbish, , ,
The icon address is appended to the end of the shortcut, pointing to a dll file and a code position within that file.
I've been browsing through the shellres.192.dll file and it seems lots of the control panel icons (or similar) are held there.
I'm not sure if there are different versions of this file, but it matches on two roms I tried. (a 1.66 and a 2.10)
so, the command for, say, cleartype.
24#ctlpnl.exe cplmain.cpl,7,1
the icon path goes after a ? to give
50#ctlpnl.exe cplmain.cpl,7,1?shellres.192.dll,-13906
These are just some of the default icons, i'm still looking for the extras in other files. (oh and i can't find what theyre actually called individually, so i described some of them )
replace the number at the end with the corresponding number below.
13840 clock full face
13841 user
13888 phone broadcast wireless
13895 power
13899 about
13900 memory
13901 earth symbol
13902 phone broadcast blue lines
13905 contrast
13906 screen
13909 BT icon
13910 IR icon
13911 phone to pc connection
13924 sounds
13927 plain file icon
13936 keyboard icon
13937 menu icon
13941 certificates
13942 key symbol
13943 files with down arrow
13944 phone with play icon
13952 clock and house
13953 phone
13954 phone and wifi
13961 connections
13969 radio button pressed
13970 radio button not pressed
13996 error symbol
13997 blue globe icon
13998 sd card encryption
13999 wifi round
14000 multiple tick select
14001 task manager
14002 mobile and office block?
Incredible job mate!!
Sooooo Happy
What a gracfully given gift, that even a techtard such as my self can grasp and use. Congradulations on your fatherhood.
Very good work
Thanks for this.
Another way to optimise our shortcuts.
Any solution to assign to shortcuts some icons of my choice?
Thanks in advance
Franky
This is a very useful post. Thank you.
I am just wondering if there is an actual link for the Task Manager? (The one that has the Running Programs List etc.)
Embed Within Settings?
Any way to embed the icon within the Settings folder?
great job Samsamuel! just made a link to remove programs and it works as it should. thanks.
pierre duras said:
Any solution to assign to shortcuts some icons of my choice?
Click to expand...
Click to collapse
a_ok2me said:
Any way to embed the icon within the Settings folder?
Click to expand...
Click to collapse
Click to expand...
Click to collapse
see post 9. there are loads of dll files, and lots of them have icons in them. you can reference any file at the end of the command to give the icon
Get a resource editor (i use xn resource editor, but only cos thats the first one i came across) and you can browse the dll, make a note of the number associated with the icon and put that as the extension on teh command.
essequamvideri7 said:
This is a very useful post. Thank you.
I am just wondering if there is an actual link for the Task Manager? (The one that has the Running Programs List etc.)
Click to expand...
Click to collapse
browse to your windows folder on teh phone, find taskmgr.exe, press and hold it, choose copy, go to windows\start menu\programs press and hold choose paste as shortcut.
Links to Slider Icons?
samsamuel: Have you been able to create shortcut to slider icons, specifically the HTC email and Settings apps? I've been able to create a link to settings but the icon is incorrect.
dipaolnv said:
samsamuel: Have you been able to create shortcut to slider icons, specifically the HTC email and Settings apps? I've been able to create a link to settings but the icon is incorrect.
Click to expand...
Click to collapse
if you mean the big icon that comes up mid screen when you slide, i think they are held in the manila files. (Look in windows\ there are loads of files called xxxx_manila, all those files are what makes up manila, code, graphics, everything.)
Very good work.
All links in cab file would be great !.
KelArth said:
Very good work.
All links in cab file would be great !.
Click to expand...
Click to collapse
hehe, it would, but the missus is upstairs on the sofa, 12 hours into labour, so if you dont mind i'll maybe leave that for a while.