Porting android on x86

73 views
Skip to first unread message

Akshay Mhaske

unread,
May 28, 2018, 5:45:36 AM5/28/18
to Android-x86

Hi,

I was trying to boot android on x86. I followed advanced section in http://www.android-x86.org/getsourcecode which contains "Install to USB disk". I followed the same steps of booting android from USB stick by installing grub and copying the mentioned images generated(from extracting ISO image generated from building x86 code) onto the bootable USB stick. I tried booting my PC from this USB stick. While the PC boots on USB stick, its observed that it stays at GRUB. The PC does not progress further and the Android does not boot up. Is there anything missing in the steps mentioned?

Thanks,
Akshay

Antony Stone

unread,
May 28, 2018, 5:52:15 AM5/28/18
to andro...@googlegroups.com
On Monday 28 May 2018 at 11:45:36, Akshay Mhaske wrote:

> Hi,
>
> I was trying to boot android on x86. I followed advanced section in
> http://www.android-x86.org/getsourcecode which contains "Install to USB
> disk". I followed the same steps of booting android from USB stick by
> installing grub and copying the mentioned images generated(from extracting
> ISO image generated from building x86 code) onto the bootable USB stick.

You appear to be confusing the terms "USB disk" and "USB stick".

The Advanced instructions for installing to a USB disk are for installing
Android-x86 onto a spinning disk (or SSD) which happens to be connected to the
computer via a USB interface.

You should follow the instructions in the section immediately above (heading
"Testing"), which document how to copy the hybrid ISO image onto the raw USB
device (so, you don't need to partition the USB stick, install GRUB, or
anything else - just copy the ISO onto /dev/sdX and not onto /dev/sdX1 etc).

If you have further problems after trying that please report back and let us
know, so we can see if we can help further.


Regards,


Antony.

--
BASIC is to computer languages what Roman numerals are to arithmetic.

Please reply to the list;
please *don't* CC me.

Akshay Mhaske

unread,
May 28, 2018, 6:08:12 AM5/28/18
to Android-x86

Hi Antony,

Thanks for the reply. Actually i did flash the device with ISO as mentioned in the steps with heading "Testing" and i was able to boot up the device. But however this is through ISO. In AOSP code base we don't get the ISO, rather we are getting only binaries initrd.img, system.img, ramdisk.img and bzimage. So i was looking for a solution to flash these generated binaries. Is there any way to use these binaries directly to bootup adroid without converting into ISO? or Is there any way to convert these binaries into iso?

Thanks,
Akshay

Antony Stone

unread,
May 28, 2018, 6:18:16 AM5/28/18
to andro...@googlegroups.com
On Monday 28 May 2018 at 12:08:12, Akshay Mhaske wrote:

> Hi Antony,
>
> Thanks for the reply. Actually i did flash the device with ISO as mentioned
> in the steps with heading "Testing" and i was able to boot up the device.

Ah, good.

> But however this is through ISO. In AOSP code base we don't get the ISO,
> rather we are getting only binaries initrd.img, system.img, ramdisk.img and
> bzimage. So i was looking for a solution to flash these generated binaries.

Ah, that's an entirely different question (and you didn't say anything about
this being what you're trying to do in your previous email...)

The documentation you pointed to is for building Android-x86 from source.

> Is there any way to use these binaries directly to bootup adroid without
> converting into ISO? or Is there any way to convert these binaries into
> iso?

That is something I have no idea about, so I'll leave it for someone else here
who has done stuff with AOSP to respond to.


Regards,


Antony.

> On Monday, 28 May 2018 15:22:15 UTC+5:30, Antony Stone wrote:
> > On Monday 28 May 2018 at 11:45:36, Akshay Mhaske wrote:
> > > Hi,
> > >
> > > I was trying to boot android on x86. I followed advanced section in
> > > http://www.android-x86.org/getsourcecode which contains "Install to USB
> > > disk". I followed the same steps of booting android from USB stick by
> > > installing grub and copying the mentioned images generated(from
> > > extracting ISO image generated from building x86 code) onto the bootable
> > > USB stick.
> >
> > You appear to be confusing the terms "USB disk" and "USB stick".
> >
> > The Advanced instructions for installing to a USB disk are for installing
> > Android-x86 onto a spinning disk (or SSD) which happens to be connected
> > to the computer via a USB interface.
> >
> > You should follow the instructions in the section immediately above
> > (heading "Testing"), which document how to copy the hybrid ISO image onto
> > the raw USB device (so, you don't need to partition the USB stick, install
> > GRUB, or anything else - just copy the ISO onto /dev/sdX and not onto
> > /dev/sdX1 etc).
> >
> > If you have further problems after trying that please report back and let
> > us know, so we can see if we can help further.
> >
> >
> > Regards,
> >
> >
> > Antony.

--
It is also possible that putting the birds in a laboratory setting
inadvertently renders them relatively incompetent.

- Daniel C Dennett

Akshay Mhaske

unread,
May 28, 2018, 6:26:49 AM5/28/18
to Android-x86
Ok Thanks a lot
Reply all
Reply to author
Forward
0 new messages