Page 1 of 1

Android running on Windows 10 Guest

Posted: 9. Jan 2022, 00:15
by dmac
I have followed the post by Mark (cant posts URLs yet) and can not seem to get the Android tablet to get on the internet. I put the network in VBox to bridged but it is not working. Suggestions?
Thanks

Re: Andriod running on Windows 10 Guest

Posted: 9. Jan 2022, 01:42
by scottgus1
Andriod running on Windows 10 Guest
This would be nested virtualization: Windows host > Windows Guest > Android subguest.

We need to check the physical PC for nested virtualization capability. On the host's VM, Start the VM from full power off, not save-state. Run until you see the problem happen, then shut down the VM from within the VM OS if possible. If not possible, close the Virtualbox window for the VM with the Power Off option set.

Please right-click the VM in the main Virtualbox window's VM list, choose Show Log. Save the far left tab's log, zip the log file, and post the zip file, using the forum's Upload Attachment tab.

If you really meant:
Andriod running on Windows 10 Host
Remember that the physical PC is the host, not the guest.

Some things can interfere with Bridged, especially using Wi-Fi. Android does work on a Bridged connection. I have done it. See viewtopic.php?f=3&t=92683&start=15#p464073.

It may be beneficial to try a supported OS, like Ubuntu, to see if Bridged works on your host.

Re: Andriod running on Windows 10 Guest

Posted: 9. Jan 2022, 21:24
by dmac
I'm very sorry for my bad wording. Windows 10 is the host and android is the guest. very sorry.

Re: Andriod running on Windows 10 Guest

Posted: 9. Jan 2022, 22:00
by dmac
I have it set for bridged. When in Android and it asks to scan for Wifi networks, do you just press skip?
Thanks!!

Re: Andriod running on Windows 10 Guest

Posted: 9. Jan 2022, 23:15
by scottgus1
Good question. You should try web-searching how to set up Android in a VM. Anything beyond setting up Virtualbox is really beyond our scope.

Re: Andriod running on Windows 10 Guest

Posted: 10. Jan 2022, 00:14
by dmac
Your response confuses me. Since virtual box supplies the underlying virtual hardware to the android guest doesn't that mean getting it all to work together is part of some possible settings in virtualbox? I did search the internet. all of what I tried did not work.

Re: Andriod running on Windows 10 Guest

Posted: 10. Jan 2022, 03:11
by scottgus1
Bridged connects the VM network 'hardware' into the host LAN acting as a separate computer on the network, see Virtualbox Networks: In Pictures: Bridged Adapter.

What the OS running on the VM 'hardware' does with that network connection is not controllable by Virtualbox. In other words, if you install the OS on a real PC and it would ask the same question it is asking inside the VM, then it would be a configuration setting inside the OS to be web-searched, since the problem is not dependent on Virtualbox. This question, what to do with the network Android found, would be asked by Android if you installed in a real PC also, so it is an Android question, not a Virtualbox question.

For example, a basic MS-DOS install doesn't have the foggiest idea what a network is. Virtualbox would provide network hardware for the DOS VM, but one would have to web-search how to make DOS see and use the network hardware. Same for your Android VM.

Re: Andriod running on Windows 10 Guest

Posted: 10. Jan 2022, 12:47
by mpack
dmac wrote:Your response confuses me. Since virtual box supplies the underlying virtual hardware to the android guest doesn't that mean getting it all to work together is part of some possible settings in virtualbox?
Imagine that you bought a PC from Dell. Would you expect Dell to help you install Android?

Likewise, VirtualBox provides the "hardware" of the PC, it can't guarantee that any OS you dig up from somewhere - particularly when it isn't even a supported OS - is going to work.

And in fact Android usually has problems: x86 is not the main market, nor are PCs the intended platform. Android isn't often expected to use Ethernet, which is the only network API provided by VirtualBox. However despite all that it can work provided you seek out a build of Android that is already known to work in VirtualBox. Even then it will not work very well since there is no hardware acceleration.

Perhaps you should look at BlueStacks. This is actually based on VirtualBox, but they have customized it to make the Android experience better. They are gaming oriented, but I believe they offer the best PC based Android at the moment.

Re: Android running on Windows 10 Guest

Posted: 10. Jan 2022, 14:13
by scottgus1
mpack wrote:Android isn't often expected to use Ethernet, which is the only network API provided by VirtualBox.
Yes, this just popped into my head this morning, too.

@dmac, as Mpack points out, all of Virtualbox's network adapters are wired Ethernet. So Android will never see a Wi-Fi adapter in a Virtualbox VM. So I'd guess you should click Skip.

Re: Android running on Windows 10 Guest

Posted: 10. Jan 2022, 16:09
by mpack
scottgus1 wrote:So Android will never see a Wi-Fi adapter in a Virtualbox VM.
As I mentioned above, the Android 8.1 build that I installed includes a virtual WiFi that works over Ethernet, making it ideal for Android and VirtualBox.