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:



18 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. Make video how you do it and publish on youtube. Here https://soclikes.com/ you can get youtube views

    ReplyDelete
  8. 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
  9. Ucuz, kaliteli ve organik sosyal medya hizmetleri satın almak için Ravje Medyayı tercih edebilir ve sosyal medya hesaplarını hızla büyütebilirsin. Ravje Medya ile sosyal medya hesaplarını organik ve gerçek kişiler ile geliştirebilir, kişisel ya da ticari hesapların için Ravje Medyayı tercih edebilirsin. Ravje Medya internet sitesine giriş yapmak için hemen tıkla: www.ravje.com

    İnstagram takipçi satın almak için Ravje Medya hizmetlerini tercih edebilir, güvenilir ve gerçek takipçilere Ravje Medya ile ulaşabilirsin. İnstagram takipçi satın almak artık Ravje Medya ile oldukça güvenilir. Hemen instagram takipçi satın almak için Ravje Medyanın ilgili sayfasını ziyaret et: instagram takipçi satın al

    Tiktok takipçi satın al istiyorsan tercihini Ravje Medya yap! Ravje Medya uzman kadrosu ve profesyonel ekibi ile sizlere Tiktok takipçi satın alma hizmetide sunmaktadır. Tiktok takipçi satın almak için hemen tıkla: tiktok takipçi satın al

    İnstagram beğeni satın almak için Ravje medya instagram beğeni satın al sayfasına giriş yap, hızlı ve kaliteli instagram beğeni satın al: instagram beğeni satın al

    Youtube izlenme satın al sayfası ile hemen youtube izlenme satın al! Ravje medya kalitesi ile hemen youtube izlenme satın almak için tıklayın: youtube izlenme satın al

    Twitter takipçi satın almak istiyorsan Ravje medya twitter takipçi satın al sayfasına tıkla, Ravje medya güvencesi ile organik twitter takipçi satın al: twitter takipçi satın al

    ReplyDelete