Need help auto install GPRS registry setting with cab files - Windows Mobile Development and Hacking General

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

Related

GPRS registry entries in .inf file

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

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.

Cab files missing an icon?

If like me your imate jamin has no icon for cab files I have the solution
Edit the registry and change the following value to read
[HKEY_CLASSES_ROOT\cabfile\DefaultIcon]
Edit the (Default) so it reads
shellresapps.dll,-15618
Or run the attached cab file.
Or import the reg file (if you have a registry editor which can)
Nice job - worked on my wizard too :wink:
Im just not too sure why the value was set to what it was, it simply doesnt work.
I noticed on my WM5 emulator it all looked fine so just copied and pasted the correct key.

Enable MMS folder via Registry

Hi guys,
Question....does someone maybe know the registry settings to enable the mms folder in WM5?
Sure I know I can use a cab for it, but I am trying to find out what registry settings are needed to enable the MMS folder without installing the CAB file.
I am looking for the specific settings for a HTC Wizard, but settings from another HTC phone would be a good indication to start (I hope).
Regards, thanks and to all a very happy new year (of developing),
Molski
One of the CAB files I posted (I think) had it in it.. And I know I've seen the keys around here somewhere.. Unfortunately, I don't have an 8125 any more though, and I'm not quite finished with poking around my 8525 yet (planning on unlocking the ExtROM today so I can start deciphering CAB files).
I'll let you know what I come up with from the 8525 perspective.
I found your CAB file and I extracted it.
Unfortunately the same results as I have with the T-Mobile MMS Folder cab....it doesnt work
I install the CAB file, the MMS folder shows up, I export all the MMS Registry settings, do a hard-reset, import all the Registy settings and no MMS folder showing up.
I think it has something to do with the following registry values:
[HKEY_LOCAL_MACHINE\SOFTWARE\Arcsoft\ArcSoft MMS UA\Config\EntryID]
"Deleted Items"=dword:00009F00
"Inbox"=dword:0000F79F
"Outbox"=dword:00005FBB
After a hard-reset and installing this CAB file every time the values are different??
Could be. I'm honestly not too sure. But whateve reg values are in that CAB I've used over countless resets.
I'm getting ready to walk out the door in a few minutes, but when I get to my buddy's place I should be able to sit down for a few and look at the CAB and see what's in there again and go from there.
Take a good look at the values I posted....I really think it has something to do with those values changing every time you install the cab after a hard-reset.
Thanks!
Molski
Which CAB file are you using? I see a couple that I've posted.. Want to make sure I'm looking at the right one..
Beside having the MMS Folder to appear, I think you should have a service provider cab in ExtRom to configure to the right Service Provider's Server or you have to manually key it.
I am not sure if Wizard is the same.
cab files like mms folder and contain the values of certification on them it cannot be integrated so far, i tried,when you install a cab like mms, it writes several numbers to the cert part of the registry,once you install another cab that contains cert values ,it just overwrites the old values .
this is why the service providers never integrates such settings.
all this values that the mms cab writes to the registry can be found in the .XML file ,but must of them are build in the setup .dll ,the dll is coded with a set of instructions ,and this are the one that enable mms.
lets say you manage to extract all the reg settings for mms,then build into a custom cab this is all fine,but now you also want to integrate lets say..smardialing,well u cant because when you export the reg settings from one it overwrites the other because they use the same address in the registry.(cert}
I already have integrated SmartDialing in the default.hv and it works, will install a few cert apps and check if Smartdialing still works.
The only thing that is giving problems so far are:
[HKEY_LOCAL_MACHINE\SOFTWARE\Arcsoft\ArcSoft MMS UA\Config\EntryID]
"Deleted Items"=dword:00009F00
"Inbox"=dword:0000F79F
"Outbox"=dword:00005FBB
I checked every settings that is created by the MMS folder Cab, but only these settings will change after installing the CAB.
But after reading your answer Faria, I think we cannot create inbox folders for whatever via the default.hv, is this true?
Thanks,
Molski.
molski said:
I already have integrated SmartDialing in the default.hv and it works, will install a few cert apps and check if Smartdialing still works.
The only thing that is giving problems so far are:
[HKEY_LOCAL_MACHINE\SOFTWARE\Arcsoft\ArcSoft MMS UA\Config\EntryID]
"Deleted Items"=dword:00009F00
"Inbox"=dword:0000F79F
"Outbox"=dword:00005FBB
I checked every settings that is created by the MMS folder Cab, but only these settings will change after installing the CAB.
But after reading your answer Faria, I think we cannot create inbox folders for whatever via the default.hv, is this true?
Thanks,
Molski.
Click to expand...
Click to collapse
Smart Dialing working?
When?
How?
Where?
Please tell us.
These registry values are included in default.hv and/or user.hv
And it works
Maybe I forget something, but test it and let me know!
Molski
p.s. These Reg values are from a HTC Wizard
molski said:
These registry values are included in default.hv and/or user.hv
And it works
Maybe I forget something, but test it and let me know!
Molski
p.s. These Reg values are from a HTC Wizard
Click to expand...
Click to collapse
yes smartdialing works .i did it a month ago....but mms no.
once you put the cert settings for one of those cabs into the default hive its fine... but if you put another cab settings from another program into it,it gets overwrited .
molski said:
These registry values are included in default.hv and/or user.hv
And it works
Maybe I forget something, but test it and let me know!
Molski
p.s. These Reg values are from a HTC Wizard
Click to expand...
Click to collapse
Does this works on Universal Helmi Aku3.5 V1.3?

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