Android-X86 faster emulator

Default ARM Emulator which comes with Android is very slow.
So idea to setup X86 Version of Anroid into VirtualBox and use it for deploy.
There are nice project http://www.android-x86.org/

Requirements for usage:
To have fully installed anroid development environment setup sdk .
Virtual Box http://www.virtualbox.org/


Name of Image Android-2.2-Generic
Operating System: Linux
Version : Linux 2.6
Memory 512 GB
Create Hard Disk 3GB
Open Settings->Network
Adapter 1 – NAT # (eth0) this for internet browsing
Adapter 2 – Host Only #(eth1) this for adb management connection
Connect iso Image here
Download android-x86-2.2-generic.iso

Start virtual machine

To Control process use arrow up,down ,left,right
Follow the steps ,select in menu

1. Installation – Install Android-x86 to harddisk
2. Crate/Modify partitions
Select [New] -> [Primary] -> Size (in MB) 3216 press [ok]
Select [Bootable]
Select [Write] confirm by typing yes
Select [Quit]
3. Select partitions to install Android-X86
[sda1 Linux VBOX HARDDISK]
4. Please select a filesystem to format sda1
[ext3]
Confirm Format
5. Do you want install boot loader GRUB ?
Yes
6. Do you want to install /system directory as read-write?
Yes

*There are some problems with deploy sample applications from Android SDK.
This image already has many installed sample applications.*

7. Android-x86 is installed successfully.
[Create a fake SD Card]
size 2000 MB

Unmount CD Image pressing on Icon

Reboot system

The emulator keyboard short-cuts

ESC back
context menu button on the right between ctrl and alt (on some notebooks it’s missing)
ALT+F7 , ALT+F7 switch between console or ALT+ Left arrow , Alt + Right arrow

F6 switch mode of emulator

Main screen
If there are problems no Mouse Cursor in Android-X86 Virtual Machine .

Go to Machine->Disable Mouse Integration , keyboard short cut is HOST+I
(default host key is right CTRL)

Unlock main screen pull the arrow to top

Go to App Launcher

Network Issue:
eth0 ,eth1 will not work at same time very easy way to resolve

Settings -> Configure Ethernet

eth0 is for internet browsing
eth1 is for adb management connection

ALT + F1 switch to console

root@android:/ #
# netcfg
# netcfg eth1 down
# netcfg eth1 dhcp

action ‘dhcp’ failed (invalid argument)
*bug* without this line eth1 up command will not work
# netcfg eth1 up
# netcfg

remember later you will need for ADB

On the HOST machine run in command line the following sequence

Switch androd SDK folder in my case i have default folder
C:\Program Files\Android\android-sdk\platform-tools\

Use your in my case it’s 192.168.56.101

C:\Program Files\Android\android-sdk\platform-tools>adb connect 192.168.56.101
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
connected to 192.168.56.101:5555

Run Eclipse

This entry was posted in Android. Bookmark the permalink.

11 Responses to Android-X86 faster emulator

  1. leon says:

    Can I import android samples such as ApiDemos into your virtual box?

    • admin says:

      adb push install sample.app

      One thing You Should have System app Remover apk
      To avoid conflicts uninstall ApiDemos application and then you can redeploy it from Eclipse

  2. infinito says:

    Hi really work!!!! now im using the api level 12 with platform android 3.1 :D
    Thankyou!!!
    However sometimes have problems with api level > 4 :(
    But, the velocity is uffffff…Excellent…. much better than sdk emulator.. :D

  3. Elephant says:

    When I type #netcfg, there is no eth1 device. Do you know how to fix this? Thanks.

  4. Elephant says:

    Sorry, missed this line Adapter 2 – Host Only #(eth1) this for adb management connection. Already fixed.

  5. Pingback: Greatest Failures So Far… | lonecasualgameprogrammer

  6. wilmer says:

    please how I can do the last part, do not come to understand

    On the HOST machine run in command line the following sequence

    Switch androd SDK folder in my case i have default folder
    C:\Program Files\Android\android-sdk\platform-tools\

    Use your in my case it’s 192.168.56.101

    C:\Program Files\Android\android-sdk\platform-tools>adb connect 192.168.56.101
    * daemon not running. starting it now on port 5037 *
    * daemon started successfully *
    connected to 192.168.56.101:5555

  7. shan says:

    how can i use permanent android boot , when ever i boot again it need to re connect the ipaddress and my apps not be stored . could you tell me how can i every thing permanent!!!!

  8. Olivier says:

    I am unable to get both eth0 (NAT) and eth1 (host-only) to work together. If I enable both the browser stalls when trying to access a web page; I have to disable eth1 to get networking to work. In addition in my Android x86 version (4.2) there is no “Configure Ethernet” setting entry. Any idea?

  9. Pingback: Emulador Android e Virtualbox – passo a passo | Gestão de Software, .Net, C#, FoxPro, SQL e CSS

  10. aeifkz says:

    Thank for your article. It is very helpful for me!!!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>