Monday, July 21, 2014

Install Android 4.4 Kitkat on PC or Virtualbox

Follow this LINK to install it.

Change the resolution:



DOWNLOAD AND INSTALL ANDROID
1. I Downloaded Android from: http://www.android-x86.org/download - look for "Android-x86-4.4" folder and click on View link to start downloading iso image.

2. Install Android according to the HowToGeek tutorial: http://www.howtogeek.com/164570/how-to- ... irtualbox/
Note: I have selected NAT network and "Adapter Type": PCnet-FAST III


RESIZE SCREEN
3. On VirtualBox Ubuntu host I have executed command:
CODE: SELECT ALL   EXPAND VIEW
VBoxManage setextradata "MY_ANDROID_VIRTUAL_MACHINE_NAME" "CustomVideoMode1" "1680x1050x16"

Details: https://stackoverflow.com/questions/923 ... irtual-box

4. Start Android virtual machine.

5. From grub menu select "Live CD - Debug mode" to get into debug mode.

6. Create directory:
Details for steps 6 to 12: http://satoricode.net/2011/10/16/HighSp ... idx86.aspx
CODE: SELECT ALL   EXPAND VIEW
mkdir /boot

7. Mount disk to /boot directory:
CODE: SELECT ALL   EXPAND VIEW
mount /dev/sda1 /boot

8. Edit grub menu.lst file
CODE: SELECT ALL   EXPAND VIEW
vi /boot/grub/menu.lst

9. In the first "kernel" line search for text
video=-16 SRC=/android-4.4-RC1
and add text to become:
video=-16 UVESA_MODE=1680x1050 SRC=/android-4.4-RC1

Text in bold was added.
Details: https://stackoverflow.com/questions/923 ... irtual-box

10. Save file and exit the vi editor with command: :wq

11. Unmount /boot directory
CODE: SELECT ALL   EXPAND VIEW
umount /boot

12. Delete /boot directory
CODE: SELECT ALL   EXPAND VIEW
rmdir /boot

13. From VirtualBox power-off the Android virtual machine guest.

14. Start Android and new screen resolution should be working fine.
That's it.

No comments:

Post a Comment