Dropdown

Sunday, December 2, 2012

Install Android X86 on PC (Dual Booting with Ubuntu / Windows XP)

Firstly download Android X86 iso file from http://goo.gl/mOPg . U can find iso file that match with your computer. In this tutorial i am use this one http://goo.gl/Hrnvz because my old computer bla bla n bla :D .
News: the latest Android X86 is Android Android-x86 4.0-RC1 (Ics-x86).
Then to install from this iso file we need Unetbootin which can be downloaded from http://goo.gl/FVBy (u can choose Linux or windows version). After that, running Unetbootin from your computer and do like this picture :

- choose radio button Diskimage, then find your iso file, in type choose USB or CD then click OK, lets wait until finish but dont choose reboot your computer.

- OK the installer is prepared. So we need to give hard disk partition to install Android in harddisk. Lets use your gparted on your Ubuntu or on windows, u can use other software :) . Android X86 can be installed on ext2, ext3, fat32 and ntfs partition format. So choose one and after finish reboot your computer.
- Ok lets booting from USB or CD which contain Android X86 installer. After that u can try Android X86 (HDPI and MDPI) or U can install it directly. Ok , lets install directly (choose “installation-install Android to hard disk”.


After that installation dialog will appear. Choose partition which U formated, then OK, U can choose format it again or not. Then wait until installation finish and reboot. Information of installation can found at http://goo.gl/t8EM .
- choose partition

- Do not format if it is formated

-lets install grub to try booting it

- OK. U can running your Android on X86 Computer but if u use Ubuntu , your Ubuntu will hidden, to fix it U just should install grub from Live CD Ubuntu.
  1. booting Live cd Ubuntu
  2. choose try Ubuntu without installing
  3. open terminal
  4. read this http://goo.gl/QdDb
  5. ok write
    $ sudo grub-install --root-directory=/media/your_ubuntu_partition /dev/sda
  6. $ sudo reboot
- Ok after that your Ubuntu comeback, but how about Android?
Ok, Android will be hidden because it isnot read by Ubuntu’s grub. So to fix it,
  • firtsly open your ubuntu
  • mount Android partition, open /grub/menu.lst
u will see like this :
default=0
timeout=6
root (hd0,1)
splashimage=/grub/android-x86.xpm.gz
title Android-x86 2.2 (HDPI) kernel /android-2.2/kernel quiet root=/dev/ram0 androidboot_hardware=generic_x86 acpi_sleep=s3_bios,s3_mode video=-16 DPI=240
SRC=/android-2.2 initrd /android-2.2/initrd.img

title Android-x86 2.2 (MDPI) kernel /android-2.2/kernel quiet root=/dev/ram0 androidboot_hardware=generic_x86 acpi_sleep=s3_bios,s3_mode video=-16 DPI=160
SRC=/android-2.2 initrd /android-2.2/initrd.img

title Android-x86 2.2 (Debug mode) kernel /android-2.2/kernel root=/dev/ram0 androidboot_hardware=generic_x86 acpi_sleep=s3_bios,s3_mode video=-16 DEBUG=1
SRC=/android-2.2 initrd /android-2.2/initrd.img
so add it to etc/grub.d/40_custom (write on terminal “sudo gedit etc/grub.d/40_custom”) on ubuntu like this :
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry 'Android-x86 2.2 (HDPI)' {
set root=(hd0,msdos2)
linux /android-2.2/kernel quiet root=/dev/ram0 androidboot_hardware=generic_x86 acpi_sleep=s3_bios,s3_mode video=-16 DPI=240 SRC=/android-2.2
initrd /android-2.2/initrd.img
}

menuentry 'Android-x86 2.2 (MDPI)' {
set root=(hd0,msdos2)
linux /android-2.2/kernel quiet root=/dev/ram0 androidboot_hardware=generic_x86 acpi_sleep=s3_bios,s3_mode video=-16 DPI=160 SRC=/android-2.2
initrd /android-2.2/initrd.img
}

menuentry 'Android-x86 2.2 (Debug mode)' {
set root=(hd0,msdos2)
linux /android-2.2/kernel root=/dev/ram0 androidboot_hardware=generic_x86 acpi_sleep=s3_bios,s3_mode video=-16 DEBUG=1 SRC=/android-2.2
initrd /android-2.2/initrd.img
}
Update: for Android X86 4.0 RC1 ICS:

menuentry “Android-x86-4.0-RC1 ICS” {
set root=’(hd0,msdos7)’
linux /android-4.0-RC1/kernel quiet root=/dev/ram0 androidboot.hardware=asus_laptop acpi_sleep=s3_bios,s3_mode video=-16 DPI=240 SRC=/android-4.0-RC1 SDCARD=/data/sdcard.img
initrd /android-4.0-RC1/initrd.img
}


-then on your terminal write
$ sudo update-grub
$ sudo reboot
- Ok you should see Android on Grub menu, choose that and enjoy your Android on X86 Computer :)

No comments:

Post a Comment