Android emulator as a Virtual Machine

The Android emulator is often mentioned on the forum, so I want to share a convenient technology that has not been mentioned at all.

How many times have I tried all kinds of Android emulators, instead of just running it as a virtual machine. And it's very simple. I'm telling you how to install Android OS as a Proxmox virtual machine. It works fine: the store, applications, account. Everything is fine.

1️⃣ from the site android-x86.org download the image android-x86_64.iso and upload it to Proxmox.

2️⃣ Create a virtual machine with the following parameters:
  • Type: Linux, 6.x - 2.6 Kernel
  • Graphic Card: Default
  • SCSI Controller: VirtIO SCSI single
  • Disk: SCSI
Everything else is by default. The disk needs to be at least of 20Gb. After installation, ~14Gb will be used.

3️⃣ Launch the VM, select Installation. I create a partition on the disk, but I refuse to use GPT. In cfdisk, we create a partition, make it bootable, save it, exit. We select this partition for installation, choose the ext4 file system, we put grub, we refuse the offer to select the read only mode. Reboot after installation.

4️⃣ Boot into Android, perform a typical startup setup. Select a WI-FI connection. One network called VirtWifi will be available. After connecting to it, we received an IP address from a DHCP server that runs on a bridge that we added to this virtual machine.

That's it. We can now assign our account and use it. I personally need this virtual machine to install some applications that I don't want to put on my smartphone, since they are not needed there. Recently, I was asked to launch such a virtual machine to work with Instagram (SMM), since the web version for PC is inconvenient.

Can you use this in headless mode? Like without the GUI to save RAM but still being able to interact with it. Like Puppetteer browser for web applications. Also can you use this for like Facebook and Telegram. Any of you had any luck with it?
 
Hi all,

This is an exciting configuration. It lends itself to multiple scenarios. I wondered if one could get around the fact that with a hypervisor like Proxmox, the Android VM will not be identified as an ARM architecture. But what would happen if you ran an ARM emulator in the hypervisor and then the Android emulator on top of that? It's a kind of exciting concept!

I'm also thinking of ways to spoof hardware so that one, for instance, could emulate IMEI-related hardware and perhaps use that together with a suitable SDR (Software Defined Radio) to REALLY up the game. Now, THAT becomes interesting since you could possibly emulate different phones' specific hardware signatures and do a lot more VERY cool stuff.

Being able to spoof almost anything since you control the whole environment is intriguing, but it is easier said than done. The reward is great! Imagine what fun you could have with Wireshark sniffing out the traffic, engineering and orchestrating all kinds of cool Man-in-the-middle attacks on your own environment to reverse-engineer all sorts of protocols and perhaps even encryption and IP spoofing...
 
Hi all,

This is an exciting configuration. It lends itself to multiple scenarios. I wondered if one could get around the fact that with a hypervisor like Proxmox, the Android VM will not be identified as an ARM architecture. But what would happen if you ran an ARM emulator in the hypervisor and then the Android emulator on top of that? It's a kind of exciting concept!

I'm also thinking of ways to spoof hardware so that one, for instance, could emulate IMEI-related hardware and perhaps use that together with a suitable SDR (Software Defined Radio) to REALLY up the game. Now, THAT becomes interesting since you could possibly emulate different phones' specific hardware signatures and do a lot more VERY cool stuff.

Being able to spoof almost anything since you control the whole environment is intriguing, but it is easier said than done. The reward is great! Imagine what fun you could have with Wireshark sniffing out the traffic, engineering and orchestrating all kinds of cool Man-in-the-middle attacks on your own environment to reverse-engineer all sorts of protocols and perhaps even encryption and IP spoofing...
Hey bro, I been doing some of that config you mention. I run it to farm streams, views, and "internet social proof" with bots
 
Can you use this in headless mode? Like without the GUI to save RAM but still being able to interact with it. Like Puppetteer browser for web applications. Also can you use this for like Facebook and Telegram. Any of you had any luck with it?
I don't think that this is good for headless mode. You see, the idea was to emulate Android with GUI.
I would look for another technology in order to emulate headless mode.

....you could possibly emulate different phones' specific hardware signatures and do a lot more VERY cool stuff.
Yes, that's possible.
 
Hi all,

This is an exciting configuration. It lends itself to multiple scenarios. I wondered if one could get around the fact that with a hypervisor like Proxmox, the Android VM will not be identified as an ARM architecture. But what would happen if you ran an ARM emulator in the hypervisor and then the Android emulator on top of that? It's a kind of exciting concept!

I'm also thinking of ways to spoof hardware so that one, for instance, could emulate IMEI-related hardware and perhaps use that together with a suitable SDR (Software Defined Radio) to REALLY up the game. Now, THAT becomes interesting since you could possibly emulate different phones' specific hardware signatures and do a lot more VERY cool stuff.

Being able to spoof almost anything since you control the whole environment is intriguing, but it is easier said than done. The reward is great! Imagine what fun you could have with Wireshark sniffing out the traffic, engineering and orchestrating all kinds of cool Man-in-the-middle attacks on your own environment to reverse-engineer all sorts of protocols and perhaps even encryption and IP spoofing...
I have a multitude of apps that this would be life-changing with. I have made upwards of 10-15k within a few days but they always block somehow and I cannot figure it out, but it is definitely low security.
 
I tried this out and it worked great for setting up the VM!
I ran into two issues soon though.

1. I left it for a while and came back to a blacked-out screen ( I assume it was asleep ). How do I change this to never sleep/how do I wake it up without restarting the VM ?
2. I am trying to run an app that requires locked bootloader and no root. It seems like the image I downloaded is rooted?
I believe this can be fixed in a phone my installing Magisk Play Integrity Fix module. But I am unable to install Magisk in the VM.

Any thoughts on how to fix these two issues would be super cool!
 
Back
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features and essential functions on BlackHatWorld and other forums. These functions are unrelated to ads, such as internal links and images. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock