I am trying to install the BB application suite, I'm following the partial instructions from this but that doesn't. So instead I am looking through the rom using a hex application to try and change the name from Leo!
If that makes any sense does anyone have any idea how to change the name?
Thanks!!
settings menu all settings system about device id.
is that what you are looking for?
taken from my provisioning XML..
Code:
<characteristic type="Registry">
<characteristic type="HKLM\Software\WIDCOMM\BTConfig\General">
<parm name="DeviceName" datatype="string" value="[b]HDManiac[/b]"/>
</characteristic>
</characteristic>
<characteristic type="Registry">
<characteristic type="HKLM\Ident">
<parm name="Name" datatype="string" value="[b]HDManiac[/b]"/>
<parm name="OrigName" datatype="string" value="[b]HDManiac[/b]"/>
</characteristic>
</characteristic>
<characteristic type="Registry">
<characteristic type="HKLM\System\Platform">
<parm name="OEMString" datatype="string" value="[b]HDManiac[/b]"/>
</characteristic>
i think what you seek is the last section...the OEM string (AFAIK)
registry path HKLM\System\Platform
hope it helps!
thanks tmaniac I will have a go!!
It seems to reset itself back after every soft reset! Any ideas?
I'm trying to change my device ID also. I have an omnia 2. I was just wondering if u came up with a solution.
Hey guys, this would need a solution, i need it for xperia. I know there are already solutions for other devices. (cant post a links) Such like SetModelID.exe and BB.cab, however you have to run it after every reboot...
I wish there would be a universal and easy solution for this ;\
solved?!
forum.xda-developers.com/showthread.php?t=574211
Check out this thread - i hope this help.
Related
Hi all,
I was trying to create a provxml file to automatically create a shortcut in
the "Start Menu" folder.
this is the sintax I was using:
<wap-provisioningdoc>
<characteristic type="FileOperation">
<characteristic type="%CE17%" translation="install">
<characteristic type="MakeDir" />
<characteristic type="Reset.lnk" translation="install">
<characteristic type="Shortcut">
<parm name="Source" value="\location\my_file.exe /parameter" translation="install" />
</characteristic>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
but always the .lnk file receives this value :
(quotes are included in value and slash is converted in backslash)
"\location\my_file.exe \parameter"
can someone help me to obtain : \location\my_file.exe /parameter?
thanks for reading J.
might as well create the link in correct form and use provxml to copy the link to the location you want. much simpler.
try removing 'translation="install" ' from the line with the parameter.
jiggs said:
might as well create the link in correct form and use provxml to copy the link to the location you want. much simpler.
Click to expand...
Click to collapse
tried too... maybe my example files have some syntax errors inside
I always get failure to execute the provxml.
@ joemanb : I'll try
Thank you all
What about this?
<wap-provisioningdoc>
<characteristic type="FileOperation">
<characteristic type="%CE17%" translation="install">
<characteristic type="MakeDir" />
<characteristic type="Reset.lnk" translation="install">
<characteristic type="Shortcut">
<parm name="Source"
value="\location\my_file.exe /parameter"/>
</characteristic>
</characteristic>
</characteristic>
<wap-provisioningdoc>
Maybe the problem is caused by security?
http://msdn2.microsoft.com/en-us/library/aa455927.aspx
RStein said:
What about this?
<wap-provisioningdoc>
<characteristic type="FileOperation">
<characteristic type="%CE17%" translation="install">
<characteristic type="MakeDir" />
<characteristic type="Reset.lnk" translation="install">
<characteristic type="Shortcut">
<parm name="Source"
value="\location\my_file.exe /parameter"/>
</characteristic>
</characteristic>
</characteristic>
<wap-provisioningdoc>
Maybe the problem is caused by security?
http://msdn2.microsoft.com/en-us/library/aa455927.aspx
Click to expand...
Click to collapse
Must be security, I've tried to copy to "\" and to "\windows" and worked like
a charm. Not in "%CE17%".
Thank J.
Edit: Phone user shoud be an authenticated user..?!?
Edit 2: Ok DONE! Thank you all guys, I love this forum.
jiggs said:
might as well create the link in correct form and use provxml to copy the link to the location you want. much simpler.
Click to expand...
Click to collapse
Code:
<wap-provisioningdoc>
<!-- *** COMMENTO *** -->
<characteristic type="Registry">
<characteristic type="HKLM\System\GWE\MAGNIFIER" translation="filesystem">
<parm name="Enable" datatype="integer" value="0"/>
</characteristic>
<characteristic type="HKLM\Software\Microsoft\Solitaire" translation="filesystem">
<parm name="Prefs" datatype="string" value="310011"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
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.
Just wanted to share my finding on how to remove the "setup new mail" on fresh installation.
\OEM\OperatorPKG\mxipupdate_oemoperators_104.provxml
From:
Code:
<characteristic type="HKLM\Comm">
<parm name="EnableNewMailAccount" datatype="integer" value="[B]1[/B]"/>
</characteristic>
To:
Code:
<characteristic type="HKLM\Comm">
<parm name="EnableNewMailAccount" datatype="integer" value="[B]0[/B]"/>
</characteristic>
I search quit loong for this one but couldnt find it anywhere and after searching trough whole hive`n provxml`s I found the little string
More importantly, I want to create a shortcut WITH PARAMETERS.
I need the full list of shortcut properties to be at my disposal, including optional parameters as well as icon selection. The end result needs to be a LNK file with that shortcut in it.
Does anyone know? I'm having a really difficult time finding a one-stop location for a comprehensive list of provisional XML installation commands.
edit-
I should add that I went to Development Resources thread and downloaded the spreadsheet. I did a global find for the term XML in the spreadsheet and got no results. That's when I started this thread because I honestly have no idea where else to look. :\
<wap-provisioningdoc>
<characteristic type="FileOperation">
<characteristic type="%CE4%\yourshortcut.lnk" translation="install">
<characteristic type="Shortcut">
<parm name="Source" value="%CE2%\yourapp.exe" translation="install" />
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
adwinp said:
<wap-provisioningdoc>
<characteristic type="FileOperation">
<characteristic type="%CE4%\yourshortcut.lnk" translation="install">
<characteristic type="Shortcut">
<parm name="Source" value="%CE2%\yourapp.exe" translation="install" />
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
Click to expand...
Click to collapse
Yeah, that one I know. But I don't know how to create the shortcut with parameters such as command-line arguments.
"\Windows\Jbed.exe" -manage
How would I create a shortcut to that, for example? Do I just use double-double quotes (like in the case of REG files)? So it looks like this:
Code:
<wap-provisioningdoc>
<characteristic type="FileOperation">
<characteristic type="%CE4%\Jbed.lnk" translation="install">
<characteristic type="Shortcut">
<parm name="Source" value="""%CE2%\Jbed.exe"" -manage" translation="install" />
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
I've tried that and it didn't work. Is there an escape character that I should be using?
http://msdn.microsoft.com/en-us/library/bb737563.aspx
There isn't anything that explicitly confirms or denies that you'll be able to accomplish what you've asked, so working through examples is the best path.
Code:
<wap-provisioningdoc>
<characteristic type="FileOperation">
<characteristic type="%CE4%\Jbed.lnk" translation="install">
<characteristic type="Shortcut">
<parm name="Source" value=""%CE2%\Jbed.exe" -manage" translation="install" />
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
One alternative is to create the link yourself and then copy the file.
Best regards,
-boggsie
Hello, i cannot figure out why this isn't working :
I've created a wap-prov XML (and it is working... mostly !) to configure connections, it looks like this :
Code:
<wap-provisioningdoc>
<characteristic type="CM_Networks">
<characteristic type="MyCorporateCnx">
<parm name="DestId" value="{D4C3F5C3-D005-B600-FE80-492A450DA5C9}"/>
<parm name="Secure" value="0"/>
<parm name="ReadOnly" value="0"/>
</characteristic>
</characteristic>
<characteristic type="CM_GPRSEntries">
<characteristic type="CnxCorp">
(Skipping all the GPRS parm part, which is working so far!)
</characteristic>
</characteristic>
<characteristic type="CM_ProxyEntries">
<characteristic type="HTTP-{D4C3F5C3-D005-B600-FE80-492A450DA5C9}">
(Skipping all the Proxy parm part, which is working so far!)
</characteristic>
</characteristic>
<characteristic type="CM_Planner">
<parm name="RetryCount" value="3"/>
<parm name="CacheTime" value="600"/>
<parm name="CoeffLatency" value="65536"/>
<parm name="CoeffCost" value="65536"/>
<parm name="CoeffBandwidth" value="65536"/>
<parm name="VPNCacheTime" value="60"/>
<nocharacteristic type="PreferredConnections"/>
<characteristic type="PreferredConnections">
<parm name="{436EF144-B4FB-4863-A041-8F905A62C572}" value="MyCorporateCnx"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
- I tested the XML with RapiConfig.exe, then i've created a .CAB with it.
- In both cases, the connections are properly configured (it's the working part)
- BUT the default Internet connection is still set to its previous value (should be "MyCorporateCnx" instead)
I also tried to replace the name of the cnx with its ID :
Code:
<nocharacteristic type="PreferredConnections"/>
<characteristic type="PreferredConnections">
<parm name="{436EF144-B4FB-4863-A041-8F905A62C572}" value="{D4C3F5C3-D005-B600-FE80-492A450DA5C9}"/>
</characteristic>
</characteristic>
And it dosesn't work either.
Any ideas would be welcome !
(Tested it on my non-modded HTC Touch Pro 2)
Answering to my own question
My XML adds ONE new connection (including GPRS & PROXY related config) to the existing device config.
That means that, unless i deactivate the former default connection, it will remains as default, even with the CM_Planner stuff in my XML.
After a few tests, i've found out a way to deactivate the former default connection : change its proxy "Enable" state from 1 to 0.
So i've added this to my XML :
Code:
<characteristic type="CM_ProxyEntries">
<characteristic type="HTTP-{FF445A54-ADF8-4fab-86B7-E31482BEE8BE}">
<parm name="Enable" value="0"/>
</characteristic>
</characteristic>
(HTTP-{FF445A54-ADF8-4fab-86B7-E31482BEE8BE} is the former default connection proxy)
Now that my XML sets it to 0, i have the good (newly added) connection as default.
I'm a bit disapointed because i wanted to use only one XML for several HTC devices (Pro 2, Touch 2...) Adding a new connection sounded like OK, but modifying an existing one will raise a compatibility issue (i guess), since nothing can garantee that HTTP-{FF445A54-ADF8-4fab-86B7-E31482BEE8BE} will exists on the other devices...
Hello,
I noticed that when you provision the preferred connection, it is not shown in the settings->connection>advanced->select networks screen until you:
1- open that screen, not change a single thing (so the wrong default connection is selected)
2- click on 'ok'
3- reopen the screen, now the correct default connection is showed.
I am going to look further into this...
Regards,
Ernstjan