[Windows Mobile Software Development] twopumpchump:
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 :D 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 :D

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 :D 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.

<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.