Hi everyone!
I found following tweaks in Schaps settings.xml:
<!-- Improve Bluetooth A2DP settings -->
<characteristic type="Registry">
<characteristic type="HKLM\Software\Microsoft\Bluetooth\A2DP\Settings" translation="filesystem" >
<parm name="UseJointStereo" datatype="integer" value="1" />
<parm name="BitPool" datatype="integer" value="86" />
<parm name="MaxSupportedBitPool" datatype="integer" value="86" />
<parm name="SampleRate" datatype="integer" value="48000" />
</characteristic>
</characteristic>
The question:
I would like to follow hardcore's recommendations and delete all bitpool keys automatically via settings.xml.
Simply removing them from the file doesn't help.
What's the right way to let settings.xml remove reg keys??
Thanks a lot
Raist
raistlin2k said:
What's the right way to let settings.xml remove reg keys??
Click to expand...
Click to collapse
Recook the ROM with the updated settings.xml.
thanks for your reply.
I know that I have to recook the rom, but some default bitpool setting is in the registry when i simply delete the keys in the settings.xml.
So is there a way to remove keys from the registry via settings.xml?
Raist
Try using the "noparm" element:
<characteristic type="Registry">
<characteristic type="HKLM\Software\Microsoft\Bluetooth\A2DP\Settings" translation="filesystem" >
<noparm name="BitPool" />
<noparm name="MaxSupportedBitPool" />
</characteristic>
</characteristic>
You could always tweak/remove the offending reg entries in the source rgu prior to cooking...
Related
OK, so I've searched the Wiki & the forums, Googled other forums, waded through MSDN documents, tried multiple methods using makecab and WinCE Cab Manager, and I'm still unable to create a working CAB file that successfully applies customizations via the registry.
What I have are various XML files with the customizations I'd like to implement by creating one CAB I can call after hard resetting. The device of interest is an HTC Hermes running LWSV WM6, latest rom. Basically, at this point I need a "make CAB file from XML files" tutorial. I found the one in the Wiki here but the part I needed on the 2nd page hasn't been written.
Any kind soul willing to give me a hand?
TIA,
denali
Well, it would be easier to help you if you told us what is the specific problem you are running in to.
- Does makecab.exe fail to create a cab with your xml?
- Does the cab fail to install?
- Do you get some sort of error message at some point?
I made only one attempt at creating a registry only cab, but it was successful. All I did was:
makecab _setup.xml mysettings.cab
Here is one hint though: open your XML in IE or another browser. You will immediately see if it is malformed in some way (maybe a missing tag).
Thanks for your reply.
Makecab looked to be the simplest way, and it did generate a cab, which failed to install with not so much as an error message; it just informed me installation was unsuccessful. BTW, the cab was on my storage card.
One of my thoughts was that the code might be wrong, so I looked at the xml in IE, notepad, and even ran everything through the basic syntax scan Cab Manager does when trying to add text to the provisional xml areas. I did have to make some changes; maybe I'll have another go at scrubbing the files.
denali
There is another possibility for this error:
Your cab may not have permission to alter the security settings you are attempting to apply.
Some settings require a cab to be signed with a trusted certificate.
Ordinarily I'd tell you to application unlock your phone, but since you want to run the cab immediately after hard reset I am not sure how to solve the issue.
OK, so this is what I tried, following a one-bite-at-a-time strategy.
I extracted XML code and cleaned it up in Notepad, previewed it in IE with no glaring issues to my eye.
Code:
<wap-provisioningdoc>
<!-- 2-1. Home Screen Plug-in
<characteristic type="Registry">
<characteristic type="HKLM\Software\Microsoft\Today\Items">
<characteristic type="Get Xpress Mail">
<parm name="Order" value="5" datatype="integer" />
</characteristic>
</characteristic>
</characteristic> -->
<!-- 3-2. Ringtone-->
<characteristic type="FileOperation">
<characteristic type="\Windows\Rings\gm sunny audio2.wav" translation="install">
<characteristic type="Copy">
<parm name="Source" value="\Windows\gm sunny audio2.wav" translation="install"/>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="Registry">
<characteristic type="HKCU\ControlPanel\Sounds">
<characteristic type="RingTone0">
<parm name="Sound" value="\Windows\Rings\gm sunny audio2.wav" datatype="string"/>
<parm name="Category" value="Ring" datatype="string"/>
</characteristic>
</characteristic>
</characteristic>
<!--4-1. PIE home page
<characteristic type="FileOperation">
<characteristic type="\Windows\default.htm" translation="install">
<characteristic type="Copy">
<parm name="Source" value="\Windows\_default.htm" translation="install"/>
</characteristic>
</characteristic>
</characteristic> -->
<!--Delete Favorite-->
<characteristic type="Registry">
<nocharacteristic type="HKCU\Software\Microsoft\Internet Explorer\Main\FavoritesEntries\MSN Mobile" />
<nocharacteristic type="HKCU\Software\Microsoft\Internet Explorer\Main\FavoritesEntries\Pocket PC Web Guide" />
</characteristic>
<!--Add Favorite-->
<characteristic type="Registry">
<characteristic type="HKCU\Software\Microsoft\Internet Explorer\Main\FavoritesEntries\MEdia Net" translation="filesystem" >
<parm name="Order" datatype="integer" value="0" />
<parm name="ReadOnly" datatype="integer" value="1" />
<parm name="URL" datatype="string" value="http://home/" />
<parm name="Icon" datatype="string" value="\windows\MEdia_Net_Home_01.bmp" translation="filesystem" />
</characteristic>
<characteristic type="HKCU\Software\Microsoft\Internet Explorer\Main\FavoritesEntries\PocketPC" >
<parm name="URL" datatype="string" value="http://pocketpc.com"/>
<parm name="Order" datatype="integer" value="1" />
</characteristic>
<characteristic type="HKCU\Software\Microsoft\Internet Explorer\Main\FavoritesEntries\AT&T Support - Pocket PC">
<parm name="URL" datatype="string" value="http://www.cingular.com/customer_service"/>
<parm name="Order" datatype="integer" value="2" />
</characteristic>
<characteristic type="HKCU\Software\Microsoft\Internet Explorer\Main\FavoritesEntries\My Windows Mobile">
<parm name="URL" datatype="string" value="http://www.mywindowsmobile.com/"/>
<parm name="Order" datatype="integer" value="3" />
</characteristic>
<characteristic type="HKCU\Software\Microsoft\Internet Explorer\Main\FavoritesEntries\WindowsMedia.com">
<parm name="URL" datatype="string" value="http://windowsmedia.com"/>
<parm name="Order" datatype="integer" value="4"/>
</characteristic>
<!-- 4-3. Settings View & Zoom -->
<characteristic type="HKCU\Software\Microsoft\Internet Explorer\Main" translation="filesystem">
<parm name="ZoomSetting" datatype="integer" value="4" /> <!--zoom:medium-->
<parm name="MakeFit" datatype="integer" value="1" /> <!--view:default-->
</characteristic>
</characteristic>
<characteristic type="Registry">
<!-- 5-2. Show PIN2 Page -->
<characteristic type="HKLM\SOFTWARE\OEM\PhoneSetting" translation="filesystem">
<parm name="ShowPIN2Page" datatype="integer" value="1" />
<!-- Enable NITZ -->
<parm name="ShowNITZPage" datatype="integer" value="1" />
</characteristic>
<characteristic type="HKLM\Drivers\BuiltIn\RIL" translation="filesystem">
<parm name="NITZEnable" datatype="integer" value="1" />
<!-- Set SMS Service -->
<parm name="SMSService" datatype="integer" value="1" />
</characteristic>
<!-- SMS Settings -->
<characteristic type="HKLM\System\Inbox\Settings" translation="filesystem">
<parm name="SMStoSMTPShortCode" datatype="integer" value="121" />
<parm name="AllowSMStoSMTPConcatenation" datatype="integer" value="1" />
<parm name="AllowSMStoSMTPAddress" datatype="integer" value="1" />
<parm name="CurServiceName" datatype="string" value="SMS" />
</characteristic>
<!--Operator name string and service provider name showing rule-->
<characteristic type="HKLM\SOFTWARE\OEM\PhoneSetting" translation="filesystem">
<parm name="ONSDisplayRule" datatype="integer" value="4" />
<parm name="EnableUsimEF" datatype="integer" value="1" />
<parm name="Enable3GLongNamePrefix" datatype="integer" value="0" />
</characteristic>
<!--Override the GSM Short String Rule-->
<characteristic type="HKLM\ControlPanel\Phone" translation="filesystem">
<parm name="ShortStringExclusionList" datatype="multiplestring" value="*0","*1","*2","*3","*4","*5","*6","*7","*8","*9","#0","#1","#2","#3","#4","#5","#6","#7","#8", "#9""/>
</characteristic>
<characteristic type="HKLM\Software\Microsoft\Diagnostics" translation="filesystem">
<parm name="ShowLogCode" datatype="integer" value="65535" />
<parm name="DiagCode" datatype="integer" value="65534" />
</characteristic>
<!-- WiFi QoS Settings -->
<characteristic type="HKLM\Comm\TNETWLN1\Parms" translation="filesystem">
<parm name="WME_Enable" datatype="integer" value="0" />
</characteristic>
<!-- 0: Disable QoS feature -->
<!-- 1: Enable QoS feature -->
<!-- Disable IPv6
<characteristic type="HKLM\Comm\AFD" translation="filesystem">
<parm name="Stacks" datatype="multiplestring" value="tcpstkirdastkbtd" />
</characteristic>
<nocharacteristic type="HKLM\Comm\Devices\TCPIP6" translation="filesystem"/>
-->
<!-- 1.3.03 4. Remove "Disable IPv6" settings in Generic UI, Line 199. -->
<!-- Set GSM/UMTS band. -->
<characteristic type="HKLM\SOFTWARE\OEM\UMTS\BandSelection" translation="filesystem">
<parm name="Band" datatype="integer" value="0" />
<!-- (0:AUTO, 1:Euro band, 2:US band, 3:Japan band) -->
</characteristic>
<!-- 1.3.06 1. Set both "Network type" & "GSM/UMTS band" to "AUTO". -->
<!-- Remove "Band" page of phone "Options". -->
<characteristic type="HKLM\SOFTWARE\OEM\PhoneSetting" translation="filesystem">
<parm name="ShowUMTSBandPage" datatype="integer" value="1" />
<!-- (1: show GSM/UMTS band page) -->
<!-- (0, none : hidden GSM/UMTS band page) -->
</characteristic>
<!-- 1.3.06 2. Remove "Band" page of phone "Options". -->
<!-- 1.3.03 3. Add the correct "USB to PC" related settings in Generic UI, Line 201. -->
<!-- Set USB to PC Unchecked -->
<characteristic type="HKLM\Drivers\USB\FunctionDrivers" translation="filesystem" >
<parm name="DefaultClientDriver" datatype="string" value="Serial_Class" translation="filesystem" />
</characteristic>
<!-- Wireless Modem default APN setting -->
<characteristic type="HKLM\SOFTWARE\OEM\WModem" translation="filesystem" >
<parm name="Preset GPRS APN" datatype="string" value="isp.cingular" translation="filesystem" />
</characteristic>
<!-- 1.3.03 5. Update the Wireless Modem default APN to "isp.cingular" -->
</characteristic>
</wap-provisioningdoc>
Then I renamed it to "_setup.xml" and excuted makecab _setup. xml PP_Generic_UI_Hermes_CWS.cab; a CAB was generated w/o an error message. I copied the CAB to my Storage Card via USB/Activesync 4.5; it failed to install w/ the "Installation ... was unsuccessful" message.
Then I found a signing util in this link (http://forum.xda-developers.com/showthread.php?t=250216&highlight=sign), ran it w/ only an error message saying it was signed but not time stamped. I tried install this "signed" CAB via the method above, with the same results.
Any thoughts? Anybody?
denali
Question: After you signed the cab did you still get a question "This cab is not signed by a trusted certificate ..... install YES / NO?"
From what I saw in that thread, you need to provision your device with the certificate first, because you are not signing with one that is built in.
Also, on first glance, I can't see anything problematic with the XML so I guess you have to do this the hard way: comment all but one of the settings and create a cab. If it installs ok, uncomment another setting and try again until you find out what causes the installation to fail.
As to your question, I've never gotten a message like that. I installed the test certificate and attempted to install the CAB again with the same results. FWIW, after I click on the CAB, it looks like it's inatalling, complete with the progress bar except that when the final message comes up, mine reads Installation of <foo> was unsuccesful", and not in its own error box either.
I'm not convinced it's a signing issue, rather it seems to be something internal to the CABs, like I'm missing a step or file. I will step through the code as you suggested.
Thanks again,
denali
Right methods, wrong tool(s)
I found my problem.
I was unaware WinXP came with makecab.exe, so I dowloaded the Cabinet SDK, which seems to have been developed for Win98 or so, and used that executable. Bottom line, I was using an old executable.
I've successfully made single-line changes to my registry via CAB & CPF files, and, with a little luck, will get the rest of these customizations knocked out.
Thanks for your help levenum!
denali
Your welcome.
Actually, you just taught me something too. I knew desktop windows used cab files for installation, but I did not know cabwiz / makecab for them were readily available.
I always used the utilities from Pocket PC and Smartphone SDKs for WM 5 or 2003 depending on the device I was creating the cab for.
sorry for my stupid question ..
somebody tell me ..how can i install cab files to my artemis ?
soory again :confused
uluca09 said:
sorry for my stupid question ..
somebody tell me ..how can i install cab files to my artemis ?
soory again :confused
Click to expand...
Click to collapse
Copy them on the Artemis.
From the Artemis, locate them using the File Explorer.
Tap on them.
Copy the CAB file from the PC to the Artemis storage card or Memory (Just make a note of where you put it).
Start the phone and use File Explorer on the phone to locate the CAB file, tap it.
If it asks for permission to install files etc. answer YES.
Once complete press and hold the power button until the phone warns about powering down answer Yes, switch the phone back on Job Done.
As a tip, before you copy the CAB file to the phone use Windows Explorer on the PC, right click the CAB file select "Properties" and make the file read only this way the CAB file will remain intact once it is run (otherwise they self erase after use), store all your CAB files in a single folder on the Memory card, this way following a hard reset you can recover the phone - Mike
i cant ..
i was copy cab files to artemis stroge card when i tap install. started internet explorer and came some letter s like this
-
<wap-provisioningdoc>
- <characteristic type="Install">
<parm name="InstallPhase" value="install" />
<parm name="AppName" value="MoDaCo NoData" />
<parm name="InstallDir" value="%CE1%\MoDaCo\NoData" translation="install" />
<parm name="NumDirs" value="2" />
<parm name="NumFiles" value="1" />
<parm name="NumRegKeys" value="0" />
<parm name="NumRegVals" value="0" />
<parm name="NumShortcuts" value="1" />
</characteristic>
- <characteristic type="FileOperation">
- <characteristic type="%InstallDir%" translation="install">
<characteristic type="MakeDir" />
- <characteristic type="NoData.exe" translation="install">
- <characteristic type="Extract">
<parm name="Source" value="0CAB15F0.001" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
</characteristic>
- <characteristic type="%CE11%" translation="install">
<characteristic type="MakeDir" />
- <characteristic type="NoData.lnk" translation="install">
- <characteristic type="Shortcut">
<parm name="Source" value="%InstallDir%\NoData.exe" translation="install" />
</characteristic>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="Registry" />
</wap-provisioningdoc>
not start install
sorry i know i make big mistake anywhre
Try downloading the CAB file again before putting it on the device it could be corrupt, which CAB file is it you are trying to put on the device - Mike
thanks now ok
thanks for helping one oldman ..now ok ..
my pc corrupt files ..
best regards
Hello everyone,
first of all I'm sorry if this question was already ask, but I want to make some skin for my phone and I don't know how...
Is there any software or tutorial?
Don't blame me if there is a post about that, I have done a research but I haven't find anythings.
Thanks a lot to the XDA community for your work.
s.nyx
ps:sorry for my poor english i'm french.
Hi everyone,
My phone is a Xperia X1 with a Windows Mobile 6.5 Rom from X1iser (he does a great job, thanks a lot).
I have downloaded a WM 6.5 theme in a cab files and I am trying to understand how it's work, all I say below is not true maybe I'm wrong.
There are 6 files in :
- _setup.xml : it does the installation on the phone (copy, rename and paste the files below).
- UNK~1.000 : no information in the xml file.
- 00_SETUP.001 : after installing it becomes _setup.xml and there are some certificate information inside.
- DLLA~1.002 : after installing it becomes theme.dll but i have tried to open it whith Notepad but I can't understand it.
- WALLA~1.003 : after installing it becomes wall01.jpg and it's the wallpaper when the phone is close (no keyboard out).
- WALLB~1.004 : after installing it become wall02.jpg and it's the wallpaper when the phone is open (keyboard out).
Is there anyone to explain me how I can modify the dll file? Because I think it is the key to set up the theme.
I give you the xml code of the first _setup.xml if it can help, but i have rename the files and if the owner of the theme is not agree I will delete it ASAP.
Code:
<wap-provisioningdoc>
<characteristic type="Install">
<parm name="InstallPhase" value="install" />
<parm name="AppName" value="Theme" />
<parm name="InstallDir" value="\Windows" translation="install" />
<parm name="NumDirs" value="3" />
<parm name="NumFiles" value="4" />
<parm name="NumRegKeys" value="0" />
<parm name="NumRegVals" value="0" />
<parm name="NumShortcuts" value="0" />
</characteristic>
<characteristic type="FileOperation">
<characteristic type="%CE2%" translation="install">
<characteristic type="MakeDir" />
<characteristic type="_setup.xml" translation="install">
<characteristic type="Extract">
<parm name="Source" value="00_SETUP.001" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="theme.dll" translation="install">
<characteristic type="Extract">
<parm name="Source" value="DLLA~1.002" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
</characteristic>
<characteristic type="%CE5%" translation="install">
<characteristic type="MakeDir" />
<characteristic type="wall01.jpg" translation="install">
<characteristic type="Extract">
<parm name="Source" value="WALLA_~1.003" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
</characteristic>
<characteristic type="%InstallDir%" translation="install">
<characteristic type="MakeDir" />
<characteristic type="wall02.jpg" translation="install">
<characteristic type="Extract">
<parm name="Source" value="WALLB.004" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="Registry" />
</wap-provisioningdoc>
Thanks
Hello,
I write an application in c# in order to get all the wifi settings on a provxml file, in order to be able to reload this provxml file after a flash or a memory format.
Here is my code :
Code:
XmlDocument configDoc = new XmlDocument();
configDoc.LoadXml("<wap-provisioningdoc><characteristic-query type=\"Wi-Fi\" recursive=\"true\"/></wap-provisioningdoc>");
XmlDocument output = ConfigurationManager.ProcessConfiguration(configDoc, true);
output.Save("\\output.provxml");
This code retrieved all the wifi settings and create an output.provxml file :
Code:
<wap-provisioningdoc>
<characteristic type="Wi-Fi" recursive="true">
<characteristic type="access-point">
<characteristic type="ai-vitry" broadcast="0" preferred="-1" connecting="0" connected="0">
<parm name="DestId" options="Internet{436EF144-B4FB-4863-A041-8F905A62C572}Bureau{A1182988-0D73-439E-87AD-2A5B369F808B}" value="{436EF144-B4FB-4863-A041-8F905A62C572}" />
<parm name="AdHoc" value="0" />
<parm name="Hidden" value="0" />
<parm name="Authentication" options="Ouvert0Partagé1WPA3WPA-PSK4WPA26WPA2-PSK7" value="0" />
<parm name="Encryption" options="Désactivé1WEP0TKIP4AES6" value="0" />
<parm name="KeyProvided" value="0" />
<parm name="NetworkKey" value="****************" />
<parm name="KeyIndex" value="1" />
<parm name="Use8021x" value="0" />
<parm name="EAPType" options="Carte à puce ou certificat13PEAP25" value="25" />
</characteristic>
<characteristic type="H2reseaux" broadcast="0" preferred="-1" connecting="0" connected="0">
<parm name="DestId" options="Internet{436EF144-B4FB-4863-A041-8F905A62C572}Bureau{A1182988-0D73-439E-87AD-2A5B369F808B}" value="{436EF144-B4FB-4863-A041-8F905A62C572}" />
<parm name="AdHoc" value="0" />
<parm name="Hidden" value="0" />
<parm name="Authentication" options="Ouvert0Partagé1WPA3WPA-PSK4WPA26WPA2-PSK7" value="0" />
<parm name="Encryption" options="Désactivé1WEP0TKIP4AES6" value="0" />
<parm name="KeyProvided" value="0" />
<parm name="NetworkKey" value="****************" />
<parm name="KeyIndex" value="1" />
<parm name="Use8021x" value="0" />
<parm name="EAPType" options="Carte à puce ou certificat13PEAP25" value="25" />
</characteristic>
</characteristic>
<characteristic type="ad-hoc" />
<parm name="Filter" value="1" />
<parm name="NotificationState" value="0" />
<parm name="WifiTimeout" value="0" />
</characteristic>
</wap-provisioningdoc>
My problem is that the "NetworkKey" are encoding. How decoding this in order to be able to reload this file with the provisioning ?
Thanks a lot,
Regards,
Nixeus
The value for the key is held in the registry under the key
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\WZCSVC\Parameters\Interfaces]
Under here there is an entry for each access point. The name of the Access point and the key is in the Static#nnnn value. The key is encrypted, but you could probably read the values of all keys, store them and try recreating the keys and values later.
Use a RegistryKey object to read and restore the data.
Hello my friends,
Thanks for your answer, nevertheless, i'm unable to doing this ! I see no WepKey
I'll say it again, the data for the Static#nnnn key holds both the name of the access point, and the WEP/WPA key. The name of the access point appears as plain text, easy enough to spot, but the WEP/WPA key follows it. It has been encrypted/mangled so that any old nosey so-and-so can't use it if they are not supposed to.
You can save and restore the encrypted version of the key, but you cannot see its real value.
MMMMM i understand !! I will try to dump the key, hardreset my phone, and restore the key ! Thanks a lot
So, in the attached file, i have done a programme in c# which can Save Wifi Config in a file, and can load the wifi config from this file.
I have configured my WIFI, save my config with my software, and dump the registry key.
I have hard reseted my device
I have loading my wifi settings with my software, and load the registry info with a little cab.
Result --> Don't ok
If you want, you can test my programm !
I we succeed, i will release a software in order to save wifi and mail configuration
Hope you can help me
regards,
Nixeus
It would appear that WinMo devices are not too keen on restoring encrypted keys, and may wipe them on the restore.
You may have to set another registry key value to get it to work.
[HKEY_LOCAL_MACHINE\Init\BootVars] "MasterKeysInRegistry"=dword:1
Have a look at some of the chatter in the middle of this post:
http://www.pocketpcjunkies.com/Uwe/Forum.aspx/wince-vc/1025/Configure-WiFi-by-a-soft
Looks like they had some sort of success with it.
The Microsoft KB article is here:
http://support.microsoft.com/default.aspx?scid=kb;en-us;329102
Humm very very interresting !!
Test in progress....
Thanks a lot
I have made some test, and it's not ok for the moment
Yesss
It's ok !!
I continue my tests, but i think it's ok !
I will explain tomorrow !
Thanks a lot
Hello Nixeus,
Could you post some more info on this? Is your app already working and storing/reverting the WiFi settings?
Can you do the same with e-mail configuration?
Best Regards
Skrobel
Hello,
After a lot of test, it's impossible to get the weop/wpa keys.
You need write them ion a provxml file.
But not tips in order to retrieving them.
Or....we need to create a "hack"....But the question is where is storing this key ??? No in the registry, but where ?
I'm ok in order to work on a hack, but i need some informations about !
Ahhh, I see...
I also wanted to write myself a very simple "settings exporter". Most of the system settings are stored directly in the registry. But I also couldn't find any way to retrieve WiFi settings and e-mail accounts automatically...
OK, let's hope somebody will help us. Than we could make a team
Hi,
I would like to create a software in order to save Emails account in a provxml file, and reload this provxml file after a hard reset for example.
Here is my code
Code:
string[] StorageList;
StorageList = GetStorageCardNames();
XmlDocument configDoc = new XmlDocument();
configDoc.LoadXml("<wap-provisioningdoc><characteristic-query type=\"EMAIL2\" recursive=\"true\"/></wap-provisioningdoc>");
XmlDocument output = ConfigurationManager.ProcessConfiguration(configDoc, true);
output.Save("\\" + StorageList[0].ToString().Trim() + "\\email.provxml");
MessageBox.Show("Your email config is complete, on \\" + StorageList[0].ToString().Trim() + "\\email.provxml", "Done");
Code:
Here is my provxml result :
<wap-provisioningdoc>
<characteristic type="EMAIL2" recursive="true">
<characteristic type="{88947265-7B57-7D04-F748-B52E49C52B09}">
<parm name="SERVICENAME" value="free.fr" />
<parm name="SERVICETYPE" value="POP3" />
<parm name="INSERVER" value="free.fr" />
<parm name="AUTHNAME" value="toto" />
<parm name="OUTSERVER" value="smtp.free.fr" />
<parm name="REPLYADDR" value="[email protected]" />
<parm name="SMTPALTAUTHNAME" value="Toto" />
<parm name="NAME" value="transfairre" />
<parm name="LINGER" value="0" />
<parm name="RETRIEVE" value="2048" />
<parm name="KEEPMAX" value="0" />
<parm name="DWNDAY" value="3" />
<parm name="FORMAT" value="2" />
<parm name="AUTHREQUIRED" value="0" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
I don't retrieve the AUTHSECRET field, who is the password field.
I would like to know if there is a solution in order to get the password, in order to have automatically a complete provxml configuration file.
Great thanks
regards,
Nixeus
Hi Nixeus
Can this help you http://forum.xda-developers.com/showthread.php?t=685979 or this http://forum.xda-developers.com/showthread.php?t=295889 or http://forum.xda-developers.com/showthread.php?t=681337 ?
This is the one I used in the last year http://forum.xda-developers.com/showpost.php?p=4631640&postcount=5
Hello my friend and thanks for your answer.
I have read your links but in all tha case, we nee to add manually the password on the provxml file.
Is there a way to retrieve it manually ?
I really don't know, I just use the last link to create a cab for my 2 mailboxes and it works without inputting anything.