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

[ROM][Official][Weekly] LineageOS 14.1 for OnePlus 3/3T

Search This thread

dianlujitao

Senior Member
Jan 27, 2013
727
4,808
Chengdu
www.dianlujitao.com
LineageOS is a free, community built, aftermarket firmware distribution of Android 7.1 (Nougat), 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 official LineageOS 14.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

Known bugs:
  • Front camera is buggy, due to the buggy camera HAL Fixed by OnePlus

Installation:
First time flashing LineageOS 14.1 on your device, or coming from another ROM?
  1. Download the zip(s)
  2. Install a compatible Recovery (See #2 for details)
  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, install the SU addon package(https://download.lineageos.org/extras, choose arm64)
  7. Reboot

Source code:

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

Download:

XDA:DevDB Information
LineageOS, ROM for the OnePlus 3

Contributors
dianlujitao, Grarak
Source Code: https://github.com/lineageos

ROM OS Version: 7.x Nougat

Version Information
Status: Nightly

Created 2016-11-09
Last Updated 2017-03-27
 

dianlujitao

Senior Member
Jan 27, 2013
727
4,808
Chengdu
www.dianlujitao.com
Release note:
  • New builds (after 2017/1/15) uses F2FS backported from 4.10 kernel, you may meet compatibility problems such as deadlocks, if you do, flash TWRP provided in OP and choose "Wipe -> Format Data" to format(not just wipe) your /data partition, this will clean the entire /data partition, including the emulated sdcard, so don't forget to backup your data before. After that, your data partition will be formatted into ext4, if you want to keep using f2fs, just convert fs type normally in TWRP.
    [*]For oneplus3, my unofficial TWRP is recommended, as it's what I use. For 3T, TWRP 3.0.4 is recommended.
  • As of 2017/6/17, official TWRP for OnePlus 3(https://dl.twrp.me/oneplus3/) is updated with latest LineageOS kernel and OxygenOS decryption stuff, it builds against Omni 7.1.2 and supports both op3&3t, now it's the recommended recovery.
  • 20170120 build includes sdcardfs, security fixes and camera fixes&improvements, touch to focus is fixed as well, if it's still not working, clean Snap's data. BTW N kernel source is released now, I'll take days to bring up, don't ask for ETA.
  • Regarding installation, we recommend that users wipe when switching to LineageOS, and reinstall their gapps. However, we recognize that this can be time consuming, so we are offering an EXPERIMENTAL (read as, if it fails, you’ll have to wipe anyways) solution. Visit http://lineageos.org/Update-and-Build-Prep/for more details
  • Started from lineage-14.1-20170207-nightly-oneplus3-signed.zip, we provide unified builds for both 3&3T, and you need to install certain firmware to pass the TrustZone assertion. Currently they're the OxygenOS Open Beta 19/11 ones. As oneplus won't update them every time new OTAs are rolling out, firmware from other versions might also pass the assertion.

FAQs:
My status bar quick pulldown and notification slider are broken, why?
See https://github.com/opengapps/opengapps/wiki/Notes-for-CMSetupWizard

Why the builds are unified?
Tell me the difference between OnePlus3Oxygen_16_OTA_039_all_1701140133_03b794d8a8b44883 and OnePlus3TOxygen_28_OTA_039_all_1701140132_de9036f11e2246a8, why not?
c3vAIRA.png
 
Last edited:

nadejo

Senior Member
Jun 28, 2010
2,419
1,274
Latest Firmware files for oneplus3/oneplus3t -5.7.2017-
Make a nandroid backup before you proceed
Flash the following files using the latest official twrp to avoid any recovery related issues.
Make sure to do a clean flash if your rom requires an updated firmware.
Don't ever flash an oneplus3 firmware on oneplus3t or an oneplus3t firmware on oneplus3.

Oneplus3
Instructions only for oneplus3!
1-clean flash is recommended.
2-Falsh OnePlus3_OpenBeta19-FIRMWARE+MODEM-flashable.zip.
3-Flash the latest laos nightly.
4-optional: gapps arm64 7.1 and -su-addon arm64, this enables inbuild laos root.
5-Wipe Dalvik/cache and reboot.

Oneplus3t
Instructions only for oneplus3t!
1-clean flash is recommended.
2-Flash OnePlus3T_Beta10-(4-7-17)-FIRMWARE-flashable.zip.
3-Flash the latest laos nightly
4-optional: gapps arm64 7.1 and -su-addon arm64, this enables inbuild laos root.
5-Wipe Dalvik/cache and reboot.

For people who rather use the oxygenos camera:
Get OnePlusCameraV8-siankatabg.apk and OnePlusGallery-V8-siankatabg.apk

If you have problems after flashing any custom kernels please provide a log in the thread where you got the kernel from and not here!

Credits:
@nvertigo67 @djsubterrain @Eliminater @kamilmirza op3t firmware
@jamal2367 op3 firmware
@siankatabg oos camera/gallery port
 
Last edited:

osrox

Senior Member
Dec 18, 2014
525
112
I have a custom TWRP from the OOS 3.5.5 (OnePlus thread),

twrp-3.0.2-22-oneplus3.img

I think only that is working correctly with CM 14.1 Official ROM ?
 

Ramalama

Senior Member
Jun 9, 2009
461
239
I have a custom TWRP from the OOS 3.5.5 (OnePlus thread),

twrp-3.0.2-22-oneplus3.img

I think only that is working correctly with CM 14.1 Official ROM ?
Yes, 3.0.2.19 & 3.0.2.22 should work with every rom.
So use always this twrp versions to get sure.
Steve is investigating on that
Finally someone official is here :)
Thank you very much!!!

Can you just tell me,
Is that included baseband/firmware inside the rom, 3.5.5 or 3.2.7 or mixed or sth else?

Thanks:)
Cheers :)
 

Ramalama

Senior Member
Jun 9, 2009
461
239
When i plug my Phone into the charger or my pc the charging icon wont show up (lighting bolt in the battery)

After install i tried a cache/dalvik clear, did not help

The Phone is connected to the computer, it says charging..
https://postimg.org/image/xj8af43tf/

This is known... There are some problems with battery icon and battery stats too...

@dianlujitao
OP need to add that bugs into to the bug list:
1. Echo (loudspeaker) noise calcellation
2. Battery stats reset + charging text + charging icon
3. GPS problems especially while driving. (you get a perfect gps fix but if you move fast "drive" you get wrong coordinates)
4. All bugs related to legacy HAL1
5. Srgb colors not working

Cheers
 
Last edited:

Crash

Senior Member
Apr 6, 2011
5,575
9,095
Costa Rica
This is known... There are some problems with battery icon and battery stats too...

OP need to add that bugs into to the bug list:
1. Echo (loudspeaker) noise calcellation
2. Battery stats reset + charging text + charging icon
3. GPS problems especially while driving. (you get a perfect gps fix but if you move fast "drive" you get wrong coordinates)
4. All bugs related to legacy HAL1

Cheers

Agree! :good:
 

dianlujitao

Senior Member
Jan 27, 2013
727
4,808
Chengdu
www.dianlujitao.com
This is known... There are some problems with battery icon and battery stats too...

@dianlujitao
OP need to add that bugs into to the bug list:
1. Echo (loudspeaker) noise calcellation
2. Battery stats reset + charging text + charging icon
3. GPS problems especially while driving. (you get a perfect gps fix but if you move fast "drive" you get wrong coordinates)
4. All bugs related to legacy HAL1

Cheers
You guys may need to wait because cm14.1 is still highly experimental
 

mgear356

Senior Member
Jun 13, 2008
1,405
165
This is known... There are some problems with battery icon and battery stats too...

@dianlujitao
OP need to add that bugs into to the bug list:
1. Echo (loudspeaker) noise calcellation
2. Battery stats reset + charging text + charging icon
3. GPS problems especially while driving. (you get a perfect gps fix but if you move fast "drive" you get wrong coordinates)
4. All bugs related to legacy HAL1

Cheers

Add on
5. In call volume slider not working in speaker or headset mode.
 

Ramalama

Senior Member
Jun 9, 2009
461
239
You guys may need to wait because cm14.1 is still highly experimental
You have right, but that's the actual bug list that users know what's not working atm:)
I don't think that next few builds will not be highly experimental :)
So its waiting for OP to release some of their HAL?
Yes, till they release nougat.
Add on
5. In call volume slider not working in speaker or headset mode.
I know, but this bug is only since yesterday, there is a commit that broke it... I think it will be fixed on next 1-2 builds...

Cheers :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 254
    LineageOS is a free, community built, aftermarket firmware distribution of Android 7.1 (Nougat), 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 official LineageOS 14.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

    Known bugs:
    • Front camera is buggy, due to the buggy camera HAL Fixed by OnePlus

    Installation:
    First time flashing LineageOS 14.1 on your device, or coming from another ROM?
    1. Download the zip(s)
    2. Install a compatible Recovery (See #2 for details)
    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, install the SU addon package(https://download.lineageos.org/extras, choose arm64)
    7. Reboot

    Source code:

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

    Download:

    XDA:DevDB Information
    LineageOS, ROM for the OnePlus 3

    Contributors
    dianlujitao, Grarak
    Source Code: https://github.com/lineageos

    ROM OS Version: 7.x Nougat

    Version Information
    Status: Nightly

    Created 2016-11-09
    Last Updated 2017-03-27
    127
    Release note:
    • New builds (after 2017/1/15) uses F2FS backported from 4.10 kernel, you may meet compatibility problems such as deadlocks, if you do, flash TWRP provided in OP and choose "Wipe -> Format Data" to format(not just wipe) your /data partition, this will clean the entire /data partition, including the emulated sdcard, so don't forget to backup your data before. After that, your data partition will be formatted into ext4, if you want to keep using f2fs, just convert fs type normally in TWRP.
      [*]For oneplus3, my unofficial TWRP is recommended, as it's what I use. For 3T, TWRP 3.0.4 is recommended.
    • As of 2017/6/17, official TWRP for OnePlus 3(https://dl.twrp.me/oneplus3/) is updated with latest LineageOS kernel and OxygenOS decryption stuff, it builds against Omni 7.1.2 and supports both op3&3t, now it's the recommended recovery.
    • 20170120 build includes sdcardfs, security fixes and camera fixes&improvements, touch to focus is fixed as well, if it's still not working, clean Snap's data. BTW N kernel source is released now, I'll take days to bring up, don't ask for ETA.
    • Regarding installation, we recommend that users wipe when switching to LineageOS, and reinstall their gapps. However, we recognize that this can be time consuming, so we are offering an EXPERIMENTAL (read as, if it fails, you’ll have to wipe anyways) solution. Visit http://lineageos.org/Update-and-Build-Prep/for more details
    • Started from lineage-14.1-20170207-nightly-oneplus3-signed.zip, we provide unified builds for both 3&3T, and you need to install certain firmware to pass the TrustZone assertion. Currently they're the OxygenOS Open Beta 19/11 ones. As oneplus won't update them every time new OTAs are rolling out, firmware from other versions might also pass the assertion.

    FAQs:
    My status bar quick pulldown and notification slider are broken, why?
    See https://github.com/opengapps/opengapps/wiki/Notes-for-CMSetupWizard

    Why the builds are unified?
    Tell me the difference between OnePlus3Oxygen_16_OTA_039_all_1701140133_03b794d8a8b44883 and OnePlus3TOxygen_28_OTA_039_all_1701140132_de9036f11e2246a8, why not?
    c3vAIRA.png
    65
    Latest Firmware files for oneplus3/oneplus3t -5.7.2017-
    Make a nandroid backup before you proceed
    Flash the following files using the latest official twrp to avoid any recovery related issues.
    Make sure to do a clean flash if your rom requires an updated firmware.
    Don't ever flash an oneplus3 firmware on oneplus3t or an oneplus3t firmware on oneplus3.

    Oneplus3
    Instructions only for oneplus3!
    1-clean flash is recommended.
    2-Falsh OnePlus3_OpenBeta19-FIRMWARE+MODEM-flashable.zip.
    3-Flash the latest laos nightly.
    4-optional: gapps arm64 7.1 and -su-addon arm64, this enables inbuild laos root.
    5-Wipe Dalvik/cache and reboot.

    Oneplus3t
    Instructions only for oneplus3t!
    1-clean flash is recommended.
    2-Flash OnePlus3T_Beta10-(4-7-17)-FIRMWARE-flashable.zip.
    3-Flash the latest laos nightly
    4-optional: gapps arm64 7.1 and -su-addon arm64, this enables inbuild laos root.
    5-Wipe Dalvik/cache and reboot.

    For people who rather use the oxygenos camera:
    Get OnePlusCameraV8-siankatabg.apk and OnePlusGallery-V8-siankatabg.apk

    If you have problems after flashing any custom kernels please provide a log in the thread where you got the kernel from and not here!

    Credits:
    @nvertigo67 @djsubterrain @Eliminater @kamilmirza op3t firmware
    @jamal2367 op3 firmware
    @siankatabg oos camera/gallery port
    52
    Almost all former CM developers are involved in LAOS, including Steve and some kind guys who still work for cyngn, so don't worry.
    btw I won't rebrand the thread until LAOS is a thing
    51
    Today I switched the kernel to the LA.UM based one, and merged patches for op3t support.
    It means, the NEXT weekly will be a unified build for both op3 and op3t.
    As we're not shipping radio images now, you may need to install the latest OOS radio images to pass the TZ assertion.