undo HTC+Touch+Dual-default-ABC.cab - Touch Dual, MDA Touch Plus General

Hi all,
I have a touch dual I've launched the HTC+Touch+Dual-default-ABC.cab file to set the "abc" as default instead of the "XT9" but I was wondering how I can go back to the normal (XT9-default) situation?
Cheers
B

Have you tried to uninstall the cab through Settings -> System -> Remove Programm?

tried it... but the cab isn't mentionned in the list strangly enough...

nobody? is there a way that I can "read" the cab so I know which registry settings have been altered?
cheers
B

I think I've got it, I've installed MSCEInf (freeware) and looked around a bit in the CAB until I noticed an XML with following content:
Code:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\SOFTWARE\Tegic\eT9\IME" translation="filesystem" >
<parm name="CarrierDefaultTextMode" datatype="integer" value="0" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
I've altered the value to 1 and XT9 was back to default
Cheers
B

berre said:
I think I've got it, I've installed MSCEInf (freeware) and looked around a bit in the CAB until I noticed an XML with following content:
Code:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\SOFTWARE\Tegic\eT9\IME" translation="filesystem" >
<parm name="CarrierDefaultTextMode" datatype="integer" value="0" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
I've altered the value to 1 and XT9 was back to default
Cheers
B
Click to expand...
Click to collapse
Is there no easier solution to do this? Like another CAB file for example

would be great indeed but I didn't find it anywhere so I started playing around in the registry until I found it...
cheers
B

easier??!! you too lazy reg edit 1 value??!! blimey o'riley! i think you'd rather order takeout than open a tin of beens!

Related

Restoring Wi-Fi settings after hard reset: WM6 Wizard

Hi all,
I've used a Wizard ROM kitchen to build a (WM6) ROM the way I like it - it installs fine, then customises my Today theme and personal registry settings from the Extended ROM... all well and good.
One niggling problem though... I would love to restore my WiFi settings from a hard reset.
I can configure the setup manually with no problem; I use WEP (KeyIndex 1), key not provided automatically, do not use 802.11x authentication... my SSID is hidden, but I don't mind going into the connection dialog after the hard reset and checking the "this is a hidden network" box - that's the least of the problems (as you will see)...
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/showthread.php?p=1227587 (using provxml) and also tried from _setup.xml in a CAB file: I've not tried this from the ExtRom yet, as whenever I run the CAB using File Explorer (with no WiFi network info set up) 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="MySSID">
<parm name="DestID" value="{436EF144-B4FB-4863-A041-8F905A62C572}"/>
</characteristic>
</characteristic>
<characteristic type="Wi-Fi">
<characteristic type="access-point">
<characteristic type="MySSID">
<parm name="DestId" value="{436EF144-B4FB-4863-A041-8F905A62C572}"/>
<parm name="Encryption" value="0"/>
<parm name="Authentication" value="0"/>
<parm name="NetworkKey" value="myNetworkKey"/>
<parm name="KeyIndex" value="1"/>
<parm name="KeyProvided" value="0"/>
<parm name="Use8021x" value="0"/>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
OK? For Parameters "KeyProvided" and "Use8021x" the MSDN pages say to use Boolean operators, so I've tried it with "true" and "false", then with "1" and "0"...
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.
3. Then tried adding the XML to one of my registry settings cabs using WinCE Cab Mgr (v2.0); put it in the Provisioning XML (post). The CAB ran as usual, injected the registry keys that were there before but did nada to the WiFi settings.
4. Then renamed the .provxml.xml to wifi_setup.xml and tried both Makecabs (again, tried saving the XML as UTF-8 and then as Unicode) as follows:
Makecab.exe /D COMPRESS=OFF wifi_setup.xml wifi.cab
... in the hope that this would inject the XML as _setup.xml...
Note: I transferred the file in all above cases over ActiveSync to my Storage Card, which is where it was run from.
5. Finally, I redid the file as per cuccureddu's instructions (saved as Unicode), Makecabbed it using WM5 SDK Makecab exactly per instructions, then ZIPPED the CAB and Activesynced it to my Storage Card. Ran it. "Installation of wifi.cab was unsuccessful".
Hmmm...
So, I'm a little stuck... does anybody have any ideas, or want further info?
TIA for any help you can give...
Joel
I guess the ideal solution would be like you often see in operator's Extended ROMs - WifiTempON is run, then a CAB file runs to set up e.g T-Mobile hotspot SSIDs, then WifiTempOFF is run...
Hope somebody can help, I'm starting to go round the bend here
Bump...! Any ideas anyone?
this been done yet??
I succesfully use this script in a cab file after every hard reset on my TyTn,
it sets also wan parameters and hidden ssid chekbox. The cab was created
with makecab standard command.
Hope it works for you also.
<wap-provisioningdoc>
<characteristic type="CM_WiFiEntries">
<characteristic type="My_SSID"> (do not change this value and delete this comment)
<parm name="DestID" value="{A1182988-0D73-439e-87AD-2A5B369F808B}"/>
</characteristic>
</characteristic>
<characteristic type="Wi-Fi">
<characteristic type="access-point">
<characteristic type="YourSSID to insert">
<parm name="DestId" value="{A1182988-0D73-439e-87AD-2A5B369F808B}"/>
<parm name="Encryption" value="0"/>
<parm name="Authentication" value="0"/>
<parm name="hidden" value="1"/>
<parm name="KeyProvided" value="0"/>
<parm name="NetworkKey" value="yourPWD to insert"/>
<parm name="KeyIndex" value="1"/>
<parm name="Use8021x" value="0"/>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="Registry">
<characteristic type="HKLM\Comm\TIACXWLN1\Parms\TCPIP">
<parm name="EnableDHCP" value="0" datatype="integer"/>
<parm name="AutoCfg" value="1" datatype="integer"/>
<parm name="WINS" value="" datatype="multiplestring"/>
<parm name="DNS" value="Your one" datatype="multiplestring"/>
<parm name="DefaultGateway" value="Your one" datatype="multiplestring"/>
<parm name="Subnetmask" value="Your one" datatype="multiplestring"/>
<parm name="IpAddress" value="Your one" datatype="multiplestring"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
Best regards J.
Wow - can we use cabs to switch between wifi settings?
Awesome idea. I am trying to adapt it for use in this situation.
http://forum.xda-developers.com/showthread.php?p=1671601#post1671601
Multiple WIFI networks, setup multiple CAB files that you can just run depending upon your WIFI location and it will adjust your network card settings (eg DHCP \ Fixed IP), but also your SSID and WEP keys etc.
I have created my XML file and CAB files but it doesnt seem to function correctly. In fact, it appears not to have made any change at all to the network card settings yet it appers to have executed without errors.
did not tryed this way, but a soft-reset should be needed after every
change of your net settings. Ok, I'm shure you tried it yet..
I use it after an hard reset and at the end the phone reboots naturally.
Everyway you can use a reg editor wich allows you to dump your
ppc registry and look for changes in it, that's the way I've found some
of that reg-keys.
It's also usefull to discover if a key is really changed or not..
bye J.
Yup - thanks, I use registry workshop from my PC and hit F5 (refresh) after i run the cab file, watch it change instantly on the mobile registry. The network settings, eg IP etc and even now the WIFI network now function perfectly.
I am trying to get the "restart" working after a cab install, the network settings work fine, but if you switch it to DHCP (from fixed) it needs a reboot of the WLAN NIC Card obviously to activate DHCP address.
You can either soft-restart the phone, or just use comms manager to deactive-reactivate the WIFI. I am trying to find a (via cab file provisioning) cleaner way to restart the WIFI service.
Must say, thanks heaps for your code and links, helped me heaps in the early days.
Mhhmmm I see you're using a Shap's rom... you could try to invoke
shap's advanced config with his parameter to reset the device
eg. I use a shortcut to it with this line inside:
\Extended_ROM\AdvancedConfig.exe /reset
I didn't tested if it could be invoked from a cab file
Bye J.
edit: sorry I've missread your topic... but if a soft reset is not a big problem..
jarod_73 said:
Mhhmmm I see you're using a Shap's rom... you could try to invoke
shap's advanced config with his parameter to reset the device
eg. I use a shortcut to it with this line inside:
\Extended_ROM\AdvancedConfig.exe /reset
I didn't tested if it could be invoked from a cab file
Bye J.
edit: sorry I've missread your topic... but if a soft reset is not a big problem..
Click to expand...
Click to collapse
Top tip .. thanks!

Could someone please review my .XML code? (new to provisioning)

As mentioned in the title, I am trying to get my feet wet with .xml provisioning. (Specifically with .XML provisioned registry settings.) After researching, I understand that registry settings and XML provisioning can get pretty tricky and as well as quite complex. So I decided to start small with keyboard layout, customizing SK2 on the today screen and changing my S2U2 background.
I am having problems getting my .XML files to work and can't tell if its my .xml documents or if its my method of loading the files. Because of this, I was hoping someone could take a look at my code and let me know where my mistakes lay.
Keyboard Layout:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\SOFTWARE\OEM\Qwerty\">
<parm name="Layout" datatype="DWORD" value="132100" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
SK2 on the todayscreen:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKCU\Software\Microsoft\Today\Keys\112">
<parm name="Default" datatype="String" value="Google Maps" />
<parm name="Open" datatype="String" value="\Program Files\GoogleMaps\GoogleMaps.exe" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
S2U2 Wallpaper:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKCU\Software\A_C\S2U2\">
<parm name="Wallpaper" datatype="String" value="\My Documents\My Pictures\Album Sample_07.jpg" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
Thanks!
-hier0
try adding (translation="filesystem") to any line that has a backslash or is a system path like so:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKCU\Software\Microsoft\Today\Keys\112" translation="filesystem">
<parm name="Default" datatype="String" value="Google Maps"/>
<parm name="Open" datatype="String" value="\Program Files\GoogleMaps\GoogleMaps.exe" translation="filesystem"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
please let us know if this solves your problem...
That didn't work either =\
Maybe, I am incorrectly creating the .xml file itself. I have tried two method of doing so: Notepad and Dreamweaver.
Are these the correct steps for creating an xml document in notepad?
1. Open Note Pad
2. Paste my xml code:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKCU\Software\Microsoft\Today\Keys\112" translation="filesystem">
<parm name="Default" datatype="String" value="Google Maps"/>
<parm name="Open" datatype="String" value="\Program Files\GoogleMaps\GoogleMaps.exe" translation="filesystem"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
3. Save the document as "filename.xml"
are there any other tags that i need to include either before or in between the <wap-provisioningdoc> tag?
[EDIT] I am not sure if it helps or not but the error i am getting when installing/loading the file is : "unknown error occured: 0x80004005"
save it to your desktop and open it in IE
If the format is correct, you can open and expand/collapse the keys
how are you trying to install it?
As far as I know, you have to create a cab file to install it...
rename to "_setup.xml" and use "makecab.exe" like this at the command line:
makecab _setup.xml cabname.cab
Hi, For registry xml provisioning, if you have sktools 4.7, you can export the keys from registry and use the functionality build cab from reg. Then you open the cab with winzip, view the _setup xml file and copy to your xml file as a scheleton. Remove the first characteristics (they rule the cab itself) and copy when it says caracteristic registry.
There are also tools like reg to xml but they require cf 2.0 in the pc.
for email and wifi the easiest way is to do it with sashimi-makisu.
the only thing I saw compared with my files is that datatype is always at the end in my files, after the value. I have never use the one "DWORD": only string, integer, binary.
I usually import with sdcsoft task manager, the message you get, in my experience means it is well formed (try opening with ie as commented in previous tag), but the commands can not be executed.
AFAIK you have to have a blank line at the end of the xml/provxml file. This is the code for me to set up my data connection
Code:
<wap-provisioningdoc>
<characteristic type="CM_GPRSEntries">
<characteristic type="T-Mobile Internet">
<parm name="DestId" value="{F750E26F-81D9-4379-8567-318C129CA736}" />
<parm name="UserName" value="faster" />
<parm name="Password" value="web" />
<parm name="Enabled" value="1" />
<characteristic type="DevSpecificCellular">
<parm name="GPRSInfoValid" value="1" />
<parm name="GPRSInfoAccessPointName" value="general.t-mobile.uk" />
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>

How to change the device id?

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.

[solved]Delete Registry keys via provxml

Hi,
i've cooked serval custom roms for my E-Ten Glofiish M800 right now but i have a problemn with a .provxml file.
I want to delete some registry values but it seems that this provxml doesn't have an affect:
Code:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\ControlPanel\Owner">
<noparm name="Redirect" />
</characteristic>
<characteristic type="HKLM\ControlPanel\Buttons">
<noparm name="Redirect" />
</characteristic>
<characteristic type="HKLM\ControlPanel\Input">
<noparm name="Redirect" />
</characteristic>
<characteristic type="HKLM\ControlPanel\Phone">
<noparm name="Redirect" />
</characteristic>
</wap-provisioningdoc>
After cooking these registry values (Redirect) shouldn't be available anymore available but they are. Could anyone help???
StefanV3
Click to expand...
Click to collapse
Hi,
the problem is solved. I used two kitchens and forgot to include this provxml into the other kitchen...
StefanV3

solved - adding favs to provxml in operatorpkg

Hi. I've spent all evening trying to cook in my favorites, by editing the stock favorites in \OEM\LEO\0409\OperatorPkg xipupdate_oemoperators_100.provxml but when i build the rom, the favorites are blank.
If i copy in the stock .provxml again and re cook, theyre all back, but change one letter and favs is blank again (though i suspect it will turn out to be something to do with saving, rather than the editing itself.)
I've been making sure to re apply 'read only', and ive tried various unicode, utf-8 and what have you using notepad and notepad++,
What am I missing?
Thanks.
You probably need to have it as system file and hidden as well. Make sure you apply attribute fix to your kitchen.
ai6908 said:
You probably need to have it as system file and hidden as well. Make sure you apply attribute fix to your kitchen.
Click to expand...
Click to collapse
hmmm, i'm mostly sure the attribs are correct, i set the folder to show attrib column, so i could compare with the other files in the set of three,,,,
RHS if i remember correctly. i'll certainly look deeper into attributes when i get home though, so thanks for the pointer.
In a TMOUS rom, save the following to "mxipupdate_oemoperators_106.provxml" and put it somewhere inside your Opera's EXT file firectory. Cook it in and your set, once you set your info. And make sure each entry is 4-lines long, if you don't format provxml right, it will kick the whole thing out. And to my knowledge, the attribute really doesnt effect it, as long as it's formated correctly.
<wap-provisioningdoc>
<!--328.01_pIE My Favorites Smartphone-->
<characteristic type="BrowserFavorite">
<characteristic type="web2go">
<parm name="URL" value="http://m.web2go.com" />
<parm name="Order" value="2" />
</characteristic>
<characteristic type="ESPN">
<parm name="URL" value="http://proxy.espn.go.com/wireless/espn/html/pocketpc" />
<parm name="Order" value="4" />
</characteristic>
<characteristic type="CNN">
<parm name="URL" value="http://www.cnn.com/" />
<parm name="Order" value="5" />
</characteristic>
<characteristic type="My Account">
<parm name="URL" value="http://myaccount.wap.t-mobile.com" />
<parm name="Order" value="6" />
</characteristic>
<characteristic type="Download Ringtones">
<parm name="URL" value="http://ringtones.store.t-mobile.com/" />
<parm name="Order" value="7" />
</characteristic>
<characteristic type="Browse Wallpaper">
<parm name="URL" value="http://wallpaper.t-mobile.com/" />
<parm name="Order" value="8" />
</characteristic>
<characteristic type="Browse CallerTunes®">
<parm name="URL" value="http://pda.callertunes.com" />
<parm name="Order" value="9" />
</characteristic>
<characteristic type="My Album">
<parm name="URL" value="http://myalbum.t-mobile.com" />
<parm name="Order" value="10" />
</characteristic>
<characteristic type="Help">
<parm name="URL" value="http://help.wap.t-mobile.com" />
<parm name="Order" value="11" />
</characteristic>
<characteristic type="Gogo® Inflight Internet">
<parm name="URL" value="http://www.gogoinflight.com/htchd2" />
<parm name="Order" value="13" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
Click to expand...
Click to collapse
ok, i'll give that a try, butwon't they all be duplicated since they already exist in _100.provxml?
When I decompile a rom, the first thing I do is remove the attributes from the OEM's provxml's and remove that from the original provxml file. I use opera 10 currently so I don't use this one, but that's what I used to do. Any problems, attach your provxml and I can help ya corectly remove them so there are no dupes.
OKayyy, so my first lesson in chefing.
I renamed the provxml to just xml, opened it in firefox, and hey presto, instant answer.
It doesnt like the xda advanced google search URL
<parm name="URL" value="http://www.google.com/advanced_search?q=+site:http://forum.xda-developers.com&hl=en&lr=&as_qdr=all" />
It fails after developers.com, and so no favs at all, (i assume cos the whole file fails)
Removed &hl=en&lr=&as_qdr=all and hey presto, fixed, nothign to do with attribs and what not at all.
<blush>
My lesson for the day, 'browsers will tell me where the error is in provxml files'
I can go to sleep now. Thanks for the pointers, even if I was throwing you a red herring.
The & symbol and several others require special formatting in xml. You would replace it with "&". Actually, just delete the provxml entries and do a straight up registry export and insert it in your app.reg file. Way easier btw...
rstoyguy said:
The & symbol and several others require special formatting in xml. You would replace it with "&". Actually, just delete the provxml entries and do a straight up registry export and insert it in your app.reg file. Way easier btw...
Click to expand...
Click to collapse
ah of course , , think html, got it.
"export from registry"
so they are registry entries as well as files in windows\favorites?
just scanned it, couldn't find any reference to them.
samsamuel said:
I renamed the provxml to just xml, opened it in firefox, and hey presto, instant answer.
Click to expand...
Click to collapse
Thats XML lesson 101 LOL.

Categories

Resources