.cab-file to use for Jailbreak - Windows Phone 7 Q&A, Help & Troubleshooting

Hello
These are just my assumptions.. and I'll edit this post with everything I found out. If you find wrong information, please correct and help me solving this "problem". I'd be relly glad if someone could clarify this whole thing:
If you're updating your phone to Mango (maybe all other updates too), there'll be a .cab file which provisions your registry with some new entries that are needed for Zune to recognize your phone as a developers device and show up the update message. This .cab file (which is basically comparable with a little update) can edit entries in the phones registry without having a developer unlock. A good example is this method to get the Mango update: @windowsphonehacker.com. Even with the value "DeveloperUnlockState" set to 0 you can use this tool to update to Mango.
In our example the "prov.cab" which is part of the tool "says" the phone to change/create the following registry entries:
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\DeviceUpdate\Agent\Protocol]
"TestTarget"="15c00000-0003-0001-c0d4-m4a1f005ba11"
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\DeviceUpdate\Agent\Settings]
"GuidOfCategoryToScan"="0fdd4743-cba1-4a2b-af7c-5af9fd93951a"
With this two keys changed and your phone plugged to your PC you'll be able to get the update.
Now.. if we could edit this .cab file so that it tells the phone something like this...
Code:
[HKEY_LOCAL_MACHINE\Comm\Security\LVMod]
"DeveloperUnlockState"=dword:1
[HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg]
"PortalUrlProd"=""
"PortalUrlInt"=""
[HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg\Install]
"MaxUnsignedApp"=dword:7fffffff
...we should be able to jailbreak any version of WP7
What I figured out is that you can easily unzip the .cab file. You'll get a .pkg file which is also an archive. After extracting this one there are three more files:
61784efe-031a-4673-b7a0-16d3f78efc2e.dsm
61784EFE-031A-4673-B7A0-16D3F78EFC2E.rgu
mxipupdate_DeviceUpdateSelfhost_200.provxml
Okay, in short:
prov.cab
|
UNZIP
|
v
DeviceProvisioning.cab.pkg
|
UNZIP
|
v
61784efe-031a-4673-b7a0-16d3f78efc2e.dsm
Code:
[COLOR="DarkRed"]IN EDITOR:[/COLOR]
[COLOR="Gray"]Nothing useful :o Just hieroglyphs.. maybe it's encrypted :(
EDIT: I found a tool which can read/write/save this .dsm files: [URL="http://forum.xda-developers.com/showthread.php?t=523139"]DSM Editor[/URL]. But the information it shows me is still worthless for me.. I don't understand anything of it =/[/COLOR]
61784EFE-031A-4673-B7A0-16D3F78EFC2E.rgu
Code:
[COLOR="DarkRed"]IN EDITOR:[/COLOR]
[COLOR="Gray"]REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\DeviceUpdate\Agent\Protocol]
"MuReDirCabUrl1"="http://download.windowsupdate.com/WM/MicrosoftUpdate/redir/duredir.cab"
"MuReDirCabUrl2"="http://download.microsoft.com/WM/MicrosoftUpdate/redir/duredir.cab"
"MuReDirCabUrl3"="http://www.update.microsoft.com/WM/MicrosoftUpdate/Redir/duredir.cab"
"TestTarget"="15c00000-0003-0001-c0d4-m4a1f005ba11"
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\DeviceUpdate\Agent\Settings]
"GuidOfCategoryToScan"="0fdd4743-cba1-4a2b-af7c-5af9fd93951a"[/COLOR]
mxipupdate_DeviceUpdateSelfhost_200.provxml
Code:
[COLOR="DarkRed"]IN EDITOR:[/COLOR]
[COLOR="Gray"]<!--
Copyright (c) Microsoft Corporation. All rights reserved.
-->
<!--
Use of this source code is subject to the terms of the Microsoft
premium shared source license agreement under which you licensed
this source code. If you did not accept the terms of the license
agreement, you are not authorized to use this source code.
For the terms of the license, please see the license agreement
signed by you and Microsoft.
THE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES OR INDEMNITIES.
-->
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\Software\Microsoft\Windows\DeviceUpdate\Agent\Protocol">
<parm name="ClientServerUrl" value="" datatype="string"/>
<parm name="IdentCabFileSize" value="0" datatype="integer"/>
<parm name="IdentCabUrl" value="" datatype="string" />
<parm name="IdentCabFileSize" value="0" datatype="integer"/>
<parm name="ReDirCabFileSize" value="0" datatype="integer"/>
<parm name="ReDirectorId" value="0" datatype="integer"/>
<parm name="ReportingServerUrl" value="" datatype="string" />
<parm name="SelfUpdateCabUrl" value="" datatype="string" />
</characteristic>
</characteristic>
</wap-provisioningdoc>[/COLOR]
Another thing I noticed was that some of those files where digitally signed with a certificate (e.g. right click the prov.cab and you'll see a tab showing the certificate). After modifying any of these files they loose their signature and you can't "update" them via the UpdateWP.exe - it throws out an error. I searched for quite a long time on how to resign the modified files.. I came over a tool named "signcode.exe" - it seems to be able to sign files (.exe, .dll, .cab). I was able to sign the original prov.cab but not my modified one. But after replacing Microsofts signature of the original prov.cab file with mine (<- found a .cer + .pvk) in the internet, I wasn't able to get the prov.cab "updated" to my phone.
Maybe this is way to complicated and there's a much easier solution.. but any help is appreciated
Thanks in advance,
experience7

I can't clarify it for you but .pkg file (from .cab) contains 3 files inside:
Code:
61784efe-031a-4673-b7a0-16d3f78efc2e.dsm
61784EFE-031A-4673-B7A0-16D3F78EFC2E.rgu
mxipupdate_DeviceUpdateSelfhost_200.provxml
(also see attached archive)
I believe guys with WinMo ROM knowledge could explain us what does it mean...
P.S. He-he, we reply simultaneously

sensboston said:
I can't clarify it for you but .pkg file (from .cab) contains 3 files inside:
Click to expand...
Click to collapse
Yup, that's what I also found out already Anyway, thank you very much
sensboston said:
(also see attached archive)
Click to expand...
Click to collapse
Which attached archive?
EDIT: Ah, now it's there
sensboston said:
I believe guys with WinMo ROM knowledge could explain us what does it mean...
Click to expand...
Click to collapse
Yes, especially the use of the .dsm file would be interesting
experience7

File mxipupdate_DeviceUpdateSelfhost_200.provxml looks very promising Unfortunately I don't have unupdated handset now to try...

Application for testing
I'm in the middle of reflash so if you want me to test please provide instructions in PM. Where should I put the CAB file and how should I "force" an update, etc.
Note: Isn't the DSM file contains a signature that tells Zune if the update is valid or modified/hacked?
Very promising and hard at willing to test this.
Cina.

cina said:
I'm in the middle of reflash so if you want me to test please provide instructions in PM.
Click to expand...
Click to collapse
Well, I think this could take a while to complete But thanks for your help and hey.. We don't have to developer unlock the device to see if it works We can also try to edit some other registry values like accent colors or search providers
cina said:
Where should I put the CAB file and how should I "force" an update, etc.
Click to expand...
Click to collapse
Later, when our files are changed we just have to install the "Windows Phone Support Tools". Then the file "UpdateWP.exe" is in the directory. This one has to be started with the parameters "/iu /enablebackup ~MODiFiED-FiLE.cab~"
cina said:
Note: Isn't the DSM file contains a signature that tells Zune if the update is valid or modified/hacked?
Click to expand...
Click to collapse
I hope this is not the case =/ Would only make things more difficult
cina said:
Very promising and hard at willing to test this.
Click to expand...
Click to collapse
Wow thanks! I'm glad for everyone who's helping me
If this method works, we'd be able to edit the complete registry of every phone with any OS version

experience7 said:
I hope this is not the case =/ Would only make things more difficult
Click to expand...
Click to collapse
I'm afraid, it is the case And it make things impossible, unfortunately, not a "more difficult"...

Yep A few minutes ago I played around a bit with the files: I extracted both the prov.cab and the DeviceProvisioning.cab.pkg and zipped them again: Although I didn't use compression to zip the files back again to get one prov.cab the size of the original and the "extracted and rezipped" file don't match The new one is much smaller. I right clicked the original and found out, that it's signed with a certificate. The new file wasn't.. it lost the signature. And I guess even the files inside the archive are signed with certificates =/ I'm pretty sure it works.. but we have to find out how to modify the files, how to resign them and how to pack them together to one .cab file =/ Long story short: We'd need a genius :S

He-he... If u'll find an easy way to crack MS certificates/signatures, u'll be a rich man (or in most wanted criminals list on FBI website )

Sounds strange but I already found some certificates "from Microsoft". When I open them on my Windows PC it says for example: Microsoft Windows Mobile Firmware CA. But I think the whole story is way to complicated for me. I never had anything to do with certificates, .dsm files/.cab files, ... I just had this random idea =/ Well, modifying the .cab file or.. a second method maybe would be to edit the UpdateWP.exe so that it even transfers unsigned .cab files.. but this would require good skills in reverse engineering, ...

I'm afraid, you need to modify not an UpdateWP.exe but WP7 firmware code what is really responsible for changes in file system/registry. I believe that part is checking downloaded data integrity (based on .cab signature).

I haven't got any information about the firmware checking changes of the registry or file system
Okay, at the end I can say that I'll be never able to do this =/
It's hard to believe that WP7 is still as good as unjailbroken I hope that time will bring some new ways to jailbreak our phones.. I'd really love to flash some new ROMS (with new amazing improvements, but NoDo installed ) and then be able to jailbreak them Hope this will work one day..
experience7

all the pkg (cab) files are signed by M$, u can't and propoblely never be able to make a cer accepted by the phone. the validation part is from the phone not the updatewp.exe

Related

menu_operation.xml

Hi,
I have installed on my Kaiser the following ROM RUU_Kaiser_HTC_WWE_3.28.405.0_radio_sign_25.83.40. 02_1.65.16.25_Ship.exe.rar.
So far so good - it works.
I have created a new ROM (based on this ROM) with some more application - so far so good.
Nevertheless, I have tried to move some *.lnk (\windows\start menu\programs) to some new folder (\windows\start menu\tools, ....) with editiong the Menu_Operation.xml file in xkaiserkitchen_01-20-08\OEM\OperatorPKG.
Unfortunaltey none of the *.lnk are moved.
Menu_Operations is started once after a hardreset or after flashing the new ROM - started from config_operator.txt.
The creation of new directory works.
Example:
<characteristic type="%CE4%\Programs\Tools\Search.lnk" translation="install">
<characteristic type="Move">
<parm name="Source" value="%CE4%\Programs\Search.lnk" translation="install"/>
</characteristic>
</characteristic>
Should means: move search.lnk from directory \windows\start menu\programs to \windows\srat menu\programs\tools
But nothing happens.
Any ideas ?
_________
In my cooked ROMS, I edit initflash.dat directly.
NOTE: initflashfiles.dat has an interesting issue where if you use notepad to edit the contents and save it, notepad will add extra characters that prevent the device from booting properly after flash. I personally use WinHex (any Hex editor will work) to remove the extra bits it adds at the beginning of the file after making changes.
Click to expand...
Click to collapse
Taken from http://wiki.xda-developers.com/index.php?pagename=Cooked_ROM_Q-Mobile#Cooking
Me too. More direct and do not need to struggle w/ xml
EDIT: Please ignore this mail.
hm, now I am confused.
As far as I know, all OEM apps are stored under \xkaiserkitchen_01-20-08\OEM\OEMAPPS - but there is no *.dat file, only a *.dsm is available.
There is either no initflashfiles.dat under \\xkaiserkitchen_01-20-08\*.
Which file has the information which *.lnk is stored in which directory ?
For my own apps (saved under \xkaiserkitchen_01-20-08\Packages ) this information is initflashfiles.txt (created with packages generator by ervius)
Thanks
kuzco
Cannot move links from os.
Need to use the copy function instead.

[Kitchen]Kaiser WM6.5 Kitchen HTC Mega packages

Build is 23016
download and extract to a folder with no space maybe Kaiser_kitchen
Kitchen part 1 base
Kitchen part2 EXT folder put inside kitchen folder if named Kaiser_kitchen just put this inside that folder
open Erviuskitchen.exe
press load ROM and choose Kaiser then scroll down and set the keyboard you need and what languages
press Create ROM now wait
when finished just close Erviuskitchen.exe
now goto RELEASE_Kaiser folder and use the custom_ruu.exe to flash your new rom
In Extra_tools folder I have added some other apps found on XDA
EXT Package maker
Put you OEM package in the EXT Package maker folder then drag and drop it on the EXT_PAckages_rebuilder.exe and you should have a EXT package ready to put in you kitchen.
note that some oem packages you download are separated into 2 folders exsample PACKAGE_MEGA_Album and PACKAGE_MEGA_Album_0409
just drag the PACKAGE_MEGA_Album_0409 (language pack) onto EXT_PAckages_rebuilder.exe and it will a folder called 0409 inside PACKAGE_MEGA_Album
now just drag and drop PACKAGE_MEGA_Album onto EXT_PAckages_rebuilder.exe and you have a finished EXT package with language files inside.
The package will be named appname then followed by the build number of the app
CAB Converter by Jason8
How to use:
open CAB_Converter.exe brows for you cab
then choose cab -> OEM or cab->EXT wait for dosbox to close and you have a new OEM or EXT ready to use.
althought it a good app some cabs don't work
Have questions go here for suport
cabdump it is actualy Package Converter by Ervius
that is in most of the older kitchens and works with most all cabs
dubble click on cabConverter.CMD and follow the instructions in the dos box
you should now have a OEM in the same location as where the cab was located
some links most of them are from development and hacking
Get the newest wm6.5 build here and many other usefull tips
Get the newest wm6.1 build here
porting the newest XIP/SYS here
Change the name in the bootscreen and build date of the rom
Open Ervius kitchen and coose the XIP you are going to modify
now press Xipporterex & rom tool
press find date/Version on\ROM\XIP\
change rom date and rom version press change for bouth and you have a new name in bootscreen and rom is set to new date
Change rom info in settings/Device information
go to Kaiser_Kitchen\EXT\SHARED\Mods\my mods\files
open mxipupdate_OEMVERSION_100.provxml with notepad
Code:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\Software\OEM">
<parm name="ROMVersion" value="5.2.23016" datatype="string"/>
</characteristic>
<characteristic type="HKLM\Software\OEM">
<parm name="OperatorVersion" value="gullum" datatype="string"/>
</characteristic>
<characteristic type="HKLM\Software\OEM">
<parm name="ROMDate" value="20/08/09" datatype="string"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
change the info to what you want it to be
I just desided to share the kitchen because someone asked for it and because of VK does not include dsm and rgu from ext folder it can't be dumped.
thank you brother will give it a try.
hmm for some reason its giving me some path errors, its that normal? il post a screen shot:
also for some reason its not letting me chose the packages i want to cook with the rom, its like i click on em and nothing
happens
edit: ok i fixed the path error seems i had to create more folder and place what was isnide of ext on the path errors, that the kitchen gave me, so now i got no errors but it wont let me disable packages nor delete them any idea y its doing that?
siulmagic said:
hmm for some reason its giving me some path errors, its that normal? il post a screen shot:
also for some reason its not letting me chose the packages i want to cook with the rom, its like i click on em and nothing
happens
edit: ok i fixed the path error seems i had to create more folder and place what was isnide of ext on the path errors, that the kitchen gave me, so now i got no errors but it wont let me disable packages nor delete them any idea y its doing that?
Click to expand...
Click to collapse
should only be packages in OEM that you can disable or deleate other should work though
i cant dunno y keeps telling me cannot delete package, what if i manually delete them? is there something i ahve to change in the kitchen so i can delete or disable any package?
edit im getting an error when i click creat here a screenshot:

[APP Needed] Auto email-account creator/restorer

Well i tried searching a lot, but can't find anything. Is there an app anywhere that you can backup the mail settings (or save a copy of a file that includes them somewhere) so you can restore them later (after flash)?
nicandris said:
Well i tried searching a lot, but can't find anything. Is there an app anywhere that you can backup the mail settings (or save a copy of a file that includes them somewhere) so you can restore them later (after flash)?
Click to expand...
Click to collapse
Bengalih Makusi XML editor
nicandris said:
Well i tried searching a lot, but can't find anything. Is there an app anywhere that you can backup the mail settings (or save a copy of a file that includes them somewhere) so you can restore them later (after flash)?
Click to expand...
Click to collapse
Try Sashimi it has that function or else try provisioning the settings so that you can always restore from the provisioning file. For Email2 CSP see http://msdn.microsoft.com/en-us/library/aa455896.aspx or xda forum
As mentioned, try writing a provisioning XML, or, if you're not comfortable with this idea, try OEMizer.
Long time ago I find this little prog from Steganos.
Maybe you give it a Try.
1.
download the zip
2.
Unzip to a folder.
3.
Connect PDA via Activesync.
4.
start "start.bat" (!!!!!!!!!don't press any key!!!!!!!).
5.
go back in the mail_settings-folder and you will find "_setup.xml" open with notepad
search for
<parm name="AUTHNAME" value="USERNAME" />
beneath it enter a new line
<parm name="AUTHSECRET" value="PASSWORD" />
Do this for every mail-address.
6.
Save the "_setup.xml"
8.
go back to "start.bat"-Window and press a key
9.
press the key again
10.
with the new "Mail_Settings.cab" you can allways restore your mail-settings
Hey KUR0I,
you can´t imagine how long I looked for a solution of MailSettingsRestore of my CE Devices, because I like to try new ROMs and every time this boring E-Mail Settings Input procedure. Have not tested yet my created Mail_Settings.cab. But I´m sure it works if I flash again.
Vielen Dank.
Thank you very much.
ArnoMaF
KUR0I said:
Long time ago I find this little prog from Steganos.
Maybe you give it a Try.
1.
download the zip
2.
Unzip to a folder.
3.
Connect PDA via Activesync.
4.
start "start.bat" (!!!!!!!!!don't press any key!!!!!!!).
5.
go back in the mail_settings-folder and you will find "_setup.xml" open with notepad
search for
<parm name="AUTHNAME" value="USERNAME" />
beneath it enter a new line
<parm name="AUTHSECRET" value="PASSWORD" />
Do this for every mail-address.
6.
Save the "_setup.xml"
8.
go back to "start.bat"-Window and press a key
9.
press the key again
10.
with the new "Mail_Settings.cab" you can allways restore your mail-settings
Click to expand...
Click to collapse
Kuroi, thank you for this excellent upload, exactly what I needed, worked perfectly.
Damn! that's what I want but I can't make it works!
iggy, I'm under WM6.5.3 and try as it's explained. But the config file (_setup.xml after first step) is empty, no params at all!
Did anyone else tried?
The lightest solution:
Setup your email account, connect ppc to pc, launch rapiconfig from pc and download your email settings as xml file you can restore using any autoconfig method: sashimi, uc_xda, config.txt, etc. You can also use rapiconfig to test the xml file without reflashing or using any regedit program.
The same applies for any other settings: wifi network, owner information, etc.
thanks cruiserrr, but what are the query to pass to rapiconfig to download settings?
As I said, when I tried the DOS .bat script, my xml file is empty. Nothing extracted!
EDIT: it's OK, as I want to get exchange data, the query is not EMAIL2 but Sync (be careful it's case sensitive!)
Now I go to msdn to find query for others data :-D
Hi
KUR0I's method worked well and created the cab, my only worry is when I try to open it with wince cab manager, I get the message "this is not a valid Windows Ce cabinet file".
Edit: Nevertheless it installs without problems
try the app: PIM Backup (freeware)
this backs up your pim info, which includes your mail accounts (i think)
edit: link to app: http://forum.xda-developers.com/showthread.php?t=299705
So does a rapiconifg/email2 .xml still work with winmo 6.5.3 and the new htc email in 23158? I used to use this method back on my touch pro running 6.1 back in the day but have never tried it lately... guess ill try and find out..
Thanks for this tool, it works very well
Nevertheless, do you know the XML lines to backup for an email account :
- The signatures,
- The network connection (in email Setup/Advanced server settings).
Thanks for your help
KUR0I said:
Long time ago I find this little prog from Steganos.
Maybe you give it a Try.
1.
download the zip
2.
Unzip to a folder.
3.
Connect PDA via Activesync.
4.
start "start.bat" (!!!!!!!!!don't press any key!!!!!!!).
5.
go back in the mail_settings-folder and you will find "_setup.xml" open with notepad
search for
<parm name="AUTHNAME" value="USERNAME" />
beneath it enter a new line
<parm name="AUTHSECRET" value="PASSWORD" />
Do this for every mail-address.
6.
Save the "_setup.xml"
8.
go back to "start.bat"-Window and press a key
9.
press the key again
10.
with the new "Mail_Settings.cab" you can allways restore your mail-settings
Click to expand...
Click to collapse
TheBeO said:
thanks cruiserrr, but what are the query to pass to rapiconfig to download settings?
As I said, when I tried the DOS .bat script, my xml file is empty. Nothing extracted!
EDIT: it's OK, as I want to get exchange data, the query is not EMAIL2 but Sync (be careful it's case sensitive!)
Now I go to msdn to find query for others data :-D
Click to expand...
Click to collapse
Hi, you can query whatever you want: email, wifi, and whatever application. The output should be a valid provxml/xml file to load with rapiconfig at any time or to load in your ROM or customization. Wifi, email and owner are easy to find with google, sorry I do not recall the key.
example
Code:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic-query type="HKLM\Software\Apps\whatever" />
</characteristic>
</wap-provisioningdoc>
Hi,
You say we can query whatever we want, but i can't find the query for the signatures and the type of network connection in Poutlook.
Do you know it plz ?
poussinou69 said:
Hi,
You say we can query whatever we want, but i can't find the query for the signatures and the type of network connection in Poutlook.
Do you know it plz ?
Click to expand...
Click to collapse
Sorry, can not help with this. I usually google something like provxml + whatever or wm6.5 xml + whatever. You can also use a program like sk tools to compare registry after and before the manual changes or install. You can also look for the keys in reg file format and convert to xml...
Thanks a lot! :-D
Pimbackup is what you need
So tell me how to backup email accounts only with it ?

Removing something from registry with .xml

Hello,
I have a question.
For a answer i already looked around at the net and have read some threads at xda, modaco, and some site at msdn.
The short version: how do i remove a dir from the register with a .xml file?
The long version:
I need to remove a dir from the registry.
I opened a new text document and saved it as _setup.xml.
In this .xml file i wrote:
<characteristic type="Registry">
<nocharacteristic type="HKLM\Software\Microsoft\Shell\DeviceBeta" />
</characteristic>
</characteristic>
After that i opened Quickcab in the first field I put in by application name 1 and by owner 1.
By the second screen I add the _setup.xml file to the windows folder
At the next screen i do nothing and click on create.
I save it as _setup.cab.
After the .cab file is maked i move it to my phone and run it from my phone.
It says that evreything is installed and so on.
But when i reboot my device nothing happened and the dir. at the register is still there.
What am i doing wrong?
Do i need to put something more in the .cab file?
Moved as not ROM Development.
don't think you really understand xml
http://en.wikipedia.org/wiki/XML
xml can't do anything at all on it's own it's a model language which needs to be interpreted by another program
it's not a programming or batch language
Hi,
I believe your xml file should look somthing like this:
To delete a value:
Code:
<wap-provisioningdoc>
<characteristic type="Registry">
<!-- Delete a registry value under the following key -->
<characteristic type="HKCU\Software\Second Test Key">
<noparm name="Value To Delete" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
To delete a key (or a dir as you call it):
Code:
<wap-provisioningdoc>
<characteristic type="Registry">
<!-- Delete a registry key, with all its values and subkeys -->
<nocharacteristic type="HKLM\Software\RegKey To Delete" />
</characteristic>
</wap-provisioningdoc>
Cheers,
/Cacti
Rudegar said:
don't think you really understand xml
http://en.wikipedia.org/wiki/XML
xml can't do anything at all on it's own it's a model language which needs to be interpreted by another program
it's not a programming or batch language
Click to expand...
Click to collapse
Thank you for the link Rudegar more brain food my brains are already at the point to explode.
One of the threads that i have read is http://forum.xda-developers.com/newreply.php?do=newreply&p=5908996.
Thank you for helping.
le_cactus said:
Hi,
I believe your xml file should look somthing like this:
To delete a value:
Code:
<wap-provisioningdoc>
<characteristic type="Registry">
<!-- Delete a registry value under the following key -->
<characteristic type="HKCU\Software\Second Test Key">
<noparm name="Value To Delete" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
To delete a key (or a dir as you call it):
Code:
<wap-provisioningdoc>
<characteristic type="Registry">
<!-- Delete a registry key, with all its values and subkeys -->
<nocharacteristic type="HKLM\Software\RegKey To Delete" />
</characteristic>
</wap-provisioningdoc>
Cheers,
/Cacti
Click to expand...
Click to collapse
le_cactus thank you for helping out i am trying this out tonight or tomorrow.
Can i save this in a text file and save it as .xml and then cab it?
Can some one explain how to delete a key in the registry of windows mobile 6.5 by a simple guide ?
Because I am busy making my own rom.
The problem i have is that in the right corner below i have standing I quote: Beta Expires: 05/01/2010
I know you can delete this by going in you registry to hklm/software/microsoft/shell/Devicebeta and delete this key.
But i like to delete this key automatic when i have flashed the rom and not doing it afterwards by going in to the registry.
If i have a problem i try to solving it at my own by reading threads and searching the net for answers but some times i need some help to get it right and to get me on the right track.
I appreciate the help that i get here so thank you all for helping out.
xml to reg and vice versa
First it started for me when I saw an UC capable ROM, from there I too wanted to go from reg/rgu to xml and vice versa After some researching I found several threads concerning my wishes. Within these threads you'll find your desired utilties For the overall clarity I'll start with the beginning;
[App] ROM Flashing Junkies: User Customization is here!
http://forum.xda-developers.com/showthread.php?t=366337
see the UC related software tools
Within this thread there is an application called SDConfig creator which was created by DoeDoe's. Currently it is replaced by;
[Release] UC ROM SDConfig.txt Builder (reborn) [Prikolchik Ed.]
http://forum.xda-developers.com/showthread.php?t=390846
I'm using PHM Registry Editor it allows me to do the following tasks:
Explore the registry to find the operating system and applications configuration,
modify system and applications tweeks not available from the standard options screens,
export all or parts of the registry to .reg files,
backup and restore the complete registry and
perform search on the registry data
Have fun everyone with editing/creating/modifying/wrecking,
Senax

[Q] How do you re-brand to T-Mobile USA?

I tried the de-branding hack (MobileOperator = "000-88"), but I was only able to update to 7008. Since T-Mobile USA is going to start pushing updates, I want to "rebrand" my phone back to what it was. Does anybody know what the MobileOperator string is for T-Mobile USA?
The string is TMO-US
jsmarcus said:
The string is TMO-US
Click to expand...
Click to collapse
Thanks! I'll give it a whirl.
is there any reason to want to rebrand the device? does anything stops from working after unbranding? thx
I also want to rebrand my HD7 but the registry editors ive used dont show it. How can I change it back to TMO-US?
omaropa said:
I also want to rebrand my HD7 but the registry editors ive used dont show it. How can I change it back to TMO-US?
Click to expand...
Click to collapse
You'll need to run this XAP called HTC-ProvXml-Deploy.
This XAP will load a self-contained CustClear.provxml file into the registry. You'll just need to create your own CustClear.provxml file and overwrite the one that's already in the XAP.
You'll need to create a .reg file with the following contents:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\System\Platform\DeviceTargetingInfo]
"MobileOperator"="TMO-US"
Then run rgu-2-xml to convert it to an XML file.
The XML file should look like this:
Code:
<wap-provisioningdoc>
<!-- *** COMMENTO *** -->
<characteristic type="Registry">
<characteristic type="HKLM\System\Platform\DeviceTargetingInfo">
<parm name="MobileOperator" value="TMO-US" datatype="string" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
Rename the file generated by rgu-2-xml to "CustClear.provxml" (without quotes obviously). BTW, you can just take the XML above paste it into NotePad and save it as "CustClear.provxml" if you want to skip the rgu-2-xml conversion.
Next you'll need to open up "HTC-ProvXML-Deployn.n.n.xap" as an archive file. You can either change the extension to "zip" and open it up in Windows (you'll need to change the extension back to "xap" later, obviously), or you can use 7-Zip. If you have 7-Zip, right-click on the xap file and select "Open archive".
Drag your new CustClear.provxml file into the archive and overwrite the file already contained therein. Double check that the file was overwritten by dragging the file from the archive to another folder (e.g. your desktop) and open it up in NotePad to inspect.
Next change the extension of the zip file back to xap if you have to, and then deploy the xap to your device. Run the app, and you should have a rebranded HD7.
Unfortunately, I don't think there's anyway to tell if the changes stuck.
Thank you. This was very easy to follow and I was able to follow your instructions and deploy the registry settings!
I already customized myself a provxml to rebrand my HD7 back to TMO-US. Attached it for download. Just deploy to your device and hit the green button to provision.
Note that this is specifically to rebrand back to TMO-US.
Hi,
Slight highjacking, but I also rebranded mine to 000-88, and want to change back. I was too stupid to write my old registry down.
I have an Samsung Omnia with 3 for Sweden. Could any swedish guy check that out?
I'd like to ask the same question for my O2 Germany HD7.
I know, one probably just has to change TMO-US into something like O2-DE or else, but I don't want to mess around with these reg files so I rather ask.
O2 Germany pushed the update yesterday and since my general reception got worse after forced NoDo I want to try it with the official one.
So it'd be nice if anyone could tell, what providerIDs one has to use for certain countrys/providers.
Big thanks in advance!
Hi all!
Does anyone know what is the entry - instead of "TMO-US" - for debranded devices in the registry?
I would like to rebrand my mozart for an update and after the installation I would like to redebrand my device ... to be free again ... ;-)
Thanks in advance!!
blaster88 said:
Hi all!
Does anyone know what is the entry - instead of "TMO-US" - for debranded devices in the registry?
I would like to rebrand my mozart for an update and after the installation I would like to redebrand my device ... to be free again ... ;-)
Thanks in advance!!
Click to expand...
Click to collapse
good question, has anyone an idea?

Categories

Resources