Sunday, October 25, 2015

How to run Android-x86 5.1 Lollipop with VirtualBox



Android-x86 is a project that ports Android to x86 platforms that allows us install and run Android on the PC. The latest stable release prebuilt image is Android 5.1.1 Lollipop favors. With more new improvement comparing to the Android 4.4 Kitkat, the Lollipop's worth mentioning key features are:
  • Supports 64-bit kernel and userspace, as well as 32-bit system.
  • Update kernel to 4.0.9.
  • Enable OpenGL ES hardware acceleration for Intel/AMD(radeon/radeonsi)/Nvidia(nouveau) chipsets.
  • Support booting from UEFI and installing to UEFI disk.
  • Be able to install to ext4/ext3/ext2/ntfs/fat32 filesystems via a text based GUI installer.
  • Support Multi-touch, Audio, Wifi, Bluetooth, Sensors, Camera and Ethernet (DHCP only).
  • Auto-mount external usb drive and sdcard with filesystem vfat/ntfs/exfat/ext4.
  • Support VM including Qemu, VirtualBox and VMware.
  • Support foreign archs (arm / arm64) via the native bridge mechanism. (Settings -> Apps Compatibility)

The Android-x86 Lollipop may still buggy on x86 platforms. Running it as a virtual machine would be a wiser choice, instead of installing along with Windows permanently on hard drive.

Things you need:

Steps:
  1. Open VirtualBox, click New.
  2. Create Virtual Machine for Android. Choose Linux for type, Linux 2.6 / 3.x / 4.x (32-bit) for version.
  3. Set memory size (RAM) to be allocated to Android VM. Recommended RAM size would be at least 512MB and above.
  4. Create virtual hard disk.
  5. Select VDI (VirtualBox Disk Image)
  6. You can choose either Dynamically allocated or Fixed size.
  7. If you choose Fixed size, set the size of virtual hard disk for Android VM then click Create.
  8. Open the settings of Android and go to Storage tab. Load the downloaded Android ISO image into virtual optical drive.
  9. Start the Android VM.
  10. Select Installation - Install Android-x86 to hardisk.
  11. Select Create/Modify partitions.
  12. Choose No when asked to use GPT.
  13. Select New to create new partition from free space.
  14. Select Primary to create a new primary partition.
  15. Select Bootable.
  16. Select Write to write partition table to disk.
  17. Type yes to confirm.
  18. Select Quit.
  19. Select the partition that just created to install Android-x86. Eg. sda1
  20. Select ext4 filesystem to format.
  21. Select Yes to confirm.
  22. Select Yes to install boot loader GRUB.
  23. Skip not to install EFI GRUB2.
  24. Select Yes to install /system directory as read-write.
  25. Wait for the installation to complete and done.
  26. Remove the ISO of Android from virtual optical drive (Devices > Optical Drives > Remove disk from virtual drive). Then reboot the Android VM.
  27. Select Android-x86 5.1-rc1.
  28. You will see the Welcome page of Android. The Android 5.1 Lollipop live and running on VirtualBox.
  29. The one last configuration you may need to do is go to Input and select Mouse Integration to have better control of the cursor on the Android VM's user interface.

Screenshots:



22 comments:

  1. Thank you, first post on this topic to actually explain the whole process. ;) The rest over the last few months left too many parts out.

    ReplyDelete
  2. Hey! Thank you very much! Clean, clear instruction... Success!! :-)

    ReplyDelete
  3. Thank a lot. Found this post after days of struggling. Thanks

    ReplyDelete
  4. Ah.. I was looking all over to get this done on my phone. This post has made a lot of things clear for me. Thanks for sharing this post.

    ReplyDelete
  5. This Site And The Resources You Provide Is Really Nice Keep It Up. picbear

    ReplyDelete
  6. Use this article to increase your knowledge . net worth

    ReplyDelete
  7. Do you know you can post tutorials like this on Instagram using their carousel images? People just love helpful content on social media and it's easy to drive more eyes to your blog by posting a preview on IG. Find out everything about getting more Instagram likes by this link: https://krootez.com

    ReplyDelete
  8. https://www.royaltykitten.com/sphynx-kitten-for-sale/
    https://www.royaltykitten.com/hairless-cats-for-sale-near-me/
    https://www.royaltykitten.com/hairless-kitten-for-sale/
    https://www.royaltykitten.com/hairless-cats-for-sale/


    ReplyDelete
  9. How are Sphynx cats with other pets?
    This is hard to answer. Generally, as a breed and given how affectionate they are I would say you have a better chance of a Sphynx cat getting along with other pets than a different breed of cat. But then each one is different and may or may not like any given pet or person. https://www.royaltykitten.com/
    sphynx cats for sale
    They definitely do not like to be alone, that was one of the reasons we got two. So it is always good for them to have a buddy if you are going to be away at work all day.
    https://www.chihuahuapuppiesforsale1.com/
    Sphynx kittens for sale

    ReplyDelete
  10. Totally loved your article. Looking forward to see more more from you. sphynx cat for sale Meanwhile feel free to surf through my website while i give your blog a read. chihuahua puppies for sale near me Are you also lokking to adopt chihuahua puppies sphynx kitten for sale, teacup chihuahua for sale

    ReplyDelete
  11. Usually I never comment on article but your article is so convincing that I never stop myself to Real Leather. chihuahua puppy for sale near me best chihuahua puppies for sale hairless cats for sale Despite the fact that they are very intelligent, am finding it very difficult getting them to mate chihuahua for sale
    chihuahua for sale near me

    ReplyDelete
  12. I've been searching for hours on this topic and finally found your post. 바카라사이트, I have read your post and I am very impressed. We prefer your opinion and will visit this site frequently to refer to your opinion. When would you like to visit my site?


    ReplyDelete
  13. My curiosity was solved by looking at your writing. Your writing was helpful to me. 룰렛사이트 I want to help you too.

    ReplyDelete
  14. I’ve been reading your posts and I really like it. You can write very well.

    ReplyDelete