yashsingh1/xdaforums huggingface dataset:
[Windows Phone 7 Development and Hacking] poloche:
Hi,

Can you post the Zunewmdu.dll to backup with the manually method please ??

It's missed ;)

thanks

PS

: your app don't open in my W7 Ultimate x86 ! Just only make a backup with manually !
[Windows Phone 7 Development and Hacking] Floods7:
Problem...

I made a backup a few days ago with v1.1 saved it and made a copy. I went to restore it today with the restore button on v1.7, the phone reboots properly, it says its restoring, it takes about 30 sec and restarts the phone saying the restore failed and to check the clip board. Well I don't know where the clip bord is or what to do about it not restoring. Any ideas?
[Windows Phone 7 Development and Hacking] petbede:
Yes, there's a program out there that will restore your save games and video that u download with supertube or any other, if u flash your phone u can use it to restore it all back.

Here is the link:::

http://xdaforums.com/showthread.php?t=1223619

Hope i could be of help. PEACE!!!
[Windows Phone 7 Development and Hacking] hx4700 Killer:
I have just learned something about the new Zune backup that is disturbing.

It won't restore to anything but the same version of the OS!

In other words if you have fully patched your device, made a backup then gone to an older OS it won't restore.

This renders the backup pretty much useless. I am going to focus my efforts on getting the old 4.7 zune and updatewp files together and working to make a FULL and COMPLETE backup rather than this useless crap we get now in the hopes that they can work together and you can keep the new 4.8 for connecting the phone.
[Windows Phone 7 Development and Hacking] petbede:
That's a good idea, hope u come out with something positive. PEACE!!!
[Windows Phone 7 Development and Hacking] hx4700 Killer:
Its actually working now. I will have to swap out a file from zune 4.7 and set a reg entry and it works so far. I am going to test going from 7720 to nodo and back to 7720 with backups to confirm, mod the code and post.

So basically while the program is running you will have a "broken" zune (it might work though actually) and when you are done backing up/restoring it will reset everything for zune 4.8.2345 to work.
[Windows Phone 7 Development and Hacking] petbede:
That's good news. PEACE!!!
[Windows Phone 7 Development and Hacking] Floods7:
is that my problem? If you are not sure what I am referring to please check post #451.

Btw I always revert back to Zune 4.7 when I make a backup.
[Windows Phone 7 Development and Hacking] hx4700 Killer:
Gonna take a little more work it looks like. The backup is fine with a single file replaced and registry entry change but the restore is going to need more research.

If you want this working NOW then do the following:

1. Uninstall Both Zune 4.8 and the newer Windows engineering flash tool.

2. Install Zune 4.7 and the original phone tools.

3. Make a sub dir in your program files (or wherver you installed Zune to) called: Zune4.7

4. Copy all files from Program Files\Zune to the new Zune4.8 folder.

5. Now you can uninstall Zune 4.7 and the phone tools and install thenew Zune 4.8 for syncing your device.

To backup/Restore:

1. Whenever you need to backup/restore rename the current Zune install folder to Zune4.8 and the Zune4.7 folder to just Zune.

2. Run Regedit and browse to the following path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Zune

3. Change the Value for "CurrentVersion" to: 04.07.1404.00

Now run your backup or restore (when restoring the backup needs to have been made with this method or when 4.7 was the only version installed)

I have tested this going from 7720 stepping down to 7712 then to 7390 full backups. Checking the version of the OS each time I went.

I found I could not go from 7290 to 7712. I upgraded to 7712 then was able to restore the backup of 7720 while at 7712.

So it appears you have to have a rev level of mango to restore a mango backup.

To reverse just put back the reg value of the CurrentVersion to 4.08.2345.00 and name the folders back.

When you toggle the zune versions you can just use the app to run the backups/restores you don't have to command line it. (Thats how I tested)
[Windows Phone 7 Development and Hacking] hx4700 Killer:
Are you restoring from say 7390 to mango? I am learning that that doesnt work. You need to get the phone to mango before putting that backup back. I also havent tried to take a clean install with no setup and update to mango and then restore a mango backup. I have always started from a 7390 restored phone, updated to 7712 and then restored any mango up to 7720.

On a side note I can confirm that using 4.7 is indeed a complete backup. I was afraid the phone being mango was having something to do with the lack of all files being backed up but it does seem to be 4.7 vs 4.8.

I have supplied the above workaround until I get it in code. I have backed up and restored probably 20 times in the last day so I am done doing that for a bit.
[Windows Phone 7 Development and Hacking] DavidinCT:
Wow, that sucks. I was hoping you would do something a little more indpendant of the current version of Zune that is installed.

I look forward to your progress on this as it sounds like a perfect backup prgram !!!

Just make your app close Zune if it's open or create an error that it cant run with Zune running
[Windows Phone 7 Development and Hacking] :
Hm. I suppose there's no rush for me, for I just want a RTM Mango backup once the real Mango rollout begins (so if no one else is checking the carrier, I can and get back to Mango without downloading the files each time).

Thanks for the effort, though you should include a Zune 4.7 download link in your original post to prevent confusion (or if Zune 4.8 beta works, a link to that).
[Windows Phone 7 Development and Hacking] hx4700 Killer:
Most likely. That is exactly what happened when I tried to restore a backup of 7712 when the phone was at 7390.

It seems the OS has something to say about what is backed up as well. I do know that I had 7720 on a phone and was able to restore 7712 and vice versa. But going from 7390 or less was a no go.
[Windows Phone 7 Development and Hacking] hx4700 Killer:
So it appears that all you need from 4.7 is 1 file. Zunewmdu.dll and the old 4.7 windows phone tools along with the reg change for the version of zune I posted earlier and all works fine for making FULL backups. I wouldn't recommend leaving the file and the reg entry for normal use.

I will work on making a version of the code to use ONLY the 4.7 tools and the 4.7 Zunewmdu.dll file and change the reg entry. YOU will have to supply the file as I will not be distributing microsofts intellectual property with this program. I even will not delete anyones post if it has a link to the file to share with everyone..... ;)

Give me a day or so my plate just got full again today.
[Windows Phone 7 Development and Hacking] rbrsddn:
You guys amaze me! Thanks for all the hard work! I am glad I stuck with Windows phones!!!:)
[Windows Phone 7 Development and Hacking] petbede:
Hi there, u have been a great assistance, thanks.

Looking forward for your v1.8 and hoping it will work smoothly like all others did.

PEACE!!!
[Windows Phone 7 Development and Hacking] Neo84:
Do you have any ETA for the next version with working full backup?

I'll get a new device in the next days and would like to perform a full backup and restore. Thanks.
[Windows Phone 7 Development and Hacking] DavidinCT:
Same here, I was about to order one today.
[Windows Phone 7 Development and Hacking] Heathcliff74:
Restore on another device is not going to work. Backups are device-specific. Not even interchangable between two devices of exactly the same model. The backups are encrypted with a device-key.

Your best bet is probably this app. I have no experience with it, but it seems to work well. On the other device you have to install the apps. And the backup app can restore your app-data on the other device. I believe these backups are not device-specific.

Good luck,

Heathcliff74
[Windows Phone 7 Development and Hacking] DavidinCT:
No, No, No. I want backup when I get my new device and a few steps along the way (unlocking, before upgraidng to mango, etc).

As that app you listed does not backup protected storage (aka: app setting from apps downloaded from the marketplace) so, backing up to move to a new phone is worthless for me.

The backup program that you want (comamnd line only) is this one...

http://xdaforums.com/showthread.php?t=1227476

It claims to backup Marketplace app settings...
[Windows Phone 7 Development and Hacking] hx4700 Killer:
Working on it now. Should hopefully have something out shortly.

Im having to go back and reconfigure all the logic to no longer accept updatetools for 4.8 etc... and test all those permutations.
[Windows Phone 7 Development and Hacking] DavidinCT:
Heads up for everyone !!!!

If you have a HTC phone and use the HTC Leaked final roms, it updates the firmware and backups from Zune/this program WILL FAIL !!!!!

Once you upgrade to Mango final (not the RTM upgrade via zune, only the rom on the leaked roms), there is No way back to Nodo

I have a new phone coming so I tested on my old one

I will be going to the RTM for a while longer till the unlocks are figured out and mango is released by the carriers.
[Windows Phone 7 Development and Hacking] hx4700 Killer:
Did you try to put the original rom back on before doing the restore? I know it seems counter-intuitive but it seems the phone may block restore if the OS isnt at least the same REV as what the backup was... but not in all cases.

---------- Post added at 03:23 PM ---------- Previous post was at 03:22 PM ----------

V1.8 is out and due to the fact that it is changing reg entries and moving files it will prompt you with UAC nags on Vista/Win7... sorry.
[Windows Phone 7 Development and Hacking] DavidinCT:
Verizon HTC Trophy, No orignal rom, just backups from this program.

After the upgrade with the rom on the HTC leaks, any backup made with this will fail :(
[Windows Phone 7 Development and Hacking] hx4700 Killer:
If you do the restore via commandline the error is probably "Version Mismatch" (updatewp.exe /restore)

Can you get back to 7712? You might be able to get this to load if you are 7712 instead of 7720.
[Windows Phone 7 Development and Hacking] DavidinCT:
I tried a 7712 and a 7720 and they both failed :(

I think it's due to the new firmware and radio that is in the HTC Leaked rom.

My phone had some dead pixels on the display and all of a sudden got a green line though the center of the screen, so I got a warranty replacement from Asurion (US Phone insurance). I don't have to worry about that now. I will be sticking with the RTM via Zune till someone unlocks the leaked roms. So I just had to delete my 16gb of backups (7 of them) from my last phone.

So, with my new phone, I am needing to back it up, I guess I'll try 1.8 for this one...

Crap I need to find the ZuneWMDU.DLL file from 4.7, anyone got ?

Downloaded Zune 4.7, when you start installing it, it looks for updates (no way around it from what I see) and just trys to install 4.8. Any work around to get this file so I can do a backup ?

Edit: I downloaded 4.7, extracted the MSI for the zunewmdu and found the file with out having to install 4.7 over my 4.8 install. 32bit, I assume.

I zipped it up and attached it to this post, if you download it, please hit thanks for me !
[Windows Phone 7 Development and Hacking] DavidinCT:
1.8 backup does not work for me. I'm running Windows 7 Ultimate 32bit and I am running the 32bit version of the software (I tried running as an admin and non admin). I downloaded the file above (ZuneWMDU.DLL). I tried to do a backup with My HTC Trophy NoDO device and as soon as I click start backup I get this error.

This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.

No update to mango tonight for me :(
[Windows Phone 7 Development and Hacking] hx4700 Killer:
Damn, that means its not unpacking the correct program for your platform. I ONLY have 64 bit OS's now and havet got much of a way to test 32 bit :(
[Windows Phone 7 Development and Hacking] DavidinCT:
:(

If you really need someone to test, I'll be on and off all day. I am running 32bit Win7 (for now, I upgraded to 8gb meaning to move to 64bit, just havent done it)

You can get me direct at <my user name> @hotmail.com (I get that delievered to my phone).

I'd love to get it backed up before moving to mango RTM again.
[Windows Phone 7 Development and Hacking] derausgewanderte:
here is the one for 64bit OS.

edit: just tried v1.8 on Win7 64bit, Zune client 4.8 latest with 7720.68 on phone. after some hiccups (didn't have the correct phone support tools) it finally makes a backup. It still displays an error message before it starts though. The size of the backup (>4Gb) corresponds to everything on the device (so it definitely makes a full backup). A window opens and reads something about cannot switch files or similar. After it's done it just sits there at 100%, no confirmation message? I closed it and disconnected the phone from the USB to finish. Zune displays the restore point that I just created OK. will try to reproduce this.
[Windows Phone 7 Development and Hacking] hx4700 Killer:
Just got a 32 bit win 7 up and runnign so hopefully should have this ironed out later today.

I tried XP mode in 7 x64 but updatewp complained that it couldnt do a backup through RDP! Lol
[Windows Phone 7 Development and Hacking] derausgewanderte:
I have admin rights to all folders (in fact I made full access to these folders to "Everyone"). I start the executables as Administrator.

the message I get says "switchfiles stopped working" and it quits, but the backup continues.

edit: so I switched the file manually, I still get the "switchfiles stopped working" message. Zune now contains the ZuneWMU.dll from 4.7 and the backup continues like before after closing the error message. The size of the backup corresponds to the space taken on the phone.

edit2: I am not sure what regedit changes your tool makes but I would like to see if they got stuck or changed back. Can you tell me what they are (maybe best if you send the reg file to make the changes by hand for 4.7 and 4.8).

Zune Client 4.8 didn't care with all this so far.

edit3: I just tried to run the switchfiles.exe with admin rights and it just crashes with the above error message. Ran it from the dos admin cmd prompt comes up with this message:

Unhandled Exception:System.NullReferenceException: Object reference not set to an instance of an object. at SwitchFiles.SwitchFiles.Main(). I guess I have to use it as switchfiles <path/filename> <newpath/filename>.

switchfiles.exe spits out a txt file paths.txt when it crashes (the text file disappears after closing the error). the paths.txt file contains the following:

C:\Program Files\Zune\Zune.exe

D:\Downloads\WP7\Backup\x64\ZuneWmdu.DLL

Those are the paths I set in your tool when I started it.

I am not seeing any changes in the registry Zune tree (HKLM or HKCU)

so altogether it can't make changes but still makes a full backup? confused...I haven't dared to run a restore yet...
[Windows Phone 7 Development and Hacking] hx4700 Killer:
The registry change probably worked fine and reverted fine. What is at issue is the fact that switchfile is failing for whatever reason.

What I have done is embedded two EXE (4 if you count x86 and x64) in to the EXE that get unpacked and run. Those are what need admin rights. The paths.txt was just a quick and dirty way of passing info to those files without using a command line argument but I might change to that anyway.

The reason I did it this way instead of elevating the whole app is because I found that with MY computers (I am an IT admin) I do not have admin access on my local account no matter what. So when elevation is needed I have to type in a different credential. That opens up a whole new can of worms because NOW the program is running as a different account and all my backup archives arent going to be in the profile of the account its running as plus the registry entries for Zune won't be there for my device and it turned in to a bigger headache than I anticipated. So the simple solution was to launch apps that required elevation to perform the work necessary. I might be able to combine them in to one now that I have thought about it "out loud" though so only one elevation prompt occurs.

As far as backup size it is the 4.7 zunewmdu.dll that makes that happen. The 4.8 stuff just doesnt work. I had actually initially changed the version info on the 4.8 zunewmdu.dll so that updatewp.exe accepted it but still got 2GB backus instead of my 10GB with music ones I get now.

Finally to answer your question the registry entry is in a prior post:

HKLM\Software\Microsoft\Zune Value is CurrentVersion and if its changed it will say 04.07.1404.00 if its back it will say 04.08.2345.00

I don't think zune really cares what that value is but updatewp does.

I just got back from a long lunch and will see about getting both versions operable without those errors.
[Windows Phone 7 Development and Hacking] derausgewanderte:
yep, the value is 04.07.1404.00 and is not reverted back to 04.08.2345.00 after your tool finishes. I observed the Zune folder when the tool was running and none of the files go changed (unless you do this in memory somehow).
[Windows Phone 7 Development and Hacking] hx4700 Killer:
A *NEW* version of 1.8 was uploaded today. I didnt bother to change the version as it was a couple of minor bug fixes.

I was able to get rid of the paths.txt file and use arguments when calling the "switchfile" program and there is only one elevation needed now as switchfile stays running until updatewp.exe terminates and then it undoes the changes it makes.

I was able to see the problem reported on a newly installed machine and fix it along with one other initial config issue. I guess when I use/dev it so much i don't see all these oddities.

Let me know if there are any other issues.
[Windows Phone 7 Development and Hacking] derausgewanderte:
No crashes in switchfile anymore (maybe silent, see below). The version of zunewmdu.dll in the Zune folder still stays 4.8 though. Interestingly it changed the filename to all lower characters when the program starts. The version number in the registry at the end of the backup is not switched back to 4.8

I followed switchfiles.exe in the taskmanager and noticed that it closes right when the message shows up whether I want to archive the existing restore. It doesn't seem to stay open until the end.

the tool never finishes with a confirmation message. I then have to restart the phone.

edit: Ah, I see. Just noticed that the file switch is happening. for a split second the 4.8 version is renamed ...ORIGINAL and replaced with the 4.7 version then swapped again, now with the original file all in lower characters ;)

edit1: very odd. after running it many times and quitting it, all of a sudden switchefiles.exe stays open, the file stays changed in the Zune folder and the registry entry is changed as well (I put it back to 4.8 by hand) and after it quits it changes it back to 4.8. This works 1 out of 10 times. Most times I try this switchfiles.exe quits right away.

edit2: Ok, I think I found a problem. When I wait a few seconds before I click on whether to make an archive for the existing restore point, switchfiles.exe quits and doesn't make the registry change from 4.8 to 4.7. When I click yes or no right away switchfiles.exe stays open and the backup works as advertised. The registry is changed from 4.8 to 4.7 and back.

there seems to be a timing issue? it's 100% reproducable on my PC at least.
[Windows Phone 7 Development and Hacking] hx4700 Killer:
That makes sense because it only waits a few seconds to see if updatewp.exe is running and if it doesnt it shuts down. Archive the backups first with the archive management menu and then try it and I bet it works.

I knew there was a reason I put a 30 second delay in the switchfile before checking to see if it needs to terminate.
[Windows Phone 7 Development and Hacking] derausgewanderte:
but switchfiles.exe quits after 2-3 seconds on my PC if no action is taken within that time. Either way, I know what to look after when there is a problem. It works!

thank you
[Windows Phone 7 Development and Hacking] hx4700 Killer:
Well I brilliantly perform the switch not RIGHT before the backup starts but before I check for an active backup so I just moved it and not we are on 1.8 v3 :D just uploaded.
[Windows Phone 7 Development and Hacking] DavidinCT:
Not sure what to think about this one.... Dam, still no mango for me...

When I ran it (1.8) the last time (before you did the update today), it asked me about the version of the tools (because I had 4.8 installed) that it needed 4.7 installed, so I uninstalled it and let your program install it.

So I downloaded your updated 1.8, and did a backup. It appeared to work fine. So, to test, I changed the colors of my device and attempted to do a restore. Now I just get this error and it will not restore.

The installed version of the tool (4.7.1404) needs to be updated to match the Zune version (4.8.2098). Please install the tool version 4.8.2098.

So, what do I need to do here ? Your program installled 4.7 tools to run and do a backup, now it needs the 4.8 tools to restore ????

Did I miss something ? Or is this a bug ?
[Windows Phone 7 Development and Hacking] derausgewanderte:
you're welcome :p

works great

---------- Post added at 01:57 AM ---------- Previous post was at 01:48 AM ----------

I got the same error at one point. I ignored it and restarted everything and it didn't appear again. BTW. you seem to be using a beta Zune Client. the latest is not v 4.8.2098 but 4.8.2345
[Windows Phone 7 Development and Hacking] DavidinCT:
I guess it's safe to update. The problem is the older "beta" zune was doing backups, the newer one was not. So I kept the older one.

I assume it is safe, I'll update now. Maybe that was causing my problem, time to backup/restore again :(

EDIT:

Nope, didn't work. So do I need to update my tools to restore ?

Error:

The installed version of the tool (4.7.1404) needs to be updated to match the Zune version (4.8.2345). Please install the tool version 4.8.2345.
[Windows Phone 7 Development and Hacking] hx4700 Killer:
Let me look at the code again. Maybe I am checking versions in the restore as well. Didnt think so

---------- Post added at 08:23 PM ---------- Previous post was at 08:16 PM ----------

and.. I spent so much time working on the backup part I never put the file switching/reg changes in to the restore. DUH.

Ok so 1.8 v4 up on the first post now.
[Windows Phone 7 Development and Hacking] DavidinCT:
Created a backup, It got to 100%, my phone is still on the backup display (black screen showing a phone connected to a laptop). It's just hanging at Creating a backup. Does not say complete or anything. The problem is, it's been hanging at this point for over 25 min now (let it sit after I emailed you).

Do I need to pull the phone when it gets to 100% or should it say complete and reboot the phone ?

I yanked the phone (just disconnected it after a 1/2 hour sitting on 100%). and selected to archive backup. Then I changed my colors around and hit restore.

It told me I didn't have a current backup but, went into my archive. It showed a backup date that looked correct (I think, it's todays date), then Bingo !

Error: The installed version of the tool (4.7.1404) needs to be updated to match the Zune version (4.8.2345). Please install the tool version 4.8.2345.

I hit Ok, then hit restore again, it appears to run, it rebooted my phone and started restoring then it stopped with an error of:

The process cannot access the file 'C:\blah\blah\blah\switchfiles.exe' because it is being used by another process.

Now now my phone is screwed, It's stuck in the "phone connected via laptop display". No rom to rebuild my phone and it's a brand new from insurance...

WTF....