[Touch HD General] jldiablo:
Hi there,

this makes me crazy, I was trying to make a xml provisioning file for my GPRS settings (O2 UK pay as you go) as the settings from connection setup are not correct...

The correct one is:

APN: payandgo.o2.co.uk

Name: payandgo

Password: password

Proxy:

HTTP: 193.113.200.195:8080

WAP: 193.113.200.195:9201

SOCKS: 193.113.200.195:1080

After spending a lot of times on:

http://xdaforums.com/showthread.php?t=414566

http://wiki.xda-developers.com/index.php?pagename=How to Create a GPRS Connections CAB: XML Method

I came up with the file below:

<wap-provisioningdoc>
<characteristic type="CM_Networks">
<characteristic type="O2 Prepaid Settings">
<parm name="DestId" value="{0112BB3C-ECF5-4dc5-A26D-51A4558CF756}" />
</characteristic>
</characteristic>
<characteristic type="CM_GPRSEntries">
<characteristic type="O2 Prepaid">
<parm name="DestId" value="{0112BB3C-ECF5-4dc5-A26D-51A4558CF756}" />
<parm name="Enabled" value="1" />
<parm name="UserName" value="payandgo" />
<parm name="Password" value="password" />
<parm name="Domain" value="" />
<parm name="SpecificIpAddr" value="0" />
<parm name="IpAddr" value="" />
<parm name="SpecificNameServers" value="0" />
<parm name="DnsAddr" value="" />
<parm name="AltDnsAddr" value="" />
<parm name="WinsAddr" value="" />
<parm name="AltWinsAddr" value="" />
<characteristic type="DevSpecificCellular">
<parm name="GPRSInfoValid" value="1" />
<parm name="GPRSInfoAccessPointName" value="payandgo.o2.co.uk" />
</characteristic>
</characteristic>
</characteristic>
<characteristic type="CM_ ProxyEntries">
<characteristic type="null-corp-{0112BB3C-ECF5-4dc5-A26D-51A4558CF756}">
<parm name="SrcId" value="{0112BB3C-ECF5-4dc5-A26D-51A4558CF756}" />
<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 type="HTTP-{0112BB3C-ECF5-4dc5-A26D-51A4558CF756}">
<parm name="SrcId" value="{0112BB3C-ECF5-4dc5-A26D-51A4558CF756}" />
<parm name="DestId" value="{436EF144-B4FB-4863-A041-8F905A62C572}" />
<parm name="Proxy" value="193.113.200.195:8080" />
<parm name="Type" value="1" />
<parm name="Enable" value="1" />
</characteristic>
<characteristic type="WAP-{0112BB3C-ECF5-4dc5-A26D-51A4558CF756}">
<parm name="SrcId" value="{0112BB3C-ECF5-4dc5-A26D-51A4558CF756}" />
<parm name="DestId" value="{7022E968-5A97-4051-BC1C-C578E2FBA5D9}" />
<parm name="Proxy" value="193.113.200.195:9201" />
<parm name="Type" value="2" />
<parm name="Enable" value="1" />
</characteristic>
<characteristic type="WTLS-{0112BB3C-ECF5-4dc5-A26D-51A4558CF756}">
<parm name="SrcId" value="{0112BB3C-ECF5-4dc5-A26D-51A4558CF756}" />
<parm name="DestId" value="{F28D1F74-72BE-4394-A4A7-4E296219390C}" />
<parm name="Proxy" value="193.113.200.195:9203" />
<parm name="Type" value="3" />
<parm name="Enable" value="1" />
</characteristic>
<characteristic type="SOCKS-{0112BB3C-ECF5-4dc5-A26D-51A4558CF756}">
<parm name="SrcId" value="{0112BB3C-ECF5-4dc5-A26D-51A4558CF756}" />
<parm name="DestId" value="{436EF144-B4FB-4863-A041-8F905A62C572}" />
<parm name="Proxy" value="193.113.200.195:1080" />
<parm name="Type" value="4" />
<parm name="Enable" value="1" />
</characteristic>
</characteristic>
<characteristic type="CM_Planner">
<characteristic type="PreferredConnections">
<parm name="{436EF144-B4FB-4863-A041-8F905A62C572}" value="{0112BB3C-ECF5-4dc5-A26D-51A4558CF756}"/>
<parm name="{A1182988-0D73-439e-87AD-2A5B369F808B}" value=""/>
<parm name="{7022E968-5A97-4051-BC1C-C578E2FBA5D9}" value=""/>
</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="O2 MMS" datatype="string"/>
<parm name="MmscURI" value="http://mmsc.mms.o2.co.uk:8002" datatype="string"/>
<parm name="Gateway" value="193.113.200.195" datatype="string"/>
<parm name="GatewayPort" value="9201" datatype="integer"/>
<parm name="waptype" value="0" datatype="integer"/>
<parm name="SendDefault" value="307200" datatype="integer"/>
<parm name="ConnectionVia" value="{0112BB3C-ECF5-4dc5-A26D-51A4558CF756}" 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>
</wap-provisioningdoc>

I use SASHIMI to provision the file...it did go thru.. the MMS part is ok...GPRS is partly ok with the APN, user name and password went to the right place..

But nothing goes to the Proxy part, there is a check in the "this network connects to the Internet" under the new setting but "this network uses a proxy server to connect to the Internet" is unchecked and nothing in the proxy server field..

and also, the <characteristic type="CM_Planner"> doesn't seem to work as well, under network management, "auto connect to the internet" part still stays with the default "My ISP" but not the new setting..

btw, I'm on a wm 6.5 ROM (Topix 3.3)

Can anyone help me to check my code and shine some light on me plz!!! thanks a lot and happy new year