How to get settings shortcuts without a shortcut file? - 8125, K-JAM, P4300, MDA Vario ROM Development

I noticed in Faria's last ROM there are two shortcuts in the Settings menu that don't have physical shortcut files (.lnk). These are 'Bluetooth SIM Access' (BTSAP) and the VoIP SIP Configuration Tool. I have checked and there are two registry entries:
Code:
[HKEY_LOCAL_MACHINE\ControlPanel\MyCPL\15]
"Name"="VoIP SIP Config Tool"
"File"="SipConfig.exe"
"Description"="VoIP SIP Config Tool"
[HKEY_LOCAL_MACHINE\ControlPanel\MyCPL\13]
"Description"="Bluetooth SIM Access"
"File"="BtSim.exe"
"Name"="Bluetooth SIM Access"
I have attempted to duplicate this in my cooking of the ingenetics (?) ROM but the shortcuts won't appear. Does anyone know how this works? Is there another registry key to enable the 'MyCPL' stuff?
Thanks
Andy

There are obviously people on here that know how this is done, can you please answer the thread
Andy

ADB100 said:
There are obviously people on here that know how this is done, can you please answer the thread
Andy
Click to expand...
Click to collapse
Have tried making a prexml file? This would run when you flash and it could be told to make a shortcut

shortcuts
I think I read somewhere that you can use total commander to create shortcuts.

funman said:
Have tried making a prexml file? This would run when you flash and it could be told to make a shortcut
Click to expand...
Click to collapse
No, I haven't tried it but I don't think it is necessary. The registry entry should create a 'psuedo' shortcut for you. Look at the X-Button package, there is no shortcut file, just some registry entries that make a shortcut appear in the settings menu.
I might be wrong but there are people on here who know the answer..........
Andy

are they .cpl files?

Related

Creating HTCCPL application shortcuts?

I am struggling a little here and don't know why this isn't working, I was hoping someone has been through this before and knows how to do it
OK, I understand the registry settings needed to add applets to the settings pages for HTC applications. You create two registry keys and increment the 'TotalApplets' registry value to include enough for all the 'applet extensions'. I have backward engineered some existing ones to see this. Now I am trying to add another application without just creating a physical shortcut file. I have created an OEM package that has the following .rgu file:
Code:
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Inbox\Settings\OEM]
"SMSInboxThreadingDisabled"=dword:00000000
[HKEY_LOCAL_MACHINE\ControlPanel\SMS Mode]
"Group"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\HTC\HTCCPL\Applet16]
"CmdLine"=""
"Name"="SMS Mode"
"Path"="SMS.exe"
"Title"="SMS Mode"
I have then built my ROM and the Icon doesn't appear on the Settings, System page. The application is there as I can use file manager to browse to it and then execute it. I have verified that all the registry settings are there, however the Icon is not displayed. I know I could simply create a physical shortcut and put it in Start Menu\Settings, however I would prefer to get it working this way, and it's bugging me now...
Any takers?
Oh, its the 'sms.exe' application from ce4arab.com that allows you to change the WM 6.1 threaded SMS view settings.
Andy
i dont know if you found the solution or not..but did u change the " Total Applets " also..because if u didnt..it would'nt read any other added Entries
its in
HKEY_LOCAL_MACHINE\Software\HTC\HTCCPL
Click to expand...
Click to collapse
ather90 said:
i dont know if you found the solution or not..but did u change the " Total Applets " also..because if u didnt..it would'nt read any other added Entries
its in
Click to expand...
Click to collapse
I did solve it, however it is a bit of a weird one.... The SMS.exe application I was trying didn't have an Icon embedded in the file so when viewed in Explorer (on a PC or on the Wizard) it just looked like a regular .exe file. I simply swapped the file for another Threaded SMS enabler/disable someone else posted and it all worked.
I am not 100% sure it was just the fact the file didn't have an Icon, however that is all I can put it down to.
I have other issues now though; I can't get .NetCF 2.0 to work in my re-cooked 5.2.19588 ROM The Threaded SMS app is a .Net application so it's there and looks pretty, however it doesn't run.........
Andy

Shortcut to New SMS in WM6

Hi,
This forum helped me to decide on getting an O2 Orbit 2, so thanks for that..
I have searched for this but haven;t found a solution but forgive me if I am repeating a thread.
I am trying to find a way to add a shortcut to the Today screen that directly opens up a new SMS. At the moment I have to go to messaging>SMS>Menu>New>SMS, which seems very convulted, having come from a standard phone.
Is there any way to do this at all?
new_orbit said:
Hi,
This forum helped me to decide on getting an O2 Orbit 2, so thanks for that..
I have searched for this but haven;t found a solution but forgive me if I am repeating a thread.
I am trying to find a way to add a shortcut to the Today screen that directly opens up a new SMS. At the moment I have to go to messaging>SMS>Menu>New>SMS, which seems very convulted, having come from a standard phone.
Is there any way to do this at all?
Click to expand...
Click to collapse
Try these. I'm not sure about a today plugin. But these cab's create a shortcut for you in \Windows called New SMS.lnk. You could always copy them to your start menu and uninstall the CAB if you dont want to lose a softkey.
http://forum.xda-developers.com/showpost.php?p=2287306&postcount=6
Ta
Dave
DaveShaw said:
Try these. I'm not sure about a today plugin. But these cab's create a shortcut for you in \Windows called New SMS.lnk. You could always copy them to your start menu and uninstall the CAB if you dont want to lose a softkey.
http://forum.xda-developers.com/showpost.php?p=2287306&postcount=6
Ta
Dave
Click to expand...
Click to collapse
Thanks. Tried them both and the left one just changed the name of the soft key but still pointed to the calendar and the right one changed it to got the route of the SMS directory not to a new SMS message. I uninstalled them but the right one still stays the same
Any way of getting it back to the contacts?
new_orbit said:
Thanks. Tried them both and the left one just changed the name of the soft key but still pointed to the calendar and the right one changed it to got the route of the SMS directory not to a new SMS message. I uninstalled them but the right one still stays the same
Any way of getting it back to the contacts?
Click to expand...
Click to collapse
Just un-install the CAB.
It might depend on the messaging software.
The shortcut should point to "\Windows\tmail.exe" -service "SMS"
Ta
Dave
DaveShaw said:
Just un-install the CAB.
It might depend on the messaging software.
The shortcut should point to "\Windows\tmail.exe" -service "SMS"
Ta
Dave
Click to expand...
Click to collapse
I did unistall the CAB and it didn't do anything, just removed itself from the Remove Programs bit. The shortcut is no longer there either, so I cannot check it.
Having looked at your CAB file presumably all I need to change it to calendar is find a registry editor and change the settings your CAB made back to "Calendar" and the correct shortcut?
new_orbit said:
I did unistall the CAB and it didn't do anything, just removed itself from the Remove Programs bit. The shortcut is no longer there either, so I cannot check it.
Having looked at your CAB file presumably all I need to change it to calendar is find a registry editor and change the settings your CAB made back to "Calendar" and the correct shortcut?
Click to expand...
Click to collapse
There is a "Softkey changer" app, or a program by schaps called "Advanced Config" both of those will save on the Reg hacking.
Ta
Dave
The Solution.....
Install the attachment...
You can place a shortcut to "NEW SMS" on your left or right softkey....
PS: Next time search or follow the link on my sign....
Sorted
Hi Guys,
Thanks to both of you for your quick replies and help. I have created a working New SMS on my today screen using the last app and the o2 shortcuts program that comes with the mobile.
Knew this was the right place to come!
PS: I did search and nothing useful came up...
PPS: I also couldn't have read your link on the sign as it is posted in the area that says to not post unless you are a developer or hardcore tecchie. I am neither and so didn't go there. Thanks for the help though.
Over a year later and the information in this thread has proved invaluable for me. Thanks.
The correct solution to directly compose a new SMS with a shortcut is the following:
tmail.exe -transport "SMS" -to ""
Works great on my Tilt2. However, I do think I used the syntax above posted by DaveShaw with a prior WinMo device and it worked. However, it does not work on my Tilt2.
You can also get a lot more complicated such as:
Creating new MMS with given recipients, subject, body and attachment:
tmail.exe -transport "MMS" -to "8005551212" -cc "8001234567" -bcc "[email protected]" -subject "simple subject" -body "simple MMS body" -attach "/My Documents/test.jpg"
Anyone know how to turn these into executables since my today launcher only accepts exe's?
If You haven't got a reply to that yet... You can make a simple mortscript (like runmms.mscr) with Run (tmail.exe etc...) and then have the mortsript dummy.exe renamed to the same runmms.exe which, when executed, results in the desired action.

[AT&T Fuze] Lower Case "e" in email tab

I cannot for the life of me figure out where the setting is to change the text on your tf3d tabs. Out of the box my AT&T Fuze says "email" for the touchflo email tab, I would like it to say "Email".
Sorry if this has been posted already but I searched.
killer2001 said:
I cannot for the life of me figure out where the setting is to change the text on your tf3d tabs. Out of the box my AT&T Fuze says "email" for the touchflo email tab, I would like it to say "Email".
Sorry if this has been posted already but I searched.
Click to expand...
Click to collapse
It can be done by editing the 26948339_manila file in windows... If you have no clue what you are doing I suggest you get over you OCD as messing with this file in the wrong way can mess up tf3d.
Detailed instructions on how to accomplish this would be most appreciated... I couldn't find the file in the windows folder in my File Explorer (im assuming its hidden). What programs do I need to install and what steps need to be taken in order to successfully edit this value?
Thanks.
rymonday said:
It can be done by editing the 26948339_manila file in windows... If you have no clue what you are doing I suggest you get over you OCD as messing with this file in the wrong way can mess up tf3d.
Click to expand...
Click to collapse
It can also be done by editing 090661f7_manila, which is where the names for all the tabs are defined. Find the line that says:
<trans-unit id="IDS_EMAILTITLE">
and edit the line under it to say:
<source>Email</source> [instead of <source>email</source>]
and then re-start TF3D. Like rymonday said, though, you can really screw stuff up if you mess up an edit in one of these files so do so at your own risk!
Would I edit the manila file on my PC with Notepad? Then replace it on my phone and change the properties with Total Commander or is there another way?
Anyone want to chime in on how to properly edit this file?
killer2001 said:
Anyone want to chime in on how to properly edit this file?
Click to expand...
Click to collapse
* Disable TouchFLO from Settings>Today>Items
* Use Total Commander (http://forum.xda-developers.com/showthread.php?p=2286376) and find the "090661f7_manila" file. Change the attributes (remove Read Only flag - have to tap twice to get rid of the "ghosted" checkmark). Click OK to save the file changes.
* Then edit the file as ITNV posted (again, with Total Commander)
Find the line that says:
<trans-unit id="IDS_EMAILTITLE">
and edit the line under it to say:
<source>Email</source> [instead of <source>email</source>]
and then re-start TF3D.
Click to expand...
Click to collapse
Worked perfectly for me.
Thx guys!
Perfect! Thank you everyone!

remove entries from start/parameters menu.

Hi, where are located the entry of the parameters menu ? Because in the connections tab, i have an entry i want to remove...
Hope i was clear...
Ciao
Fred
frederikk said:
Hi, where are located the entry of the parameters menu ? Because in the connections tab, i have an entry i want to remove...
Hope i was clear...
Ciao
Fred
Click to expand...
Click to collapse
Not entirely sure what you want to remove or from where? What device and rom you using too?
I believe the OP wants to remove a Settings shortcut. I'm not sure how to do it with 6.1, but if you're using 6.5, then you may be able to delete the registry setting for the .cpl (may take some work figuring out which is which) to get rid of the shortcut. Look for it in hklm-security-shell-startinfo-start-settings. It may not work-you'll just have to experiment.
Farmer Ted said:
I believe the OP wants to remove a Settings shortcut. I'm not sure how to do it with 6.1, but if you're using 6.5, then you may be able to delete the registry setting for the .cpl (may take some work figuring out which is which) to get rid of the shortcut. Look for it in hklm-security-shell-startinfo-start-settings. It may not work-you'll just have to experiment.
Click to expand...
Click to collapse
Im confused, if the OP wants to merely delete a shortcut from a folder in the start menu (wino 6.5) he can use total commander or file explorer and manullay delete or move to a different location?
I might be missing the point here though
timmymarsh said:
Im confused, if the OP wants to merely delete a shortcut from a folder in the start menu (wino 6.5) he can use total commander or file explorer and manullay delete or move to a different location?
I might be missing the point here though
Click to expand...
Click to collapse
It's harder with Settings shortcuts, though. They don't appear in the start menu directory most of the time. Only the Program shortcut show up there. I guess yiou can also delete the registry entry for the setting in HKLM\ControlPanel. That should work if the one in HKLM\Security\Shell... doesn't do the job.
Hi, i knew i was not really clear ! I typed it from my phone... too quick.
So, i'm using wm6.1 with a stock htc rom on my touch HD.
In the settings, connections tab i see and old Wifi router entry... if i click on it nothing happens and i have fulle removed this prog. So i would like to delete this entry.
As i said, i can't find any .cpl for this entry. I looked in the registry but no way to find it.
Hope i 'm more accurate now
Ciao
Fred
I don't know if these keys exist or not in 6.1, but in 6.5 there are a bunch under HKLM\ControlPanel, and a lot of them are just numbered somewhat randomly. I have 3-8, 10-15 and 35. Then there are keys for Advanced Network, Backlight, Buttons, etc. If it's numbered, you may just need to use trial and error (back up before randomly deleting, obviously).
If the app was something you installed and then removed, it may have put an actual shortcut in the \Windows\Start Menu\Settings\Connections folder. Check to see if it exists, then delete it. I can remember having an app that did that once or twice. If you still have the cab file, you can analyze it with sk tools or winCE cab analyzer and see where it sticks the .cpl or what it's named.
Farmer Ted said:
I don't know if these keys exist or not in 6.1, but in 6.5 there are a bunch under HKLM\ControlPanel, and a lot of them are just numbered somewhat randomly. I have 3-8, 10-15 and 35. Then there are keys for Advanced Network, Backlight, Buttons, etc. If it's numbered, you may just need to use trial and error (back up before randomly deleting, obviously).
If the app was something you installed and then removed, it may have put an actual shortcut in the \Windows\Start Menu\Settings\Connections folder. Check to see if it exists, then delete it. I can remember having an app that did that once or twice. If you still have the cab file, you can analyze it with sk tools or winCE cab analyzer and see where it sticks the .cpl or what it's named.
Click to expand...
Click to collapse
Thanx. I see those random digits in the registry, but no way to identify which goes to which Andno it is not a "simple" link
Ciao
Fred
Well, back up the HKLM\ControlPanel values, then start deleting the keys one at a time (you may need to soft reset after each one). When you find the key that gets rid of the shortcut you don't want, then restore all the original keys, and delete the annoying one again. It may not work, though-I'm just guessing that removing the keys will remove the shortcuts.
Farmer Ted said:
Well, back up the HKLM\ControlPanel values, then start deleting the keys one at a time (you may need to soft reset after each one). When you find the key that gets rid of the shortcut you don't want, then restore all the original keys, and delete the annoying one again. It may not work, though-I'm just guessing that removing the keys will remove the shortcuts.
Click to expand...
Click to collapse
Ok. thank you for your help.
Ciao
Fred

Setting left softkey to Windows Contacts

Hello,
I am trying to set my left softkey to the windows contacts app, a shortcut to this app is \Windows\Start Menu\Programs\Contacts.ink .. which leads to poutlook.exe
Regardless of what I set the LSKpath to in the registry editor, I always get an error that the file can not be found.
The only time that it will work is if I set it to the manila contacts app ( Manila://people\browserlayer\?.page )
For example, I set it to " \Windows\Start Menu\Programs\Contacts.ink " or ":MSCONTACTS?outres.dll,-10000" or "\Windows\poutlook.exe" even "\Windows\appbuttons\contacts.ink"
it will say: "The file 'contacts' cannot be opened. Either it is not signed with a trusted certificate, or one of the components cannot be found. If the problem persists, try reinstalling or restoring this file"
Like I said this only happens with the Windows Contacts app, but not the Manila Contacts.. Any ideas??
I'd really like to use the windows one because it loads alot faster..
Thank you, sorry for the lengthy post
Hi,
are you on a official or cooked ROM? If it's really a matter of trusted certificates, you could try to install sdkcerts.cab on your device..hope it helps.
I am on an oem rom, what does this cerficates thing do ?
Thanks
ice2x01 said:
I am on an oem rom, what does this cerficates thing do ?
Thanks
Click to expand...
Click to collapse
It disables certificate warning and allows you to install\run uncertified programs.
To test for your softkey, navigate to the shortcut in explorer and make sure it opens before adding to registry.
lol, apparently shortcuts end in .LNK not .INK .. that fixed it
ice2x01 said:
lol, apparently shortcuts end in .LNK not .INK .. that fixed it
Click to expand...
Click to collapse
That's funny!
I´m trying to do the same since hours: connecting the LSK to the original WinMo contacts interface (not the HTC one). And I begin to resign...
I entered the ValueData of the according entry in the registry (HKLM\SOFTWARE\HTC\MANILA\HomeLSKPath) to:
\Windows\poutlook.exe contacts
or
\Windows\poutlook.exe
or
"\Windows\poutlook.exe" contacts ... and so on. But nothing happens when I press the LSK. Not even an error message.
What do I wrong? Could PLEASE somebody tell me the right command for the Value Data (respectively the right argument for poutlook.exe to start the contacts-interface)?
Thanks in advance!
p.
ps: Ok, call me stupid... or noob. Finally I found out, that the Registry is an other thing than a CommandLineInterface ;-) and that the argument "contacts" has to be written in HomeLSKArguments and not as an argument behind the program path in HomeLSKPath...
Finally it works!
photona said:
I´m trying to do the same since hours: connecting the LSK to the original WinMo contacts interface (not the HTC one). And I begin to resign...
I entered the ValueData of the according entry in the registry (HKLM\SOFTWARE\MANILA\HomeLSKPath) to:
\Windows\poutlook.exe contacts
or
\Windows\poutlook.exe
or
"\Windows\poutlook.exe" contacts ... and so on. But nothing happens when I press the LSK. Not even an error message.
What do I wrong? Could PLEASE somebody tell me the right command for the Value Data (respectively the right argument for poutlook.exe to start the contacts-interface)?
Thanks in advance!
p.
ps: Ok, call me stupid... or noob. Finally I found out, that the Registry is an other thing than a CommandLineInterface ;-) and that the argument "contacts" has to be written in HomeLSKArguments and not as an argument behind the program path in HomeLSKPath...
Finally it works!
Click to expand...
Click to collapse
Another option would be Windows\Startmenu\Contacts.LNK (or whereever the link resides)
use shaps advanced config to edit it if you want

Categories

Resources