Hello
I am trying to do a cab file using xml for GPRS/3G setting, I manage to set everything except proxy (by the way I don't know how to get the GUID so I use any) here is my code:
Code:
<wap-provisioningdoc>
<characteristic type="CM_Networks">
<nocharacteristic type="My ISP"/>
<nocharacteristic type="My Work Network"/>
<characteristic type="myisp">
<parm name="DestId" value="{CC300297-CA19-4209-9145-D073F6D662F8}" />
</characteristic>
</characteristic>
<characteristic type="CM_GPRSEntries">
<characteristic type="myisp">
<parm name="DestId" value="{CC300297-CA19-4209-9145-D073F6D662F8}" />
<parm name="Enabled" value="1" />
<parm name="UserName" value="" />
<parm name="Password" value="" />
<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="BearerInfoValid" value="1" />
<parm name="GPRSInfoValid" value="1" />
<parm name="GPRSInfoProtocolType" value="2" />
<parm name="GPRSInfoL2ProtocolType" value="PPP" />
<parm name="GPRSInfoAccessPointName" value="myisp" />
<parm name="GPRSInfoAddress" value="" />
<parm name="GPRSInfoDataCompression" value="1" />
<parm name="GPRSInfoHeaderCompression" value="1" />
<parm name="GPRSInfoParameters" value="" />
</characteristic>
</characteristic>
</characteristic>
<characteristic type="CM_ProxyEntries">
<nocharacteristic type="CM_ProxyEntries" />
<!-- <characteristic type="HTTP-{458FFA30-65BC-4525-A66B-6163E220EAB9}">
<parm name="Proxy" value="ip:port" />
<parm name="Type" value="1" />
<parm name="Enable" value="1" />
</characteristic>
</characteristic>
-->
<characteristic type="HTTP-{601D5133-3344-4B5F-B105-C57EF2D97E0D}">
<parm name="SrcId" value="{601D5133-3344-4B5F-B105-C57EF2D97E0D}" />
<parm name="DestId" value="{436EF144-B4FB-4863-A041-8F905A62C572}" />
<parm name="Proxy" value="ip:port" />
<parm name="Type" value="1" />
<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="myisp" />
</characteristic>
</characteristic>
-->
</wap-provisioningdoc>
I have the ip and port. so can anybody tell me wut is wrong with the proxy part as it is the only thing which is not set
thanx
have a look here, configs for just about every operator are in xml format, maybe you can deconstruct one of these to find your answer
http://forum.xda-developers.com/showthread.php?t=303046
Related
Can someone, post a .XML or .CAB file that succeds installing his Operator settings on the Qtek9000/Jasjar?
I've tried the one caming at i-mate JasJar ExtROM, but it doesn't work (connections part).
Guess, some details syntax/keys changed, and the file was not properly updated.
Maybe I can fix it by comparation with something that works.
Here's what I use for T-Mobile USA. Hope it helps. Just change the keys to your operator settings.
<wap-provisioningdoc>
<characteristic type="CM_ProxyEntries">
<characteristic type="WAP-{18AD9FBD-F716-ACB6-FD8A-1965DB95B814}">
<parm name="SrcId" value="{18AD9FBD-F716-ACB6-FD8A-1965DB95B814}" />
<parm name="DestId" value="{7022E968-5A97-4051-BC1C-C578E2FBA5D9}" />
<parm name="Proxy" value="216.155.165.50:9201" />
<parm name="Type" value="2" />
<parm name="Enable" value="1" />
</characteristic>
</characteristic>
<characteristic type="CM_GPRSEntries">
<characteristic type="T-Zones GPRS">
<parm name="DestId" value="{ADB0B001-10B5-3F39-27C6-9742E785FCD4}" />
<parm name="Enabled" value="1" />
<parm name="UserName" value="" />
<parm name="Password" value="" />
<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="BearerInfoValid" value="1" />
<parm name="GPRSInfoValid" value="1" />
<parm name="GPRSInfoProtocolType" value="2" />
<parm name="GPRSInfoL2ProtocolType" value="PPP" />
<parm name="GPRSInfoAccessPointName" value="internet2.voicestream.com" />
<parm name="GPRSInfoAddress" value="" />
<parm name="GPRSInfoDataCompression" value="1" />
<parm name="GPRSInfoHeaderCompression" value="1" />
<parm name="GPRSInfoParameters" value="" />
</characteristic>
</characteristic>
<characteristic type="T-Mobile WAP">
<parm name="DestId" value="{18AD9FBD-F716-ACB6-FD8A-1965DB95B814}" />
<parm name="Enabled" value="1" />
<parm name="UserName" value="" />
<parm name="Password" value="" />
<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="BearerInfoValid" value="1" />
<parm name="GPRSInfoValid" value="1" />
<parm name="GPRSInfoProtocolType" value="2" />
<parm name="GPRSInfoL2ProtocolType" value="PPP" />
<parm name="GPRSInfoAccessPointName" value="wap.voicestream.com" />
<parm name="GPRSInfoAddress" value="" />
<parm name="GPRSInfoDataCompression" value="1" />
<parm name="GPRSInfoHeaderCompression" value="1" />
<parm name="GPRSInfoParameters" value="" />
</characteristic>
</characteristic>
</characteristic>
<characteristic type="Registry">
<characteristic type="HKLM\Software\CDL">
<parm name="Operator" value="T-Mobile Internet US" datatype="string"/>
<parm name="Version" value="2.0" datatype="string"/>
</characteristic>
</characteristic>
<characteristic type="Registry">
<nocharacteristic type="HKLM\Software\Apps\i-mate T-Mobile Internet US"/>
<nocharacteristic type="HKLM\Security\AppInstall\i-mate T-Mobile Internet US"/>
<nocharacteristic type="HKLM\Security\AppInstall\i-mate T-Mobile Internet US\ExecutableFiles"/>
</characteristic>
Anyone know what this cab in the Qtek Ext Rom does?...
MP_mHub_WWE_051226.CAB
Thanks in advance to whoever has the answer
Code:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKCR\3gpfile\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Videos" translation="filesystem" />
</characteristic>
<characteristic type="HKCR\mp4file\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Videos" translation="filesystem" />
</characteristic>
<characteristic type="HKCR\avifile\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Videos" translation="filesystem" />
</characteristic>
<characteristic type="HKCR\m4afile\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Music" translation="filesystem" />
</characteristic>
<characteristic type="HKCR\m4vfile\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Videos" translation="filesystem" />
</characteristic>
<characteristic type="HKCR\wavfile\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Music" translation="filesystem" />
</characteristic>
<characteristic type="HKCR\midifile\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Music" translation="filesystem" />
</characteristic>
<characteristic type="HKCR\amrfile\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Music" translation="filesystem" />
</characteristic>
<characteristic type="HKCR\awbfile\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Music" translation="filesystem" />
</characteristic>
<characteristic type="HKCR\bmpimage\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Pictures" translation="filesystem" />
</characteristic>
<characteristic type="HKCR\wbmpimage\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Pictures" translation="filesystem" />
</characteristic>
<characteristic type="HKCR\gifimage\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Pictures" translation="filesystem" />
</characteristic>
<characteristic type="HKCR\jpegimage\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Pictures" translation="filesystem" />
</characteristic>
<characteristic type="HKCR\pngimage\Shell\Save\Save Location" translation="filesystem" >
<parm name="Default" datatype="string" value="My Pictures" translation="filesystem" />
</characteristic>
<characteristic type="HKLM\SOFTWARE\OEM\3rdversion\mHub" translation="filesystem" >
<parm name="Version" datatype="string" value="v6.0.2.x.8" translation="filesystem" />
<parm name="Customer" datatype="string" value="Generic" translation="filesystem" />
<parm name="Language" datatype="string" value="PTG" translation="filesystem" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
Appears mainly to set default saving locations for a bunch of multimedia filetypes, and the last bit presumably makes one of the qtek apps work right.
I trying to setup a pop3 email account in the Tmobile dash using client provisioning. The Tmobile is using the version wm5.
Can anyone help me verify whether the folllowing doc is correct or not?
<?xml version="1.0"?>
<!DOCTYPE wap-provisioningdoc PUBLIC "-//WAPFORUM//DTD PROV 1.0//EN" "http://www.wapforum.org/DTD/prov.dtd">
<wap-provisioningdoc version="1.1">
<characteristic type="NAPDEF">
<parm name="NAPID" value="airtelgprs.com"/>
<parm name="BEARER" value="GSM-GPRS"/>
<parm name="NAME" value="Airtel GPRS"/>
<parm name="INTERNET"/>
<parm name="NAP-ADDRESS" value="airtelgprs.com"/>
<parm name="NAP-ADDRTYPE" value="APN"/>
<characteristic type="NAPAUTHINFO">
<parm name="AUTHTYPE" value="PAP"/>
</characteristic>
</characteristic>
<characteristic type="EMAIL2">
<parm name="SERVICENAME" value="Mymail"/>
<parm name="INSERVER" value="pop.gmail.com"/>
<parm name="OUTSERVER" value="smtp.gmail.com"/>
<parm name="NAME" value="nmotive"/>
<parm name="AAUTHNAME" value="nmotive"/>
<parm name="AAUTHSECRET" value="*******"/>
<parm name="DOMAIN" value=""/>
<parm name="REPLYADDR" value="[email protected]"/>
<parm name="AUTHREQUIRED" value="1"/>
<characteristic type="TAGPROPS">
<parm name="8128000B" value="1"/>
<parm name="812C000B" value="1"/>
</characteristic>
</characteristic>
<characteristic type="APPLICATION">
<parm name="APPID" value="BROWSER"/>
<parm name="TO-NAPID" value="airtelgprs.com"/>
<characteristic type="RESOURCE">
<parm name="NAME" value="Home"/>
<parm name="URI" value="http://www.google.com"/>
<parm name="STARTPAGE"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
I just started my development in mobile applications recently, so any tips or docs which can help me is most welcome.
Hope someone would answer to me.
Thanks in adavance,
nmotive.
UC and similar methods help in easy installation of cabs after rom flashes. I also use a xml method to set my favourite registry settings - sms delivery receipt, no automatic time zone, etc. I have not been able to figure out a way to preserve the following things across rom flashes.
a. Wireless settings (I have no-broadcast wlans in the places that I frequent and need to add these manually)
b. email accounts (My company lets me access company email with IMAP over SSL. I end up doing this manually after every flash.)
c. GPRS settings (Network wizard helps, but I still need to select the country and the provider)
Any pointers are appreciated.
kernelguy
Wifi
Provisioning with IMAP example
For AirTel try:
Code:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKCU\ControlPanel\PhoneExtendFunction">
<parm name="GPRSAuthenticationMethod" datatype="integer" value="1" />
<parm name="CBSTCe" datatype="integer" value="0" />
<parm name="CBSTSpeed" datatype="integer" value="7" />
</characteristic>
<characteristic type="HKLM\Comm\ConnMgr\Planner\Settings" >
<parm name="SuspendResume" datatype="multiplestring" value="~GPRS!" />
<parm name="RetryCount" datatype="integer" value="3" />
</characteristic>
<characteristic type="HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings">
<parm name="EnableAutoDetect" value="1" datatype="integer" />
<parm name="ConnMgrExternalPath" datatype="binary" value="RPFuQ/u0Y0igQY+QWmLFcg==" />
</characteristic>
<characteristic type="HKLM\Comm\Cellular\CellTsp">
<parm name="DisableCPHSOverride" datatype="integer" value="0" />
</characteristic>
<characteristic type="HKLM\Software\HTC\RIL\RILConfig">
<parm name="EnableSpnOnsEonsFeature" datatype="integer" value="1" />
</characteristic>
<characteristic type="HKLM\Software\Tao\intent\network">
<parm name="DefaultNetwork" value="{FE87523A-32FE-42f5-9FDB-81E96EA54D30}" datatype="string" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
and:
Code:
<wap-provisioningdoc>
<characteristic type="CM_Networks">
<characteristic type="AirTel Internet Settings">
<parm name="DestId" value="{128CD846-1169-4130-8551-F9DF71095F77}"/>
</characteristic>
</characteristic>
<characteristic type="CM_Networks">
<characteristic type="AirTel WAP Settings">
<parm name="DestId" value="{FE87523A-32FE-42f5-9FDB-81E96EA54D30}"/>
</characteristic>
</characteristic>
<characteristic type="CM_Networks">
<characteristic type="AirTel MMS Settings">
<parm name="DestId" value="{1D1FEBF0-AC0B-4ec2-B6A2-7113A0BC0F87}"/>
</characteristic>
</characteristic>
<characteristic type="CM_GPRSEntries">
<characteristic type="AirTel GPRS">
<parm name="DestId" value="{128CD846-1169-4130-8551-F9DF71095F77}"/>
<parm name="UserName" value=""/>
<parm name="Password" value=""/>
<parm name="AlwaysOn" value=""/>
<characteristic type="DevSpecificCellular">
<parm name="GPRSInfoValid" value="1"/>
<parm name="GPRSInfoAccessPointName" value="airtelgprs.com"/>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="CM_GPRSEntries">
<characteristic type="AirTel WAP (GPRS)">
<parm name="DestId" value="{FE87523A-32FE-42f5-9FDB-81E96EA54D30}"/>
<parm name="UserName" value=""/>
<parm name="Password" value=""/>
<parm name="AlwaysOn" value=""/>
<characteristic type="DevSpecificCellular">
<parm name="GPRSInfoValid" value="1"/>
<parm name="GPRSInfoAccessPointName" value="airtelgprs.com"/>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="CM_GPRSEntries">
<characteristic type="AirTel MMS">
<parm name="DestId" value="{1D1FEBF0-AC0B-4ec2-B6A2-7113A0BC0F87}"/>
<parm name="UserName" value=""/>
<parm name="Password" value=""/>
<parm name="AlwaysOn" value=""/>
<characteristic type="DevSpecificCellular">
<parm name="GPRSInfoValid" value="1"/>
<parm name="GPRSInfoAccessPointName" value="airtelmms.com"/>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="CM_ProxyEntries">
<characteristic type="HTTP-{128CD846-1169-4130-8551-F9DF71095F77}">
<parm name="SrcId" value="{128CD846-1169-4130-8551-F9DF71095F77}"/>
<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="WAP-{FE87523A-32FE-42f5-9FDB-81E96EA54D30}">
<parm name="SrcId" value="{FE87523A-32FE-42f5-9FDB-81E96EA54D30}"/>
<parm name="DestId" value="{7022E968-5A97-4051-BC1C-C578E2FBA5D9}"/>
<parm name="Proxy" value="202.56.231.117:9201"/>
<parm name="Type" value="2"/>
<parm name="Enable" value="1"/>
</characteristic>
</characteristic>
<characteristic type="CM_ProxyEntries">
<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="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="AirTel Internet Settings"/>
<parm name="{A1182988-0D73-439e-87AD-2A5B369F808B}" value=""/>
<parm name="{7022E968-5A97-4051-BC1C-C578E2FBA5D9}" value=""/>
</characteristic>
</characteristic>
<characteristic type="Registry">
<characteristic type="HKCU\ControlPanel\PhoneExtendFunction">
<parm name="GPRSAuthenticationMethod" value="1" 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="AirTel MMS" datatype="string"/>
<parm name="MmscURI" value="http://100.1.201.171:10021/mmsc" datatype="string"/>
<parm name="Gateway" value="100.1.201.172" 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="{1D1FEBF0-AC0B-4ec2-B6A2-7113A0BC0F87}" datatype="string"/>
<parm name="WAP1SendDefaultSize" value="102400" datatype="integer"/>
<parm name="WAP2SendDefaultSize" value="307200" datatype="integer"/>
<parm name="ISP" value="SampleMMSC" datatype="string"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
Funky B said:
Wifi
Provisioning with IMAP example
For AirTel try:
...
Click to expand...
Click to collapse
Wow, that is neat! I am kicking myself for missing these posts in the UC thread. Thanks a lot for the pointers, and to the whole code for Airtel setup.
kernelguy
Hi everyone,
I'm just wondering if somebody here could help me out. For WM6.1 I'm thinking of creating a preconfigured-IMAP4 or POP3 email account and make it unremovable, i mean the Delete option is grayed out when a user wnats to delete it. Creating the pre-configured account is possible through:
<characteristic type="APPLICATION">
<parm name="APPID" value="110" />
<parm name="PROVIDER-ID" value="MyPOPMail" />
<parm name="TO-NAPID" value="IAP1" />
<characteristic type="APPADDR">
<parm name="ADDR" value="pop.mail.com" />
<characteristic type="PORT">
<parm name="PORTNBR" value="110" />
</characteristic>
</characteristic>
<characteristic type="APPAUTH">
<parm name="AAUTHNAME" value="IncomingName" />
<parm name="AAUTHSECRET" value="Password" />
</characteristic>
</characteristic>
<characteristic type="APPLICATION">
<parm name="APPID" value="25" />
<parm name="PROVIDER-ID" value="MyPOPMail" />
<parm name="TO-NAPID" value="IAP1" />
<parm name="FROM" value="[email protected]" />
<characteristic type="APPADDR">
<parm name="ADDR" value="out.mail.com" />
<characteristic type="PORT">
<parm name="PORTNBR" value="25" />
</characteristic>
</characteristic>
<characteristic type="APPAUTH">
<parm name="AAUTHNAME" value="OutgoingName" />
<parm name="AAUTHSECRET" value="Password" />
</characteristic>
</characteristic>
But how can you make it undeletable/unremovable? Is there any experts who's up to the challenege?