16

I am running Android x86 on VirtualBox, and I want the pointer integration enabled, which needs VirtualBox Guest Additions to be installed on the guest OS.

I have searched a lot, but what I have found is that one has to compile Guest Additions with Android-x86 kernel headers. Can anyone please share how to do this?

Thanks in advance.

Akshay Deo
  • 528
  • 1
  • 6
  • 22

7 Answers7

9

Just disable "mouse integration" in Host Machine tab.

ref. https://code.google.com/p/android-x86/issues/detail?id=341#makechanges

user2328516
  • 107
  • 1
  • 1
6

Android is not a supported guest OS according to Sasquatch, a moderator at the VirtualBox forums, at https://forums.virtualbox.org/viewtopic.php?f=9&t=42240

Android is not a supported Guest OS, so there are no GA. Also, it doesn't meet the requirements for guest addition support: you can't install support packages for the kernel to make kernel modules. At least not that I am aware of.

Volo
  • 28,673
  • 12
  • 97
  • 125
Zian Choy
  • 2,846
  • 6
  • 33
  • 64
  • 1
    This doesn't sound right to me. First, Android doesn't need to be a "supported Guest OS". "Linux 2.6" _is_ a supported Guest OS. Second, you can install an entire Debian system in a chroot (http://android.stackexchange.com/questions/12207/can-you-run-linux-command-line-apps-on-android) - so you could certainly then install everything you needed to compile the guest additions. Or you can cross-compile them on another Linux system. Not easy, but surely not impossible. – Auspex Jul 18 '13 at 01:20
5

The VMs provided by Genymotion have theses features integrated (at least for the mouse pointer capture/release which is automagically done).

So I don't have the solution, but it's at least completed on a commercial software providing VirtualBox-compatible images.

Graveen
  • 404
  • 1
  • 5
  • 16
1

after you enabling the absolute mouse pointer, you should to start your virtual OS and then you click on device > and search for "turn off mouse integration"

fareza
  • 11
  • 1
  • How does this solve anything? Now you have a mouse in the guest and not the host - and Android manages to take over my Host key, so I can't even get out of it. – Auspex Jul 18 '13 at 01:05
  • @Auspex: 1. If Android is using your host key, you should change it. 2. The idea is to capture it by clicking and un-capture with the host key when you need to. – ReinstateMonica3167040 May 13 '19 at 00:55
1

I haven't tried it myself, but apparently you can just use the "Enable Remote Display" feature on VirtualBox to enable the pointer support according to a post in the android-building group:

If you use the 'rdesktop' command to connect to your Android VirtualBox instance, you can have a working mouse an cursor. First enable the remote display with:

devices -> Enable Remote Display

Then, connect via the rdesktop command

apt-get install rdesktop # ubuntu  
yum install rdesktop     # fedora 
rdesktop -a 16 localhost:3389
Joe
  • 14,039
  • 2
  • 39
  • 49
  • Yeah but when i enable absolute mouse pointer, then i could not see any mouse movements, otw i see two mouse pointers, one of guest and other of host which i dont want. – Akshay Deo Nov 23 '11 at 05:19
  • Two pointers and their movements don't synchronize. This makes it extremely difficult to navigate the interface. – palswim Jul 06 '19 at 06:30
0

In VirtualBox change the input setting from usb tablet or whatever to ps/2 mouse