[Q] HTC 3.0 MyTouch 4G PID - myTouch 4G Q&A, Help & Troubleshooting

Hi,
Wondering if anyone has tried adding the PID to this config file to see if their MyTouch 4G will be recognized. Does anyone know the PID code for the MyTouch 4G?
HTC Sync 3.0 Config file: C:\Program Files (x86)\HTC\HTC Sync 3.0\Config\device.xml

Related

Need help auto install GPRS registry setting with cab files

I need some help with registry setting for GPRS.
I have 3 reg files if I install them they setup my GPRS fine.
But when I make a cab file to do this it does not work.
The cab file runs ok but no GPRS setting.
Can anyone help with why this is?
I am out of ideas.
Thanks Emm. :wink:
re: gprs cab file
Hi,
Could you post the reg files so i can take a look. I have made many cab files with CabWizzard. I would like to see what keys control gprs, and i will try also to figure out how to make a cab file from it.
Thanks for your help.
Its for the company I work for.
So it's not a normal setup.
All it is is connection name eg:my connection and (Select modem) cellular GPRS.
That is it I can post some reg files latter when I get home.
Regards,
Emm
Ok I have 3 places from the registry.
As I said if I run them as a reg file it works but when I create a cab file with WinCE CAB Manager and run nothing happens..
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\TCPEmail]
"REEntry"=hex:2A,FD,3B,A7,42,8D,B3,6A,FA,75,55,82,84,54,5B,72,90,9D,B9,3F,AC,2B,F7,\
BA,AB,12,98,F4,C3,4D,C3,4D,DE,FC,3B,A7,4B,8F,B3,6A,FA,E9,3D,62,4C,AB,98,73,\
3C,E9,AB,3F,AC,2B,F7,BA,AB,12,98,F4,C3,4D,C3,4D,DE,FC,3B,A7,4B,8F,B3,6A,FA,\
E9,3D,62,4C,AB,98,73,3C,E9,AB,3F,AC,2B,F7,BA,AB,12,98,F4,C3,4D,C3,4D,DE,FC,\
3B,A7,4B,8F,B3,6A,FA,E9,3D,62,4C,AB,98,73,3C,E9,AB,3F,AC,2B,F7,BA,AB,12,98,\
F4,0A,F1,8E,FB
-------------------------------------
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\Connections]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\Connections\STCJV]
"RequirePw"=dword:00000000
"Enabled"=dword:00000001
"EntryType"=dword:00000002
"DestId"="{ADB0B001-10B5-3F39-27C6-9742E785FCD4}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\DevConfig]
"Cellular TAPI Service Provider"=hex:B4,01,00,00,B4,01,00,00,B4,01,00,00,01,00,00,00,0F,00,00,00,01,00,00,\
00,02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00
-----------------------------------------------------
I edited this one (did not want to post company info )as it seems to be my company name as that was the connection name instead of My connection
[HKEY_CURRENT_USER\Comm\RasBook\Edited]
"Domain"=""
"User"=""
"DevCfg"=hex:
heres is the cab file i use to load my gprs settings its for telstra australia. You should beable to extract and edit the cm_entries.xml file and then add the edited one back into the cab. i mucked around for ages trying to get cab manager to load the settings straight from the registry section but i couldn't get it to work correctly. it seems much easier to do it this way.
SpeedN
I have no idea what is what with XML file's.
But thanks anyway.
Emm
Over 100 views and no one can help
The problem is cab manager will not add all the data from a reg file.
only the first line.
How can I add large reg keys like below?
Thnks Emm
--------------
eg: B4,01,00,00,B4,01,00,00,B4,01,00,00,01,00,00,00,0F,00,00,00,01,00,00,\
00,02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00
I worked it out.
For anyone trying to do similar.
You need to import the registry key file into winCE cab manager.
Then edit the value copy and post the complete entry in from your registry file.
It seems that winCE will not import large registry values.
So you must manually copy and past the value in.
Emm
The correct way of doing this!
I just happened to be browsing and thought I could help with this....
If you wish to set things like a "GPRS" entry, you should make a "XML" file called "_Setup.xml" and then build it as a ".cpf" (Cab Provisioning File) using the makecab.exe utility that comes with the WM (2003, 5.0) SDKs, you can then sign the file if you wish using the "signtool.exe" and a valid ".pfx" (the ".cer" must be already stored on the device) for deployment (I have edited the ROM of the JASJAR and K-JAM to include the sample SDK key so that I could deploy my own updates on 50 handhelds corp. wide, I can provide details on this). I have included a sample "_Setup.xml" that creates a "GPRS" connection named "T-Mobile USA" that connects to accesspoint "internet3.voicestream.com" (standard GPRS setup with no username or password). It also sets the "Work" and "Internet" destinations to the same network "T-Zones" and makes the connection always on (recommended for GPRS networks only). Just edit the file in "Notepad" with your connections details and use the above mentioned tools to create the "Setup.cpf". The nice thing about this method is that is sets all values needed to set and activate the connection and since it is a cpf there is no user prompts (unless not Digitally Signed) or any add/remove info, just an SMS message with details of the install (success or failure). I hope this helps you and others out.
Take Care,
Jason
Re: The correct way of doing this!
Jwrightmcps said:
I just happened to be browsing and thought I could help with this....
If you wish to set things like a "GPRS" entry, you should make a "XML" file called "_Setup.xml"... (I have edited the ROM of the JASJAR and K-JAM to include the sample SDK key so that I could deploy my own updates on 50 handhelds corp. wide, I can provide details on this). ...
Click to expand...
Click to collapse
Hi Jason, I'm just trying to figure out the MS provisioning API for WM5, and everything seems to be going ok, except that I always get unsuccessful attempts at updating, due to lack of privilege.
I gather from MSDN that this has something to do with ROM, and bootstrapping with appropriate privileges, but at about this time, the documentation starts to leave a bit confused.
If you could provide any details, as offerd above, that would really be great.
hey, i know about cpf (cab provisioning file) format. one problem i still have is to add a webexception.
You know when you click on Connections, Advanced and then on 'Exceptions' (Create exceptions for intranet addresses).
and add a url like:
http://196.1.*
or whatever..
any ideas ?????
cpf files that change any of the connection settings need to be signed with a certificate that grants them managerial rights in order to run successfully. This will apply to any configuration changes (not just connection settings) if the cpf file is deployed to the device OTA

Hook winsock API calls in WM5

My goal is to get the TCP data from a TCP application on the pocket pc
like data from internet explorer or active sync. I want to write a proxy
that forwards all TCP data to the application server (Web server,...).
So I have tried to replace the ws2.dll with a wrapper dll that forwards all
winsock API calls to the original ws2.dll. But when I replace the ws2.dll file
with my own and make a softreset the device hangs in boot screen and
I must do a hardreset. Could not get this to work on WM5 but it works great
on WM2003 devices.
So I have tried another thing. Have heard about API hooking and want to
try this with winsock API functions (connect, WSAConnect, send, recv,...).
After several days of investigation in some forums I have found many
informations about API hooking and API sets win WM5. But when I look
deeper there is no server process for winsock API calls. So I cannot
change the method adresses.
Another idea was to hook LoadLibrary() API function and when ws2.dll is
loaded from an application I will load my own dll and forward all calls to
the original ws2.dll. But LoadLibrary() has also no server process.
Has anybody another idea how to do this?
Thanks for any information on this.
Houser
Hi Houser!
I think the reason your original method failed on WM5 is because all system DLLs must be signed or the system will not load them.
There are several threads on this forum (sorry, can't remember precise link right now) that explain how to create\use certificates, and sign files, so just search for that.
Good luck.
Thanks levenum for your reply.
I also have thought about signing the dll but I have disabled certificate
check on the WM5 device with the Cert_SPCS.CAB file and now
my system loads every dll without asking the user.
I have written some test applications that explicite load my ws2.dll with
a different name (ws2xx.dll) and then in my ws2xx.dll I load
the org ws2.dll from \windows dir and all worked fine. I can use
any winsock function and can make TCP connects and so on.
So I think signing is not the problem, only when I do not use
the Cert_SPCS.CAB file to disable it?
Or are system file always checked at boot phase?
That would then explain the problem maybe.
Regards
Houser
I am pretty sure system files are treated separately. I once used a device with no cert ROM, which ran all programs and loaded DLLs without asking for certificate, but refused to do so for system files (MUIs).
I think you should give certificates a chance before moving on to more complicated solutions.
So I should try to sign my wrapper dll with a certificate.
So I will try to sign with the Visual Studio 2005 developer
certificate. And then I must install this certificate on my device
so that the system trusted the dll file with this certificate?
Houser
Another thing: What do you mean with MUIs?
That's correct.
There are provisioning CABs in the 2005 SDK. You just run them on your device and they insert all the test certificates.
SDK also shows how to provision devices through RAPI, but most WM5 ROMs block that option.
Also you should use the 'privileged' execution certificate to make sure you have maximum access to the system.
MUIs are duplicate system DLLs that contain resources for other languages. For example: coredll.dll.0409.mui will contain English resources for coredll.dll (409 is hex for English code page). They are used to switch interface languages both on PC windows and mobile. (Metalanguage User Interface).
P.S.
If you want, there are XML templates for provisioning CABs in the SDK, and makecert.exe that let you create your own certificate and put it on the device.
Another thing: What do you mean with MUIs?
So I have tried this:
1) Installed the SdkCerts.cab certificates on the device (copied the file on
the ppc and tap in explorer on it) A success message was displayed from
the setup process.
2) In VS2005 I have set in the project settings the cert signing to "Sample
Privileged Root for windows mobile SDK" certificate and rebuild my dll.
In the dll file properties I can see the certificate.
3) Have copied my ws2.dll file to \windows and replaced the org ws2.dll file
there, my dll loads a copy of the org ws2.dll (ws2copy.dll) that is also
in the \windows dir
4) Then the big moment: Soft reset and..... hanging again in boot screen
The installed certificates did not appear in the pocket pc certificate manager.
Do you know if they should appear there or not?
Maybe the SDK certificates are not imported correctly?
Thanks for you help!
Houser
I'm sorry my solution didn't help.
The test certificates do not show in the list (don't know why).
The way I see it there are two possibilities:
1. I was wrong about the certificates. (Though I think you may still need them)
2. There might be a problem with the copy DLL you try to load (ws2copy.dll). Is it from a good dump? Have you tried loading it from a test app? Is it signed? I think it needs to be signed to.
Sorry I can't give you advice on an alternate way. Insufficient knowledge...
It is very frustrating, I do not knwo how many
hard resets I have made in the last few weeks. :?
I have written a test app that loads my winsock dll file and
then my dll loads the copy ws2.dll file. The copy ws2.dll file
is from a platform builder 5.0 build.
These tests with my test app all worked fine, I can make TCP connects
and do all the winsock stuff like I load the org ws2.dll file directly.
I have even disabled certificate check on the device and tested
with unsigned dll and it works too.
The copy dll from PB 5.0 is not signed. may be this could
be a problem when my dll is loaded in boot time.
Do you know a way to sign the copy PB dll with the SDK certificate?
Thanks man!
Houser
Signing files (DLL, EXE, CAB) is very easy. In the SDK, there is a file called signcode.exe. It will give you a step by step wizard to sign the file. The only additional thing you will need is the certificate files themselves which should also be in the SDK.
Got it to work with signing the copy dll file and
now after soft reset my device does NOT hang. :lol:
Many thanks for your support levenum!
That is very good but now I have figured out that
I cannot make a localhost connect on a local tcp port
on the device. That has something to do with WM5
because it was working under Wm2003. Strange..very
strange.
Houser

airpanel v110 mods hacks

hi
Can someone help me for a wince.net 4.1 used in airpanel v110
I whant to add the explorer.exe as a shell for this device, managed to dump the rom 140 files total.
I've got invalid signatures file for the default.fdf registry file using the perl fdf2reg.pl when trying to convert it to a reg file ???
I've seen a few mini-pci 54g cards who have winCe drivers in them, and whant to update the integrated card to a more recent one.
thanks

HTC Evo ROM

Have you installation file for HTC evo OS?. If yes, could you upload file on any files hosting?

[Q] [FILE] FakeGPS.DLL / FakeGPS.CAB urgently needed

Urgently need FakeGPS.DLL and/or FakeGPS.CAB from Windows Mobile 6 SDK (couldn't extract it myself with MSI Extractor form the .MSI file I downloaded from MS).
TIA
The attached file is the zipped contents of :-
C:\Program Files\Windows Mobile 6 SDK\Tools\GPS
It contains:-
FakeGPS.CAB
FakeGPSReadme.txt
Settings.exe
SettingsReadme.txt
The CAB is 1,793Kb
These files also appear in the 6.5.3 DTK, but they seem to be the same files, (size etc.)
Thanks for helping. Now I could extend a project of mines (installing the necessary fake GPSID in WinCE is omitted next):
Code:
If(DeviceEmulator)
// Install FakeGPS
// Fake GPS enables to receive data using the GPS APIs even if there is no GPS receiver on the device.
// The GPS data is read from NMEA .txt files that reside in \Program Files\FakeGPS\GPSFiles.
If(DirExists(MyFolder\"FakeGPS"))
If(NOT DirExists("\Program Files\FakeGPS"))
MkDir("\Program Files\FakeGPS")
XCopy(MyFolder\"FakeGPS\Program Files\*.*","\Program Files",1)
CreateShortcut("\Windows\StartUp\FakeGPS.lnk","\Program Files\FakeGPS\FakeGPS.exe")
// Restart emulator
Reset
EndIf
EndIf
EndIf
Thanks again.
You are more than welcome.
Fortunately I keep an old laptop running 32 bit XP, just so I can run the emulator images and earlier versions of Visual Studio on it. It even has Embedded Visual C++ 3.0 and 4.0.
None of these will run properly under 64 bit Windows 7. Under an XP virtual machine is not a solution either. Virtual machines under virtual machines? Nope!

Categories

Resources