At first I 'll say that Windows 10 will be booted in VM (VM will be running natively on phone).
Windows 10 is not usable for anything other than just having fun with the fact that it's booted on M6 note.
PHONE WILL LAG AND FREEZE A LOT WHILE WINDOWS IS RUNNING.
- Meizu M6 Note without sensitive data
- more than 10GB of free space on device (not SD-card!)
- 2-3 hours of time
Install Termux from GitHub and run these commands:
pkg upgrade
pkg install x11-repo
pkg install qemu-system-x86_64
Install VNC Viewer from Google Play (by RealVNC) and setup connection to 127.0.0.1 (left port field empty).
Download Windows 10 for AARCH64: GDrive (password: win10arm64
)
Download QEMU AARCH64 EDK II EFI: GitHub
Extract Windows disk image and EDK2.
Open these files using Termux to put them to ~/downloads folder:
- QEMU_EFI.img
- QEMU_VARS.img
- woa_17134.img
adb root
adb shell "echo 1,2,3,4,5,6 > /sys/module/lowmemorykiller/parameters/minfree"
adb shell "echo 0 > /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk"
Run these commands in Termux:
cd ~/downloads
qemu-system-aarch64 \
-name "Windows 10 on M6 Note" \
-M virt -cpu cortex-a53 -smp 8 \
--accel tcg,thread=multi -m 2048 \
-pflash QEMU_EFI.img \
-pflash QEMU_VARS.img \
-device VGA -vnc :0 \
-device nec-usb-xhci -device usb-kbd \
-device usb-mouse -device usb-storage,drive=boot \
-drive if=none,id=boot,file=woa_17134.img
Open VNC Viewer and connect to session what you've previously created.
When EFI shell appears, type exit
, go to Boot Manager and start from QEMU ... HARDDRIVE ... 3
.
Windows logo will appear, then it goes to recovery mode.
Press F8 (boot options) and run Windows without driver signature verification (Press 7).
Done! Now it'll take 30-40 minutes to see desktop! Enjoy!
- https://github.com/raspiduino/waq
- Some StackOverflow answers