Restore Windows Phone backup to emulator - windows-phone-8

Not sure if this is the correct forum or website, but I am desperate :) I would like to restore a backup of my windows phone to the WP emulator but cannot get it to work. The phone is supposed to prompt you for a restore when you set it up the first time, but the emulator does not.

The emulator doesn't support this scenario

Related

Windows (phone) emulator 8.1/10 stuck at loading the OS

I've been trying to get the emulator to work for days. Previously I tried the Windows Phone 8.1 Emulator as well as the Windows 8.1 Simulator and both were stuck at loading the OS.
Earlier today I installed the new Windows 10 Tools and thought I should give it another try with the new Windows 10 Emulator... And no, still the same result.
What's strange is that, the Hyper-V Manager seems to be doing OK. I can see the app displays correctly on the little Preview window (see the box on the left side of the picture below).
Also, breakpoints are hit, the project seems to be running OK.
As many answers have already suggested, I tried letting it running for an hour, but still nothing came up.
Things that I've also tried include uninstalling all the Virtual Machines as well as repairing the WP 8.1 Emulator, nothing has worked so far.
Please help, this has driven me completely insane. :(
Update
Not sure if this would help, but if I change the Windows Phone Emulator Internal Switch to use Private network instead of Internal, I will get a couple of warnings saying Unable to determine the Host IP address and then the Emulator will show up with the Emergency Call screen. Not much I can do from there as the three buttons on the bottom are not functioning at all.
I understand that changing the connection type is not the right way to do it, but this at least tells me that the Emulator can work, it's just a matter of how.
I believe you have two Windows Phone Internal Switch connections and one seems to be unplugged while the other is running. Disable the one that is unplugged and leave the latter. This worked for me after 2days of tinkering. God speed.
Try the following.
Open the Hyper-V Manager
In the Actions pane, click Hyper-V Settings
In the Server pane, select Physical GPUs
Uncheck, Use this GPU with RemoteFX
Click OK to save/close.
Attempt to start the Windows Phone emulator VM from within Hyper-V Manager or Visual Studio.
I solved this problem by simply adding XDE.EXE as an exception to my Windows Firewall.
Just today
Many times it is not stuck. It just does take too long to start. I have an 8 core processor and it took like 5 minutes to launch, I tought it was stuck but it did launch.
Not sure if this would help, but if I change the Windows Phone
Emulator Internal Switch to use Private network instead of Internal, I
will get a couple of warnings saying Unable to determine the Host IP
address and then the Emulator will show up with the Emergency Call
screen. Not much I can do from there as the three buttons on the
bottom are not functioning at all.
when you set it to private network, Windows can't interact with your WP Emulator. Open Network Adapter, and try disable and try start emulator again, then enable again this adapter if it is not work *
I contacted the Visual Studio Team a couple of weeks ago and looks like they have fixed this issue in the latest update. And here is how I finally got it all working.
Update your Windows 10 TP to the latest version (currently 10074).
Install the latest Visual Studio 2015 (currently RC).
Install Windows 10 developer tools preview from here (I got
some weird errors with Error code: -2147023294. Ignore them, go
straight to the next step).
Install the standalone Windows SDK for Windows 10 Insider
Preview from here.
Install the Pre-release Microsoft Emulator for Windows 10 Mobile
from here.
That's all! After all these are done, both my Simulator and Emulator are loading up fine.
In my case, deleting the internal switch from Hyper-V virtual switch manager helps, whenever you run your app using emulator as the target, it'll add a new internal switch by itself and the emulator will run normally (no longer stuck on loading screen)
The problem is, I have to do it every single time I restart my PC
The workaround steps to install the Windows SDK and Emulator are no longer needed.
We have released a fix as of 7PM PDT 30 April 2015 for the setup error
Windows 10 SDK 10.0.10069 : The installer failed.
User cancelled installation. Error code: -2147023294"
New setups should no longer encounter this issue.
For existing installations, and for more information, see this forum post:
https://social.msdn.microsoft.com/Forums/en-US/17bc9d5e-2ea7-4149-bb75-23997db8bd25/
This worked for me:
Go to Windows Defender.
Add exclusion following path: "C:\Users\UserName\AppData\Local\Microsoft\XDE\YourEmulatorVersion"
YourEmulatorVersion - for example 10.0.14393.9
2 days, tried all that is posted here but nothing worked! Finally, since it is a lot easier nowadays to (re)install windows without loosing your files (3 hours including updates), I just resorted to that. Same thing happened, but then I saw the alert that I had not yet activated my VS to run in developer mode :) Did that, and voila, the emulator now works.
If this might be helpful: my problem started when I installed Android Studio and disabled Hyper-V from Android. Enabling it back for VS just couldn't get me to run it again. But I hear there is a way to run both Android & VS emulators using VS emulator for Android. I will try to see how that works later...
I know the question is old, but none of the above answers worked for me so I write down my two cents:
Go to Hyper-V console and remove all emulators
Go to Devices Management, under network adapters tree node, delete all virtual switches
Run an emulator from Visual Studio and see the magic happen

Information lost after close and start again emulator

On my windows phone 8 emulator, when I close the emulator, all the information like contacts or the apps installed in it get removed automatically, why? And is there get back all these things after close emulator start again.
Kindly suggest me, waiting for your reply.
Thanks.
The Windows Phone emulator 'simulates' you an absolutely fresh out of the box Windows Phone device. It is the best way to make sure that you app will run on any device. In fact this emulator is a Hyper-V machnine that quickly installs itsself everytime you launch it and deletes all the data everytime you close it.
Unfortunately there is no way to restore a previous state.
If you need specific data and settings across different debug sessions you will need to keep the emulator opened.

Windows Phone 8 emulator fails to start

I'm getting the following error when attempting to run a Windows Phone 8 app in the Windows Phone 8 emulator (via Visual Studio 2012):
The Windows Phone Emulator wasn't able to ensure the virtual machine was running:
Something happened while starting a virtual machine: 'Emulator 720P.joel' could not initialize. (Virtual machine ID 7320013C-0597-4408A-9CCF-049166CE9926)
There's no other indication on what might be causing this problem. I have ensured the following:
I'm running Windows 8.1 Pro x64
I'm on a machine that supports SLAT (It's a Core i5)
There's no other virtualization software installed or running, other than Hyper-V
I've tried cleaning the existing switches from Hyper-V using XdeCleanup.exe, with no luck
I've tried uninstalling and re-installing both the Windows Phone 8 SDK and Hyper-V. Neither helped.
The Windows Event Log reports no errors with regards to Hyper-V or starting the emulator
I've tried reducing the processor count on the VM to 1 processor (from the default of 2). No effect.
At one point in the past (a few months ago), the emulator was working. It was around that time that I got a Windows Phone 8 device, so I started developing it. I've been wanting to test a few things out on the emulator rather than having to use my actual phone. The only thing that I can think of that changed since then, was that I upgraded from Windows 8 to Windows 8.1.
Does anyone here have any idea what might be happening, or know of anywhere else I can look for any hints on what might be the problem?
Well I can't say this will work for everyone but for me it was a matter of simply turning off windows firewall.
I had checked all other settings (BIOS, SLAT, etc) and even uninstalled/installed the Hyper-v feature but Hyper-V had been working fine. In fact I could open and run the emulator - just could connect from VS. Once I turned the firewall off everything worked.
You would think you could establish a range of ports to use but who knows what they would be?
I had the same issue and even now it, when I disable my wireless actually totally remove wireless lan and disable my bridged networks. Everything works fine. Please also make sure that internet sharing is not enabled on LAN.
that mean that you don't have insufficient RAM to be able to start your Emulator.
try to stop some running programs or services. and try again
I had the same problem and I solved it as follows:
First disable the LAN connection.
This can be done by going to
Control panel > Internet Properties > Connections > LAN Setting > Remove the tick mark(deselect auto-detect setting)
Press OK.
If any anti-virus is installed, then disable the firewall.
Then go to Hyper-V manager and delete all emulators present. Restart your emulator and it will work.
Had a similar problem, This thread solved it for me
http://social.msdn.microsoft.com/Forums/windowsapps/en-US/5e6337ce-0a59-44a7-a0af-50aadc022041/windows-phone-emulator-wasnt-able-to-connect-to-the-windows-phone-operating-system-the-phone-didnt?forum=wptools

How to develop Windows Phone applications without SLAT

I decided to start developing for Windows Phone, downloaded Visual Studio 2013 with Windows Phone SDK and in finishing window installer said that I can`t use emulator because of not SLAT-compatible computer. What should I do?
I found Windows Phone 8 Emulator on non-SLAT Machines and now I ask Is it really a solution:
It works, but not on Windows 8. Windows 2012 server uses hyper-V version without requirement of SLAT.
So:
Windows Server 2012 trial (i use Developer version).
Installed on physical device - not on VM.
Install slat-less feature Hyper-V. Standard WP8SDK.
And voila. It worked like a charm. And it's kinda fast. First emulator on list in VS loads about 30 sec. More advanced take longer but not much. Deploying is instant. Give it a try if youre not to buy phone or new computer :)
Yes it's possible to develop apps on a machine without SLAT. It is not, however possible to run the emulator (in any kind of supported manner) on such machines.
It is possible to develop without an emulator though. You'll just need an actual device to test on.
This shouldn't be a barrier though because even if you have an emulator you should always test on a physical device. It's just a little bit more awkward to use a physical device sometimes.
On the plus side a physical device will let you test some things that the emulator can't. e.g. proximity
But on the downside the emulator makes it easier to test other things, like location changes or how the app will look on different resolution devices.

getting "App deployment failed. Please try again. " while running Windows phone 8 emulator

I am developing Windows phone 8 app. When I try to run the emulator of WXGA or 720p I am constantly getting this error. Searching regarding this error leads to the conculsion that I should not run more and more app parallely. So I ran only VS2012 then also getting the error. I am having enough 4GB of RAM then also having problem. My friend's PC has 2 GB of RAM then also it works flawlessly in it. Anyone know what's the issue & best practice to run the emulator smoothly?
PS : I don't have REAL Windows Phone device :(
Just try rebooting your Windows 8 Phone. I just had the same issue, and rebooting worked for me while deploying on device.
Please ensure you have following to get rid of the error,
Minimum Hardware/software requirements (https://dev.windowsphone.com/en-us/oem?contentName=docs%2FGetting_Started%2FPreparing_for_Windows_Phone_development)
Valid developer license/account to develop windows phone applications
Enough free RAM (>2GB RAM should be free)
Not more than one instance of VS is trying to use same emulator.
If everything is holds good then try following,
Restart emulator & check if it fixed the issue, if not go to next step.
Go to Hyper-V manager and delete all the virtual switches related to WP. If it doesn't fix issue go to next step.
Go to Hyper-V manager and delete all the windows phone virtual machines. repair WP SDK from control panel.
More info about troubleshooting errors like this can be found at https://social.msdn.microsoft.com/Forums/windowsapps/en-US/b06cc9f2-aa5e-4cb3-9df1-0c273e1dfd68/wp8-emulator-xde-troubleshooting-tips?forum=wptools :)
In worst case, you will have to uninstall & install WP SDK.
Hope it helps.
The emulator may not work when its dedicated requirements are not perfectly matched. Emulator Requirements
You can always try deploying an app by selecting 'Device' in the emulator which will actually deploy the app on your phone and you can test it out.
note: Make sure you're using the right version of app which is to be deployed in its righteous OS version.
Also try to restart your emulator/device
Well. This might be happens because of some inner problems of Emulator. Because even me too faced this same problem some days ago. So, let me tel you what I have did and how I got rid of that problem. So, try as per my instruction and if this works. Just Mark it as an answer. else, comment what you have got after.
Check all Emulator VGA and VXGA and 720p
After you got that error, just tap Ok or Cancel in the dialog box and go to
Open Emulator -> Strat Screen will be shown -> goto All Apps -> Check your app name (It will exist and open your app and take screenshots)
I am sure this will be works for you.
Only restart the device or the emulator and the deployment will success