USB to PC settings shortcut location? - 8125, K-JAM, P4300, MDA Vario ROM Development

I have been attempting to re-cook a ROM (famewolf's latest) and for some reason I keep getting the 'USB to PC' icon in Settings\System as opposed to Settings\Connections. I thought it was a HTCCPL issue (with provxml and/or registry settings but I am not sure now. What is the actual application that starts when you click this icon so I can attempt to locate which file is causing it to appear where it is?
Thanks
Andy

OK, fixed it. For some reason it looks like there is a typo in one of the .RGU files. This is in the there:
Code:
[HKEY_LOCAL_MACHINE\ControlPanel\PC Connection]
"Group"=dword:2
However the space between the PC and Connection needs removing:
Code:
[HKEY_LOCAL_MACHINE\ControlPanel\PCConnection]
"Group"=dword:2
Now if I could work out how to get Button 4 to launch Voice Command I would be sorted....
Currently my .RGU file that installs the registry entries for Voice Command contains this:
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys\40C4]
@="\"\\Windows\\AppButtons\\Voice Command.lnk\""
"Name"="Button 4"
"Icon"="\\windows\\voicecmd.exe, 0"
"ResetCmd"="\"\\Windows\\AppButtons\\Voice Command.lnk\""
"Flags"=dword:00000000
In re-cookings of other ROMs this has worked fine. With famewolfs latest the entries in the registry are not there. I have tried creating a 'provxml' which is half working, what I can't get it to do is include the quotation marks when the settings are added to the registry. Does anyone know how? Doing this via a .RGU file you need the extra '\', but this doesn't seem to work with a provxml file.
Any takers?
Andy

Related

T-Mobile Wing MyFaves Registry settings request

I have the extended rom and the myfaves software found in other posts that is missing parts of the software still when the program tries to run. I was wondering if anyone could post the registry entries on the wing to help us know what programs/registry enteries are needed or are missing.
For starters, in previous postings the myfaves zip file that another member so graciously put together, has a good chunk of the files. However there are still some files missing. Through some research I know that the myfaves program uses/references a program called SMSCReceiver.exe, which I believe is the status service that checks the network for myfaves access. That is one of the programs missing.
I am specifically looking for SMSCReceiver.exe and the registry entries for HKLM > SOFTWARE > HTC > My5 (and any sub entries in that folder)
Thanks in advance!
I can't find the SMSCReceiver.exe in the dump but the registry entry is attached.
My day trying to fix the L2TP/IPSec issue wasn't completely wasted
Now if you want to help me with my L2TP/IPSec issue......
Andy
thanks for the reg stuff.
another registry request from the wing users..
can i get the reg settings for the HKLM --> Software --> Microsoft --> Today --> Items. I want all keys located under Items including subkeys and values.
** The previous registry settings did help me get part of the myFaves software working. It helped me in getting the settings control panel option to function. When I press the option to refresh myFaves it does send the sms out and I get a return sms stating that my myfaves contacts have been refreshed. **
Thanks in Advance.
** EDIT **
After reviewing the registry file I have found that the following files are missing from the MyFaves zip file that is floating around there. The missing files and their locations are:
\Windows\myFaves_BackgroundImage.jpg
\Application Data\HTC\myFaves\Contact_4.jpg
\Application Data\HTC\myFaves\Contact_3.jpg
\Application Data\HTC\myFaves\Contact_2.jpg
\Application Data\HTC\myFaves\Contact_1.jpg
\Application Data\HTC\myFaves\Contact_0.jpg
If anyone has these as well could you please post them? Thanks!
Off Topic
EclipsedMotions said:
another registry request from the wing users..
can i get the reg settings for the HKLM --> Software --> Microsoft --> Today --> Items. I want all keys located under Items including subkeys and values.
** The previous registry settings did help me get part of the myFaves software working. It helped me in getting the settings control panel option to function. When I press the option to refresh myFaves it does send the sms out and I get a return sms stating that my myfaves contacts have been refreshed. **
Thanks in Advance.
** EDIT **
After reviewing the registry file I have found that the following files are missing from the MyFaves zip file that is floating around there. The missing files and their locations are:
\Windows\myFaves_BackgroundImage.jpg
\Application Data\HTC\myFaves\Contact_4.jpg
\Application Data\HTC\myFaves\Contact_3.jpg
\Application Data\HTC\myFaves\Contact_2.jpg
\Application Data\HTC\myFaves\Contact_1.jpg
\Application Data\HTC\myFaves\Contact_0.jpg
If anyone has these as well could you please post them? Thanks!
Click to expand...
Click to collapse
Not having a my favs phone can cause billing issues down the road. T-Mo's system knows what device you're using and the MDA is not a my favs phone.
I have a cousin who's been a manager for a couple of years now and he gets all the inside info for me. He say's you can use it but down the road it may or can cause billing issues.
Work-around, by a cheapy or prepay ($35) my favs phone and set it up on your account as the phone you use...every once in a while, put your sim in it and let it register with the network.
another thread on this subject
http://forum.xda-developers.com/showthread.php?t=309901
and a cab file for the reg settings
I took the file, myFaves_PhCDefault.jpg, and made five copies of it and put the five copies (appropriately renamed according to the registry) in \Application Data\HTC\myfaves as is shown in the registry. I did not do the myFaves_BackgroundImage.jpg as I am not sure how big the file is supposed to be though (and actually am not sure about the contact_#.jpg's either):
\Windows\myFaves_BackgroundImage.jpg
\Application Data\HTC\myFaves\Contact_4.jpg
\Application Data\HTC\myFaves\Contact_3.jpg
\Application Data\HTC\myFaves\Contact_2.jpg
\Application Data\HTC\myFaves\Contact_1.jpg
\Application Data\HTC\myFaves\Contact_0.jpg
I put a shortcut to the My5Service.exe file in the \Windows\Startup folder and soft reset.
Even after all this, when I attempt to launch My5App.exe, I get the message:
The file 'My5App' cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. If the problem persists, try reinstalling or restoring this file.
I will try to google to find out about the missing jpgs when I get back from dinner.
I tried searching for the filename as listed via google but no luck on that front.
Someone whom has a myfaves phone could be so kind to post the 6 files in a zip file would be great and their folder locations. In addition, an export of HKCU and HKLM registry keys since I am guessing there is more than the my5 key in the HKLM section of the registry that we need. Lastly, is there a link to My5Service in the \windows\startup folder as well (I did already try that but who knows).
Thanks.

Problems with PROVXML files

I've spent the last 6 hours trying to get PROVXML files working with 1.60 ROM and I just can't... Here is what I've tried:
Created my own PROVXML files in Notepad, Notepad++ and XML Notepad, following existing examples and documentation from http://msdn2.microsoft.com/en-us/library/aa456134.aspx
Modified existing PROVXML files (e.g., 'copy' command to 'move' command for OEMDrivers\mxip_HtcApps_HTC_Ringtone.provxml) and re-touched with proper timestamp and file attributes (+s +r +h +a)
Cut up portions of Menu_Operation.XML and placed into renamed files, such as mxipupdate_package_ver.provxml and mxip_package_ver.provxml
Saved in ANSI & Unicode
Used BuildOS.exe and BuildOS+Package_Tools-2.7.exe
And no matter what I do, the file operations I'm trying to perform within the PROVXML never happen!!!
I would be greatful for any help or insight. Thanks much!
I've had issues adding new provxml files but have always been able to add operations to existing ones w/o problems. This is essentially how I split out MMS from SMS on my latest ROM. Timestamp/file attributes weren't an issue for me. Instead, my biggest issue was the fact that my ROM wasnt running the MASD provxml that was part of the ArcSoft package. I ended up working around the problem my placing the MMS account provisioning into another provxml. Interestingly, looking at these files with WinHex shows a 3 byte sequence that proceeds the non-unicode provxml files themselves. Definately not a checksum since I've been able to change the contents w/o adjusting this info and the provisioning itself still runs. In fact, deleting the sequence entirely seems to have no effect on whether the provisioning doc runs at cold boot or not. Consequently, I've always been interested in understanding the mechanism that controls what provxml files get run.
The hex bits are only found in provxml files contained with the OperatorPKG folder. Other provxml files have no special hex bits, and unfortunately, I've added those hex bits to my files and still have not had any success.
The main reason why I want to use provxml files is to replace initflashfiles.txt in every package and reduce the amount of memory used by having duplicate copies in the windows folder and the copied folder.
Any additional insight would be appreciated...
Thanks again.
_Alex_ said:
The main reason why I want to use provxml files is to replace initflashfiles.txt in every package and reduce the amount of memory used by having duplicate copies in the windows folder and the copied folder.
Any additional insight would be appreciated...
Thanks again.
Click to expand...
Click to collapse
You ever have the option to pack the soft into a CAB and install on first boot trough customizacion OEM... i know is not the same, but you gain control about the space on storage.
Cheers.

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

Tethering registry hacks for the Sprint Touch Pro

Anyone figure out the new registry hacks on the Sprint Touch Pro that are needed (if any) for connecting with Internet Connection Sharing (ICS)?
Or is it the same as the Sprint Touch Diamond?
http://www.sprintusers.com/forum/showthread.php?t=175962&highlight=touch+pro+tether
This worked for me.
Works for me too, thanks!
Made a couple of cabs files that should make it easier
I made 2 cab files.
The first one contains the modifications to the Registry to get Internet Sharing
"internet-sharing-mod.cab"
The second on is to return the the registry to the default setting
"internet-sharing-original.cab"
Just copy the files to your Touch Pro and click the internet-sharing-mod.cab file to install.
Install to Device/main memory (don't know what happens if you choose storage card? never tried it, never will) then your done. You will be able to tether your device through Sprint with no problems.
internet-sharing-mod.cab:
REGEDIT4
[HKEY_LOCAL_MACHINE\Comm\InternetSharing]
"Extension"=""
"MaxCMCon"=dword:00000000
[HKEY_LOCAL_MACHINE\Comm\InternetSharing\Status]
"Enabled"=dword:00000000
[HKEY_LOCAL_MACHINE\Comm\InternetSharing\Settings]
"ForceCellConnection"="Sprint"
"MaxCMConnectRetries"=dword:00000000
internet-sharing-original.cab:
REGEDIT4
[HKEY_LOCAL_MACHINE\Comm\InternetSharing]
"Extension"="isext.dll"
[HKEY_LOCAL_MACHINE\Comm\InternetSharing\Status]
"Enabled"=dword:00000000
[HKEY_LOCAL_MACHINE\Comm\InternetSharing\Settings]
"ForceCellConnection"="Phone as Modem"
"MaxCMConnectRetries"=dword:00000000
Very easy to do:
http://www.isyougeekedup.com/how-to-enable-internet-connection-sharing-on-sprint-htc-touch-pro/
Thanks so much for the cab files. Seems to work great. I am so tired of different hotel servers blocking outgoing e-mails. My problem was solved in moments. Again, Thanks.
jasonmp3 said:
I made 2 cab files.
The first one contains the modifications to the Registry to get Internet Sharing
"internet-sharing-mod.cab"
The second on is to return the the registry to the default setting
"internet-sharing-original.cab"
Just copy the files to your Touch Pro and click the internet-sharing-mod.cab file to install.
Install to Device/main memory (don't know what happens if you choose storage card? never tried it, never will) then your done. You will be able to tether your device through Sprint with no problems.
internet-sharing-mod.cab:
REGEDIT4
[HKEY_LOCAL_MACHINE\Comm\InternetSharing]
"Extension"=""
"MaxCMCon"=dword:00000000
[HKEY_LOCAL_MACHINE\Comm\InternetSharing\Status]
"Enabled"=dword:00000000
[HKEY_LOCAL_MACHINE\Comm\InternetSharing\Settings]
"ForceCellConnection"="Sprint"
"MaxCMConnectRetries"=dword:00000000
internet-sharing-original.cab:
REGEDIT4
[HKEY_LOCAL_MACHINE\Comm\InternetSharing]
"Extension"="isext.dll"
[HKEY_LOCAL_MACHINE\Comm\InternetSharing\Status]
"Enabled"=dword:00000000
[HKEY_LOCAL_MACHINE\Comm\InternetSharing\Settings]
"ForceCellConnection"="Phone as Modem"
"MaxCMConnectRetries"=dword:00000000
Click to expand...
Click to collapse
After installing the cab and soft-resetting my phone I somehow am lost as to why I don't see the option of "Network Connection" --> Phone as modem:
http://www.isyougeekedup.com/how-to-enable-internet-connection-sharing-on-sprint-htc-touch-pro/
Am I supposed to install or register edit something else? Any help would be greatly appreciated!
Thanks!
The Isyougeekedup site works
I have a touch pro flashed to Cricket and all I did was delete the forcecellconnection string value and wala... it works.., of course I pay for cricket web on my phone but its nice to be able to not pay for high speed internet at home too.
the .cab files worked like a charms. thanks
Looks like this trick is no-go any more. I just received a replacement Touch Pro after mine bricked. The new one I received won't allow me to change the "Phone as a modem" value to "Sprint." It acts like it's editing it, lets me save, but when I exit and return it's back to the original value.
I've tried the .cab, PHM Registry Editor, and Total Commander with the same results.
Ah well, I never actually used it on the old phone anyway.
Edit: Just tried fully deleting the "ForceCellConnection" field. When I replace it with a value of "Sprint" it still immediately sets it back to "Phone as a modem."

[Q] Changing the .exe - file/path behind a shortcut icon in WM6.1

Hello.
Since being a noob (one of those the video warned you about...) I must post this on general section...
I have the following problem: I would need to change WM6.1Pro registry settings somehow, that an icon (shotcut) in programs list would launch mybestsoftware.exe in location B instead of original location A
The reason is that the software is installed using different cab-files into different locations over the years and I would like to update every device to launch the application from the same directory. My update possibilities are weak, so I can only transfer my .exe - file remotely into a specified directory, but the those idio... I mean customers will launch the application from the same shotcut icon as before and therefore thay are using the old revision instead of the new and shiny latest release.
What I have done so far is dumped a registry after factory reset, installed our software using the cab-file and dumped the registry again. I found following entries:
[HKEY_LOCAL_MACHINE\Security\AppInstall]
[HKEY_LOCAL_MACHINE\Security\AppInstall\Companyname Appname]
"InstallDir"="\\Program Files\\Companyname\\Appname"
"Role"=dword:00000018
[HKEY_LOCAL_MACHINE\SOFTWARE\Apps\Companyname Appname]
"Instl"=dword:00000001
"InstallDir"="\\Program Files\\Companyname\\Appname"
"InstlDir"="\\Program Files\\Companyname\\Appname"
But even I changed those paths into registry (\\Program Files\\Companyname\\Appname -> \\Appname, the icon still lauched the original exe
So what a humble support engineer needs to change in WM6.1 registry to tell the shortcut icon to launch the application fron a new location?
Its been a while since I last used WM, but you can create a new shortcut in the start menu using a file explorer, browsing to the exe copying it and then browsing to the start menu folder and pasting a shortcut if thats what your trying to do. I used to always use GSFinder as my file explorer.

Categories

Resources