← Back to team overview

ubuntu-phone team mailing list archive

Re: How to build Ubuntu Touch for Nexus 4

 

I've done that long time ago, it might change, so guys do not hesitate to
correct if I'm wrong

The
 On Mar 13, 2014 6:24 PM, "David Peter" <maildavidpeter@xxxxxxxxx> wrote:

> You're right, I had couple of trouble here too.
> In fact there is a clue in the Ubuntu porting guide:
> " You can check out the source code using the repo and git tools already
> familiar to Android ROM developers, as described here
>
> https <https://wiki.ubuntu.com/Touch/AndroidDevel>://<https://wiki.ubuntu.com/Touch/AndroidDevel>
> wiki.ubuntu.com <https://wiki.ubuntu.com/Touch/AndroidDevel>/Touch/<https://wiki.ubuntu.com/Touch/AndroidDevel>
> AndroidDevel <https://wiki.ubuntu.com/Touch/AndroidDevel>
> "
> Go to this link and follow the direct checkout section. Replace saucy repo
> with trusty.
>
> Once done proceed like the CM guide, it should be steps like (I don't
> remember exactly):
> source ./build/setenv...
> breakfast mako
> extract binaries
> brunch mako
>
> Good luck
>  On Mar 13, 2014 8:22 AM, "Mathias Bauer" <mathias_bauer@xxxxxxx> wrote:
>
>> 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
>>>
>>>
>>>
>>>
>>>
>> --
>> Mailing list: https://launchpad.net/~ubuntu-phone
>> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~ubuntu-phone
>> More help   : https://help.launchpad.net/ListHelp
>>
>

References