[Q] Configure Connection Manager with Xml Provisioning - Windows Mobile Software Development

Hi!
I'm developing a software for Windows Mobile 6.5 using Compact Framework 3.5.
We need to sync the application with a server component using a network connection proxied by ActiveSync.
Now, some software magically changes the settings for the access to private network.
We need it to be set to "Work", but some other software silently changes this to some other destination.
When the user now tries to connect to our server, she won't be able to get a connection as the CM now tries to establish this connection using UMTS instead of the wired ActiveSync connection.
Now, to solve this problem I digged through documentation and forums to find any information about the CM configuration.
I found that I could automatically correct this problem by using XML Provisioning. I think I just have to remove every key below \\HKLM\Comm\ConnMgr\Providers that starts with "null-corp" and replace it by a new key named "null-corp-{18AD9FBD-F716-ACB6-FD8A-1965DB95B814}" with an appropiate configuration.
Doing that by editing the registry manually solves my problem.
Now here's my problem:
When I send a document like this:
Code:
<wap-provisioningdoc>
<characteristic type="CM_ProxyEntries">
<nocharacteristic type="null-corp-{0A0A8396-2C1A-4EC3-A5C4-FA760015DA07}" />
<nocharacteristic type="null-corp-{18AD9FBD-F716-ACB6-FD8A-1965DB95B814}" />
<nocharacteristic type="null-corp-{FBF831F6-CCB5-407D-AA6E-FBE981A23D8F}" />
<characteristic type="null-corp-{18AD9FBD-F716-ACB6-FD8A-1965DB95B814}">
<parm name="SrcId" value="{18AD9FBD-F716-ACB6-FD8A-1965DB95B814}" />
<parm name="DestId" value="{A1182988-0D73-439E-87AD-2A5B369F808B}" />
<parm name="Proxy" value="new-corp:1118" />
<parm name="Override" value="" />
<parm name="Enable" value="1" />
<parm name="Type" value="0" />
<parm name="ReadOnly" value="0" />
<parm name="Username" value="" />
<parm name="Password" value="" />
<parm name="ExtraInfo" value="" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
I get a SystemException in
Code:
Microsoft.WindowsMobile.Configuration.ConfigurationManager.MainConfigurator(XmlDocument configDoc, UInt32 flags)
containing an error code of 2147500037.
The registry isn't changed, connecting to the private corporate network still doesn't work.
I don't know what I'm doing wrong. Is something wrong with my xml code?
Help would be really appreciated!
Regards
Christian Nitschkowski

At the first glance it seems to me you forgot to declare the parameters' datatype as it's demonstrated with this this sample
Code:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKCU\Software\test\testtest">
<parm name="TestValueInteger" value="5" [COLOR="Red"]datatype[/COLOR]="integer" />
<parm name="TestValueBoolean" value="1" [COLOR="Red"]datatype[/COLOR]="boolean" />
<parm name="TestValueString" value="testtesttest" [COLOR="Red"]datatype[/COLOR]="string" />
<!-- multi strings are delimited with  -->
<!-- multi strings are terminated with  -->
<parm name="TestValueString2" value="string1string2string3" [COLOR="Red"]datatype[/COLOR]="multiplestring" />
<!-- date / time combined to ONE single value -->
<parm name="TestValueDateTime1" value="10/20/01 8:15:04 pm" [COLOR="Red"]datatype[/COLOR]="date" />
<parm name="TestValueDateTime2" value="10/20/01 3:55:04 pm" [COLOR="Red"]datatype[/COLOR]="time" />
<parm name="TestValueBinary" value="5iAGkAbgBhAHIAeQAgAGIAbABvAG" [COLOR="Red"]datatype[/COLOR]="binary" />
</characteristic>
</characteristic>
</wap-provisioningdoc>

Related

New Cingular Data Install cabs for your WM6 ROM

Due to the obvious confusion with data settings and Cingular users I want to get this taken care of. I know theres a .cab floating around for this already but its already know that it doesn't store the username/password sometimes and it also seems to have a problem with some users keeping a exchange connection for whatever reason.
This has went much better then I thought and I would like to give a big thanks shogunmark and wpbear for making the .cabs for all of us to use. Much appreciated
I have at least loaded each of these up on a fresh WM6 ROM and they all seem to work fine so hopefully some more users will test them out.
The first download will load up the default Cingular MediaNet/ My ISP WAP MMS Settings and of course MediaNet will be the default.
The second download will load up The same settings except My ISP WAP will be the default connection instead of MediaNet
The third download is basicly the same as the second one but is for those who have the PDA data plan and want to use isp.cingular/[email protected] instead of wap.cingular/[email protected]
Here's my first attempt trying to put this together. I got the makecab app from the following miscrosoft Website (http://support.microsoft.com/kb/310618)
Then I followed their directions from this website (http://www.microsoft.com/technet/solutionaccelerators/mobile/deploy/msfp_8.mspx).
Let me know it works. No money required.
I hope it is worthwhile.
Will work on this tonight and let everyone know..
thank you..
MrDSL said:
Due to the obvious confusion with data settings and Cingular users I want to get this taken care of. I know theres a .cab floating around for this already but its already know that it doesn't store the username/password sometimes and it also seems to have a problem with some users keeping a exchange connection for whatever reason.
So since I am tired of entering in my data settings manually all the time I am willing to pay someone who has a .cab maker program to do it for me and I will test it on all the WM6 ROM's I can and share with everyone on here.
Below are the settings directly from the .xml file and not pulled from someones registry so they should work.
I think $15 via paypal seems fair so just pm me.
Code:
<wap-provisioningdoc>
<characteristic type="CM_Networks">
<characteristic type="MEdia Net">
<parm name="DestId" value="{97626DCF-818F-4be1-AC7E-77DA1B01F145}" />
</characteristic>
</characteristic>
<characteristic type="CM_GPRSEntries">
<characteristic type="MEdia Net">
<parm name="DestId" value="{97626DCF-818F-4be1-AC7E-77DA1B01F145}" />
<parm name="Enabled" value="1" />
<parm name="UserName" value="[email protected]" />
<parm name="Password" value="CINGULAR1" />
<characteristic type="DevSpecificCellular">
<parm name="GPRSInfoAccessPointName" value="wap.cingular" />
</characteristic>
</characteristic>
<characteristic type="My ISP GPRS">
<parm name="DestId" value="{ADB0B001-10B5-3F39-27C6-9742E785FCD4}" />
<parm name="Enabled" value="1" />
<parm name="UserName" value="[email protected]" />
<parm name="Password" value="CINGULAR1" />
<characteristic type="DevSpecificCellular">
<parm name="GPRSInfoProtocolType" value="2" />
<parm name="GPRSInfoL2ProtocolType" value="PPP" />
<parm name="GPRSInfoAccessPointName" value="isp.cingular" />
</characteristic>
</characteristic>
</characteristic>
<nocharacteristic type="CM_ProxyEntries"/>
<characteristic type="CM_ProxyEntries">
<characteristic type="HTTP-{97626DCF-818F-4be1-AC7E-77DA1B01F145}">
<parm name="SrcId" value="{97626DCF-818F-4be1-AC7E-77DA1B01F145}" />
<parm name="DestId" value="{436EF144-B4FB-4863-A041-8F905A62C572}" />
<parm name="Proxy" value="new-inet:1159" />
<parm name="Type" value="0" />
<parm name="Enable" value="1" />
</characteristic>
<characteristic type="HTTP-{436EF144-B4FB-4863-A041-8F905A62C572}">
<parm name="SrcId" value="{436EF144-B4FB-4863-A041-8F905A62C572}"/>
<parm name="DestId" value="{7022E968-5A97-4051-BC1C-C578E2FBA5D9}"/>
<parm name="Proxy" value="wireless.cingular.com:80"/>
<parm name="Enable" value="1"/>
<parm name="Type" value="1"/>
</characteristic>
<characteristic type="null-corp-{18AD9FBD-F716-ACB6-FD8A-1965DB95B814}">
<parm name="SrcId" value="{18AD9FBD-F716-ACB6-FD8A-1965DB95B814}"/>
<parm name="DestId" value="{A1182988-0D73-439e-87AD-2A5B369F808B}"/>
<parm name="Type" value="0"/>
<parm name="Enable" value="1"/>
</characteristic>
</characteristic>
<!--Set default connection-->
<characteristic type="CM_Planner" >
<characteristic type="PreferredConnections">
<parm name="{436EF144-B4FB-4863-A041-8F905A62C572}" value="MEdia Net" />
</characteristic>
</characteristic>
<!-- Suspend Resume -->
<characteristic type="Registry">
<characteristic type="HKLM\Comm\ConnMgr\Planner\Settings" translation="filesystem">
<parm name="SuspendResume" datatype="multiplestring" value="wap.cingular" />
<parm name="CacheTime" datatype="integer" value="60"/>
</characteristic>
</characteristic>
<characteristic type="Registry">
<characteristic type="HKCU\ControlPanel\PhoneExtendFunction" translation="filesystem" >
<!-- GPRS Setting -->
<!-- PAP: value="1" ; CHAP: value="2" -->
<parm name="GPRSAuthenticationMethod" datatype="integer" value="2" />
<!-- CSD Line Type - Data rate -->
<!-- 9600 bps(v.32) : value="7" -->
<!-- 9600 bps(v.110) : value="71" -->
<!-- 9600 bps(v.34) : value="12" -->
<!-- 9600 bps(v.120) : value="39" -->
<parm name="CBSTSpeed" datatype="integer" value="7" />
<!-- CSD Line Type -Connection element -->
<!-- Transparent: value="0" ; Non-transparent: value="1" -->
<parm name="CBSTCe" datatype="integer" value="1" />
</characteristic>
<!--End Set GPRS & CSD Type-->
</characteristic>
<characteristic type="Registry">
<characteristic type="HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" translation="filesystem">
<parm name="ConnMgrExternalPath" value="aOkicJdaUUC8HMV44vul2Q==" datatype="binary"/>
<parm name="EnableAutoDetect" value="0" datatype="integer"/>
</characteristic>
<characteristic type="HKLM\SOFTWARE\OEM\Operator" translation="filesystem" >
<parm name="On_Detection_with_WLan" datatype="integer" value="1" />
</characteristic>
<characteristic type="HKLM\Services\App\Tasks\DisableProxy" translation="filesystem" >
<parm name="Set_PIE_EnableAutoDetect" datatype="integer" value="1" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
Click to expand...
Click to collapse
Thanks for the offer MrDsl, it is very nice that you are willing to pay for a cab and then offer free to other users. Just don't forget that there is more than one way to set up Cingular connections.
1) wap.cingular with proxy settings
2) wap.cingular without proxy
3) isp.cingular (with [email protected])
4) isp.cingular (with [email protected])
and don't forget the other settings like compression, some connections use the settings and some don't.
Also, the setting are different if you use exchange versus another email carrier.
Also, if you don't have PdaConnect or LaptopConnect using isp.cingular may cost you more!
I hope someone takes the time to create cab files for the many Cinuglar users who don't like to set them themselves. Unfortunately, people like WpBear who have attempted to help, have just been bashed for no good reason. He made a cab clearly for one of the specific uses above, then people who have a different kind of an account then complain it doesn't work.
Good Luck!
That .xml file are the settings you will get from any 8525 you buy from Cingular so I mean they have to work. Its defaulted to [email protected] so if you have the PDA Unlimited then any user can go in and change it to [email protected]
If you want to take your proxy out etc etc then that will be up to each user. The idea of this is to have a .cab that does the default cingular settings you would get if you went into the store and bought a 8525 for example.
Thats why I'm using the code from the .xml file. The .cab wpbear made was pulled from the registry of his phone that didn't have exchange setup and that may be why some users experience the connection problem and it was much appreciated. I really just want to squash this issue and if it costs me a few bucks then its worth it.
This .cab is going to be completely different in that its created directly from what Cingular sets the settings at..
Follow?
Isn't that what these files already do?
http://forum.xda-developers.com/showpost.php?p=1163312&postcount=1
Not to be rude in any way but I explained this in my last topic already.
Again the files you are pointing to by wpbear while they are great it is known that for some of us the username/password doesn't get entered and some users experienced exchange connection problems like myself. wpbear even mentioned that the phone he pulled the settings from didn't have exchange setup so that may in fact be the issue but who knows.
Either way I am trying to eleminate all this by getting a .cab based off the actual .xml file thats loaded when you install a Cingular ROM that way none of those issues should exsist..
The main focus of this .cab file is that its based off the Cingular default settings from the .xml in the extended rom that you would get from Cingular and not based on settings someone entered..
I hope this clears everything up.
just grab the xml that does the settings, edit out the first and last line that says "wap provisioning doc" then save it as an xml and download wince cab manager (ocpsoftware.com), import the xml and save the cab, then load it up on your phone
then after that works donate your $15 to xda
shogunmark said:
just grab the xml that does the settings, edit out the first and last line that says "wap provisioning doc" then save it as an xml and download wince cab manager (ocpsoftware.com), import the xml and save the cab, then load it up on your phone
then after that works donate your $15 to xda
Click to expand...
Click to collapse
I did actually try this last night (installing the limited trial of wince cab manager) but it linked me to microsoft to install some other stuff that I didn't fully understand. I will try again now..
edit..
Ok I think I have figured it out so hopefully the trial version will let me do this..
i had a few moments and used the settings you posted above and created a cab.. although i dont have time to test it so i dont know if it will install properly or not, but here you go! Let me know if it works!
**edit**
removed this cab since i made a better one and to avoid future confusion
I'm really clueless on win ce cab manager so I'm not sure if I'm doing things right.
I launched the program and named my project..I included a screen shot below..
So all I did was click on the Pre XML line and imported the cingular.xml I posted above from notepad and loaded it and then just saved the file and I now have a .cab file.
Anyone that uses this can they tell me from my screen shot that I am probably doing this right?
I'm trying...
shogunmark said:
i had a few moments and used the settings you posted above and created a cab.. although i dont have time to test it so i dont know if it will install properly or not, but here you go! Let me know if it works!
Click to expand...
Click to collapse
Ok I'm gonna try yours before mine LOL
I'll let everyone know..
MrDSL said:
I'm really clueless on win ce cab manager so I'm not sure if I'm doing things right.
I launched the program and named my project..I included a screen shot below..
So all I did was click on the Pre XML line and imported the cingular.xml I posted above from notepad and loaded it and then just saved the file and I now have a .cab file.
Anyone that uses this can they tell me from my screen shot that I am probably doing this right?
I'm trying...
Click to expand...
Click to collapse
thats what i did also... but i did remove the first and last line of the xml, the line contains <wap-provisioningdoc>
i have read on the ocp board that wince does not play well with those lines and is best to leave them out!
<characteristic type="My ISP GPRS">
<parm name="DestId" value="{ADB0B001-10B5-3F39-27C6-9742E785FCD4}" />
<parm name="Enabled" value="1" />
<parm name="UserName" value="WAP@CINGULARGPRS.COM" />
<parm name="Password" value="CINGULAR1" />
<characteristic type="DevSpecificCellular">
<parm name="GPRSInfoProtocolType" value="2" />
<parm name="GPRSInfoL2ProtocolType" value="PPP" />
Shouldn't that be ISP@CINGULARGPRS.COM??
I use the ISP GPRS method, no proxies, no MediaNet and use exchange pushmail. I've use the WAP GRPS as well, no proxies, no MediaNEt and these have worked fine, except for recent issues with the data connection shutting off.
I tried the WPbear files: proxies and MediaNet interfere with Exchange settings...
Scrog said:
<characteristic type="My ISP GPRS">
<parm name="DestId" value="{ADB0B001-10B5-3F39-27C6-9742E785FCD4}" />
<parm name="Enabled" value="1" />
<parm name="UserName" value="WAP@CINGULARGPRS.COM" />
<parm name="Password" value="CINGULAR1" />
<characteristic type="DevSpecificCellular">
<parm name="GPRSInfoProtocolType" value="2" />
<parm name="GPRSInfoL2ProtocolType" value="PPP" />
Shouldn't that be ISP@CINGULARGPRS.COM??
I use the ISP GPRS method, no proxies, no MediaNet and use exchange pushmail. I've use the WAP GRPS as well, no proxies, no MediaNEt and these have worked fine, except for recent issues with the data connection shutting off.
I tried the WPbear files: proxies and MediaNet interfere with Exchange settings...
Click to expand...
Click to collapse
WAP@CINGULARGPRS.COM is used for media net, with or without proxies, works either way...
**edit**
i just looked at that closer and noticed the access point is isp.cingular ... so in that instance you are right... however if you change it to wap.cingular then you can use media net with not proxy and not need an expensive data only plan..
something else i just thought of.... has anyone compared wm6 and wm5 reg keys to make sure they fall in the same place? I would imagine they do... but one never knows... now i have some free time.. i will look at compare!
Here i made a new one and did verify that it works on wm6... this includes MEdia net, and My Isp using the apn of wap.cingular (not isp.cingular) and MMS settings... I also included the phcanoverbmp.dll (cingular 3G icon)
MrDsl.. feel free to crack it open with wince and take a look at how i did it.. hopefully this will help with your future cab developing.
Thanks Shogun and MrDSL and others that are contributing on coming up with an "enhanced" Cingular CAB. It will be very welcome.
I have had the problem DSL mentions about Username and Password either not present in the Cingular settings CAB, or not sticking, through several ROM flashes in the last couple of weeks. Those [email protected]#$ settings are so convoluted that I didn't know if I was doing something wrong or what, but it definitely seems to be the case that WPBear's CAB (thanks for the effort, Bear ) wasn't working for me.
A solid new Cingular settings CAB will be great.
Big Ben
hmmm, should i add the carrier dialer logo?
Doesn't Cingular have a cab in the ext rom that set up those settings correctly?

Auto-provisioning POP3 or Exchange mail via UC Mini how-to.

As you all know, a lot of new ROMs (including mine) are shipping with UC support built in.
Now for a while, I've been pondering how I could use UC to auto-create my email account on each flash - to easily setup my testing. Ponder no more.
In the SDConfig.txt file, you need to have an entry to the XML file we create later on. This will be a line like:
Code:
XML: \Storage Card\Setup\Email.xml
Within this Email.xml file, we want to setup the user account. For exchange, we use the following:
Code:
<wap-provisioningdoc>
<characteristic type="Sync">
<characteristic type="Settings">
<parm name="SyncWhenRoaming" value="1"/>
</characteristic>
<characteristic type="Connection">
<parm name="Domain" value="mydomain"/>
<parm name="Password" value="mypassword"/>
<parm name="SavePassword" value="1"/>
<parm name="Server" value="my.exchange.server.com"/>
<parm name="User" value="My Name"/>
<parm name="URI" value="Microsoft-Server-ActiveSync"/>
<parm name="UseSSL" value="1"/>
</characteristic>
<characteristic type="Mail">
<parm name="Enabled" value="1"/>
<parm name="EmailAgeFilter" value="3"/>
</characteristic>
<characteristic type="Calendar">
<parm name="Enabled" value="1"/>
<parm name="CalendarAgeFilter" value="5"/>
</characteristic>
<characteristic type="Contacts">
<parm name="Enabled" value="1"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
After replacing the required details, this should setup all that is required for Outlook Mobile to query your Exchange server.
Ah you say, but my mail account is POP3. Ah ha I reply, you'll need to use the following code in Email.xml.
Code:
<wap-provisioningdoc>
<characteristic type="EMAIL2">
<characteristic type="{4FE84006-9E8A-4158-864D-A2E1E98C3786}">
<parm name="SERVICENAME" value="My Account Mail" />
<parm name="SERVICETYPE" value="POP3" />
<parm name="INSERVER" value="pop.server.com" />
<parm name="OUTSERVER" value="smtp.server.com" />
<parm name="AUTHNAME" value="myusername" />
<parm name="AUTHSECRET" value="mypassword" />
<parm name="DOMAIN" value="" />
<parm name="REPLYADDR" value="[email protected]" />
<parm name="NAME" value="My Name" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
"Ahhhh" I hear you say not wanting to be out done, "but I use POP3 over SSL!". You see me chuckle, as you realise I have an answer. Use the following between AUTHSECRET and DOMAIN:
Code:
<characteristic type="TAGPROPS">
<parm name="8128000B" value="1"/>
<parm name="812C000B" value="1"/>
</characteristic>
8128000B is for incoming SSL, while 812C000B is for outgoing SSL.
Oh, and if you want to use SMTP auth for sending mail, add in the following after OUTSERVER:
Code:
<parm name="AUTHREQUIRED" value="1"/>
Here my children ends the lesson on auto-provisioning email accounts the UC way. Go forth and use this knowledge to make your lives much, much easier.
Happy Flashing.
Same works fine for IMAP, can be found in the UC thread
Great job CRCinAU, you should Wiki this!
Heh - I have enough on my plate at the moment... Just drawing my testing to a close on Release 10.3 of my ROM - including a new battery driver that does readings in 1% increments I'll hopefully have it ready for release in about an hour.
Your wisdom astounds me O sage philosoph! So I come to you with true hope rising in my heart. In many lands have I sought this answer and truly despair had threatened to overtake me.
Can it be that light breaks through the clouds of my despondency? Are you the promised one, he who holds "the answer?"
can UC be configured to populate the device name and owner information fields so that we need not repeat that ritual after every flash?
I promise to shower you with praise should you deign to craft the spell that will accomplish this feat!
Your humble and unworthy servant.
if you need a tool which creates the provisioning files for you, try
Personal OEMIZER
which can be found here: www.tierman.net
cyberscribe said:
Your wisdom astounds me O sage philosoph! So I come to you with true hope rising in my heart. In many lands have I sought this answer and truly despair had threatened to overtake me.
Can it be that light breaks through the clouds of my despondency? Are you the promised one, he who holds "the answer?"
can UC be configured to populate the device name and owner information fields so that we need not repeat that ritual after every flash?
I promise to shower you with praise should you deign to craft the spell that will accomplish this feat!
Your humble and unworthy servant.
Click to expand...
Click to collapse
if u go to the uc thread i think post 17 it mentions a tool which can do exactly that all though idk about all the poetry but yea check it out in the development forum
Dude, you ROCK!
download size limit
does someone know how to set the download limit of emails (size) ?
with these settings all attachements will be downloaded also, or am i wrong ?
petervbeck said:
does someone know how to set the download limit of emails (size) ?
with these settings all attachements will be downloaded also, or am i wrong ?
Click to expand...
Click to collapse
Ahhh, a worthy question!
The answer you seek is a reverent one. Add the following below the NAME parm.
Code:
<parm name="RETRIEVE" value="0" />
Now with all true options in life, there are multiple values you may use. Specify a value of 0 to say that you only want to download headers. Specify a value of -1 (or 4294967295) if you want to download all messages.
I can also see more questions brewing, so I shall also list you these.
Code:
<parm name="KEEPMAX" value="0" />
Specifies the maximum size (in KB) for message attachments to be downloaded. Attachments that are larger will remain on the server, but the message itself will still be downloaded. Use a value of 0 to specify that you do not want any message attachments. Use a value of -1 (or 4294967295) to specify that you want all message attachments, no matter how large.
Code:
<parm name="LINGER" value="0" />
How often perform scheduled sends/receives in minutes. Beware however, if a value is not provided for LINGER, the automatic connection sync setting defaults to every 15 minutes. You should set the LINGER parameter to 0 to never connect automatically.
Code:
<parm name="FORMAT" value="1" />
Specifies which format to use for downloading and composing new e-mail messages (1 for Plain Text, and 2 for HTML). The default is HTML, however a true sage will only ever require Plain Text
CRCinAU, thank you very much! missing this option was quite annoying to me because i had to change these options manually everytime!
If we ever meet, you'll get a Guinness from me!
Thanks again!
egoist6 said:
if you need a tool which creates the provisioning files for you, try
Personal OEMIZER
which can be found here: www.tierman.net
Click to expand...
Click to collapse
Looked to no avail... just Pamela Anderson videos
Here's everything together for POP3 except for TAGPROPS for SSL. I've also added DWNDAY for the # of days to download.
Code:
<characteristic type="EMAIL2">
<characteristic type="{05250a7a-21ff-4119-a4a5-046cfe884082}">
<parm name="SERVICENAME" value="[I]My Account Mail[/I]" />
<parm name="SERVICETYPE" value="POP3" />
<parm name="INSERVER" value="[I]pop.server.com[/I]" />
<parm name="OUTSERVER" value="[I]smtp.server.com[/I]" />
<parm name="NAME" value="[I]your name[/I]" />
<parm name="AUTHNAME" value="[I]your account name[/I]" />
<parm name="AUTHSECRET" value="[I]your account password[/I]" />
<parm name="DOMAIN" value="[I]your domain if needed[/I]" />
<parm name="REPLYADDR" value="[I]your reply to address[/I]" />
<parm name="LINGER" value="30" />
<parm name="RETRIEVE" value="-1" />
<parm name="KEEPMAX" value="-1" />
<parm name="DWNDAY" value="7" />
<parm name="AUTHREQUIRED" value="1" />
<parm name="FORMAT" value="2" />
</characteristic>
</characteristic>
You can generate your own GUID here.
While were at it I also connect to wifi to download email after a flash because reception is horrible where I live. In order to do so I need to type in my WEP key - another step. Add this to your provisioning.xml file and have sdautorun setup wifi too
Code:
<characteristic type="CM_WiFiEntries">
<characteristic type="[I]Your SSID[/I]">
<parm name="DestID" value="{436EF144-B4FB-4863-A041-8F905A62C572}"/>
</characteristic>
</characteristic>
<characteristic type="Wi-Fi">
<characteristic type="access-point">
<characteristic type="[I]Your SSID[/I]">
<parm name="DestId" value="{436EF144-B4FB-4863-A041-8F905A62C572}"/>
<parm name="Encryption" value="0"/>
<parm name="Authentication" value="0"/>
<parm name="Hidden" value="0"/>
<parm name="KeyProvided" value="0"/>
<parm name="NetworkKey" value="[I]your network key[/I]"/>
<parm name="KeyIndex" value="1"/>
<parm name="Use8021x" value="0"/>
</characteristic>
</characteristic>
</characteristic>
The GUID for CM_WiFiEntries in this example is directed to the internet network. You can also choose "{A1182988-0D73-439e-87AD-2A5B369F808B}" for the work network.
Under wifi you can choose "ad-hoc" instead of access-point for a computer to computer connection.
Authentication will allow for open (0), shared (1), WPA (3), WPA-PSK (4) or WPA-NONE(5).
For a full list of parameters check out MSDN. Other options are EAPType and Filter to filter out specific network types.
Funky B said:
Authentication will allow for open (0), shared (1), WPA (3), WPA-PSK (4) or WPA-NONE(5).
Click to expand...
Click to collapse
There are a couple others on this too that aren't documented..
Authentication:
6 = WPA2
7 = WPA2-PSK
Encryption:
0 = Encrypt using 802.11 wired equivalent privacy (WEP) key.
1 = No encryption.
4 = Encrypt using Temporal Key Integrity Protocol (TKIP) sequence counters.
6 = Encrypt using Advanced Encryption Standard (AES).
OK guys, thank you so much for educating us!
Now that THAT'S said....
Please tell me what I'm doing wrong.. Tasks isn't in the XML so I added it along with the download the last 30 days, entire messages. Tasks blows up the XML and when I remove everything works except it wants to download the last 3 days and not the netire message...
Here's my email.xml
<wap-provisioningdoc>
<characteristic type="Sync">
<characteristic type="Settings">
<parm name="SyncWhenRoaming" value="1"/>
</characteristic>
<characteristic type="Connection">
<parm name="Domain" value="xxxx"/>
<parm name="Password" value="xxxxxxxx"/>
<parm name="SavePassword" value="1"/>
<parm name="Server" value="mail.xxxx.com"/>
<parm name="User" value="puttingham"/>
<parm name="URI" value="Microsoft-Server-ActiveSync"/>
<parm name="DWNDAY" value="30" />
<parm name="UseSSL" value="1"/>
<parm name="RETRIEVE" value="-1" />
</characteristic>
<characteristic type="Mail">
<parm name="Enabled" value="1"/>
<parm name="EmailAgeFilter" value="3"/>
</characteristic>
<characteristic type="Calendar">
<parm name="Enabled" value="1"/>
<parm name="CalendarAgeFilter" value="5"/>
</characteristic>
<characteristic type="Contacts">
<parm name="Enabled" value="1"/>
</characteristic>
<characteristic type="Tasks">
<parm name="Enabled" value="1"/>
</characteristic>
</wap-provisioningdoc>
Click to expand...
Click to collapse
With the Tasks like that I get a
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
End tag 'wap-provisioningdoc' does not match the start tag 'characteristic'. Error processing resource 'file:///C:/Document...
</wap-provisioningdoc>
--^
Click to expand...
Click to collapse
so who's gna take the initiative to make one of these up for gmail? ready for people to just put username and password in?!
hm..i'll have a crack i think!
how hard would it be to code a small little program that will generate these XML files for us?
any one got any pointers?
duke_stix said:
so who's gna take the initiative to make one of these up for gmail? ready for people to just put username and password in?!
hm..i'll have a crack i think!
how hard would it be to code a small little program that will generate these XML files for us?
any one got any pointers?
Click to expand...
Click to collapse
dude,
read my post #6.
egoist6 said:
dude,
read my post #6.
Click to expand...
Click to collapse
thats a dead link matey!
duke_stix said:
thats a dead link matey!
Click to expand...
Click to collapse
oh come on. it seems to be only a temporary problem.
if you would google for "personal oemizer" you would have found this link:
http://tiermann.net/index.php?optio...d=3:personal-oemizer&catid=1:Desktop&Itemid=3
which works perfectly.
just to help you out i have attached the tool.
Well, thanks to this thread and Sleuth's UC I've finally got a nice cab file with all my AS settings preconfigured. And in my personal cab I imported my exchange server's security certificate so all is well. Hard to find was how to sync the last 30 days, that's found on page 55 of Sleuth's thread
<parm name="EmailAgeFilter" value="5"/>
Click to expand...
Click to collapse
Still can't enable HTML but that's no big deal. (FORMAT doesn't work )
I carry my last 30 days, entire message with no attachments being dl'ed until I need them.
The entire script is
- <wap-provisioningdoc>
- <!-- Mail2web Settings
-->
- <characteristic type="Sync">
- <characteristic type="Connection">
<parm name="Server" value="mail.xxxxx.com" />
<parm name="AllowSSLOption" value="1" />
<parm name="User" value="dr_puttingham" />
<parm name="Domain" value="estate" />
<parm name="Password" value="is_here" />
<parm name="SavePassword" value="1" />
</characteristic>
- <characteristic type="Settings">
<parm name="PeakStartTime" value="0800" />
<parm name="PeakEndTime" value="1800" />
<parm name="PeakFrequency" value="-1" />
<parm name="BodyTruncation" value="-1" />
- <characteristic type="PeakDays">
<parm name="Sun" value="0" />
<parm name="Mon" value="1" />
<parm name="Tue" value="1" />
<parm name="Wed" value="1" />
<parm name="Thr" value="1" />
<parm name="Fri" value="1" />
<parm name="Sat" value="0" />
</characteristic>
</characteristic>
- <characteristic type="Mail">
<parm name="Enabled" value="1" />
<parm name="MailBodyTruncation" value="-1" />
<parm name="MailFileAttachments" value="0" />
<parm name="EmailAgeFilter" value="5" />
<parm name="FORMAT" value="1" />
</characteristic>
- <characteristic type="Calendar">
<parm name="Enabled" value="1" />
</characteristic>
- <characteristic type="Contacts">
<parm name="Enabled" value="1" />
</characteristic>
- <characteristic type="Tasks">
<parm name="Enabled" value="1" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
Click to expand...
Click to collapse
Thanks also to egoist6 for the OEMizerlink as I used that to troubleshoot the Tasks not being enabled.

[HOWTO] Hacking into Connection Setup DB files

Many of you know that for right running HTC's Connection Setup DB you need their DB files (it's hundreds of files with .db ending).
Well, I managed to "hack it" when I wanted to find which is for my country. So here we go:
1. Preparing
You need both ConnectionSetupDB folder and Connection Setup application (main executable). And also some easy notepad, there you must have STUPID notepad, which will take 0x00 as "space" (when you search in document) instad of showing NUL. I use for this the integrated MS Notepad in Windows.
Let's get back to the hacking.
2. Hacking
Take your ConnectionSetup package and target on ConnectionSetup.exe file. Since it is exe you don't have on right click any "Open in" option. Hold shift, right click in the folder (not on any file) and click on "Open command line here". To the commandline write notepad ConnectionSetup.exe which opens the MS Notepad with the file inside.
3. Password!
Now, you have opened that executable in notepad. Since we need password for DB files, let's search for it. Now here comes the "tricky" part - it is in UNICODE, so we must search for "D B" (without quotes ofc). There will be few false finds till you find the one you need:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Do you see that "notUnicode" red string, that looks like GUID? Yes, that's our password we need .
4. Let's go editing
Now open your folder with DB files.
First, open the last db file, with DBIndex inside its name. Rename the .db file to .zip and use the password which looks like GUID we found earlier and extract it.
Open file 0000.xml and here you have all countries and providers. Always take a look at the number that is next to the provider and remember it. Go back to the folder with .db files and find the DB file with the number that you found inside.
Now, just like with the DBIndex, extract it with the password we found and voila, you get few files.
About their editing will Twompumpchump say something in next post, he was studying them for a while .
5. Making it DB again
Now, when you finish editing, just use WinRAR or anything similar to ZIP it with the same password you unpacked it and rename it to the name it had. I'm pretty sure, you can even add new countries, operators etc (they are all stored in DBIndex in the latest folder and maybe in registry, too).
ok alot of you are probably wondering...what is so good about being able to edit the db files of connection setup? well the possibilites of things you can do with this are pretty much endless for some carriers(such as tmobile), the connection setup db doesnt work with MMS because the link is wrong in db file, which causes me and other chefs a big headache because we get posts in our threads about how "MMS doesnt work in your rom". now we can go in to provisioning.xml of db file and edit the link and MMS works for tmobile
now, for the next problem we all have with phones branded for specific carriers....the keyboard mapping. untill now as you all know we have been having to run keyboard setup cabs after flashing if we have say an "AT&T Tilt" or tmobile branded phone. well i have solved this problem now the keyboard layouts are embedded in db files so when connection setup is run at first boot the keyboard is configured automatically for that carrier. so now there is no need for keyboard cabs as long as the carrier/phone brand match. selyb brought up the point about users who have say an unbranded phone but use a carrier like at&t...they wouldnt need the keyboard remapped so maybe we can all figure out a solution that will work for everyone.
after you have opened the db file as described by ondraster in post 1, you will see 8 files inside....the one we will be working with for now is 0000provision.xml. here is an example of tmobile's db 0000provision.xml that has been edited by me for the new MMS link and also the keyboard layout...the changes i made are in red.
Code:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKCU\ControlPanel\PhoneExtendFunction">
<parm name="GPRSAuthenticationMethod" value="2" datatype="integer"/>
</characteristic>
</characteristic>
<characteristic type="Registry">
<characteristic type="HKLM\SOFTWARE\ArcSoft\ArcSoft MMS UA\Config\mm1">
<parm name="DefaultSetting" value="SampleMMSC" datatype="string"/>
</characteristic>
<characteristic type="HKLM\SOFTWARE\ArcSoft\ArcSoft MMS UA\Config\mm1\MMSCSetting\SampleMMSC">
<parm name="Name" value="T-Mobile MMS" datatype="string"/>
<parm name="MmscURI" value="[B][COLOR="Red"]http://mms.msg.eng.t-mobile.com/mms/wapenc[/COLOR][/B]" datatype="string"/>
<parm name="Gateway" value="216.155.165.50" datatype="string"/>
<parm name="GatewayPort" value="8080" datatype="integer"/>
<parm name="waptype" value="1" datatype="integer"/>
<parm name="SendDefault" value="307200" datatype="integer"/>
<parm name="ConnectionVia" value="{BFF8E209-7DDA-4bd6-995E-E44CE5462DB3}" datatype="string"/>
<parm name="WAP1SendDefaultSize" value="307200" datatype="integer"/>
<parm name="WAP2SendDefaultSize" value="307200" datatype="integer"/>
<parm name="ISP" value="SampleMMSC" datatype="string"/>
</characteristic>
</characteristic>
<characteristic type="Registry">
<characteristic type="HKLM\Software\Jataayu\MMS\Profiles" translation="filesystem">
<parm name="ActiveProfileGSM" datatype="string" value="999" translation="filesystem"/>
</characteristic>
<characteristic type="HKLM\Software\Jataayu\MMS\Profiles\999" translation="filesystem">
<parm name="Name" value="T-Mobile MMS" datatype="string" translation="filesystem"/>
<parm name="MMSCURL" value="[B][COLOR="Red"]http://mms.msg.eng.t-mobile.com/mms/wapenc[/COLOR][/B]" datatype="string"/>
<parm name="IPAddress" value="216.155.165.50" datatype="string" translation="filesystem"/>
<parm name="Port" value="8080" datatype="integer"/>
<parm name="ConnectionType" value="2" datatype="integer"/>
<parm name="GUID" value="{BFF8E209-7DDA-4bd6-995E-E44CE5462DB3}" datatype="string" translation="filesystem"/>
<parm name="SendLimit" value="300" datatype="integer"/>
<parm name="SendLimit" value="300" datatype="integer"/>
</characteristic>
</characteristic>
<characteristic type="Registry">
<characteristic type="HKCU\SOFTWARE\Microsoft\InternetSharing">
<parm name="LastCellConnection" value="T-Mobile Data" datatype="string"/>
</characteristic>
</characteristic>
<characteristic type="Registry">
<characteristic type="HKLM\SOFTWARE\WidComm\ICS">
<parm name="NetConnection" value="T-Mobile Data" datatype="string"/>
</characteristic>
</characteristic>
[B][COLOR="Red"] <characteristic type="Registry">
<characteristic type="HKLM\HARDWARE\DEVICEMAP\KEYBD">
<parm name="FirstCalibration" value="1" datatype="integer" />
<parm name="CurLang" value="1033" datatype="integer" />
<parm name="LayoutID" value="531" datatype="integer" />
<parm name="3PartyIME" value="1" datatype="integer" />
<parm name="TaskManVKey" value="46" datatype="integer" />
<parm name="ContMoreVKey" value="0" datatype="integer" />
<parm name="ContLessVKey" value="0" datatype="integer" />
<parm name="CalVKey" value="0" datatype="integer" />
<parm name="DriverName" value="KbdNopAll.dll" datatype="string" />
</characteristic>
</characteristic>[/COLOR][/B]
</wap-provisioningdoc>
i am attatching the tmobile and at&t files that i have already edited, they are for Leo connection setup db 1920. if you use a different version of connection setup, then you will have to edit the files yourself, but you can use the same information for tmobile mms to edit. also note that i am using these files for my rhodium rom, each device will have its own keyboard mappings, ect. you can just use the info from the keyboard cab that works for you.
you can also add things such as bootlaucher registry for tmobile myfaves, and as long as you include the myfaves manila pkg in your rom when a tmobile user flashes the myfaves tab will be enabled and it works perfectly also the send/recieve limits of MMS can be edited to your liking....more to come later.
i thought we would use this post for a collection of edited db files for different devices
Excellent investigation, gentlemen. Having a whole new level of customization is obviously great, and as a Tilt/Kaiser user on T-Mobile the appeal is pretty strong!
twopumpchump said:
so now there is NO NEED FOR KEYBOARD CABS to be installed after flashing.
Click to expand...
Click to collapse
It would be a problem for someone who buys one brand phone or unbranded phone to work with a different carrier or even someone who buys a replacement keyboard for their broken one that came from a different carrier's model.
selyb said:
It would be a problem for someone who buys one brand phone or unbranded phone to work with a different carrier or even someone who buys a replacement keyboard for their broken one that came from a different carrier's model.
Click to expand...
Click to collapse
yes you have a good point, i never really thought about that...maybe we can have say 2 db files for the carriers one with kb and one witout...just a thought will have to be tested.
selyb said:
It would be a problem for someone who buys one brand phone or unbranded phone to work with a different carrier or even someone who buys a replacement keyboard for their broken one that came from a different carrier's model.
Click to expand...
Click to collapse
I'm pretty sure you can make your operator and instead T-Mobile use T-Mobile-with-kbdfix .
Just a suggestion, but maybe you could do this: Keep the connection db's the way you have them now. Put on the main post for your roms or kitchen pictures of the different known keyboards with links to fixes. IMO, your current method will cause problems with a smaller base of users than previously. I mean, just my opinion, but I believe more people use their phones on the original carrier than the examples I provided.
selyb said:
Just a suggestion, but maybe you could do this: Keep the connection db's the way you have them now. Put on the main post for your roms or kitchen pictures of the different known keyboards with links to fixes. IMO, your current method will cause problems with a smaller base of users than previously. I mean, just my opinion, but I believe more people use their phones on the original carrier than the examples I provided.
Click to expand...
Click to collapse
yes the examples you provided would be very rare i think, but thanks for mentioning them. i still think that all we have to do is add a new db file with no kb and include it in the index i would try it now but its sunday and im feeling lazy lol.
U guys did amazing work!! Congrats!!
selyb said:
It would be a problem for someone who buys one brand phone or unbranded phone to work with a different carrier or even someone who buys a replacement keyboard for their broken one that came from a different carrier's model.
Click to expand...
Click to collapse
I dissagree, i had tested this with my ATT model fuze... and i was running t-mobile SIM. . what happen's is when the phone boot's it detect's what carrier you're connected to and thus pulls that DB file.. it doesn't go by model phone.
joshkoss said:
I dissagree, i had tested this with my ATT model fuze... and i was running t-mobile SIM. . what happen's is when the phone boot's it detect's what carrier you're connected to and thus pulls that DB file.. it doesn't go by model phone.
Click to expand...
Click to collapse
And that's the "problem" - it loads ATT Tilt keyboard patch on your T-Mobile TP2 (for example) or the opposite, on your T-Mobile TP2 it loads Tilt 2 keyboard patch etc.
OndraSter said:
And that's the "problem" - it loads ATT Tilt keyboard patch on your T-Mobile TP2 (for example) or the opposite, on your T-Mobile TP2 it loads Tilt 2 keyboard patch etc.
Click to expand...
Click to collapse
ohhhhhhh i see.. lol sorry, blonde moment! hehe.
Yea luckily i have a tmobile branded tp2 so i didn't see that issue.
Ignore me, i'll fade into the background
OndraSter said:
And that's the "problem" - it loads ATT Tilt keyboard patch on your T-Mobile TP2 (for example) or the opposite, on your T-Mobile TP2 it loads Tilt 2 keyboard patch etc.
Click to expand...
Click to collapse
First of all congratulations too much time sat in front of computers the both of ya
So the Connection Setup .cab's just needs to be geared toward device "viable for chefs", then the other issue as stated is people like me i use an AT&T Tilt but use O2 as my carrier so if was set up geared to all carriers then i'd have no Tilt keyboard fix installed as thinks i'm using a British Kaiser, but like you say OndraSter could just be a suffix on carrier to say keyfix.
joshkoss said:
ohhhhhhh i see.. lol sorry, blonde moment! hehe.
Yea luckily i have a tmobile branded tp2 so i didn't see that issue.
Ignore me, i'll fade into the background
Click to expand...
Click to collapse
It happens to the best of us
Proxy settings
Thank you for this, now i'm able set my APN to wap.vodafone.de
But how can i set a Proxy, like 139.7.29.1:80, by default for this APN? Could someone guide me please
here's my 0000connection.xml
Code:
<wap-provisioningdoc>
<characteristic type="CM_Networks">
<characteristic type="Vodafone Internet">
<parm name="DestId" value="{0DAEA92E-2917-4c6c-9E23-F2BCAA13DA07}"/>
</characteristic>
</characteristic>
<characteristic type="CM_Networks">
<characteristic type="Vodafone DE">
<parm name="DestId" value="{BFF8E209-7DDA-4bd6-995E-E44CE5462DB3}"/>
</characteristic>
</characteristic>
<characteristic type="CM_GPRSEntries">
<characteristic type="Vodafone Internet">
<parm name="DestId" value="{0DAEA92E-2917-4c6c-9E23-F2BCAA13DA07}"/>
<parm name="UserName" value=""/>
<parm name="Password" value=""/>
<parm name="AlwaysOn" value="0"/>
<characteristic type="DevSpecificCellular">
<parm name="GPRSInfoValid" value="1"/>
<parm name="GPRSInfoAccessPointName" value="wap.vodafone.de"/>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="CM_GPRSEntries">
<characteristic type="Vodafone DE">
<parm name="DestId" value="{BFF8E209-7DDA-4bd6-995E-E44CE5462DB3}"/>
<parm name="UserName" value=""/>
<parm name="Password" value=""/>
<parm name="AlwaysOn" value="0"/>
<characteristic type="DevSpecificCellular">
<parm name="GPRSInfoValid" value="1"/>
<parm name="GPRSInfoAccessPointName" value="event.vodafone.de"/>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="CM_ProxyEntries">
<characteristic type="HTTP-{0DAEA92E-2917-4C6C-9E23-F2BCAA13DA07}">
<parm name="SrcId" value="{0DAEA92E-2917-4c6c-9E23-F2BCAA13DA07}"/>
<parm name="DestId" value="{436EF144-B4FB-4863-A041-8F905A62C572}"/>
<parm name="Proxy" value="new-inet:1159"/>
<parm name="Type" value="0"/>
<parm name="Enable" value="1"/>
</characteristic>
</characteristic>
<characteristic type="CM_ProxyEntries">
<characteristic type="null-corp">
<parm name="SrcId" value="{18AD9FBD-F716-ACB6-FD8A-1965DB95B814}"/>
<parm name="DestId" value="{A1182988-0D73-439E-87AD-2A5B369F808B}"/>
<parm name="Proxy" value="new-corp:1118"/>
<parm name="Type" value="0"/>
<parm name="Enable" value="1"/>
</characteristic>
</characteristic>
<characteristic type="CM_Planner">
<characteristic type="PreferredConnections">
<parm name="{436EF144-B4FB-4863-A041-8F905A62C572}" value="Vodafone Internet"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
lcd4linux
here is a noob question :
I dumped a rom and in the dump folder there are a lot of .db files (676 to be exact) , where are .db files stored in a kitchen ?
ceesheim said:
here is a noob question :
I dumped a rom and in the dump folder there are a lot of .db files (676 to be exact) , where are .db files stored in a kitchen ?
Click to expand...
Click to collapse
oem i believe
ceesheim said:
here is a noob question :
I dumped a rom and in the dump folder there are a lot of .db files (676 to be exact) , where are .db files stored in a kitchen ?
Click to expand...
Click to collapse
when you dump a stock rom and rebuild the packages, the db files are located in oem/ConnectionSetupDB folder.
twopumpchump said:
when you dump a stock rom and rebuild the packages, the db files are located in oem/ConnectionSetupDB folder.
Click to expand...
Click to collapse
joshkoss said:
oem i believe
Click to expand...
Click to collapse
Thanks a lot

I significantly improved my GPS lock times

Let me start off by saying that the tweak I used is labeled as being for T-mobile...I don't know if it will make any difference for any other carriers since I can't test, but it made a HUGE difference in my GPS lock times. I can't say if it makes any difference in accuracy, since my GPS already seemed to be plenty accurate, it just took waaaay too long to get a lock before, if at all.
I only recently upgraded to WM6.5, and I hadn't yet bothered to mess with the GPS much until today. Up until now, it would take up to 30 seconds to get a lock while I was outdoors, and indoor locks (or even in a vehicle) would take much longer, or just never happen. I got much better performance before I upgraded my ROM, so I know it wasn't just the places I was trying it.
Today I installed the Wordsmith cab below, and *POW!* I now get locks in less than 2 seconds outdoors, and no more than 5 seconds indoors!! It actually takes longer for google maps to activate the 3G connection for aGPS than it does for it to then lock satellites and update the position
SO, I highly recommend this for any tmo users that think their GPS should lock faster than it does. Anybody else is welcome to try it, but since I don't know exactly what the secret sauce is in this one I can't say if it will help. I know this cab has been floating around, but I was impressed enough with my results that I wanted to make sure it had visibility.
Now, I've also attached fone_fanatic's cab that adds google's aGPS settings. I applied it today prior to the Wordsmith cab, but it only made a small difference. However, this is the cab that got my GPS working so well on my 6.1 ROM, so I'm including it here for anyone who is still needing another solution to improve their GPS performance.
EDIT: yes, for those who might ask, I did run QuickGPS prior to all testing
Works great!
I tried it out tonight on my TP2 with AT&T and it works great!!
Google maps got a GPS lock in just a few secs INSIDE!
Thanks for sharing!
Interesting ... there is a t-mobile section where specific ip address ranges and t-mobile servers are written to the registry, so buyer beware on that front.
Best regards,
-boggsie
Code:
<?xml version="1.0" encoding="utf-8"?>
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\System\CurrentControlSet\GPS Intermediate Driver">
<parm name="OldLogFile" value="" datatype="string" />
<parm name="MaxLogFileSize" value="0" datatype="integer" />
<parm name="CurrentLogFile" value="\windows\GPSLogFile.txt" datatype="string" />
<parm name="IsEnabled" value="1" datatype="integer" />
</characteristic>
<characteristic type="HKLM\System\CurrentControlSet\GPS Intermediate Driver\Drivers">
<parm name="MaxBufferSize" value="512" datatype="integer" />
<parm name="SleepOnNoData" value="100" datatype="integer" />
<parm name="OutputBufferSize" value="512" datatype="integer" />
<parm name="InputBufferSize" value="512" datatype="integer" />
<parm name="RetryWaitOnError" value="3" datatype="integer" />
<parm name="CurrentDriver" value="GPSOneDevice" datatype="string" />
</characteristic>
<characteristic type="HKLM\System\CurrentControlSet\GPS Intermediate Driver\Drivers\GPSOneDevice">
<parm name="PollInterval" value="100" datatype="integer" />
<parm name="Version" value="2" datatype="integer" />
<parm name="CommPort" value="GPS0:" datatype="string" />
<parm name="DriverName" value="GPS Device Driver" datatype="string" />
<parm name="FriendlyName" value="QualComm GpsOne Card, version 0.0" datatype="string" />
<parm name="InterfaceType" value="POLL" datatype="string" />
</characteristic>
<characteristic type="HKLM\System\CurrentControlSet\GPS Intermediate Driver\Drivers\GPSOneEmulate">
<parm name="Filex" value="\windows\GPSOneFileSimulation.txt" datatype="string" />
<parm name="FriendlyName" value="QualComm GpsOne File, version 0.0" datatype="string" />
<parm name="InterfaceType" value="File" datatype="string" />
</characteristic>
<characteristic type="HKLM\System\CurrentControlSet\GPS Intermediate Driver\Drivers\GPSOnePort">
<parm name="CommPort" value="GPD10:" datatype="string" />
<parm name="FriendlyName" value="QualComm GpsOne Card, version 0.0" datatype="string" />
<parm name="InterfaceType" value="COMM" datatype="string" />
</characteristic>
<characteristic type="HKLM\System\CurrentControlSet\GPS Intermediate Driver\Multiplexer">
<parm name="DriverInterface" value="COM4:" datatype="string" />
</characteristic>
<characteristic type="HKLM\System\CurrentControlSet\GPS Intermediate Driver\Multiplexer\ActiveDevice">
<parm name="Index" value="4" datatype="integer" />
<parm name="Prefix" value="COM" datatype="string" />
<parm name="Context" value="305414496" datatype="integer" />
<parm name="Flags" value="2" datatype="integer" />
<parm name="Keep" value="1" datatype="integer" />
<parm name="Dll" value="GPSID_HTC.dll" datatype="string" />
</characteristic>
<characteristic type="HKLM\Software\HTC\SUPL AGPS">
<parm name="ServerIP" value="10.176.29.225" datatype="string" />
<parm name="DynamicURL" value="lbs.geo.t-mobile.com" datatype="string" />
<parm name="TLSHostName" value="lbs.geo.t-mobile.com" datatype="string" />
<parm name="ServerURL" value="lbs.geo.t-mobile.com" datatype="string" />
<parm name="GPSMode" value="2" datatype="integer" />
<parm name="EnableAGPS" value="1" datatype="integer" />
<parm name="Network" value="T-Mobile Data" datatype="string" />
<parm name="GPRSConnection" value="T-Mobile Data" datatype="string" />
<parm name="PrivacyMethod" value="3" datatype="integer" />
<parm name="EnabledPrivacyMethod" value="1" datatype="integer" />
<parm name="CloseConfirmMsgTime" value="60" datatype="integer" />
<parm name="EnableLocInfo" value="1" datatype="integer" />
<parm name="ServerPort" value="7275" datatype="integer" />
<parm name="QosPerformance" value="89" datatype="integer" />
<parm name="QoSAccuracy" value="50" datatype="integer" />
<parm name="TimeBetweenFixes" value="1" datatype="integer" />
<parm name="NumberFixes" value="999999999" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Software\HTC\SUPL AGPS\DefaultSetting">
<parm name="EnableAGPS" value="1" datatype="integer" />
<parm name="CloseConfirmMsgTime" value="60" datatype="integer" />
<parm name="PrivacyMethod" value="0" datatype="integer" />
<parm name="EnableLocInfo" value="1" datatype="integer" />
</characteristic>
<characteristic type="HKLM\SOFTWARE\HTC\QuickGPS">
<parm name="EnableMultiCertData" value="1" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Drivers\BuiltIn\RIL">
<parm name="AGPSNVSetting" value="1" datatype="integer" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
Slick. Looks like a cab for most of the settings in the stickied tips thread with some T-Mobile specific aGPS settings. I'll have to try it out, thanks!
I'm glad it's useful!
It's probably worth mentioning that I'm using the .57 radio that came stock in the tmo 6.5 ROM, I'm sure it's part of the combination that makes this work so well...some users have reported improved GPS performance just from switching to that radio.
Thanks for dissecting that boggsie, it looks like it gets in there pretty deep. I honestly haven't been able to backtrack to where I found the cab, I just saw it in a drive-by reading of some thread, and thought it would be good to grab it...guess I was right
The next thing I'd like to know is if this would work the same on the (tmo) HD2...I hope to have one in the next few days, and I don't yet know if all the driver/registry settings it changes apply the same to that phone. If anybody here can answer that, please do...otherwise I'll post it over in that forum for somebody to look at or test
Confirmed Second Success On ATT TP2 GPS
I also got a lock within 5 seconds indoors upon opening Google Maps. Thanks again...This is definately a keeper.
dare i install on my tilt 2 to lower the lock time to under 2 minutes... my att agps settings cab never worked right. at first i thought my gps was broken. i swear the stock att rom did better than the stock htc.
sirphunkee said:
Let me start off by saying that the tweak I used is labeled as being for T-mobile...I don't know if it will make any difference for any other carriers since I can't test, but it made a HUGE difference in my GPS lock times. I can't say if it makes any difference in accuracy, since my GPS already seemed to be plenty accurate, it just took waaaay too long to get a lock before, if at all.
Sorry is T mobile 3g or cdma? as if 3g will give a shot
I only recently upgraded to WM6.5, and I hadn't yet bothered to mess with the GPS much until today. Up until now, it would take up to 30 seconds to get a lock while I was outdoors, and indoor locks (or even in a vehicle) would take much longer, or just never happen.
6.1 was rock solid for GPS lock (talking under 10 sec cold start) but now on 6.5 and has been not at all .. Acquiring Satellites is the most frequent message here in Australia Have HTC trying to find a solution but they sent a cab and its not working well ... started GPS 20 times today and only managed 3 locks, which was really 1 as did not turn off from first destination
Click to expand...
Click to collapse
palah said:
Sorry is T mobile 3g or cdma? as if 3g will give a shot
Click to expand...
Click to collapse
T-Mobile is GSM (i.e., NOT CDMA).
Eleazar Bendixen said:
I tried it out tonight on my TP2 with AT&T and it works great!!
Google maps got a GPS lock in just a few secs INSIDE!
Thanks for sharing!
Click to expand...
Click to collapse
8526WM6 said:
I also got a lock within 5 seconds indoors upon opening Google Maps. Thanks again...This is definately a keeper.
Click to expand...
Click to collapse
Are the both of you just loading the 'FF Google aGPS Settings Generic.cab' or are you also loading the 'Wordsmith9091 T-Mobile GPS Fix.cab'?
I'm also on AT&T, so I'm curious to learn if the T-Mobile cab would be beneficial to me, despite it being T-Mo specific.
Thanks,
Debbie
I am curious also. Stock 6.1 lock time is alot better then my current flashed rom. I think i may bite the bullet and try. Ill let you guys know if it works
rajb1031 said:
I am curious also. Stock 6.1 lock time is alot better then my current flashed rom. I think i may bite the bullet and try. Ill let you guys know if it works
Click to expand...
Click to collapse
I'm using Stock US Tmo ROM, and it definitely speeded up my satellite acquisition time. Good programs!
More than likely your device is always tracking your position now, so when these other apps start your position is already known. This could reduce battery life.
oisact said:
More than likely your device is always tracking your position now, so when these other apps start your position is already known. This could reduce battery life.
Click to expand...
Click to collapse
Any way we could look to confirm if it's doing that? I for one don't have any gps icon on my notification bar. However, when gmaps opens, it initially shows 0 satellites locked, for the first second or so, even after the aGPS link is established, so I dunno if that disproves that theory or not.
I tried it on wm 6.5 standard at&t rom and it actually slowed my lock times. Uninstalled it and now the lock is within 5 seconds, much faster than before I installed/uninstalled this .cab. Not sure what it did or did not change in the registry, but it sure slowed my lock times in tomtom, copilot 8 and google maps. Not sure this will work for anyone other than T Mobile, and certainly did not help my AT&T Tilt2.

[Q] Help: Samsung epic not viewing apps in android market

So I recently made an android app and published it to the market. However, when i search for my app on my Samsung epic 4g it doesnt show up. I know the app is there and it says that i have published it, but it doesnt appear on my epic. Any ideas why this is? In the manifest of the app i set the minSdkVersion to 5 so it shouldnt filter it out right? is there something special i have to add to the manifest for it to see my app? I would appreciate any help. my current manifest looks like this:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android=----
package="send.text.fast"
android:versionCode="2"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="5" />
<uses-permission android:name="android.permission.SEND_SMS"> </uses-permission>
<uses-permission android:name="android.permission.READ_CONTACTS"> </uses-permission>
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<supports-screens android:smallScreens="true"
android:normalScreens="true" android:largeScreens="true"
android:anyDensity="true">
</supports-screens>
<activity
android:name=".Main"
android:label="@string/app_name"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
android:label="@string/app_name"
app_name = don't you have to put the name of the app there? i know html is different, but usually when you didn't do something simple like that, i would get that kind of problem with a webpage. what if you tried doing that?

Categories

Resources