Page 1 of 1

Can we create Virtual box android instance as phone instead of tablet?

Posted: 7. Sep 2022, 18:11
by svn
Hi All,
I have installed virtual box(VirtualBox-6.1.36-152435-Win) on Windows machine and loaded Android x86 Pie OS(android-x86_64-9.0-r2.iso).
It always opens as Tablet, can we open VM as Phone instead of Tablet type.

I tried to explore more in VB site, but didn't see any option to set device type as PHONE.

Is it possible to establish Phone GUI instead of Tablet? Please help.

Thank you.

Re: Can we create Virtual box android instance as phone instead of tablet?

Posted: 7. Sep 2022, 18:24
by scottgus1
There is no Virtualbox setting that I know of that would control this.

Virtualbox virtualizes a PC. It sounds like Android sees that PC and thinks it's a tablet. You could check with Android help channels to see if this can be changed. But there are definitely parts of a phone that Virtualbox does not create, like the cell transmitter, etc. So you may need to use an Android phone emulator app instead.

Re: Can we create Virtual box android instance as phone instead of tablet?

Posted: 8. Sep 2022, 11:54
by svn
Hi

Under Settings-->system-->Pointing Device, we have 3 option to select
1] PS/2
2] USB Tablet
3] USB Multi-Touch Tablet. VirtualBox targets only this device type?

Why there is no Phone related resolution list provided under View-->Virtual Screen1? I can see all Tablet widthXheight.

Re: Can we create Virtual box android instance as phone instead of tablet?

Posted: 8. Sep 2022, 13:22
by fth0
The menu items View > Virtual Screen 1 > Resize to ... are based on a fixed list of well-known PC display resolutions, provided for the convenience of the user. Smartphones and tablets don't have well-known resolutions like PC monitors.

Re: Can we create Virtual box android instance as phone instead of tablet?

Posted: 8. Sep 2022, 13:53
by scottgus1
svn wrote:3] USB Multi-Touch Tablet. VirtualBox targets only this device type?
Virtualbox provides all three types of pointing devices, and you can choose any one of them in your VM while the VM is fully shut down, not save-stated. The device now being used by the VM is the one chosen by the template you picked or allowed when you made the VM in the New VM wizard. Note that the OS inside the VM needs drivers for the device chosen.
svn wrote:Why there is no Phone related resolution list provided ... I can see all Tablet widthXheight
Because the devs didn't program tall by narrow screen widths.
Because:
scottgus1 wrote:Virtualbox virtualizes a PC.
Because the vast majority of PCs typically are 4:3 or 16:9, not 3:4 or 9:16.

Regrettably for your project, there may be no way to get tall x narrow screen sizes for your PC VM, since the custom screen sizes require Guest Additions inside the VM OS, and there are no Guest Additions for Android.
scottgus1 wrote:you may need to use an Android phone emulator app instead.