Welcome to Shoppolics!

Windows Vista is the sucessor of Windows XP, It was the popular windows os due to its design and functionality, Vista provided a new look to the windows os designs and made the windows even popular, it was named as windows longhorn.


The file which we are using for this is qcow2 file which is image file for running the operating systems in qemu, and qemu is linux oriented virtual environment specifically built to run in linux devices in short you can tell like it is the Vmware or Virtual box of linux devices.



Requirements :

1. Fx File Explorer.(Available in Playstore)
2. Vnc Viewer. (Available in Playstore)
3.7Archiver.(Available in Playstore)

 

Method:

Installation of required apps and files.

  • Install download and install all the four mentioned above apps for this tutorial.
  • Download the Zip file of Windows-Vista, This file is very important in this tutorial.
  • First open the Fx browser app, go to downloads folder and select the Windows XP Zip file.
  • Open the Zip file with ZArchiver app.
  • Select the file and click extract button to extract the files.
  • Wait for the extraction to complete, the extraction takes around  15-30 min as it is big size file approximately 4 GB in Size.
  • After the extraction is completed, You will get a Disk folder which will act as a external storage.

Adding Commands in Termux.

  • Now open the Termux app and type clear to clear the screen.
  • Now type the following commands:
Command:
termux-setup-storage
This command will give storage access to termux

Command:
pkg update -y && pkg upgrade -y
This command will update all the packages.


Command:

pkg install x11-repo
This command will install qemu packages especially qemu-i386 and qemu-x86_64 which are necessary to run the system in android

Command:
pkg install qemu-system-x86_64
This command will install qemu packages especially qemu-x86_64 which are necessary to run the system in android.

Or

Command:
pkg install qemu-system-i386
This command will install qemu packages especially qemu-i386 which are necessary to run the system in android.


qemu-system-x86_64 \
-m "Provide ram ranging from 100-2047M" \
-vga vmware \
-hda "copy and paste the path of your downloaded and extracted qemu image" \
-drive file=fat:rw:"copy and paste the path of Disk folder" \
-vnc :1

Example:

qemu-system-x86_64 \
-m 400M \
-vga vmware \
-hda /storage/emulated/0/Download/Windows-Vista.qcow2 \
-drive file=fat:rw:/storage/emulated/0/Download/Disk  \
-vnc :1
This command will help you to run and connect the qemu system to Vnc viewer app.

  • Open the vnc viewer app after click Enter on the above command.
  • Click on "+" Sign to create a new connection, Enter the value as follows.
  • Address => 127.0.0.1:2
  • Name => Windows Vista
  • Click on Connect, and wait for the connection to establish.
  • Wait for the booting process to complete, Booting process could take around 10-15 min for first boot and 2-3 min for next run.

Exploring Windows Vista

  • Windows-Vista desktop will be displayed and you can have all the features of Windows-Vista in this image file.
  • Open the My Computer and Open the QEMU VVFAT (E:) Disk.
You will see that the same file which was in Disk folder of android storage has appeared in this Disk folder of Windows XP which means we can use this Disk folder external  folder to connect Android storage.

  • Open the Web browser, In my case I will be opening Firefox browser, browser the internet to check whether internet is working in Windows Vista or not.

  • If it is not working, here is the solution. 
  • Go to Start=>Control Panel=>Network=>Click on your network=>Disable and Enable the network.
  • You can also play old classic games of Windows Vista.
  • Shutdown the Windows XP and go to Termux, Press Control + C key to stop the Windows XP connection.


Creation and execution of Qemu Auto Shell Script:

  • Qemu auto shell script is shell script which will automatically run with a single line of command..
  • First you need to copy any one of the commands from here.
  • Paste the copied command and save the file as filename.sh
  • Then move the file to the Download folder.
  • Now open the termux and type the following command.
  • Command:
  • cd /sdcard/Download && sh filename.sh
After entering the above command, it will directly execute the qemu command.
  • You can edit the filename.sh by clicking on the file and selecting open it as and open it in your desired text editor.


Conclusion:
  • So this was the tutorial blog for running Windows XP in android using Termux. If you like this tutorial, you would also like tutorial blog of running Windows 95 in android..