So my android device doesn't have enough space for me to test a full build (with iso from scratch, could likely push a premade to it for testing or in a few days get a secondary storage option). So for now... Enter the emulators for premade building..
You may or may not know that Nox cannot run aarch64 qemu and at the time I did not know why. (I theorize now it is due to nox being android 9 and wsa 12, so firmware related, but don't Know) Fast forward a year later, WSA is running better and now is able to run termux and install qemu-aarch64 without failing to the sys-NDK package.
I'm using this version of wsa but I think you could do it on regular? Anywho. Since we don't have full system read and write, we need to install termux storage module to be able to access the downloads folder on the device with code.
The code used below was able to boot past the board, in fact on termux it sees the iso and prompts for you to press any key (i think we can mod these isos with MODWIN once we figure out how to use them properly.. lol. I know how to switch the efi binary on the disk to no prompt)
however it Will not show us window's lovely literal arm picture due to this: "-nographic" because I do not know how to add the right graphic "switch" is that right? We are close maybe someone can figure it out for us!! Still trying here
this builds us in the termux home directory for right now but that can be amended later just trying to get it to work
If anyone is able to expand upon this in any fashion please do so!
--edit just realized I can test on a phone now that I know how to do this without Root. So derp. Haha "termux-setup-storage" opens up the world
Here's the efi driver:
drive.google.com
Here's a copy of win11arm if anyone would like to help solve this problem!
drive.google.com
If you download these from your device you can skip the adb code.
So we need the -display code now and i think the nic code is not right so that too. (-netdev user,id=n0)
github.com
You may or may not know that Nox cannot run aarch64 qemu and at the time I did not know why. (I theorize now it is due to nox being android 9 and wsa 12, so firmware related, but don't Know) Fast forward a year later, WSA is running better and now is able to run termux and install qemu-aarch64 without failing to the sys-NDK package.
I'm using this version of wsa but I think you could do it on regular? Anywho. Since we don't have full system read and write, we need to install termux storage module to be able to access the downloads folder on the device with code.
The code used below was able to boot past the board, in fact on termux it sees the iso and prompts for you to press any key (i think we can mod these isos with MODWIN once we figure out how to use them properly.. lol. I know how to switch the efi binary on the disk to no prompt)
Code:
pkg install x11-repo
pkg upgrade
pkg install qemu-system-aarch64 qemu-utils libslirp
qemu-img create -f qcow2 win11.img 100G
termux-setup-storage
adb push win11arm.iso /sdcard/Download
adb push QEMU_EFI.fd /sdcard/Download
qemu-system-aarch64 -m 2048 -cpu cortex-a72 -smp 4 -M virt -nographic -bios storage/downloads/QEMU_EFI.fd -drive if=none,file=win11.img,id=hd0 -device virtio-blk-device,drive=hd0 -netdev user,id=n0 -vnc 127.0.0.1:3 -cdrom storage/downloads/win11arm.iso
however it Will not show us window's lovely literal arm picture due to this: "-nographic" because I do not know how to add the right graphic "switch" is that right? We are close maybe someone can figure it out for us!! Still trying here
this builds us in the termux home directory for right now but that can be amended later just trying to get it to work
--edit just realized I can test on a phone now that I know how to do this without Root. So derp. Haha "termux-setup-storage" opens up the world
Here's the efi driver:
QEMU_EFI.fd

Here's a copy of win11arm if anyone would like to help solve this problem!
win11arm.ISO

If you download these from your device you can skip the adb code.
So we need the -display code now and i think the nic code is not right so that too. (-netdev user,id=n0)
here's every imaginable way to setup a GUI
github.com
wiki.termux.com
GitHub - termux/termux-x11: Termux X11 add-on application. Still in early development.
Termux X11 add-on application. Still in early development. - GitHub - termux/termux-x11: Termux X11 add-on application. Still in early development.
Graphical Environment - Termux Wiki
this guide here would bypass qemu all together i think? it installs full on linux debian with a beautiful and Prooven GUI
ivonblog.com
help for saving a file and exiting vim: https://linuxize.com/post/how-to-save-file-in-vim-quit-editor/
for helping seeing and selecting a local time zone https://linuxize.com/post/how-to-set-or-change-timezone-in-linux/
press the "i" key in vim to be able to remove the hashtag

virglrenderer: Termux GPU hardware acceleration tutorial
🇹🇼 中文版 This article is about how to enable GPU hardware acceleration in Termux proot-distro by installing and running virgl server in Termux.
for helping seeing and selecting a local time zone https://linuxize.com/post/how-to-set-or-change-timezone-in-linux/
press the "i" key in vim to be able to remove the hashtag
Termux-UbuntuBox/README.md at main · RobertSzujo/Termux-UbuntuBox
Contribute to RobertSzujo/Termux-UbuntuBox development by creating an account on GitHub.
Last edited: