• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][osprey][UNOFFICIAL] LineageOS 13.0 for Moto G (3G) + Compilation tutorial!!

Search This thread

shadowbone

Senior Member
Oct 6, 2017
89
22
Hi all,
a new version of the LineageOS 13 ROM for the 'opsrey' device is available for download here:
https://www.androidfilehost.com/?fid=817906626617940710

It contains a fix for the KRACK WiFi vulnerability (so I recommend to update soon) and also further changes/improvements as outlined below (highlighted in bold:

AOSP patch level 2017-10-01
Patched for 'microG'
Updated Android System Webview to M64
New Kernel: Squid Kernel f. Osprey


As for the kernel, some comments:
The kernel did not boot when using the GCC 4.9 cross-compiler as referred to in the LineageOS tree (there were also other people having this issue) so I used the older GCC 4.8 cross-compiler so far. Lately, the battery behavior wasn't that good any more, so I was looking for a better alternative and remembered the osprey custom kernel by @squid2 and tested it and the difference was really significant, so I included it into my build (compiled with Linaro 6.4).

Regards, M.
Just to make sure.
So, these builds have both squid kernel and signature spoof patch embedded inside ? Any other modifications or code change you have made from the source of cm ?

Also just wondering why don't you make this official ? No offence but your builds are not updated into op. Am I missing something ?
 
Just to make sure.
So, these builds have both squid kernel and signature spoof patch embedded inside ? Any other modifications or code change you have made from the source of cm ?

Also just wondering why don't you make this official ? No offence but your builds are not updated into op. Am I missing something ?

Hi,

as for your 1st question, the following modifications to the "official" source of LineageOS, branch cm-13.0 are in the build:
  • Squid kernel
  • microG patch (signature spoofing as switchable permission)
  • Jelly Browser (LineageOS only ships it with cm-14.1 and above) as browser app
  • No CMUpdater (meaningless for unofficial build)
  • Prebuilt current Android System Webview from official Chromium sources
  • No TimeService.apk (seems to have no real meaning)

To your 2nd question:
Do you mean with "make it official" to create an own thread with DevDB or something different? If something different, please explain, what you mean.
Thought already about making an own thread, so if there is enough interest, I'll do it. Opinions?

Regards, M.
 

shadowbone

Senior Member
Oct 6, 2017
89
22
Hi,

as for your 1st question, the following modifications to the "official" source of LineageOS, branch cm-13.0 are in the build:
Squid kernel
Jelly Browser (LineageOS only ships it with cm-14.1 and above) as browser app
Prebuilt current Android System Webview from official Chromium sources
No TimeService.apk (seems to have no real meaning)


To your 2nd question:
Do you mean with "make it official" to create an own thread with DevDB or something different? If something different, please explain, what you mean.
Thought already about making an own thread, so if there is enough interest, I'll do it. Opinions?

Regards, M.
Thanks for detailed reply. And yes what I meant by making official is that I hope to see an individual thread with your builds alone, alongside with its code (if possible) as well as the required details about the build.
And we are more than happy to support anyone who won't let our device die. :)
Also, I feel it could be a bit misleading when the op himself hasn't pushed any updates and someone else does that within the thread. Creating a different one will sort things out. All this, as long as you are not busy with work or something.

And final 2 questions:
1. Are there any google services or apps or anything in the build? Its that I am on NoGapps and I don't want to compromise my device with the ROM itself.

2. I read 'no real meaning' but, what does notime services apk do? Is it required ?

Almost forgot, you didn't mention about the signature spoof patch, its present right ?
 
Thanks for detailed reply. And yes what I meant by making official is that I hope to see an individual thread with your builds alone, alongside with its code (if possible) as well as the required details about the build.
And we are more than happy to support anyone who won't let our device die. :)
Also, I feel it could be a bit misleading when the op himself hasn't pushed any updates and someone else does that within the thread. Creating a different one will sort things out. All this, as long as you are not busy with work or something.

And final 2 questions:
1. Are there any google services or apps or anything in the build? Its that I am on NoGapps and I don't want to compromise my device with the ROM itself.

2. I read 'no real meaning' but, what does notime services apk do? Is it required ?

Almost forgot, you didn't mention about the signature spoof patch, its present right ?

Hi,
quick answers:
#1 - no, I am not aware of any. LineageOS have removed all Google dependencies from their code. If you want Google, flash Gapps, if not - leave as is. Otherwise I would not build with microG patch (signature spoofing). As already mentioned, you CAN flash Gapps w/o issues on my build, the patch has then no impact

#2
The Motorola blobs deliver an app called "TimeService.apk", and I make sure that one is NOT part of my build. I think you may have misunderstood my statement above...?

---------- Post added at 09:25 PM ---------- Previous post was at 08:40 PM ----------

Hi all,

I have created an own thread for the Opsrey build, please continue here:
https://forum.xda-developers.com/2015-moto-g/development/osprey-lineageos-13-microg-patch-t3693654

I will update it properly in the next days.
Please make sure to post any further questions, comments or issues there and not here any longer.
Thanks & regards, M.
 

shadowbone

Senior Member
Oct 6, 2017
89
22
Hi,
quick answers:
#1 - no, I am not aware of any. LineageOS have removed all Google dependencies from their code. If you want Google, flash Gapps, if not - leave as is. Otherwise I would not build with microG patch (signature spoofing). As already mentioned, you CAN flash Gapps w/o issues on my build, the patch has then no impact

#2
The Motorola blobs deliver an app called "TimeService.apk", and I make sure that one is NOT part of my build. I think you may have misunderstood my statement above...?

---------- Post added at 09:25 PM ---------- Previous post was at 08:40 PM ----------

Hi all,

I have created an own thread for the Opsrey build, please continue here:
https://forum.xda-developers.com/2015-moto-g/development/osprey-lineageos-13-microg-patch-t3693654

I will update it properly in the next days.
Please make sure to post any further questions, comments or issues there and not here any longer.
Thanks & regards, M.
Thanks, that concludes my queries.
And great to see the other thread up and running. :good:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    Lineage_OS.jpg

    First of all, I want to apologize for my English, I am Spanish and translate text with Google.

    I open this topic to hang here my compilations branch LineageOS 13.0.

    I am not responsible! Everyone is aware of what he does.

    Having each update ?
    Updates are only a current repo sync LineageOS the original code .

    Then we started:
    Carrying these compilations?
    Every officer of LineageOS, has not changed anything at all.

    What is the date updated the code?
    The same one that says the compilation, update and compile.

    You must install the gapps?
    If necessary, you can use the OpenGapps here: http://opengapps.org/
    I'm a fan of Pico.

    DOWNLOAD LineageOS-13.0

    XDA: DevDB Information
    [ROM][osprey][UNOFFICIAL] LineageOS 13.0 for Moto G (3rd Gen) Updated!

    Contributors
    LineageOS whole team, especially Alberto97 and squid2 , as are those who worked for our devices.

    ROM OS Version: 6.0.X
    ROM Kernel: Linux 3.10.x
    Based On: LineageOS
    Source Code: https://github.com/LineageOS/android_device_motorola_osprey
    Changelog: https://review.lineageos.org/#/q/status:merged+branch:cm-13.0

    Version Information
    Status: Stable
    Stable Release Date: BETA

    Created Always updating.
    Last Updated Always updating.

    If I have not done well in the post, please forgive me.

    Compile your own LineageOS Rom 14.1:

    Use Ubuntu 14.04LTS

    Simply copy and paste:

    Preparing packages to compile:

    Code:
    sudo apt-get install bison build-essential curl flex git gnupg gperf libesd0-dev liblz4-tool libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2 libxml2-utils lzop maven openjdk-8-jdk openjdk-8-jre pngcrush schedtool squashfs-tools xsltproc zip zlib1g-dev maven maven2 libnss-sss:i386 python-networkx ccache libc6-dev-i386 x11proto-core-dev libx11-dev lib32z-dev libgl1-mesa-dev unzip

    Code:
    sudo apt-get install g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev

    Code:
    sudo apt-get install android-tools-fastboot android-tools-adb

    Code:
    sudo apt-get install phablet-tools

    Code:
    git config --global user.email "[email protected]"
    git config --global user.name "Your Name"

    EXAMPLE:
    Code:
    git config --global user.email [email protected]
    git config --global user.name johan88

    Preparing environment:

    Code:
    mkdir ~/bin

    Code:
    PATH=~/bin:$PATH

    Code:
    curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo

    Code:
    chmod a+x ~/bin/repo

    Code:
    mkdir ~/source-LineageOS-14.1

    Code:
    cd ~/source-LineageOS-14.1

    Code:
    repo init -u git://github.com/LineageOS/android.git -b cm-14.1

    Code:
    cd ~/source-LineageOS-14.1

    This is going to take ...

    Code:
    repo sync

    Prepare code for our device "osprey"

    Code:
    source build/envsetup.sh

    Code:
    breakfast osprey

    Add proprietary files to the code.

    Go to route:
    Code:
    Personal folder/source-LineageOS-14.1/.repo/local_manifests/roomservice.xml

    Add in the middle these 2 lines:
    Code:
    <remote fetch="https://github.com/TheMuppets/" name="TheMuppets" revision="cm-14.1" />
    <project name="TheMuppets/proprietary_vendor_motorola" path="vendor/motorola" remote="github" revision="cm-14.1" />

    Resync:

    Code:
    cd ~/source-LineageOS-14.1

    Code:
    repo sync

    Now start the compilation:

    Code:
    cd ~/source-LineageOS-14.1

    Code:
    . build/envsetup.sh && brunch osprey

    Once finished the compilation the rom will be in:

    Code:
    Personal Folder//source-LineageOS-14.1/out/target/product/osprey/

    To clean everything and recompile:

    Code:
    cd ~/source-LineageOS-14.1

    Code:
    make clobber

    Code:
    repo sync

    Code:
    . build/envsetup.sh && brunch osprey

    Compile your own LineageOS Rom 13.0:

    Use Ubuntu 14.04LTS

    Simply copy and paste:

    Preparing packages to compile:

    Code:
    sudo apt-get install bison build-essential curl flex git gnupg gperf libesd0-dev liblz4-tool libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2 libxml2-utils lzop maven openjdk-7-jdk openjdk-7-jre pngcrush schedtool squashfs-tools xsltproc zip zlib1g-dev maven maven2 libnss-sss:i386 python-networkx ccache libc6-dev-i386 x11proto-core-dev libx11-dev lib32z-dev libgl1-mesa-dev unzip

    Code:
    sudo apt-get install g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev

    Code:
    sudo apt-get install android-tools-fastboot android-tools-adb

    Code:
    sudo apt-get install phablet-tools

    Code:
    git config --global user.email "[email protected]"
    git config --global user.name "Your Name"

    EXAMPLE:
    Code:
    git config --global user.email [email protected]
    git config --global user.name johan88

    Preparing environment:

    Code:
    mkdir ~/bin

    Code:
    PATH=~/bin:$PATH

    Code:
    curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo

    Code:
    chmod a+x ~/bin/repo

    Code:
    mkdir ~/source-LineageOS-13.0

    Code:
    cd ~/source-LineageOS-13.0

    Code:
    repo init -u git://github.com/LineageOS/android.git -b cm-13.0

    Code:
    cd ~/source-LineageOS-13.0

    This is going to take ...

    Code:
    repo sync

    Prepare code for our device "osprey"

    Code:
    source build/envsetup.sh

    Code:
    breakfast osprey

    Add proprietary files to the code.

    Go to route:
    Code:
    Personal folder/source-LineageOS-13.0/.repo/local_manifests/roomservice.xml

    Add in the middle these 2 lines:
    Code:
    <remote fetch="https://github.com/TheMuppets/" name="TheMuppets" revision="cm-13.0" />
    <project name="TheMuppets/proprietary_vendor_motorola" path="vendor/motorola" remote="github" revision="cm-13.0" />

    Resync:

    Code:
    cd ~/source-LineageOS-13.0

    Code:
    repo sync

    Now start the compilation:

    Code:
    cd ~/source-LineageOS-13.0

    Code:
    . build/envsetup.sh && brunch osprey

    Once finished the compilation the rom will be in:

    Code:
    Personal Folder//source-LineageOS-13.0/out/target/product/osprey/

    To clean everything and recompile:

    Code:
    cd ~/source-LineageOS-13.0

    Code:
    make clobber

    Code:
    repo sync

    Code:
    . build/envsetup.sh && brunch osprey

    ATTENTION! I can not support compilation errors since I am not an expert.
    8
    New Version with September patches

    Hi,

    a new LineageOS 13.0 build for the Moto G 2015 (osprey) device is available:
    https://www.androidfilehost.com/?fid=673368273298987957

    • September Security Patch Level 2017-09-01
    • AOSP tag 6.0.1_r80
    • Root built in
    • Kernel from 'cm-14.1' branch (incl. sec. fixes)
    • Patched for microG (sig. spoofing as switchable permission)
    • Android System Webview on version M60 (same as LOS 14.1)
    • Lineage OS Jelly Browser

    Note:
    The September ASB fixes many critical vulnerabilities, such as BlueBorne, so it is a good idea to update.

    If you would like to build yourself, see here: https://github.com/MSe1969/local_manifests

    Regards, M.
    6
    Reworked LOS 13.0 build now with LineageOS Jelly Browser

    Hi all,

    I have made another LOS 13.0 build for Osprey with the following additions:

    • Chromium Webview on version 58 (same as LOS 14.1)
    • Lineage OS Jelly Browser instead of Gello

    All other characteristics are identical to the announced ones in the posting further up (May Sec.Patches, root, microG). To th reasons see here: https://www.lineageos.org/Changelog-9/

    The build can be downloaded here: https://www.androidfilehost.com/?fid=673368273298958100

    If you would like to build yourself, see here: https://github.com/MSe1969/local_manifests

    Regards, M.
    6
    LOS 13.0 Osprey - August ASB

    Hi,

    a new LOS 13.0 build for the Moto G 2015 (osprey) device is available:
    https://www.androidfilehost.com/?fid=889764386195926791

    • August Security Patch Level 2017-08-01
    • AOSP tag 6.0.1_r79
    • Root built in
    • Kernel from 'cm-14.1' branch (incl. sec. fixes)
    • Patched for microG (sig. spoofing as switchable permission)
    • Android System Webview on version M60 (same as LOS 14.1)
    • Lineage OS Jelly Browser (instead of Gello)

    If you would like to build yourself, see here: https://github.com/MSe1969/local_manifests

    Regards, M.
    4
    LOS 13.0 for Osprey with May Sec. patches

    Hi,

    a new LOS 13.0 build for the Moto G 2015 (osprey) device is available:
    https://www.androidfilehost.com/?fid=817550096634772129

    • May security patch level 2017-05-01
    • AOSP tag 6.0.1_r79
    • with Root built in
    • Kernel from cm-14.1 branch (incl. sec. fixes)
    • patched for microG (sig. spoofing as switchable permission)

    Regards, M.