EDIT: Windows Phone 8.1 is released! You can now download the official SDK from here
Hey,
the installation of the Windows Phone 8.1 SDK leak was discussed here very much, sometimes it works, sometimes not.
So I written a tutorial how to install it!
How to:
1) Download the SDK ISO from here ALL OTHER LINKS WILL NOT WORK!
1b) Download Visual Studio 2013 Express for Windows in English from here
2) Extract the VS 2013 ISO and install it.
3) Extract the leak ISO and run the installer as administrator.
4) The installation should take an half hour. You can drink one or two coffee
5) Start cmd as administrator and run "cd C:\Program Files (x86)\Microsoft XDE\8.1"
6) Enter "XDE.exe -vhd "C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.1\Emulation\Images\Flash.vhd"". First boot will take 5-10 minutes.
7) THE EMULATOR IS WORKING!
You can also create an shortcut on desktop that saves you time. Location is: "C:\Program Files (x86)\Microsoft XDE\8.1\XDE.exe" -vhd "C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.1\Emulation\Images\Flash.vhd"".
FAQ
How to install it on windows 7?
You need to install SP1, then it should work.
After clicking the VS link, a logon field appears, what should I do?
Just login with your outlook account and click download
Can I run it on 32-bit?
Yes, you can. You need to install VirtualBox or VMware. Create a new virtual machine and select the Flash.vhd in the SDK location. To get it to work, you must run it as administrator.
What are the minimal requirements for it?
It works on any computer with 64-bit W7 or W8(.1) For 32-bit look above.
If this guide helped you please press thanks!
Thanks @DaviUnic for a easier way to start the emulator!
Yes, I'm seeing my tutorial was landed in the news! Thanks at all what thanked me and followed this tutorial!
hey nico
There's easier ways to start the emulator than deploying an empty app... You can use the following command in CMD to start a desired VHD: xde.exe -vhd "[vhd location]".
DaviUnic said:
There's easier ways to start the emulator than deploying an empty app... You can use the following command in CMD to start a desired VHD: xde.exe -vhd "[vhd location]".
Click to expand...
Click to collapse
Thanks, already tried this, for 8.1 emulator, it didn't works
Last time I tried it worked...
Hold on, I have to re-install VS2013 and the SDK, then I'll try again.
EDIT: Just tried and it works fine for me. Just go to C:\Program Files (x86)\Microsoft XDE\ with CMD and then type XDE.exe -vhd "C:\Example\Path\example.vhd" and it works fine.
DaviUnic said:
Just tried and it works fine for me. Just go to C:\Program Files (x86)\Microsoft XDE\ with CMD and then type XDE.exe -vhd "C:\Example\Path\example.vhd" and it works fine.
Click to expand...
Click to collapse
Thanks, will test it when i'm at home
OK, edited it in the tutorial. Thanks!
You can also make a shortcut for this, saves you a bunch of time.
DaviUnic said:
You can also make a shortcut for this, saves you a bunch of time.
Click to expand...
Click to collapse
Thanks a lot, you make my tutorial perfect
Got any other links handy? That site isn't working. It just says "An error occurred. Please click here to reload the page"
nice guide
minimum
What's the minimum requirements to run this
theonepharaoh said:
What's the minimum requirements to run this
Click to expand...
Click to collapse
You're running a phone based software on your PC, it will definitely work.
Sent from my Nexus 5 using Tapatalk
You Visual Studio link takes one to the MSDN login page.
Might want to make the link this one:
http://www.microsoft.com/en-us/download/details.aspx?id=40787
does this works on windows7? i mean i am not able to install vs express 2013 on windows 7 it is asking me to upgrade to new windows version.
shah_vm said:
does this works on windows7? i mean i am not able to install vs express 2013 on windows 7 it is asking me to upgrade to new windows version.
Click to expand...
Click to collapse
No it seems as per the link VS Exp. 2013 for windows
myst02 said:
Hey,
the installation of the Windows Phone 8.1 SDK leak was discussed here very much, sometimes it works, sometimes not.
So I written a tutorial how to install it!
How to:
1) Download the SDK ISO from here ALL OTHER LINKS WILL NOT WORK!
1b) Download Visual Studio 2013 Express for Windows in English from here
2) Extract the VS 2013 ISO and install it.
3) Extract the leak ISO and run the installer as administrator.
4) The installation should take an half hour. You can drink one or to coffee
5) Start cmd as administrator and run "cd C:\Program Files (x86)\Microsoft XDE"
6) Enter "XDE.exe -vhd "C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.1\Emulation\Images\Flash.vhd"". First boot will take 5-10 minutes.
7) THE EMULATOR IS WORKING!
You can also create an shortcut on desktop that saves you time. Location is: "C:\Program Files (x86)\Microsoft XDE\XDE.exe -vhd "C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.1\Emulation\Images\Flash.vhd"".
If this guide helped you please press thanks!
Thanks @DaviUnic for a easier way to start the emulator!
Click to expand...
Click to collapse
Is there anyway to make windows emulators work on Android???
No, because the emulator uses Hyper-V - which is also why it requires at least Windows 8, because Windows 8 was the first client release to include Hyper-V (previously it was available only on Server editions).
Besides that, the build in the emulator is an x86 compile, and I don't think there's an x86 emulator for android.
DaviUnic said:
No, because the emulator uses Hyper-V - which is also why it requires at least Windows 8, because Windows 8 was the first client release to include Hyper-V (previously it was available only on Server editions).
Besides that, the build in the emulator is an x86 compile, and I don't think there's an x86 emulator for android.
Click to expand...
Click to collapse
So other than that I can run it on Windows 8.1 standard edition (no Pro)? Oh and, my download speeds are very slow. Mind if you host it elsewhere?
Yeah, I think you can. But Hyper-V isn't installed by default, so you must go to the features list and install Hyper-V first, then you can use the emulator.
Confirmed, only working on Win 8 Pro.
View attachment 2599789
You can, however, install any virtual machine software, then download Windows Server 2012, and run the VHD. Once you're in it and set up everything, you can follow OP instructions, install Visual Studio blah blah blah. (remember to enable Hyper-V in Ctrl Panel) Follow till the last step, then you should be able to open the emulator.
Where exactly am I going wrong? Can someone help
Related
Hello i am quite new to the Windows Mobile Platform. I have downloaded the Microsoft Device Emulator, But i am having problems with it. Does anybody know of a a guide or step by step instructions of how to use this software. I have also downloaded the stock WM5 images from the Microsoft site. I have read through the help file which is included with the Device Emulator Manager and i am getting anywhere with this! Any help would be great. cheers
You have to use the command line switches. When running for the first time, something like this should work (all of it in one line, best to put it into a script file):
Code:
e:\devemu\deviceemulator.exe e:\devemu\pocketpc.nb0 /skin e:\devemu\Pocket_PC.xml /p /memsize 256 /s e:\devemu\wm5.dess /sharedfolder e:\devemu\shared /flash e:\devemu\shared
After saving your initial session, you can start it like this:
Code:
e:\devemu\deviceemulator.exe /s e:\devemu\wm5.dess /sharedfolder e:\devemu\shared
To sync with it, make sure your real device is not connected. Run dvcemumanager.exe, and use the option "cradle" for your virtual device. Then Activesync should pick it up.
Did you download yours at
http://www.microsoft.com/downloads/...A5-183A-4A1E-A7E2-CC500ED1F19A&displaylang=en
I got this and it creates a shortcut on your PC start menu.. just click and it will start an emulator. There is a configuration where you can set any of your PC's dir to be the 'Storage card' and such you can download your software into it for testing. I did all my skinning job at the emulator.
Hi,
I am currently trying to get into Android Developing and I am following a tutorial book called "Practical Android Projects" however, I have only got so far and I am coming across a problem.
I have installed the Android SDK and required files, and installed ant as per instructions here: http://ant.apache.org/manual/install.html (Under Windows and OS/2 section)
I am getting an error about my /res folder not existing, when it infact does exist, in the directory it specifies?
Please see screenshot at the following link: http://server3.uploadit.org/files/StuMcBill-cmdprompt.jpg
Thanks for any help you can give?
I am running Windows 7 Home Premium x64!
Stewart
I would suggest using eclipse. Especially for beginners it is alot easier than building everything on console.
It has nice plugins and the android emulator from the sdk is integrated.
100% agree with Dark3n.
Ant is a programming language in and of itself. (Well sort of a scripting language but whatever).
No need to try and learn two things at once. I'd suggest wait until your 2nd or 3rd app at least to learn Ant. You really don't need it unless you want to use something like ProGuard. (Which is yet another thing to learn and another thing I'd suggest waiting on).
Oh an for a possible quick fix type
>ant clean
And see if that helps.
EDIT:
Err nevermind -- looked at your screenshot... why are you running ant from the System32 directory? Is your Android project really in that folder?
Usually you set the path environment variable in your system properties in windows to add ant to the list of paths, so you can run ant from any folder.
Then you can open that folder, type cmd in the address bar and open a command prompt in your project directory. You then run ant from there which reads the build.xml file an default.properties and local.properties files in your android project folder.
OK, I will give eclipse a try.
RE system32 and ant: Well the book I am following said to use ant, and I just followed the instructions and it installed the project in System32.
Could I just substitute Eclipse for ant while following the guide?
I do have Ubuntu installed on this computer, would that be better / easier?
Eclipse is available for any OS.
Use the one you are most comftable with.
I think eclipse might even use ANT internally but you don't have to hassle with it.
Working in system32 is not adviseable, you should generally keep out of there .
pySignare
"-to sign"
v1.0​
Version 1.0
Complete re-write into python.
Prerequisites
Windows (for now)
Java
Get Java here --> https://www.java.com/en/download/
Python 3.x
Get 3.3.4 here --> http://www.python.org/download/releases/3.3.4/
Instructions
Download
Extract
Copy Unsigned APKs Into "UnsignedApks"
Run "pySignare.py"
Follow On-Screen Prompts
Thats It
Future Development
Make X-Platform - (Shouldn't be too hard)
Minor code tidy up
Currently its bundled with TestExample.apk (just an empty renamed zip) so it can be tested straight away.
DOWNLOAD HERE (Download ZIP - Right hand side)
Please post your experience, and if you encounter any errors, let me know and I'll attempt to fix.
FAQ
Q. I get the error - 'java' is not recognized as an internal or external command, operable program or batch file.
A. You either, do not have the Java installed or have not added java to your PATH in Environment Variables. Either install Java or add Java to your PATH.
Thanks dude.
Any feedback, problems or suggestions?
wow it works! Easy to use! thanks!
Thank you.
Are there any Linux wizards out there who can help me port this?
New version 0.3 available.
tried it all i get is cannot find specified path
edit: forget that i fixed it had to modify the it as im using jdk 1.7.0
I don't know why I changed it, but in v0.3 it assumes you have installed the Java Development Kit (JDK) on a 64bit system (it mirrors my system rather than a universal approach).
If you have java added to your windows PATH, try using these files, just extract these to the same directory and run these instead.
works great! small suggestion is for the batch file to ask for the location of your jdk.
also have error checking as the batch said it worked but didnt at first (due to the location of the jdk)
andyharney said:
I don't know why I changed it, but in v0.3 it assumes you have installed the Java Development Kit (JDK) on a 64bit system (it mirrors my system rather than a universal approach).
If you have java added to your windows PATH, try using these files, just extract these to the same directory and run these instead.
Click to expand...
Click to collapse
I am using a 64 bit system I have jdk on both program files 64 bit and (x86) and the path in the test keys ran to jdk 1.6.0_25(x86) so I used notepad ++ edit it to 1.7.0(x86) tried again it signed and zipalinged no problem
Sent from my Desire HD using XDA App
Your right, I wrote this quickly to fulfil my needs on my system.
I will update to v0.4 with error checking & JDK checking soon.
Thanks for the suggestion.
EDIT: Seems you beat me to the reply leith. If your JDK is added to your windows path then it shouldnt matter whether its 32 or 64 bit. When I updated from v0.2 to v0.3 I used my personal build rather than the universal "java" approach. I can see that as explicit paths are specified in the .bat. v0.4 will add error checking and will most probably include a stripped out java package.
awesome! keep up the good work dude
andyharney said:
DOWNLOAD HERE
Click to expand...
Click to collapse
unable to dl now: Fatal error: Method ExceptionDisplay::__toString() must not throw an exception in /home/aharney/public_html/index.php on line 644
?
Try using a different browser, that error is quite rare and unique to certain localised versions of windows + firefox.
Version 0.4 now out.
Flawless victory brilliant Andy
im no stranger to signing apks
both of us know this tool is the best
better than any other signtool
never gonna give this up
not gonna desert this tool...
I saw what you did there. Version 0.5 will replace icon.png in every apk with a png of his face.
I can't download the file
Forbidden
You don't have permission to access /index.php on this server.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Click to expand...
Click to collapse
Yeah, I had to take the site down again. Been hit with 2 DDoS attacks in the last 3 days. I don't know why.
I will have it back up at some point tonight. I will PM you when its back up.
I manage to run Mac OsX Snow Leopard on zenfone 2 (thanks to ycavan and his windows 10 guide). I create a guide to help people to test it, so lets begin:
https://www.youtube.com/watch?v=COV_l-f7FO0
Edit: This guide works for install windows too. Please see post # 7: https://forum.xda-developers.com/showpost.php?p=72426017&postcount=7
You must have a kernel with KVM function enabled. I personally use this rom
which include KVM kernel: https://forum.xda-developers.com/zenfone2/development/rom-rbr-v1-0-t3550544
Download OsX Snow Leopard Iatkos S3V2 iso image (torrent search iATKOS_S3_V2.zip)
Download and Install VirtualBox 4.3.40 (newer version doesnt work) on PC
Open it and create a Virtual Machine (VM) as following:
Name: Snow Leopard
Type: Mac OS X
Version: Mac Os X (64 bit).
Ram: in the top green right
Create a Virtual Hard Drive named SnowLeopard (vdi format, 10 gb or up recommended, fixed size)
Click on Configure:
On System untick disquette and untick enable efi
On Display....video memory full to the right
On Storage click on the cd image and select your iatkos.iso previously unzziped
Click ok and start VM (green arrow)
When a chameleon image appears press F8 and type: -x busratio=29 (if busratio does not work and get kernel panic, you must google your PC processor´s bus ratio and change this number with yours)
Installation now begin:
Select your language
click on Utilities and disk utility. click on your disk, click on erase and select Mac OSX extended(journaled) and click erase. Then close disk utility and continue with installation. Click on continue, right arrow, then click in your disk and select Customize:
On bootloader untick AsereBLN and tick chameleon v2 rc4
On bootloader option tick Graphics Enabler
On drivers, in main hardware tick on SATA/IDE, and tick network
Click OK and click on Install. At this point the OSX installation will begin.
Reboot the virtual machine and your OSX should start.(if you get a kernel panic for VodooHDA kext, you have to delete the kext with this guide: http://www.osxlatitude.com/remove-kext-from-single-user-mode/ it is located in system/library/extensions).
When you started the VM, go to safari and search for "Multibeast Snow Leopard Edition", and download it. Open it and tick EasyBeast Install, and above tick ShowallFiles on OSx86 software. Click install. Reboot your machine. Go to applications, open showallfiles and click Show. Go to finder, SnowLeopard disk, /Extra folder and in extensions folder delete ElliotForceLegacyRTC.kext
Open safari, go to https://github.com/kholia/OSX-KVM/blob/master/kexts/QemuUSBTablet-1.2.pkg and download QemuUSBTablet-1.2.pkg and install this package. Power off Virtual Machine.
In your pc go to C:\Users\(your user name)\VirtualBox VMs\SnowLeopard and copy SnowLeopard.vdi to your internal storage on phone (you must have at least 11 gb of free space).
On your phone:
Go to Play Store and install Linux Deploy. Open it and click on down arrow. Change this options: distribution (ubuntu), Suite (xenial), username (android), password (advr), enable init, enable mounts and in mount points add /sdcard , enable ssh, dont enable GUI. Back and in the three dots click on install. It can take over 20 minutes to complete. Click on start.
Download, unzip and copy my script attached in your internal storage (not microsd).
Download aSpice Free from Play Store. Open it and in connect type 127.0.0.1:5901. Dont click connect, only minimize app
Download Termius from Play Store. Open it and click bottom right to start a new session. Type localhost:5900 and click connect. User: android pass: advr
Once connected type the following:
sudo su
apt-get update
apt-get install qemu-kvm (type y if prompted)
cp /sdcard/osx.sh /
chmod a+x /osx.sh
/osx.sh
If you get "QEMU 2.5.0 monitor" you are right, if not, search for errors.
Open aSpice free and click connect. VOILA! You should see your osx Snow Leopard starting!
thanks to @ycavan and his guide: https://forum.xda-developers.com/zenfone2/general/zf2-running-windows-7-using-kvm-t3153299
Thank you very much.
Can I use your guide for installing windows, or not?
bahaa87 said:
Thank you very much.
Can I use your guide for installing windows, or not?
Click to expand...
Click to collapse
Yes, the concept is the same. I recommend you use this guide made by Ycavan: https://forum.xda-developers.com/zenfone2/general/zf2-running-windows-7-using-kvm-t3153299 to run Windows, i personally use it, but for ease to manage I create the images (windows, osx) in virtualbox first and copy them to my phone and ejecute in vdi format on qemu-kvm.
this is awsome!!! i'll be trying it tonight! any luck with the newer operating systems?
bonznumber1 said:
this is awsome!!! i'll be trying it tonight! any luck with the newer operating systems?
Click to expand...
Click to collapse
Newer OS should work, I installed SL because i have this iso file on hand, but i dont think there are any problem installing Yosemite, EC, Sierra, considering obviously it will consume more resources
alvavaca said:
Yes, the concept is the same. I recommend you use this guide made by Ycavan: https://forum.xda-developers.com/zenfone2/general/zf2-running-windows-7-using-kvm-t3153299 to run Windows, i personally use it, but for ease to manage I create the images (windows, osx) in virtualbox first and copy them to my phone and ejecute in vdi format on qemu-kvm.
Click to expand...
Click to collapse
I tried Ycavan guide but I don't understand all steps. And I don't find any video explain it. So I want to try another guide to install windows in my phone, because I need it very much.
bahaa87 said:
I tried Ycavan guide but I don't understand all steps. And I don't find any video explain it. So I want to try another guide to install windows in my phone, because I need it very much.
Click to expand...
Click to collapse
My guide works for installing Windows too. Instead of installing mac osX in virtualbox you must install windows (with any iso installer image) and create a disk (vdi) called windows (no matter which version is, 7, 8, 10) and use this script instead of the other. The other steps are the same, only continue from "On the phone" part. Obviously you must copy the script attached on this post instead the other and to start windows you must run this on termius (type one by one and press enter):
sudo su
apt-get update
apt-get install qemu-kvm (it take a while) type "y"
cp /sdcard/windows.sh /
chmod a+x /windows.sh
/windows.sh
My guide differs from Ycavan in that he installs the system on the phone and I create the image on the pc with virtualbox and then transfer it to the phone, but the concept is the same. I give you my scripts ready to use, Ycavan explains how to create the scripts (is hard to understand if you dont know the elementary concepts). Good luck.
alvavaca said:
My guide works for installing Windows too. Instead of installing mac osX in virtualbox you must install windows (with any iso installer image) and create a disk (vdi) called windows (no matter which version is, 7, 8, 10) and use this script instead of the other. The other steps are the same, only continue from "On the phone" part. Obviously you must copy the script attached on this post instead the other and to start windows you must run this on termius (type one by one and press enter):
sudo su
apt-get update
apt-get install qemu-kvm (it take a while) type "y"
cp /sdcard/windows.sh /
chmod a+x /windows.sh
/windows.sh
My guide differs from Ycavan in that he installs the system on the phone and I create the image on the pc with virtualbox and then transfer it to the phone, but the concept is the same. I give you my scripts ready to use, Ycavan explains how to create the scripts (is hard to understand if you dont know the elementary concepts). Good luck.
Click to expand...
Click to collapse
Thank you very much.
I'll try it tomorrow.
apt-get is a debian tool...not found on android...how did u manage to use it?
Apt-get is used in linux deploy...not in android system
If you have tried to install Windows 7 on a Surface Pro, or a UEFI-only device., you may have noticed it hangs on "Starting Windows" or gives error 0xc000000d, or you might have seen the following message:
The Surface Pro is a class 3 UEFI device, which means it has no Compatibility Support Module (CSM), which emulates the old BIOS environment. Windows 7 is not compatible with UEFI, which means without CSM, it wouldn't be able to function.
If you had to run Windows 7 on a Surface Pro, the only way would be to enable the Hyper-V feature of Windows 8 and run Windows 7 inside a virtual machine (VM). However, this would limit the resources available and the capabilities such as some of the touch/pen features.
Click to expand...
Click to collapse
However, this article proves that it isn't impossible to achieve this. This tutorial shows you how to install Windows 7 on a Surface Pro. This tutorial is meant for the Surface Pro 1, but could work on any other UEFI-only device, which it should, but not guaranteed.
ISO file link: https://archive.org/details/windows-7-surface-pro-1
INSTRUCTIONS:
1. Boot the USB. This ISO uses a Windows 10 PE, but has a Windows 7 install.wim.
2. Open command prompt by pressing "Shift+F10"
3. Type in setup.exe /noreboot
4. Go through setup normally.
5. On the command prompt, type in "diskpart"
6. Type in the following commands:
sel dis 0
lis par
sel par 1 (where your boot partition is)
assign letter w
exit
7. Open up Notepad, and click "Open" or "Save As". Enable all files to be viewed. Go to W:\EFI\Microsoft\Boot and copy the BCD file and paste it onto the Windows 7 partition.
8. Go back to diskpart by typing "diskpart" in
9. Type in the following commands:
sel dis 0
sel vol w
form quick fs=fat32
exit
10. Go back to Notepad, and click "Open" or "Save As". Enable all files to be viewed. Go to the USB drive, then go to the FlashBootPro folder, then copy the "EFI" folder.
11.Go to W:\ and paste the EFI folder.
12. Go to the Windows 7 partition and cut "BCD".
13. Go to W:\EFI\Microsoft\Boot and paste "BCD" on the folder.
14. Reboot. Setup should continue normally.
NOTE: For some reason, Windows will NOT boot if any USB devices are connected. Any time you boot into 7, you MUST disconnect them, boot into 7, then connect them again. Wifi is integrated but doesn't work. You will need to purchase a separate USB wireless adapter.
MSFN REPOST: https://msfn.org/board/topic/184267...-surface-pro-1-or-any-other-uefi-only-device/
Proof of Windows 7 installed on Surface Pro 1:
bro i can not understand most of it, is there any more specified tutorial somewhere? or can you help me?
Should i use the iso link you gave?
Hi, I follow the guide and everything went good until i got the message:
Could not install shim for VGA BIOS: Unsupported hardware
Can someone help me?
helpinghand200 said:
bro i can not understand most of it, is there any more specified tutorial somewhere? or can you help me?
Click to expand...
Click to collapse
At the last steps, you must replace the files at the hard drive where you installed Windows 7. You can do this by booting another OS, or making a live OS and then replace them on that hard drive from that OS.
HDD = Hard Disk Drive