How To Fix Android Screen Resolution In Virtual Box

This guide will helps you how to increase the screen resolution. By following these instructions you will be able to change it to something that works for you.

There are basically two main parts are available to amending the screen resolution. The first thing is to correcting the Virtualbox settings for your Android installation and the second part is to correcting the boot menu option within GRUB to reset the screen resolution.

Fix The Virtualbox Screen Resolution For Android

First of all you have to open up a command prompt.

If you are using Windows 8.1 then right click on the start button and then select the “Command Prompt”. If you are using Windows 7 or before press the start button and enter cmd.exe into the run box.

In a Linux, open up a terminal window. If you are using Ubuntu press the super key and type term into the dash and then click on the terminal icon. In a Mint open up the menu and click on the terminal icon present in the menu. You can also press the shortcut key as CTRL + ALT + T.

If you are using Windows then run the following command.

cd “c:\program files\oracle\virtualbox”

This assumes you used the default options at the same installing the Virtualbox.

In Linux, you don’t need to navigate to the folder for virtualbox as it is part of the path environment variable.

If you are using Windows then run the following command.

VBoxManage.exe setextradata “WHATEVERYOUCALLEDANDROID” “CustomVideoMode1” “desiredresolution”

If you are using Linux, then the command is similar except you don’t need the .exe. Just follow the below command.

VBoxManage setextradata “WHATEVERYOUCALLEDANDROID” “CustomVideoMode1” “desiredresolution”


Fix The Screen Resolution In GRUB For Android

Now you can open VirtualBox and then start your Android virtual machine.

First, Select the devices menu and then choose CD/DVD devices and then if the Android ISO appears put a tick next to it. If the Android ISO doesn’t appears then click on the “Choose a virtual CD/DVD disk file” and go back to the Android ISO you downloaded previously.

Now you have to select “Machine” and “Reset” from the menu.

Here you can choose the “Live CD – Debug Mode” option.

A load of text will zoom the screens up. Press return until you are at a prompt which looks like this: /Android #.

Now you can enter the following lines into the terminal window:

mkdir /boot

mount /dev/sda1 /boot

vi /boot/grub/menu.lst

The vi editor will takes a bit of getting used to if you are not using it before. so, I will show you how to edit the file and what to enter.

The first thing you have to note is that there appears to be four blocks of code that all starting with the following text:

title Android-x86 4.4-r3

By using the arrow keys on your keyboard move the cursor down to the line which are just below the first “title Android-x86 4.4-r3”.

Now you can use the right arrow and place the cursor just after the bit in bold below:

kernel /android-4.4-r3/kernel quiet root=/dev/ram0 androidboot.hardware=android_x86 src=/android-4.4-r3

Now you have to press the “I” key on the keyboard (that is i not 1).

Now enter the following text:


Replace “yourdesiredresolution” with the resolution as per your wish, For example, UVESA_MODE=1024×768.

The line should now look as follows:

kernel /android-4.4-r3/kernel quiet root=/dev/ram0 androidboot.hardware=android_x86 UVESA_MODE=1024×768 src=/android-4.4-r3.

Press escape key on your keyboard to exit the insert mode and then press “: (colon)” on your keyboard and enter wq (write and quit).

Before reset your virtual machine make sure to remove the ISO from the virtual DVD drive again. To do this select the “Devices” menu and then “CD/DVD Devices”. Untick the Android ISO option.

Finally, You have to reset the virtual machine by selecting “Machine” and “Reset” from the menu.

If you start Android the next time it will automatically resize to the new resolution.

Leave a Reply

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