yashsingh1/xdaforums huggingface dataset:
[Windows Phone 7 Development and Hacking] hx4700 Killer:
Did you ever get it to work with the following command line when your command prompt was changed to the ZUNE folder:

updatewp.exe /IU "C:\A0CE706D-12B7-45AC-A5FC-AD04DFCA6E86.100.pks" /enablebackup

??
[Windows Phone 7 Development and Hacking] nok_fusion:
very weird,i unplung the phone(it was on the mode for backup/recover) so the phone restart,it arrive on the desktop of windows phone & i click on "backup phone" and the phone restart alone & came back to recover mode & now the backup is done :)
[Windows Phone 7 Development and Hacking] hx4700 Killer:
There is a "handshake" event that has to take place between the phone and the software and if that fails it will throw errors... usually that the handshake failed but who knows. Its almost impossible to know without seeing it myself and troubleshooting.

Sounds like you have a backup now so I'm glad it worked out.
[Windows Phone 7 Development and Hacking] nok_fusion:
yes i have it now;)

many thanks for all of u'r works :)
[Windows Phone 7 Development and Hacking] derausgewanderte:
just successfully backed up my LG Quantum. Great work. good to have it. btw. the backup seems to be faster than via Zune? It took just a little over 300sec.
[Windows Phone 7 Development and Hacking] hx4700 Killer:
Having used the reflector to decompile updatewp I am sure it is the identical backup to zune now as it uses the same class that zune does to perform the update with backup function.

I'm glad it worked for you.
[Windows Phone 7 Development and Hacking] SuperSport:
I love the direction this is headed.

Here is a feature request. I have NO IDEA how hard it is to implement something like this, so it's just a suggestion.

How about when you start the program, it not only asks for the pks location, but also asks where you would like backups stored. It could create a backup in the default directory, and then zip up that backup using the date as the zip name, and then move the zip to the directory you selected. In my case, I have a directory called Samsung Focus Backup where I store my backups. They are named 5-27-2011.zip, 6-3-2011.zip, etc...

Again, not sure how hard this would be, but it's the exact method I'm saving my backups, just manually. Automated would be very cool! :cool:

DANG! I'm SO SORRY! This is what I get for not understanding what I'm reading... You already do almost exactly what I was just asking...
[Windows Phone 7 Development and Hacking] hx4700 Killer:
The ZIP is a good idea. As for relocating the backups ZUNE will ONLY recognize backups in the location it writes them. They can be moved around after a backup and before a restore though.

So yes essentially if you want archive capability I could give you, the user, a choice on where it goes that is easy enough, and again zipping is a good idea but without redistributing someone elses zip app I don't recall that the windows GUI has a build in ZIP command line capability.

Interesting thought, thanks. Currently I have been looking at getting the phones Identity so if someone has multiple devices I can filter the archive during a restore operation to only show backups to choose from for said device rather than ALL the backups you ever saved.
[Windows Phone 7 Development and Hacking] SuperSport:
Does 7zip being open source allow redistribution? I don't fully understand licenses, etc... I use 7zip for most of my zip jobs. Again, I'm sorry I missed how your features worked in your latest release. I just ran another backup using your latest tool, and it worked flawlessly. Archive Backup stored in My Documents as stated. For me, that is plenty good. Zip would be nice, but not absolutely necessary. You are doing a great job, thank you. :D

7zip documentation for using command line and within Visual Basic:

http://www.dotnetperls.com/7-zip-examples

http://www.dotnetperls.com/7-zip
[Windows Phone 7 Development and Hacking] munkeyphyst:
How much compression do you get zipping the files? When I zipped my backup to post it online, it didn't make much difference
[Windows Phone 7 Development and Hacking] hx4700 Killer:
While it is handy to have a single file to keep your backup in I'm not sure how practical zipping would be now that I think about it..... It took 20 minutes for my 12GB backup and saved 10k :D
[Windows Phone 7 Development and Hacking] nok_fusion:
yestarday i do a backup & i do it just fine but today i saw all the homebrew apps i launch was deleted so i try to see if my unlocked works but it didn't,before the backup it was fine & after it removed the chevron unlock... :(
[Windows Phone 7 Development and Hacking] hx4700 Killer:
You seem to be having quite a bit of difficulty using this tool and beyond. I don't know what to tell you without seeing the troubles you have been having first-hand.

My phone is Chevron unlocked. I have a registry editor, the voice to ext app and a few other homebrew apps and have backed up my phone... well I have lost count of how many times I have done via this method it and have never lost a single app and am still dev. unlocked.

If the backup tool is truly responsible for it then I am sorry and I would suggest not using it anymore as I don't know of how it could have done this or how to fix it.
[Windows Phone 7 Development and Hacking] nok_fusion:
i got my previous backup (05-25-2011) so i don't lost apps ;)

ps : when i launch the tools the first time it was asked me if i want to deplace the previous backup,i say no,today i saw the tools deplace the previous image on a folder name "Windows Phone 7 Zune Backup Archive" :D

edit : i retry now to do a backup see if the trouble happen again

edit 2

: now after i made the backup everything working well

i though it was the first time i launch the tools something weird with my phone happened,glad it works :)
[Windows Phone 7 Development and Hacking] hx4700 Killer:
Me too, glad all is working!
[Windows Phone 7 Development and Hacking] SuperSport:
You both are absolutely right. Nothing saved by zipping.

I normally zip my backups just to make them a single file, but I don't mind doing that manually. I do it with my Cooking Kitchens, and my TomTom backups too. That way I can move those somewhere safe for emergencies. I've got plenty of HD Space, and I'm a goof that likes redundant backups. I know it's overkill, but years ago, I lost a few hundred personal pictures to a hard drive failure and failure to backup properly. :o

The tool is working perfectly as it is for me. My only other WP device is an HD2, otherwise, I would love the Multi Device detection. Thank you so much hx4700 Killer!
[Windows Phone 7 Development and Hacking] colossus_r:
Thanks for the time and effort m8....

Its working fine on trophy
[Windows Phone 7 Development and Hacking] EvilWhiteDragon:
So, this tool is confirmed not to work on a HD2? That would be a very sad thing really :(

I've tried it this morning and it poped up an error message. After the bit where it states what the actual error message is, it show a blank space. So it's not really clear what the problem actually is.

Any way to get around this or is it really the different bootloader from the HD2 that prevents the backup to work?

If it is helpful I'll try to do a manual backup later today. Really want to get it to work before I install YukiXDA's new WP7 rom.
[Windows Phone 7 Development and Hacking] geom83rb:
hello, with hd2 during backup i got this error:

http://dl.dropbox.com/u/230299/errore.jpg
[Windows Phone 7 Development and Hacking] EvilWhiteDragon:
I got the same, even though I'm running W7Pro (x64)
[Windows Phone 7 Development and Hacking] hx4700 Killer:
The update package that I point to for DL is for an HD2. Others have reported issues with HD2 as well.

Does the latest ZUNE create a backup for you guys when you perform an OS update?

Sorry I don't have much info on an HD2 as I don't have one to look at.

Assuming it does can you try the following for me:

1. Open a command prompt (Run as administrator if you have UAC on by right clicking cmd.exe and choosing that option)

2. Change directories in cmd to where you have zune installed. Typically the command would be cd c:\program files\zune (assuming default install location)

3. You will need to know the full path to where you unzipped the PKS file too. I put mine in the same zune folder but you can put it anywhere and just use that full path in the following line:

updatewp.exe /iu "C:\Program Files\Zune\A0CE706D-12B7-45AC-A5FC-AD04DFCA6E86.100.pks" /enablebackup

If you didnt unzip the PKS to the zune folder then replace

with the full path and PKS file name where you did put it.

When it runs screenshot or cut & paste or just tell me the exact error message please.

I suspect that the problem is with the PKS file and if we could get you guys one from another device this might work.
[Windows Phone 7 Development and Hacking] colossus_r:
IMO

i dont think this will work on HD2 because it use the official (Zune) update procedure

...

After the restart the hd2 its NOT recognized as an WP7 device and i think the procces will stops there.

Its the same problem why HD2 canot get the official update
[Windows Phone 7 Development and Hacking] hx4700 Killer:
I had read that it doesnt use the standard bootloader but without one to look at for myself its all speculation to me.

All we can do is try :(

I just had a thought on this and was wondering.... If I enter DIAG mode on my Samsung Focus I can enter a code that allows me to change the USB mode of the device for tethering. Is there a DIAG mode for HD2? ( I assume yes) Is there such a code for an HD2 for altering the USB mode ?
[Windows Phone 7 Development and Hacking] EvilWhiteDragon:
Except for the part where the phone restarts. It stays in WP7, it doesn't get to the point where it restarts

If it is of any help, here is the exact output from updatewp.exe in admin-cmd:

UpdateWP version 4.7.1404

Applying updates to device
Id: \\?\usb#vid_045e&pid_04ec&mi_00#8&3af6f29f&0&0000#{ca3d7387-f67
b-11da-bbec-8000600fe800}
SN: 9bb28bb5 - 95a4a8d1 - 813c26de - 32ac200b
Name: HTC Schubert
KITLName: QSD8XXX01365859
Manufacturer: HTC
ModelId: 1
MobileOperator: 000-00
Version: 07.00.07392.03-00.00.00000.00-00.00.00000.00

Checking your phone's status: Completed in 0,01 seconds
Checking system requirements: Completed in 0,01 seconds
Downloading updates: Completed in 2,03 seconds
Checking system requirements: Completed in 0,02 seconds
Transferring updates: Completed in 0,3 seconds
Preparing to install. Please wait: Completed in 2,04 seconds
Error:
Update device 9bb28bb5 - 95a4a8d1 - 813c26de - 32ac200b Complete with error code
: 800B010A, error message: A certificate chain could not be built to a trusted r
oot authority.
[Windows Phone 7 Development and Hacking] colossus_r:
This is the same error message that you get when you try to update the HD2 with zune..

There is a thread in the HD wp7 forum for that and we all agree back then that the problem is that HD2 it was not recognized as an WP7 device during the update p!!!!
[Windows Phone 7 Development and Hacking] hx4700 Killer:
I'm going to have to defer to those with more experience on the subject than I on this one. Sorry HD2 folks :(
[Windows Phone 7 Development and Hacking] mendel129:
fails on developer unlocked samsung omnia 7 (7.0.7392)

C:\Program Files\Zune>UpdateWP.exe /iu "c:\Users\Mendel Alias\Desktop\x64\A0CE706D-12B7-45AC-A5FC-AD04DFCA6E86.100.pks" /enablebackup
UpdateWP version 4.7.1404

Applying updates to device
Id: \\?\usb#vid_045e&pid_04ec&mi_00#6&7368f33&0&0000#{ca3d7387-f67b-11da-bbec-8000600fe800}
SN: 1725b373 - e293192f - 1d4d6f37 - c68ea4b4
Name: MendelPhone
KITLName: QSD8XXXE2895426
Manufacturer: SAMSUNG
ModelId: 1
MobileOperator: 000-88
Version: 07.00.07392.03-00.00.00000.00-00.00.00000.00

Checking your phone's status: Completed in 0,01 seconds
Checking system requirements: Completed in 0,01 seconds
Downloading updates: Completed in 2,14 seconds
Checking system requirements: Completed in 0,02 seconds
Transferring updates: Completed in 0,31 seconds
Preparing to install. Please wait: Completed in 2,02 seconds
Rebooting your phone: Completed in 33,49 seconds
Creating a backup: Completed in 76,48 seconds
Rebooting your phone: Completed in 47,38 seconds
Completing updates: Completed in 5,05 seconds
Error:
Update device 1725b373 - e293192f - 1d4d6f37 - c68ea4b4 Complete with error code: 801812DD, error message: Can't create backup.

any thoughts on this one?
[Windows Phone 7 Development and Hacking] hx4700 Killer:
I did some quick googling on that error code and found:

http://answers.microsoft.com/en-us/...ode-on-a/1b3c06dd-a56b-e011-8dfc-68b599b31bf5

Lol and even better a problem grid of sorts from MS:

http://support.microsoft.com/kb/2484484#80072EE7_801812DD_801811C5

It gives the same conclusion as the first link though, that you are not using the factory cable with your phone.
[Windows Phone 7 Development and Hacking] mendel129:
lol, works, nice! :p
[Windows Phone 7 Development and Hacking] EnderPsp:
It stalls for me, at the end of the backup, after the .dat files are created. Gets to 100% but just stays there. I left it for 30+ mins at that point but nothing else happened.

I've tried the tool on my desktop and my laptop, with my Samsung Focus (+16GB card class2). Same result on both, it just stalls at the end of the backup.

The data files get created (5 gb) but it doesn't appear to create the xml for them and move the dat files from \temp folder.

I disconnect and manually restart the phone and evidently, when Zune starts, deletes the temporary created files.

Any ideas?
[Windows Phone 7 Development and Hacking] hx4700 Killer:
Have you tried it via command line instead of going through the program?

Assuming zune is in the default location and you put the PKS file in the zune folder (c:\program files\zune):

1. Open a command prompt (run as administrator if UAC is on in Vista/win7)

2. change to the zune directory: cd c:\program files\zune (HIT ENTER)

3. type: updatewp.exe /iu "C:\Program Files\Zune\A0CE706D-12B7-45AC-A5FC-AD04DFCA6E86.100.pks" /enablebackup

When you see the 100% backup status, and assuming it works correctly etc... right after it says that it is installing the update just unplug the phone. Close the DOS window you were using to type the commands in and then plug the phone in and unplug it again. You may have to do that twice and then the phone will reboot and be fine.

If you get an error let me know what it is.

The tool is triggering the same ZUNE backup process that occurs when you get a REAL update so if you have any issues with ZUNE then they will also manifest during this process.
[Windows Phone 7 Development and Hacking] EnderPsp:
That's the problem, i doesn't get

after

the 100%, it just stalls at 100%.

This is how the output looks when it gets to 100%:

Version: 07.00.07004.03-00.00.00000.00-00.00.00000.00

Checking your phone's status: Completed in 0.01 seconds

Checking system requirements: Completed in 0.01 seconds

Downloading updates: Completed in 2.09 seconds

Checking system requirements: Completed in 0.03 seconds

Transferring updates: Completed in 0.46 seconds

Preparing to install. Please wait: Completed in 2.03 seconds

Rebooting your phone: Completed in 132.98 seconds

Creating a backup: 100%

Here, it just stays like that.

So I disconnected it as you suggested and in a few seconds I got this:

Version: 07.00.07004.03-00.00.00000.00-00.00.00000.00

Checking your phone's status: Completed in 0.01 seconds

Checking system requirements: Completed in 0.01 seconds

Downloading updates: Completed in 2.08 seconds

Checking system requirements: Completed in 0.03 seconds

Transferring updates: Completed in 0.49 seconds

Preparing to install. Please wait: Completed in 2.02 seconds

Rebooting your phone: Completed in 133.33 seconds

Creating a backup: Completed in 1217.47 seconds

Error:

Update device xxxxxxxx - xxxxxxxx - xxxxxxxx - xxxxxxxx Complete with error code: C1010007, error message: Your phone is disconnected. Please reconnect your phone to the computer and make sure it remains connected during the update.

So I don't get to see anything after 100%, since it stays at 100%. It just doesn't get to the part I highlighted in red.
[Windows Phone 7 Development and Hacking] hx4700 Killer:
Without the ability to get hands on the phone or device do you have the opportunity to try this with a different computer? The backup will perform even on a "non primary" computer with zune installed.

You can install zune and the tools and download the PKS file and try again?

You are the first person to report this issue. I have a samsung focus, run on win 7 x64 and also have a 16GB SD card installed and have no difficulties.

Whoops.. I just reread that first post and you have tried it on two computers. I am at a loss. :(
[Windows Phone 7 Development and Hacking] EnderPsp:
No problem, thanks for the tool and trying to help :) I'm usually lucky to get the issues other people don't.

I did try it on two computers, I could try the third I suppose but it behaves absolutely the same on both. Both machines are Windows 7 x32 (comp+lap). I don't have a x64 machine to try on, but will look for one to check.

It might actually be the phone. It's a Focus with 7004, maybe people here mostly made backups of 7008 with this tool? It might have to do with the stability issue 7008 fixes, who knows.
[Windows Phone 7 Development and Hacking] munkeyphyst:
You likely need 7008, as that update (7004 to 7008) prepared the phone for the update process and didn't create a backup
[Windows Phone 7 Development and Hacking] Rcf686:
The backup and restore worked great. Fantastic tool. Is there a limitation in Zune that it will only backup to the same size SD card if you added one. I was going to update from my 8Gb card to try a new 32Gb Sandisk but it would error out during the restore. I put my 8 Gb SD back in and it restored flawlessly. Great work
[Windows Phone 7 Development and Hacking] Thunder_47:
This is a very interesting app. I thank you for the application as I am going to get my DVP replaced (it shuts off citing an SD card error, I have not removed or tampered with the SD card).

I am interested in how you got the program to boot into WP7's version of "recovery mode" (picture telling you to connect to computer)
[Windows Phone 7 Development and Hacking] hx4700 Killer:
I went from my stock 8GB in my focus to a 16GB stick and was just using the backup I made when I upgraded via ZUNE and got an error part way through the restore that I honestly don't recall. Whatever it was it didnt say anything about memory size but then I pulled the 16GB stick out and the restore worked perfectly.

So to the answer... no I am reasonably sure from my own personal experience that restoring to a phone with a different amount of RAM won't work.
[Windows Phone 7 Development and Hacking] hx4700 Killer:
Keep a copy of the backup files because when you hook up the new phone you may loose them. It is questionable if ZUNE will restore this backup to another phone as there are signatures and device ID's tied to it.

As far as the recovery mode... in the first post I explain that all I am doing is basically fooling some tools microsoft wrote in to thinking there is an update to perform. I don't do anything but trigger the normal backup process Zune performs, after that its all up to Zune and your phone. I thought I had read that there was a key sequence that could put the WP7 phones in recovery mode though?
[Windows Phone 7 Development and Hacking] Rcf686:
Thanks for the quick reply hx4700 killer.Love the program
[Windows Phone 7 Development and Hacking] RapDj93:
The first time I try this app, it didn't work on my OMNIA 7. The Second Time the app didn't work with one difference: it download on my phone various updated refers to 7008 update (originally the phone had 7004 version). Instead the third time I try the string

"updatewp.exe /iu "C:\Program Files\Zune\A0CE706D-12B7-45AC-A5FC-AD04DFCA6E86.100.pks" /enablebackup"

on the Dos Prompt.

This didn't work and it screen the following error:

"Update device 0010f31c - 1eae1860 - be46cc1a - b0e8d647 . Complete with error code: " 8018004D " . error message: Impossible to install the image of the update in the phone. No package applicable".

If I navigate in the path called "Windows phone update", situated in %users% / AppData/Local/Microsoft there is no files, so no backup!
[Windows Phone 7 Development and Hacking] hx4700 Killer:
Did you download, unzip and put the PKS file in to the folder you reference in the command: C:\Program Files\Zune\A0CE706D-12B7-45AC-A5FC-AD04DFCA6E86.100.pks

If you didnt that is why you get an error.

What error does the app give you?
[Windows Phone 7 Development and Hacking] Thunder_47:
they actually didnt exchange my phone to upgrade it to 4g, they just installed a radio upgrade and a new sim card.
[Windows Phone 7 Development and Hacking] RapDj93:
There isn't a code error, but appear following message:

"An error occurred while performing the backup. The error text will be in the clipboard. The error text is:

". After the colon ther's no code error. This is the reason why I wanted to try the DOS method.
[Windows Phone 7 Development and Hacking] hx4700 Killer:
So.. did the DOS method work?
[Windows Phone 7 Development and Hacking] MadSci:
Thanks! Wonderful Tool!

Just completed my first backup since I bought my HD7S.

I know we're all supposed to be happy with restoring just what MSoft thinks is important (yeah riiiight!) but I have felt very exposed without the ability to back up everything!

This worked a treat! Thanks very much for your efforts - you made the Windows Phone world a safer, better place!

MadSci
[Windows Phone 7 Development and Hacking] RapDj93:
No, the Dos method didn't work.

Appears the following error:

"Update device 0010f31c - 1eae1860 - be46cc1a - b0e8d647 . Complete with error code: " 8018004D " . error message: Impossible to install the image of the update in the phone. No package applicable".
[Windows Phone 7 Development and Hacking] hx4700 Killer:
The DOS method WILL throw an error at the end because the update is for an HD2 and this process doesnt work on an HD2. So it is NOT an applicable package for any other phone.

The question is did the backup run and complete? Do you have a restore point in ZUNE that is dated the date you ran the command?
[Windows Phone 7 Development and Hacking] RapDj93:
No I haven't any backup dated package, because when appears the error I notice that in the path when the app save backup, files that were created are deleted :(

So I have no backup. -.-
[Windows Phone 7 Development and Hacking] Yosef:
When i used in cmd the coomand :

updatewp.exe /iu "C:\Program Files\Zune\A0CE706D-12B7-45AC-A5FC-AD04DFCA6E86.100.pks" /enablebackup

I had the command back :

A certificate chain could not be built to a trusted root authority ...
[Windows Phone 7 Development and Hacking] hx4700 Killer:
That usually comes up on an HD2. Is that what you have? If so it doesnt work.
[Windows Phone 7 Development and Hacking] Marvin_S:
Thanks for you app!

How about baking the PKS in? Since its just for fake purposes right? Just to create the backup :)

It will be less confusing for people and easier to use.

And also maybe listing all the archived backups underneath in a listbox would be cool :)
[Windows Phone 7 Development and Hacking] hx4700 Killer:
Since HTC cracked down on the ROM archive I didn't want to get hammered for redistributing their update :(

Same reason I dont have the windows phone tools in there and install if the user doesnt have them.

I will look in to listing the archives in a drop down. I wasn planning on doing something like that when I get the phone ID to identify the phone and only present the backups in the archive for that device.

Thanks for the feedback.
[Windows Phone 7 Development and Hacking] SuperSport:
It is too bad those parts cannot be added to the single install, but it's completely understandable why you are leaving them out. We all just want to make other's lives easier, not get into legal trouble...

The other suggestion is really a good one. This is really becoming a full featured program, thank you again for your work.
[Windows Phone 7 Development and Hacking] hx4700 Killer:
I don't suppose doing an HTTP get would get me in trouble though ;)