32Bit EFI android?

3,268 views
Skip to first unread message

Drake McGowan

unread,
May 25, 2014, 8:06:17 PM5/25/14
to andro...@googlegroups.com
Would it be possible at all to get a 32bit EFI compatible android x86? I really want to try android on my HP Omni 10 but since its a 32bit UEFI device it only accepts 32bit EFI systems (if I'm correct. I'm quite new to the whole darn UEFI and EFI thing) or if not is there any workarounds possible to get it running on the thing? I saw something awhile back to use a 32bit GRUB2 EFI file and get it to boot the android kernel and other things but it supposedly doesn't work that well. Any help?

Somebody

unread,
May 26, 2014, 8:24:53 AM5/26/14
to andro...@googlegroups.com
It should work just fine doing that, but will be a bit complicated to configure.
Are you sure that that device doesn't allow booting in legacy mode? Check carefully through the bios settings. I had an HP touchsmart 10 running android x86 just fine, and I think it is basically the same machine but with a different cpu.

Setting up grub2 is really not a trivial matter, if you are interested in pursuing this, you probably should find some help from someone well versed in dealing with grub. Maybe there is a grub specific forum somewhere?

Vivi

unread,
May 26, 2014, 10:17:16 AM5/26/14
to andro...@googlegroups.com
Configuring a Grub2 bootloader that can boot Android-x86 was not that hard for me, providing that you have a (Linux) system that can mount your Android-x86 disk and that has grub2 available.
I use some Ubuntu system, on which I mount my Android x86 disk (it's a USB disk, you can also connect an HDD to a USB adapter etc...)
When you have your Linux and the Android disk mounted, you just have to run grub-install:

grub-install --force --no-floppy --boot-directory=/media/Androidx86System/boot /dev/sdb
where
/media/Androidx86System
is your mount point
and
/dev/sdb
your android_x86 device

Then, you have to create a grub.cfg configuration file in the /boot/grub/ directory of your android disk.
It should be similar to:

#=======================

set default="0"
set timeout=8

menuentry "Android-x86 4.4 2014-05-21" {
insmod ext2
set root=(hd0,1)
linux /android-2014-05-21/kernel quiet root=/dev/ram0 androidboot.hardware=android_x86 video=-16 SRC=/android-2014-05-21
initrd /android-2014-05-21/initrd.img
}

menuentry "Android-x86 4.4 (Debug Mode)" {
insmod ext2
set root=(hd0,1)
linux /android-2014-05-21/kernel root=/dev/ram0 androidboot.hardware=android_x86 video=-16 DEBUG=2 SRC=/android-2014-05-21
initrd /android-2014-05-21/initrd.img
}

menuentry "Android-x86 4.4 (Debug nomodeset)" {
insmod ext2
set root=(hd0,1)
linux /android-2014-05-21/kernel nomodeset root=/dev/ram0 androidboot.hardware=android_x86 video=-16 DEBUG=2 SRC=/android-2014-05-21
initrd /android-2014-05-21/initrd.img
}

menuentry "Android-x86 4.4 (Debug video=LVDS-1:d)" {
insmod ext2
set root=(hd0,1)
linux /android-2014-05-21/kernel video=LVDS-1:d root=/dev/ram0 androidboot.hardware=android_x86 video=-16 DEBUG=2 SRC=/android-2014-05-21
initrd /android-2014-05-21/initrd.img
}

#===========================

(my android_x86 is installed in /android-2014-05-21/ of the android HDD, which is on the 1st partition of the disk (hd0,1). You would have to adapt the cfg file to your own install)

Of course, your Android HDD must be partitioned so that the active (bootable) partition is the one that holds the /boot folder (1st partition of the disk in my case).


Note that I did use an EFI compliant system (HP t610) that can boot off (USB) HDD in Legacy mode.
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.

Drake McGowan

unread,
May 30, 2014, 6:15:38 PM5/30/14
to andro...@googlegroups.com
Haha can you tell me how to do that in easier form? I can boot Ubuntu from a bootia32.efi file and i can get to grub there and I have a USB drive with Android x86 on it but what do from there? I don't know what Linux has my hard drive listed too. Nor the Androidx86 USB drive.. Also just wondering if you know and could help but is Ubuntu compatible with eMMC internal drives? Every time I try to install ubuntu on my HP Omni 10 it first comes to a error during the time at where the Ubuntu installer asks where I am and says "input/output error during read on /dev/mmcblk0 and if i click ignore it continues but then comes to the error again while copying the files about some read only error. I'm assuming its because eMMC drives have the same technoligy as SD cards and it cant be formatted to the file type Ubuntu uses.

Vivi

unread,
Jun 2, 2014, 9:05:05 AM6/2/14
to andro...@googlegroups.com
Use Ubuntu Disk Utility. When your Android disk shows up, click on "mount volume".
Your Android disk will be mounted where the Disk Utility says it is mounted and you will have to use that path after the
"--boot-directory=" option
Reply all
Reply to author
Forward
0 new messages