← Back to team overview

ubuntu-phone team mailing list archive

Re: How to build Ubuntu Touch for Nexus 4

 

Hi David,

please correct me if I'm wrong, this surely helps to understand the build process better, but it does not give me the sources to build Ubuntu Touch. As I understood, the phablet-dev-bootstrap tool is meant to provide a source tree that is based on the CyanogenMod sources, but reduced by everything not needed for Ubuntu Touch (Dalvik etc.), extended by stuff that OTOH Ubuntu Touch needs.

So if I follow the CM instructions, I need a further step that turns the CM source tree into an Ubuntu Touch source tree.

Regards,
Mathias

Am 12.03.14 21:24, schrieb David Peter:
Sergio is right follow the CyanogenMod's way, here it is:
http://wiki.cyanogenmod.org/w/Build_for_mako

Read it, do it, everything will become very clear


On Wed, Mar 12, 2014 at 12:17 PM, Sergio Schvezov
<sergio.schvezov@xxxxxxxxxxxxx <mailto:sergio.schvezov@xxxxxxxxxxxxx>>
wrote:

    On Wed, Mar 12, 2014 at 12:30 PM, Mathias Bauer
    <mathias_bauer@xxxxxxx <mailto:mathias_bauer@xxxxxxx>> wrote:
     > Hi,
     >
     > I want to build a Ubuntu Touch for Nexus 4 by myself as an
    exercise to start
     > into the world of Ubuntu Touch porting.
     >
     > I tried to follow the instructions found here:
     >
     > https://wiki.ubuntu.com/Touch/Building
     >
     > So I got the code by calling
     >
     > phablet-dev-bootstrap [target_directory]

    Can you add '--sources aosp' to that?

     > After that step the instructions let me think that there should
    be a file
     >
     > [target_directory]/device/lge/mako/extract_files.sh
     >
     > But there isn't even a "mako" under device/lge directory.
     >
     > Maybe I misunderstood the instructions, so I would be glad to get an
     > expanation.

    No misunderstanding; it just hasn't been updated; That part of the
    instructions is outdated (follos CyanogenMod's way of doing things).

    You basically need to follow
    http://source.android.com/source/building-devices.html#obtaining-proprietary-binaries

    Thanks for the hint; I'll update the wiki.

    --
    Mailing list: https://launchpad.net/~ubuntu-phone
    Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
    <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe : https://launchpad.net/~ubuntu-phone
    More help   : https://help.launchpad.net/ListHelp






Follow ups

References