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

[ROM][7.1.2_r17] LineageOS OMS [substratum][athene]

Search This thread

rajatgupta1998

Senior Member
Jan 12, 2015
1,122
3,502
22
Shimla
Moto G4 Plus
OnePlus 6
LIneageOS is a free, community built, aftermarket firmware distribution of Android 7.1 (Nougat), re-branded CyanogenMod, which is designed to increase performance and reliability over stock Android for your device. However, the ROM here will have full Substratum Support

Code:
#include <disclaimer.h>
using xdarules std;
/*
 * Your warranty was void as soon as you unlocked your phone.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 */

Installation

Unlock bootloader if not already done.
Flash TWRP Custom Recovery via fastboot.
Boot into Recovery Mode. (Custom Recovery Environment needed)
Make apt backups.
Wipe System, Data, Cache and ART Cache.
Flash the ROM zip.
Flash the GApps zip.
Reboot to System.


NON-ROOTED. Why?
Simply because some people want MagiskSU and some want SuperSU while some don't want root at all. :p

Downloads/links
TWRP: Latest 3.1.0-1 by @oadam11 is recommended (It's the best for me)
https://forum.xda-developers.com/showpost.php?p=70939009&postcount=2
Official TWRP should also probably work.

ROM: Google Drive Folder
Open GApps: XDA Thread
Beans GApps: XDA Thread
Magisk: Magisk SuperSU: SuperSU


Bugs:
Chop Chop gesture for Flashlight, Double Twist Gesture for Camera and Flashlight Toggle on Quick Settings won't work on first boot, reboot after setting up the device; it will work fine :good:

Special Thanks:
Google powered AOSP Project
LineageOS Official Project
@vache @rahulsnair @ Shreps and other maintainers for bringing LineageOS and other ROMs for athene.
@Silesh.Nair @double_facepalm and @Rkschunk for bearing with my noob questions :p
@oadam11 for TWRP.
@Chainfire for SuperSU and @topjohnwu for Magisk.
@nicholaschum for Substratum.
@The Flash [email protected] for the repos and dependencies fix.

Sources:
Device Tree
Kernel Tree
Vendor Tree

XDA:DevDB Information
LineageOS - OMS [athene], ROM for the Moto G4 Plus

Contributors
///TheNexus///, tywinlannister7
Source Code: https://github.com/LineageOS

ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Stock 7.0 93-14
Based On: LineageOS/CyanogenMod

Version Information
Status: Stable

Created 2017-04-29
Last Updated 2017-06-06
 

Attachments

  • hqdefault.jpg
    hqdefault.jpg
    12 KB · Views: 2,555
  • Screenshot_20170516-145411.jpg
    Screenshot_20170516-145411.jpg
    207.8 KB · Views: 2,795
  • Screenshot_20170516-145415.jpg
    Screenshot_20170516-145415.jpg
    152.1 KB · Views: 2,846
  • Screenshot_20170516-145433.png
    Screenshot_20170516-145433.png
    106.3 KB · Views: 2,876
  • Screenshot_20170516-145439.png
    Screenshot_20170516-145439.png
    128.1 KB · Views: 2,796
  • Screenshot_20170516-145507.png
    Screenshot_20170516-145507.png
    227.6 KB · Views: 2,682
  • Screenshot_20170516-145522.jpg
    Screenshot_20170516-145522.jpg
    75.8 KB · Views: 2,623
  • Screenshot_20170516-165715.png
    Screenshot_20170516-165715.png
    47.1 KB · Views: 2,501
  • Screenshot_20170516-171046.png
    Screenshot_20170516-171046.png
    81.1 KB · Views: 2,475
Last edited:

Frostbite

Senior Member
Jun 11, 2016
133
462
Sakarya
Make sure you link to the kernel you've used as per the GPL License.

Also, thanks for putting this together. I was thinking about doing it the other day as I build this for a friend whenever LineageOS/Substratum Team updates their sources. I think a lot of people will appreciate this :)

Thanks for warning. I added the sources which I used to build.
 

Dan_Jacques

Senior Member
Nov 17, 2011
886
285
Santana-AP
@Dan_Jacques I used the same device tree which is using for build official LineageOS so bugs are same with LineageOS. If it's working on LineageOS it's working in this ROM too, if not it's not working then.

Thanks!

I'm flashing it in my gf's Moto G4, and I wanna obtain the optimal performance. So, I'm diving into the optimizations. It takes me to the next question: has LineageOS F2FS support?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    LIneageOS is a free, community built, aftermarket firmware distribution of Android 7.1 (Nougat), re-branded CyanogenMod, which is designed to increase performance and reliability over stock Android for your device. However, the ROM here will have full Substratum Support

    Code:
    #include <disclaimer.h>
    using xdarules std;
    /*
     * Your warranty was void as soon as you unlocked your phone.
     *
     * I am not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at me for messing up your device, I will laugh at you.
     */

    Installation

    Unlock bootloader if not already done.
    Flash TWRP Custom Recovery via fastboot.
    Boot into Recovery Mode. (Custom Recovery Environment needed)
    Make apt backups.
    Wipe System, Data, Cache and ART Cache.
    Flash the ROM zip.
    Flash the GApps zip.
    Reboot to System.


    NON-ROOTED. Why?
    Simply because some people want MagiskSU and some want SuperSU while some don't want root at all. :p

    Downloads/links
    TWRP: Latest 3.1.0-1 by @oadam11 is recommended (It's the best for me)
    https://forum.xda-developers.com/showpost.php?p=70939009&postcount=2
    Official TWRP should also probably work.

    ROM: Google Drive Folder
    Open GApps: XDA Thread
    Beans GApps: XDA Thread
    Magisk: Magisk SuperSU: SuperSU


    Bugs:
    Chop Chop gesture for Flashlight, Double Twist Gesture for Camera and Flashlight Toggle on Quick Settings won't work on first boot, reboot after setting up the device; it will work fine :good:

    Special Thanks:
    Google powered AOSP Project
    LineageOS Official Project
    @vache @rahulsnair @ Shreps and other maintainers for bringing LineageOS and other ROMs for athene.
    @Silesh.Nair @double_facepalm and @Rkschunk for bearing with my noob questions :p
    @oadam11 for TWRP.
    @Chainfire for SuperSU and @topjohnwu for Magisk.
    @nicholaschum for Substratum.
    @The Flash [email protected] for the repos and dependencies fix.

    Sources:
    Device Tree
    Kernel Tree
    Vendor Tree

    XDA:DevDB Information
    LineageOS - OMS [athene], ROM for the Moto G4 Plus

    Contributors
    ///TheNexus///, tywinlannister7
    Source Code: https://github.com/LineageOS

    ROM OS Version: 7.x Nougat
    ROM Kernel: Linux 3.10.x
    ROM Firmware Required: Stock 7.0 93-14
    Based On: LineageOS/CyanogenMod

    Version Information
    Status: Stable

    Created 2017-04-29
    Last Updated 2017-06-06
    10
    Mega Update

    Mega Update
    Clean flash needed.
    Lots of stuff removed and added. Better check the entire changelog here:

    https://github.com/tywinlannister7/Changelogs/blob/cm-14.1/Changelog.txt

    Direct Download link: [URL="https://sourceforge.net/projects/lineageos-oms/files/athene/lineage-14.1-20170703-UNOFFICIAL-athene.zip/download]Latest build[/URL]

    Possible bugs:
    Moto Camera unable to write to external sd card.
    Gallery FC on setup.

    Thanks. Happy flashing :)
    7
    Update: 16 May 2017

    Changelog:
    Code:
    Fix missing camera and torch from previous builds. 
    The auto brightness slider, found in Quick Settings, can now be toggled in Settings > Status bar > Brightness
    Gello has been dropped in favor of Jelly. Check Official Lineage Blogs for more info.
    Jelly got various improvements, including desktop mode support
    Incorrect call durations in Dialer has been fixed
    Webview has been updated to the latest stable release (based on Chromium 58)
    Fixed a crash in some 3rd party apps that use the camera under some circumstances

    Download:
    Link has been added to the Updated OP. :good:

    I will try making newer builds whenever I get time.
    Thanks to @///TheNexus/// for the original thread :)
    4
    Update: 22 May 2017

    Starting from today, the files will be uploaded to my sourceforge folder.

    Download: https://sourceforge.net/projects/lineageos-oms/files/athene/
    Changelog
    Code:
    Settings: Fix internal storage summary for non-emulated storage
    Updater App: Remove toolbar menu background.
    Updater App: Replace generic logo with back button
    Dialer: Lock Screen appear before incoming call screen
    Jelly: Don't reload webview on screen rotation
    Jelly: EditTextExt: Remove shader before drawing
    Android System SEPolicy: Allow recovery to alter / on userdebug/eng builds
    AudioFX: Fix choppy preset transitions
    android_packages_apps_AudioFX
    TWRP: Remove twrp blobs from device tree
    
    Build fixes from LineageOS git:
    Update contributors cloud
    extract_utils: fix extracting XML files containing binary characters in android_vendor_cm
    sensorservice: Fix orientation sensor for HAL's missing rotation vector sensor
    android_frameworks_native
    Revert "Revert "ota: Remove cruft we don't care about""
    android_build
    apicheck_msg_current: Don't do this in LineageOS
    android_build