Anyone tried OTA provisioning xml/wbxml on a smartphone/ppc? - Windows Mobile Development and Hacking General

I have a working xml script that works just fine from the pc to the phone...
But now I want to send it OTA(over the air) to my phone.(qtek9090 atm)
Have anyone tried that here?
I am looking for an easy solution to send it as a file preferably from a pc.
I have looked into binary sms´s and converting the xml to hex...but its a little bit to messy for my tase
and also is not something you do easy.(headers + subheaders and the a nice working port for the phone to recieve and splitting up ur code in nice little chunks to come within the sms boundraries....all in hex...not somethign u do on a coffebreak)
So is there a product that can do this "out of the box"??
oh and not to expensive hehe free if possible!
I ahve also gotten it to compile into wbxml...but I cant verify that its working before I can send it OTA....
anyone????

Hi All,
I tried OTA to XDA IIs phone. I received settngs and the phone displays settings updated successfully. But if i go to connections page .,i didn't see any settings.,but if i do autoconfig.,then NAP,Proxy settings are coming.,but NAP full details are coming and Proxy Information is not coming.
Please find the profile i used for OTA below:
<wap-provisioningdoc>
<characteristic type="BOOTSTRAP">
<parm name="NAME" value="GDWAP"/>
</characteristic>
<characteristic type="PXLOGICAL">
<parm name="PROXY-ID" value="proxy"/>
<parm name="NAME" value="GWAP"/>
<parm name="STARTPAGE" value="http://www.google.com"/>
<characteristic type="PXPHYSICAL">
<parm name="PHYSICAL-PROXY-ID" value="PROXY 3"/>
<parm name="DOMAIN" value="www.google.com"/>
<parm name="PXADDR" value="192.24.97.4"/>
<parm name="PXADDRTYPE" value="IPV4"/>
<parm name="TO-NAPID" value="NAP-INFO"/>
<characteristic type="PORT">
<parm name="PORTNBR" value="9203"/>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="NAPDEF">
<parm name="NAPID" value="NAP-INFO"/>
<parm name="BEARER" value="GSM-GPRS"/>
<parm name="NAME" value="dhimobile"/>
<parm name="NAP-ADDRESS" value="wap.mobile"/>
<parm name="NAP-ADDRTYPE" value="APN"/>
<characteristic type="NAPAUTHINFO">
<parm name="AUTHTYPE" value="PAP"/>
<parm name="AUTHNAME" value="wap"/>
<parm name="AUTHSECRET" value="wap123"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
Please let me know if any problem in the profile.
Regards,
Pavan

Related

OTA Provisioning on XDA

Hi All,
I tried OTA(using OMA Specification) to XDA IIs phone. I received settngs and the phone displays settings updated successfully. But if i go to connections page .,i didn't see any settings.,but if i do autoconfig.,then NAP,Proxy settings are coming.,but NAP full details are coming and Proxy Information is not coming.
Please find the profile i used for OTA below:
<wap-provisioningdoc>
<characteristic type="BOOTSTRAP">
<parm name="NAME" value="GDWAP"/>
</characteristic>
<characteristic type="PXLOGICAL">
<parm name="PROXY-ID" value="proxy"/>
<parm name="NAME" value="GWAP"/>
<parm name="STARTPAGE" value="http://www.google.com"/>
<characteristic type="PXPHYSICAL">
<parm name="PHYSICAL-PROXY-ID" value="PROXY 3"/>
<parm name="DOMAIN" value="www.google.com"/>
<parm name="PXADDR" value="192.24.97.4"/>
<parm name="PXADDRTYPE" value="IPV4"/>
<parm name="TO-NAPID" value="NAP-INFO"/>
<characteristic type="PORT">
<parm name="PORTNBR" value="9203"/>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="NAPDEF">
<parm name="NAPID" value="NAP-INFO"/>
<parm name="BEARER" value="GSM-GPRS"/>
<parm name="NAME" value="dhimobile"/>
<parm name="NAP-ADDRESS" value="wap.mobile"/>
<parm name="NAP-ADDRTYPE" value="APN"/>
<characteristic type="NAPAUTHINFO">
<parm name="AUTHTYPE" value="PAP"/>
<parm name="AUTHNAME" value="wap"/>
<parm name="AUTHSECRET" value="wap123"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
Please let me know if any problem in the profile.
Regards,
Pavan

Adding Profiles (Smartphone)

I'd like to add a new profile to my Smartphone (Qtek8310), so I can have different sound settings when I'm on Call during the night. Since there is no "Add Profile" in the profiles.exe app I added a registry key and values:
[HKEY_CURRENT_USER\ControlPanel\Profiles\Pikett]
"Order"=dword:00000009
"Name"="Pikett"
"LocName"="Pikett"
Now profiles.exe shows me an entry called "Pikett", but I can not edit the sound settings, because this screen is empty.
Does anyone know where those profile settings are saved and if there is a way to add settings for a new profile?
I added Pikett.prof.xml to \Application Data\Profiles\ which I copied from Normal.prof.xml and edited it this way:
<characteristic type="Normal"><characteristic type="Registry">
<characteristic type="HKCU\ControlPanel\Profiles\Pikett">
<parm name="Name" value="Pikett"/>
</characteristic>
</characteristic>
<characteristic type="Sounds">
<parm name="RingTypeAll" value="apw3r"/>
</characteristic>
<characteristic type="Registry">
<characteristic type="HKCU\ControlPanel\SoundCategories">
<characteristic type="Ring">
<parm name="InitVol" value="1"/>
</characteristic>
<characteristic type="Alarm">
<parm name="Script" value="pw10pw10c110pw10c110pw30c110pw30c110pw30c110pw120c110pw300c110p"/>
<parm name="InitVol" value="1"/>
</characteristic>
<characteristic type="Notification">
<parm name="Script" value="p"/>
<parm name="InitVol" value="1"/>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="Sounds">
<characteristic type="System">
<parm name="InitVol" value="1"/>
</characteristic>
</characteristic>
</characteristic>
Now editing the sound profile works, but selecting the new "Pikett" entry results in switching back to the normal profile after 1 second.
Does anyone know how to "establish" this new profile?

Restoring Wi-Fi settings after hard reset

Hi all,
I would love to restore my WiFi settings from a hard reset.
I can configure the setup manually with no problem.
I am aware that I need to use XML to do this, and have tried it using Cuccureddu's tips from this thread http://forum.xda-developers.com/show....php?p=1227587 (using provxml) and also tried from _setup.xml in a CAB file: I receive an error saying "Installation of wifi.cab was unsuccessful".
I've tried this with Wifi enabled and Wifi disabled, btw...
How I did it:
- Created a file in Notepad with all my settings, as follows - I went to the MSDN pages as mentioned in cuccureddu's post, as my network uses WEP:
<wap-provisioningdoc>
<characteristic type="CM_WiFiEntries">
<characteristic type="My_SSID">
<parm name="DestID" value="{436EF144-B4FB-4863-A041-8F905A62C572}"/>
</characteristic>
</characteristic>
<characteristic type="Wi-Fi">
<characteristic type="access-point">
<characteristic type="My_SSID">
<parm name="DestId" value="{436EF144-B4FB-4863-A041-8F905A62C572}"/>
<parm name="Encryption" value="4"/>
<parm name="Authentication" value="4"/>
<parm name="NetworkKey" value="My_Network_Key"/>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
Made the cab in the following ways:
1. As stated in the linked post, using .provxml.xml and the MakeCab.exe from Windows XP (with .provxml.xml saved as UTF-8, then Unicode - as another post indicated it should be saved as UTF-8(?!?)).
2. As above, saving .provxml.xml both as UTF-8 and then Unicode, but using the MakeCab.exe from the WM5 SDK.
Makecab.exe /D COMPRESS=OFF .provxml.xml wifi.cab
Note: I transferred the file in all above cases over ActiveSync to my Storage Card, which is where it was run from.
Hmmm...
So, I'm a little stuck... does anybody have any ideas, or want further info?
TIA for any help you can give...
rename your provxml to _setup.xml, then do:
makecab _setup.xml WifiSettings.CAB /v3
Still doesn't work, always give me the following error: "Installation of wifi.cab was unsuccessful". Can someone send me one that is working and let me try it and see if my device is flakey?
Got the same issue, i never get it to work, would be very pleased if this is fixable.
I am using Wifiprofiles app to create diffrent profiles. Once I am in a diffrent wifi network I simply change the profile and my new settings gets applied.
And it supports profile export and import.
<wap-provisioningdoc>
<characteristic type="CM_WiFiEntries">
<characteristic type="YOUR SSID">
<parm name="DestID" value="{436EF144-B4FB-4863-A041-8F905A62C572}"/>
</characteristic>
</characteristic>
<characteristic type="Wi-Fi">
<characteristic type="access-point">
<characteristic type="YOUR SSID">
<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="YOUR NETWORK KEY"/>
<parm name="KeyIndex" value="1"/>
<parm name="Use8021x" value="0"/>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
Save as "_setup.xml"
from the dos prompt type...
makecab /D compress=off _setup.xml WiFi.cab
this just worked for me...
Rick
Hello,
Sorry for refreshing an old topic but I would like to refer to the tutorial posted above. I finally managed to build a cab with my WiFi settings which would install on PDA without problems, but only if I install one network at a time.
What if I would like to restore several WiFi networks. Can it be done with one cab = one provisioning xml only?
I tried several ways (the simpliest was to add particular lines of code one network after another - of course I put everything between the <wap-provisioningdoc></wap-provisioningdoc>) but I can't get the networks to work. The cab says that the installation was unsuccessful and after that both networks are present in the network settings, but without the WPA keys. If only one network is in one cab, then whole configuration is restored without any problem.
Did somebody of you guys managed to find a way to add more configuration options to one working provxml? I wish I could make one cab file with one _setup.xml inside consisting of all my settings for registry, WiFi, e-mail accounts and some other? Or it is better (and/or safer) to make separate cabs (or xmls) for each kind of setting (including separate WiFis)?
TIA for a bit of an explanation...
Best Regards
Skrobel
rjh1 said:
<wap-provisioningdoc>
<characteristic type="CM_WiFiEntries">
<characteristic type="YOUR SSID">
<parm name="DestID" value="{436EF144-B4FB-4863-A041-8F905A62C572}"/>
</characteristic>
</characteristic>
<characteristic type="Wi-Fi">
<characteristic type="access-point">
<characteristic type="YOUR SSID">
<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="YOUR NETWORK KEY"/>
<parm name="KeyIndex" value="1"/>
<parm name="Use8021x" value="0"/>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
Save as "_setup.xml"
from the dos prompt type...
makecab /D compress=off _setup.xml WiFi.cab
this just worked for me...
Rick
Click to expand...
Click to collapse
Thank you. My headache has subsided.

problem with ce5

is it possible to change this >> <parm name="%CE5%\...\*"/>
from "my documents" to "meine Dokumente"??
it is a english rom, and i want to make some cosmetics for german use.
its from wm6.1 mxipupdate_shell_1.provxml
<wap-provisioningdoc>
<characteristic type="DeviceEncryption">
<characteristic type="System">
<characteristic type="EncryptList">
<parm name="%CE5%\...\*"/>
<parm name="%CE20%"/>
<parm name="%CE21%"/>
<parm name="%CE22%\...\*"/>
<parm name="%CE23%\...\*"/>
<parm name="%CE24%\...\*" />
<parm name="\CMSgThreadSorter.vol"/>
</characteristic>
<characteristic type="DoNotEncryptList">
<parm name="\UpdateBin\Packages\...\*"/>
<parm name="\...\user.hv"/>
<parm name="\...\system.hv"/>
<parm name="\...\system.mky"/>
<parm name="\...\default.mky"/>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>

[REQ] Owner Information on Lockscreen?

Hi guys!
Maybe I'm the only one who would appreciate this but can someone make it possible to show owner info on the lockscreen?
I found this registry keys for the owner info but I don't know how to connect them with the lockscreen.
<characteristic type="Registry">
<!-- Owner Info -->
<characteristic type="HKCU\ControlPanel\Owner" translation="filesystem">
<parm name="Owner" datatype="binary" value="52,00,61,00,6D,00,69,00,20,00,41,00,62,00,7 5,00,73,00,68,00,65,00,69,\"/>
<parm name="E-mail" datatype="string" value="[email protected]"/>
<parm name="Telephone" datatype="string" value="(555)-123-4567"/>
<parm name="Name" datatype="string" value="My Name"/>
</characteristic>
</characteristic>
Click to expand...
Click to collapse

Categories

Resources