← Back to team overview

ubuntu-phone team mailing list archive

Re: Porting Android source code to Ubuntu

 

On 8 October 2013 11:36, Abhishek Agarwal <abhishek.agarwal16@xxxxxxxxx> wrote:
>
> Hi All,
>
> I am new to porting code.
>
> I have Android source code for my project.
> I want to port Ubuntu on this board, replacing Android.
>
> After porting my board should be running Ubuntu completely as my desktop is running.
>
> Can someone please help me in doing this.

If you simply want to run Ubuntu, then look into Ubuntu Core:
https://wiki.ubuntu.com/Core

You are expected to provide your own bootloader & kernel, and then use
those to boot Ubuntu Core rootfs.
This should get you a minimal console system.

Ubuntu Touch, is more than Ubuntu Core as it adds additional
requirements on the kernel (app armor & namespace support compiled),
but has more packages available in the rootfs.

In the past (during quantal cycle) we had ubuntu-desktop images for
nexus7 tablet, which did simply boot into ubuntu-desktop & running X.
So you might want to look into those images:
http://cdimages.ubuntu.com/releases/13.04/release/

There are plenty of "androidy" utilities available in the archive like
abootimg, cross-toolchains and etc which you might find useful.

Ubuntu phone UI, is more complex to port, as there are more kernel
requirements (namespace support, apparmor, etc). And one needs to boot
minimal android under lxc container to get access to surfaceflinger
etc. But that will _not_ give you "Ubuntu Desktop".

Regards,

Dmitrijs.


Follow ups

References