GPRS registry entries in .inf file - Windows Mobile Development and Hacking General

Hi,
i'm trying to create GPRS entries in the registry my inserting the relevant keys in the .inf file. I managed to find out all the keys (i think...) to create the connection, however i am having problems with the password key.
What i did, i created the connection manually and analysed the registry on my Imate. I then exported the entries and copied and pasted in the .inf file. When i install the cab file and look under My ISP connections, the entry is there, but when i try to connect its not working. However it works if i re-enter the password manually. Is there some sort of encryption on the binary data ? I know that there are other ways to do this (via code), but i would like to stick to the .inf file.
this is a sample of what i'm including in the .inf file -
HKCU,Comm\RasBook\voda1,Password,0x00000001, 01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,08,\
00,00,00,52,00,41,00,53,00,00,00,01,68,00,00,10,00,00,00,10,00,00,00,7d,be,\
74,93,53,3b,03,6d,12,ac,b2,d6,d1,99,e8,8f,00,00,00,00,04,80,00,00,10,00,00,\
00,10,00,00,00,a5,67,86,a1,0f,30,07,da,54,33,be,2f,7b,84,5c,a8,12,00,00,00,\
6d,a1,3b,01,b0,cc,1f,ba,cd,67,90,26,fa,73,0f,64,ec,e1,14,00,00,00,46,a1,2c,\
94,c9,35,db,5f,9a,e1,de,95,18,c6,45,f7,4c,d9,fd,a0
HKCU,Comm\RasBook\voda1,Domain,0x00000000
HKCU,Comm\RasBook\voda1,User,0x00000000,internet
HKCU,Comm\RasBook\voda1,DevCfg,0x00000001,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,01,00,00,00,02,00,00,00,02,00,00,00,69,00,6e,00,74,00,65,00,72,00,6e,00,\
65,00,74,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,01,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00
Your help is much appreciated.
rscerr

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

How can I create runable .reg files

I have created several reg files for things like "GPRS always on" (or off), BT headset always on fix, system fonts, date in taskbar, etc etc.
Currently, after a hard reset, or if I want to switch a reg setting, I have to open TRE and import the reg file. Is there a way I can run the reg file and have it automatically add to the registry. ie on Windows XP .reg files can be double clicked.
Thanks in advance...
In XP you can doubleclick on a .reg file because they are associated with the app "c:\%windir%\system32\regedit.exe"
This application imports the file into the registry.
Windows XP must have a registry editor that supports importing files to import .reg files. And associate .reg files with this application.
WM2005 must have a registry editor that supports importing files to import .reg files. And associate .reg files with this application.
All you need is to find (or create) is an application that can be associated with .reg files, and imports them to the registry..
Good luck with that!
TRE has a setting under 'options' that assosiates it with .reg files. Clicking a reg file now imports it. Let's start uploading our reg tweaks!

Registry in WM5.0

I've been working on Registry files for WM5.0, and got to some conclusions, that I'd like your confirmation for:
1) PHM Registry Editor last version (v0.70), doesn't support import of .reg files!?
At least, I never was able to see this option enabled at menus.
In alternative, I've been importing .reg files with Resco Registry
2) .reg files only support Unicode textformat. ASCII format is not imported, at least with Resco!?
3) .reg files for WM5.0, does not support line comments!?
Everything after a ';' seems to be ignored.
Did I took the right conclusions?
WinCE CAB Manager correctly handles all topics above transparently (Unicode; ascii; comments), when importing .reg files.

RGU

Unicode Registry File
It's used for creating registry keys automatically during installation of an OEM package.
You can find an example here. (Wiki)

Back door on magellan triton

After successfully accessing file system on magellan triton 1500 described on http://tritonforum.com/forum/viewtopic.php?f=6&t=1289 i install OziCe (pna version) on it and it's working fine, but there is big problem. In Triton system core is missing soft keyboard so there is no way to register Ozice. I researched a bit and after comparing files and registry on triton and my ipaq i found that on triton is missing file softkb.dll in windows directory and also there is no registry entry like in my ipaq HKLM\\Drivers\BuiltIn\sip\ for activation of softkeybord on system startup.
So my question is if i just copy softkb.dll to windows directory on my triton an if i add entry in registry like on ipaq would that be enough to activate soft keybord?
Also does anybody know how to make backup of triton registry. I try with TRE and regedit but option export registry on both programs is not working.
tenx...
After one day of researching:
I was able to copy softkb.dll to windows directory of my triton but was unable to add entry in registry for SIP. Because there is no keybord only way to enter something into registry is to create .reg file and import that via registry editor. I extract reg key from my ipaq and try with 3 different registry editors to import it into triton registry but without success...
Unfortunately i haven't got a clue what you are adressing to here, but maybe this suggestion might help you?
How about you install something like 'Soti PocketController', or any other tool that let's you control your device through a PC (or mac for that matter) to enable your PC-keyboard as text-input?
Hope this helps!! Good luck!

Categories

Resources