Android guest addition

Here you can provide suggestions on how to improve the product, website, etc.
Post Reply
jorgensen
Posts: 583
Joined: 20. Oct 2009, 01:22
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, LinuxMint

Android guest addition

Post by jorgensen »

Doing android development is a big challenge, and especially the emulator is a paint in the ...

An alternative is to use Android x86 running as a VirtualBox guest and this works very well except the mouse has to be captured and release by the host key.

It would be great if VirtualBox could support android x86 on a limited level, where the mouse integration has first priority.

To whom that has no knowledge to all this, the Linux OS for android-x86 has been compiled to x86 code whereas the Google emulator uses a translator from ARM to x86 code. In fact you program in Java, which is compiled to ARM code, which is then translated to x86 code - really frustrating!

Link to android x86: http://www.android-x86.org/documents/virtualboxhowto
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Android guest addition

Post by Sasquatch »

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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
aitor400
Posts: 1
Joined: 26. Aug 2013, 11:44

Re: Android guest addition

Post by aitor400 »

I want the Guest Additions to have shared folders
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Android guest addition

Post by mpack »

That would require Android itself to support Samba. Does it? Providing the infrastructure for shared folders is useless if the guest OS has no concept of it.
klaus
Oracle Corporation
Posts: 1111
Joined: 10. May 2007, 14:57

Re: Android guest addition

Post by klaus »

Please don't throw VirtualBox shared folders and Samba into one bucket. They are totally independent concepts and implementations. For shared folder support in the additions there is no network connectivity needed, and also it isn't based on SMB/CIFS protocols.

Shared folders in the Linux case is a standalone filesystem implementation which talks to the guest additions driver to get its requests handled by the host part of VirtualBox.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Android guest addition

Post by mpack »

Ah, of course. I knew that, my brain must have glitched - conflating true shared folders with GA shared folders. Not enough caffeine, or too much - I can never tell.
aaronfranke
Posts: 14
Joined: 2. Mar 2015, 02:00

Re: Android guest addition

Post by aaronfranke »

I would like to revive this topic because I think that Android guest additions would be a great feature to Virtualbox and I'd love for Oracle to take a look into it.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Android guest addition

Post by mpack »

I don't speak for the devs, but I'd say that the chance of this happening today (2016) is far less than it was in 2011. Even the teeny market which existed for Android x86 in 2011 has AFAIK all but disappeared. Nothing is going to budge Windows on Intel based devices (not counting Apple, which is a separate ecosystem, and note that there are no GAs for OS X either).

As alluded to above, if shared folder is your goal then setting up a true network share is easy enough for any worthwhile guest OS. Even DOS guests can do it. You should ask on an Android forum how they would do it.
VagrantBox
Posts: 1
Joined: 27. Oct 2016, 22:23

Re: Android guest addition

Post by VagrantBox »

I would just like to add that the android x86 project is practically dead. Took them like 8 months to get the Lollipop iso out.

Just use the Android AVD's with HAXM or KVM acceleration. I can tell you right now that an Android AVD w/ HAXM acceleration running on any decent Intel chip w/ host gpu acceleration is FAST. It will also be more true to life experience than the x86 project's image (granted, they're both x86 instruction sets at the end of the day).

Also, the peripheral usage on these our seamless, and intel android images are out day 1 side by side with google's images.
Post Reply