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 ?
Related
Hello. Does anyone know how to remove the clear storage icon in the settings panel; or how to add/delete any icons in the settings panel for that matter.
Any Solution for this
Hi,
I am also looking a way to remove this icon as with this icon any normal user ( my kids) can reset pda.
Regards,
Rhyme
In RegEdit,
HKLM\ControlPanel
There you will see what is shown under Settings. I believe that setting the value of Group to 1, 2, or 3 will list that App to be under Personal, System, or Connections, respectively. Or you can just delete the App folder and it will not show. Just a hunch..
Hi,
Thanks for reply. I tried it and deleted whole folder "Clear Storage" in HKLM\ControlPanel and then done reset but still it is there in setting/system
Regards,
Rhyme
asdrhyme said:
Hi,
Thanks for reply. I tried it and deleted whole folder "Clear Storage" in HKLM\ControlPanel and then done reset but still it is there in setting/system
Regards,
Rhyme
Click to expand...
Click to collapse
What if you tried to set the Group value to 0? Or delete the App (located in \windows?)
mrnamster said:
What if you tried to set the Group value to 0? Or delete the App (located in \windows?)
Click to expand...
Click to collapse
You can't delete it because app is in rom... If you set Group value to 0 then you will have Icon in Settings->Personal.
I have one question how remove Clear storage from ROM Folders? If I delete ClearStorage.exe from OEM\OEMDrivers but I can't find file where is entry for register setup...
You need to delete 2 registry entries and 3 files before you cook. If it's a cooked rom then removing both reg keys should remove ClearStorage.
HKLM\ControlPanel\Clear Storage
HKLM\SOFTWARE\HTC\HTCCPL\Applet4
Keep in mind that Applet4 can me a different applet in different roms so before you go and delete it make sure that the string value for Name is Clear Storage. Hope this helps.
No this doesn't help because Im check alot of files in SYS and OEM folder if have included "Clear Storage" but Im find nothing...
I know for this two entries but I can't find it in files... When Rom is cooked and flashed into device then I can see this two entries...
_Dejan_, my rom in my sig (1.61.DKv3.3) has Clear Storage removed so I know it works. To remove you need to take out 3 files:
from OEM\OEM_Lang_0409
-ClearStorage.exe.0409.MUI
-ClearStorage.htm
from OEM\OEMDrivers
-ClearStorage.exe
Then remove settings from mxip_HtcApps_translation.provxml in OEM\OEM_Lang_0409:
<characteristic type="HKLM\SOFTWARE\HTC\HTCCPL\Applet4">
<parm name="Name" value="Clear Storage" datatype="string"/>
<parm name="Title" value="Clear Storage" datatype="string"/>
<parm name="Path" value="ClearStorage.exe" datatype="string"/>
<parm name="CmdLine" value="" datatype="string"/>
</characteristic>
<characteristic type="HKLM\ControlPanel\Clear Storage">
<parm name="Group" value="1" datatype="integer"/>
</characteristic>
Cook your rom without these files and settings and Clear Storage will be gone. If you are not cooking and just want to remove the icon, do as said in my previous post and reboot.
Hi,
I would like remove it in my cooked rom before I cook it...
and there I have one problem. I don't have mxip_HtcApps_translation.provxml in OEM\OEM_Lang_0409 folder and ClearStorage.exe.0409.MUI and ClearStorage.htm in OEM\OEM_Lang_0409 folder doesn't exist too... In OEM\OEMDrivers I have ClearStorage.exe and If I look .DSM file C l e a r S t o r a g e . e x e is present too. But if I edit this file then Can't Build(Give me error) ROM... Any other way?
_Dejan_, what rom are u using as your base? i'm positive that these files are in the 2 most recent at&t official roms (1.60 and 1.61) and the most recent one from htc (1.56) because my rom (DKv3.3) is a mix of these 3.
Hi Im using Alex's HTC 1.56 Cooking Kit v4(ROM Folders) with custom OS.NB After cooking and flashing I see in registry this entries but this is to late... One way is if I when complete dumb temp files edit default.hv or user.hv but If I do this everytime when I build rom this will take me alot of time...
marscandybars said:
Hello. Does anyone know how to remove the clear storage icon in the settings panel; or how to add/delete any icons in the settings panel for that matter.
Click to expand...
Click to collapse
Removing it from a running image is as simple as the following registry change (no need to delete entire registry keys or files):
HKLM\ControlPanel\Clear Storage
Group=dword:9
_Dejan_ said:
Hi,
I would like remove it in my cooked rom before I cook it...
and there I have one problem. I don't have mxip_HtcApps_translation.provxml in OEM\OEM_Lang_0409 folder and ClearStorage.exe.0409.MUI and ClearStorage.htm in OEM\OEM_Lang_0409 folder doesn't exist too... In OEM\OEMDrivers I have ClearStorage.exe and If I look .DSM file C l e a r S t o r a g e . e x e is present too. But if I edit this file then Can't Build(Give me error) ROM... Any other way?
Click to expand...
Click to collapse
Removing it from a ROM you are cooking requires the following:
[OEM\OEM_Lang_0409]
REMOVED: ClearStorage.exe.0409.MUI
REMOVED: ClearStorage.htm
[OEM\OEM_Lang_0409\mxip_HtcApps_translation.provxml]
REMOVED: <characteristic type="HKLM\SOFTWARE\HTC\HTCCPL\Applet4">
REMOVED: <characteristic type="HKLM\ControlPanel\Clear Storage">
[OEM\OEMDrivers]
REMOVED: ClearStorage.exe
P.S. You must be able to see even system protected files to see some of these, in My computer select: Tools|Folder Options|View Tab and make the following changes:
- Hidden files and folders
[X] Show hidden files and folders
- [ ] Hide extensions for known file types
- [ ] Hide protected operating system files (Recommended)
Quentin- said:
P.S. You must be able to see even system protected files to see some of these, in My computer select: Tools|Folder Options|View Tab and make the following changes:
- Hidden files and folders
[X] Show hidden files and folders
- [ ] Hide extensions for known file types
- [ ] Hide protected operating system files (Recommended)
Click to expand...
Click to collapse
Im so stupid :S Now I can see all this files OEM\OEM_Lang_0409\mxip_HtcApps_translation.provxml
Thanks.
Bye, _Dejan_
I reinstall software but again seen old users' name
Hello. Does anyone know how to remove the software on pda. I delete it and I reinstall several time, but it seen still old user's name. I want it to install my user name and new registry key number. Thanks....
its there a way to use the reg to set default programans on startmenu?
Example:
File Explorer
Internet Exporer
Comm Manager
Phone
Messenger
NO HELP
at frist boot after hard reset...
THX
wolframio74 said:
its there a way to use the reg to set default programans on startmenu?
Example:
File Explorer
Internet Exporer
Comm Manager
Phone
Messenger
NO HELP
at frist boot after hard reset...
THX
Click to expand...
Click to collapse
in \settings\menu ...
thx but how i export these setting to make it default on rom?
wolframio74 said:
thx but how i export these setting to make it default on rom?
Click to expand...
Click to collapse
it's reg key i don't remember witch one...
wolframio74 said:
thx but how i export these setting to make it default on rom?
Click to expand...
Click to collapse
Never trying this but you can start to export values from HKLM\Software\Microsoft\Today\Items. You can import later to include any shortcut you want to be listed
wolframio74 said:
its there a way to use the reg to set default programans on startmenu?
Example:
File Explorer
Internet Exporer
Comm Manager
Phone
Messenger
NO HELP
at frist boot after hard reset...
THX
Click to expand...
Click to collapse
Try settingssavior, i think it has a provision for it. But I am not sure if works or not!
I have done this before, and unfortunately, a simple registry tweak doesn't do the trick. You will need to write (or edit) an *.provxml in your kitchen specifying the *.lnks to move to the "\Windows\Start Menu" directory.
Don't think this can be done by Reg, the default items are Stored als .lnk under "\windows\Startmenu\" controled by Initfiles.dat or Proxml files!
Maybe you can try Proxml syntax with UC
like this
Code:
<characteristic type="\Windows\Start Menu\" translation="install">
<characteristic type="Internet Explorer.lnk " translation="install">
<characteristic type="Copy">
<parm name="Source" value="\Windows\pie.lnk" translation="install"/>
</characteristic>
</characteristic>
and delete Help :
Code:
<characteristic type="\Windows\Start Menu\Help.lnk" translation="install">
<characteristic type="Delete">
<parm name="ForceDelete"/>
</characteristic>
</characteristic>
s4dd1 said:
Don't think this can be done by Reg, the default items are Stored als .lnk under "\windows\Startmenu\" controled by Initfiles.dat or Proxml files!
Maybe you can try Proxml syntax with UC
like this
Click to expand...
Click to collapse
You are right ...sorry for misguiding, by mistake I thought it is a today item plugin which is enabling/disabling is controlled by registry values.
edited the title to maybe get some more eyeballs on this.
just move around the link files
i think u are asking if u can customize the start menu...
use total commander and go to your main memory. then click on windows folder. then click on start menu folder. here you'll see link files for all your programs. with your stylus, click and hold...Copy/Move. then click on Tree...find the directory you want to move it to or just plain delete the link file off that folder and keep just the ones you want.
hope it helps.
If the Rom is UC compatible,than this is most safe way to put these setting right after each hard reset.
KMFM$ said:
I have done this before, and unfortunately, a simple registry tweak doesn't do the trick. You will need to write (or edit) an *.provxml in your kitchen specifying the *.lnks to move to the "\Windows\Start Menu" directory.
Click to expand...
Click to collapse
That sound very nice, where i find that provxml to edit it? or i may create it? (how) thx
BTW: thx to all for the replies
I would just add it to the end of an existing .provxml file. In your kitchen, go to OEM and search for mxip_oemupdate_*.provxml (something like that). Just open it up and add the entries before the </wap-provisional> tag at the end. A tip on editing, search the boards for Sleuth's User Customization thread. It gives tons of examples and links for editing .provxml files. When I get a chance, I'll post a copy of what I use to help you out.
If your SMS Reply area is too small and/or covered by the keyboard, you can adjust the space where you type in your reply by doing the following:
1. Connect your phone via Active sync to your PC.
2. In activeSync window, click on Tools/ExplorePocketPC/MyWindowsBasedDevice/Windows and,
3. locate a file with the name "thread_sms.htm", copy then paste in a folder on your PC.
4. Right Hand click on the "thread_sms.htm" the one you copied on your PC and Click Open with Notepad.
5. Locate the line that reads "<Inbox:content id="COMPOSESUBJECT" width="98%" height=## spell" ( ## maybe 30 or 40 or whatever).
6. Change the height=## spell" to 90.
7. Click on save and exit.
8. copy the file you just modded to your Windows directory on your device via ActiveSync. It will replace the existing file and now you increased the SMS typing area by at least 75%.
open the attached htm with note pad and you will see what I mean.
Here is the content of the HTM file:
<html XMLNS:Inbox>
<head>
<object id="HTMLFormFactory" CLASSID="clsid:29d48cf7-ed6a-4a9d-a17a-ae9115c07a90" />
<?IMPORT NAMESPACE="Inbox" IMPLEMENTATION="#HTMLFormFactory" />
<link rel="stylesheet" href="file://\windows\thread_style.css" type="text/css" />
</head>
<body>
<Inbox:ThreadIFrame>
<Inbox:content id="THREADIFRAME" links />
</Inbox:ThreadIFrame>
<div id="threadbottom">
<hr class="divider" size="1" />
<Inbox:ComposeBodyCount>
<Inbox:content ID="COMPOSEBODYCOUNT" format="%1!d!/%2!d!%4 (%3!d! messages)" title />
</Inbox:ComposeBodyCount>
<Inbox:ComposeSubject class="sms">
<Inbox:content id="COMPOSESUBJECT" width="98%" height=90 spell focus count links noclearonbackpresshold limit=0 autocap inserttab scroll />
</Inbox:ComposeSubject>
</div>
</body>
</html>
Here is the HTM file:
After using your file i can no longer tap on messages in my inbox, i have replaced backup file soft-reset, deleted all messages and used PIM to restore and still the same, no worries bruv, just a hard-reset needed
stylez said:
After using your file i can no longer tap on messages in my inbox, i have replaced backup file soft-reset, deleted all messages and used PIM to restore and still the same, no worries bruv, just a hard-reset needed
Click to expand...
Click to collapse
sorry to hear about your issue Stylez... Have you tried to do it the manual way? Just locate the htm file by the name of thread_sms.htm in your device windows directory, copy it onto your pc then open it with note pad. After that just change the hight value where it is at hight=30 now as shown here: COMPOSESUBJECT" width="98%" height=90. Click on save then copy the saved file to the device windows directory to replace the existing htm and you are set.
Again, sorry for the mishap with the provided copy.
asfoor said:
sorry to hear about your issue Stylez... Have you tried to do it the manual way? Just locate the htm file by the name of thread_sms.htm in your device windows directory, copy it onto your pc then open it with note pad. After that just change the hight value where it is at hight=30 now as shown here: COMPOSESUBJECT" width="98%" height=90. Click on save then copy the saved file to the device windows directory to replace the existing htm and you are set.
Again, sorry for the mishap with the provided copy.
Click to expand...
Click to collapse
No worries bruv didn't try manual but had saved my file before i used yours, it was time for me to try some new ROMs and you just got me back in the game was getting complacent
stylez said:
No worries bruv didn't try manual but had saved my file before i used yours, it was time for me to try some new ROMs and you just got me back in the game was getting complacent
Click to expand...
Click to collapse
Don't we all get that way sometimes ?
asfoor said:
Don't we all get that way sometimes ?
Click to expand...
Click to collapse
yes we do, now is time for you to release custom rom brother
msd24200 said:
yes we do, now is time for you to release custom rom brother
Click to expand...
Click to collapse
Working on one .... now you have let the cat out of the bag...
asfoor said:
Working on one .... now you have let the cat out of the bag...
Click to expand...
Click to collapse
wha? custom rom from asfoor? worrrrrrrrrrrrrrrrd...should be great, yeah? love to try it bruv...
asfoor said:
Working on one .... now you have let the cat out of the bag...
Click to expand...
Click to collapse
i got dibs on it, i'll test that thang!!!
stylez said:
After using your file i can no longer tap on messages in my inbox, i have replaced backup file soft-reset, deleted all messages and used PIM to restore and still the same, no worries bruv, just a hard-reset needed
Click to expand...
Click to collapse
You don't need a hard reset. Just delete the file and restart, Windows will automatically create a new default one
thedrizzle said:
wha? custom rom from asfoor? worrrrrrrrrrrrrrrrd...should be great, yeah? love to try it bruv...
Click to expand...
Click to collapse
It is gonna take a while as I started the project months ago, then put it off, and now I am re-thinking it and testing various options and setting my kitchen.
Thank you
Asfoor,
Another good tips. Thanks!
I use Xplore (from LonelyCatGames.com) and copy the file from Windows, do edit (it has nice text editor) and replace original. I kill Tmail.exe from process first, and replace the file. It works great (but I think I'll change that to 60 .. too big for me )
Now on your new ROM, can I request some enhancement from Athine Jan 22?
Upon booting, the SIM lock input always got superseded by the M2D. When I used L26's TF3D V4, it stays on SIM lock until I keyed in the PIN and then it continues. I think as a phone, this is a more usual behaviour.
For Athine, I do a workaround by invoking green phone button, put the PIN, and press red button to exit, but it's not as smooth as expected.
Also, do you have idea why autopick on network (ISP) not working? It goes to the first on the list, failed (because I'm on another ISP SIM), but doesn't change or pick the next (which is the correct ISP). I have to manually select.
I tried searching around the forum, it seems that it never works .. ??
anagarika said:
Asfoor,
Another good tips. Thanks!
I use Xplore (from LonelyCatGames.com) and copy the file from Windows, do edit (it has nice text editor) and replace original. I kill Tmail.exe from process first, and replace the file. It works great (but I think I'll change that to 60 .. too big for me )
Now on your new ROM, can I request some enhancement from Athine Jan 22?
Upon booting, the SIM lock input always got superseded by the M2D. When I used L26's TF3D V4, it stays on SIM lock until I keyed in the PIN and then it continues. I think as a phone, this is a more usual behaviour.
For Athine, I do a workaround by invoking green phone button, put the PIN, and press red button to exit, but it's not as smooth as expected.
Also, do you have idea why autopick on network (ISP) not working? It goes to the first on the list, failed (because I'm on another ISP SIM), but doesn't change or pick the next (which is the correct ISP). I have to manually select.
I tried searching around the forum, it seems that it never works .. ??
Click to expand...
Click to collapse
Will look into it....I will keep you posted as I have the GoogleGPRS Communicator ( Not the Nokia Symbian Communicator) to test and give results to. I get paid for that
asfoor,
I found that if the Phone's lock (simple PIN from Setting, not S2U2 pswd) is activated, it'll stay longer on SIM lock PIN screen after reboot. Not sure if the info is useful
Thank you!
Edited and saved it on the device itself using TC... this tweak is just one of those things that make life a little bit easier... thanks
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?
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