[ROM][Official][Nightly] LineageOS 15.1 for OnePlus 3/3T

Search This thread

dianlujitao

Senior Member
Jan 27, 2013
738
4,892
Xi'an
yuko.moe
LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1 (Oreo), which is designed to increase performance and reliability over stock Android for your device.​
Code:
#include <std_disclaimer.h>

/*
 * Your warranty is now void.
 *
 * We are 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 us for messing up your device, we will laugh at you.
 *
 */
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit our Gerrit Code Review. Your changelog is whatever was merged into gerrit.

Important information:
This thread is for LineageOS 15.1 builds for OnePlus 3/3T. The following will not be supported here:
  • Custom kernels
  • Mods
  • Xposed

We don't support Xposed and any logcat which includes a Xposed module will be ignored. You're kindly invited to not report bugs if you:
  • Flashed a custom kernel
  • Installed or did mods from untrusted sources
  • Modified system files

Tips:
  • SELinux works in permissive enforcing mode
  • You need at least OxygenOS 5.0 firmware, otherwise you'll get error 7 when installing the zip. Latest firmware is recommended.

Installation:
First time flashing LineageOS 15.1 on your device, or coming from another ROM?
  1. Download the zip(s)
  2. Install a compatible Recovery (Latest official TWRP is highly recommended: https://twrp.me/oneplus/oneplusthree.html)
  3. Perform a nandroid backup of your current ROM (Optional)
  4. Wipe data/factory reset
  5. Flash LineageOS
  6. Optional: Install the Google Apps addon package
  7. Reboot

Source code:

Credits:
  • LineageOS Team & Contributors
  • Code Aurora Forum
  • ......

Download:

XDA:DevDB Information
LineageOS, ROM for the OnePlus 3

Contributors
dianlujitao
ROM OS Version: 8.x Oreo

Version Information
Status: Nightly

Created 2018-01-23
Last Updated 2018-11-16
 

dianlujitao

Senior Member
Jan 27, 2013
738
4,892
Xi'an
yuko.moe
Frequently Asked Questions

When you're about to ask a question, read the FAQs below, otherwise it'll be ignored.

Rule: NEVER ask for ETA

Q: Can we port treble to our device?
A: NO, unless OnePlus supports treble in official OxygenOS. Treble is trouble, treble is fake news. From my point of view treble brings zero benefit to the device. You already have countless custom ROMs, treble won't bring more fancy ROMs to the device, it just brings endless trouble to device maintainers. The most important point is, some of our proprietary vendor blobs aren't fully decoupled from /system, so fake Treble won't achieve the same effect as Google announced, especially when upgrading to new Android versions via GSIs.

Q: It VoLTE working on our device?
A: I don't know. My carrier doesn't support VoLTE/VoWLAN, but I've added necessary IMS stack to the ROM, and there're actually some users reported working VoLTE. If it doesn't work for you, DON'T issue me, I'm unable to fix it. Notice: If you strongly believe your carrier does support VoLTE/VoWLAN but the toggle doesn't even show up in settings, tell me your carrier's MCC/MNC number (check http://www.mcc-mnc.com/)

Q: Please add support for sRGB/DCI-P3 as cm-14.1
A: Our kernel does support them, you can enable it via sysfs toggle: /sys/class/graphics/fb0/srgb and /sys/class/graphics/fb0/dci_p3, maybe some apps could help you do this easier. The frontend is WIP(in fact it's already under reviewing, will be merged soonDone)

Q: Please add xyz features or fix UI/UX related bugs/regressions
A: All feature requests and UI/UX related stuff should go to LineageOS JIRA: https://jira.lineageos.org, I only take care of hardware-specific stuff.

Q: Can you make my device bypass SafetyNet?
A: https://www.lineageos.org/Safetynet/
 
Last edited:

valimakik

Member
Nov 5, 2014
48
10
Nice work! Gonna install it asap and report any issues.
Device OP3T, not rooted, encrypted.
I list here whatever I am able to find:
  • Charging doesn't make a sound nor vibrate, no matter what settings.
  • Option to switch hw keys light on/off is missing (i know not real issue, but many prefer them off)
  • Display modes missing sRGB, DCI-P3
 
Last edited:
  • Like
Reactions: Gohar___Nadeem

qhsusb_bulk

Senior Member
Oct 29, 2014
166
138
Thank you! Will install and give feedback after few hours.

EDIT:So far so good. Very good for an alpha. But we should wait for official to daily use i think.

Edit again: Official rollout has been started. Except some kernel issues(fixable with custom kernel), great rom. Okay for daily use, no crashes or random reboots. Thanks anyone who put work on it.


Sent from my OnePlus 3 using XDA Labs
 
Last edited:

dimon2242

Senior Member
Jul 15, 2008
1,171
519
Moscow
After install this build TWRP 3.2.1-0 cannot mount data partition (it's has encrypted) without any error.
 

atoyu

Senior Member
Jan 4, 2010
272
29
Nice work! Gonna install it asap and report any issues.
Device OP3T, not rooted, encrypted.
I list here whatever I am able to find:
  1. Charging doesn't make a sound nor vibrate, no matter what settings.

if you only find this bug, its like beta more than alpha, this is great.
thank you all developers!!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 159
    LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1 (Oreo), which is designed to increase performance and reliability over stock Android for your device.​
    Code:
    #include <std_disclaimer.h>
    
    /*
     * Your warranty is now void.
     *
     * We are 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 us for messing up your device, we will laugh at you.
     *
     */
    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit our Gerrit Code Review. Your changelog is whatever was merged into gerrit.

    Important information:
    This thread is for LineageOS 15.1 builds for OnePlus 3/3T. The following will not be supported here:
    • Custom kernels
    • Mods
    • Xposed

    We don't support Xposed and any logcat which includes a Xposed module will be ignored. You're kindly invited to not report bugs if you:
    • Flashed a custom kernel
    • Installed or did mods from untrusted sources
    • Modified system files

    Tips:
    • SELinux works in permissive enforcing mode
    • You need at least OxygenOS 5.0 firmware, otherwise you'll get error 7 when installing the zip. Latest firmware is recommended.

    Installation:
    First time flashing LineageOS 15.1 on your device, or coming from another ROM?
    1. Download the zip(s)
    2. Install a compatible Recovery (Latest official TWRP is highly recommended: https://twrp.me/oneplus/oneplusthree.html)
    3. Perform a nandroid backup of your current ROM (Optional)
    4. Wipe data/factory reset
    5. Flash LineageOS
    6. Optional: Install the Google Apps addon package
    7. Reboot

    Source code:

    Credits:
    • LineageOS Team & Contributors
    • Code Aurora Forum
    • ......

    Download:

    XDA:DevDB Information
    LineageOS, ROM for the OnePlus 3

    Contributors
    dianlujitao
    ROM OS Version: 8.x Oreo

    Version Information
    Status: Nightly

    Created 2018-01-23
    Last Updated 2018-11-16
    52
    Is it possible for Project Treble to be implemented? I was thinking of using the extra space from /bt_firmware (1GB) for /vendor. Thanks.

    Sent from my OnePlus 3T using XDA Labs

    OnePlus is evaluating official treblized Oreo, now the key problem for them is how to make Treble migration through OTA, according to their engineers. We have a 1.5G unused partition which can be used as /vendor. I don't know if they'll eventually make the change, but as they have positive progress on that, personally I suggest not to do 3rd party experiments in case breaking compatibility with the (possible) incoming official Treble builds.
    42
    deep sleep issue will be fixed in the next weekly
    38
    New build is up. What you care most, video recording is fixed.
    36
    Oneplus already said they wont suport treble for oneplus 3 https://forums.oneplus.net/threads/join-our-oneplus-5t-ama-now.686679/page-9#post-17146313

    so why not develop 3rd party suport for treble?

    You have 2017 news, I have 2018 news:p

    btw full treble is impossible with the current camera driver, see https://github.com/LineageOS/androi...mmit/030ee5d902fdbabd85d827a8598a3fb7fe37fc7f for ref