FORUMS
Remove All Ads from XDA

 View Poll Results: Migrate to official Pie firmware for now with risk of losing data?

Yes, I can deal with it on myself
 
49 Vote(s)
36.57%
No, wait for future bug-free firmware
 
85 Vote(s)
63.43%

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

687 posts
Thanks Meter: 4,258
 
View First Unread Post Reply Email Thread
LineageOS is a free, community built, aftermarket firmware distribution of Android 9.0 (Pie), 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 16.0 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:
  • 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 16.0 on your device, or coming from another ROM?
  1. Download the zip(s)
  2. Install a compatible Recovery (Official TWRP 3.3 or higher 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: 9.x Pie
ROM Kernel: Linux 3.x

Version Information
Status: Beta

Created 2018-11-13
Last Updated 2019-04-16
The Following 125 Users Say Thank You to dianlujitao For This Useful Post: [ View ]
 
 
13th November 2018, 08:13 AM |#2  
dianlujitao's Avatar
OP Recognized Developer
Flag Chengdu
Thanks Meter: 4,258
 
Donate to Me
More
Your opinion on migrating to official Pie firmware
Quote:
Originally Posted by dianlujitao

As you're aware, OnePlus started Pie closed beta days ago, and there're already leaked builds. I made a new Lineage build with blobs from one OOS9.0 leak, installed and updated firmware. On first boot after fw update, when boot animation was done, unexpectedly, I didn't see my launcher desktop as usual, but an "Decryption unsuccessful" warning telling me that my data was corrupted. Undoubtedly, after rebooting to TWRP it failed to mount /data thus I lost everything on my internal storage.

After several experiments I finally figured out the cause:

If your data is encrypted and bootloader is unlocked, after upgrading to Pie modem firmware, there's 100% chance of your data to become corrupted, and probably no way to restore them. The cause is on firmware side, probably something wrong with key migration, so there's no way for 3rd party developers to fix it. Note that which ROM was in use pre-upgrade doesn't matter at all, i.e., if bootloader was unlocked and you were upgrading from OOS 5.0.8(enforce encryption by default) to OOS 9.0, you'll lose all personal data after reboot from recovery installation. Interestingly, everything works as expected if bootloader was locked.

I couldn't comprehend why do they apply diverse low-level strategies to locked and unlocked bootloader. Arguably this is a bug and should be fixed when they started rolling OTA updates to the public, but it's also possible that this is by design and aims to restrict "unsafe" operations. Regardless, always be careful and backup your data before upgrading firmware in the near future.

Unfortunately they still didn't fix the issue in the OxygenOS 9.0 Community Beta released hours ago, in contract their PR claimed "SW team is aware of this issue" during the early closed beta stage. Given the fact the issue persists in both public H2OS and OOS build, I highly doubt if they're actively working on fixing the issue or they'd even gaf. Ofc it's still possible but very unlikely for them to fix it in future builds.

Now I'd like to know your opinion on migrating to Pie firmware. Device owners with encrypted data and unlocked bootloader MUST either backup data or relock bootloader before installing new firmware, others are not affected. Please vote.
The Following 4 Users Say Thank You to dianlujitao For This Useful Post: [ View ]
13th November 2018, 08:13 AM |#3  
dianlujitao's Avatar
OP Recognized Developer
Flag Chengdu
Thanks Meter: 4,258
 
Donate to Me
More
Reserved
Changelog:
  • 2018.11.13:
  • Initial release

2018.11.17:
  • Sync latest source
  • Fixed directly reboot to recovery when attempting to enter power on password when secure boot enabled
  • Downgraded kernel to LA.UM.7.5.r1-02500-8x96.0 due to CAF stability regression, but there's still a race condition which could cause random kernel panic, especially when attempting to wake up the device, I'm still debugging on this.
  • Improved GPS performance
  • Minor bug fixes

2018.11.29:
  • Sync latest source
  • Kernel baseline updated to LA.UM.7.6.r1-03600-89xx.0
  • Thanks to a clue provided by @markakash , the "random kernel panic on wake up" issue seems to be fixed now. The ROM is probably stable enough for daily use, so I call it "beta" instead of "alpha" now. Please report if you still have the issue.
  • Minor bug fixes

2018.12.02:
  • Sync latest source
  • IMS experiments, VoLTE is confirmed working, VoWiFi is untested
  • Battery life optimization
  • Fix fingerprint sensor not respond on first boot and after user switched
  • Minor bug fixes

2018.12.05:
  • Sync latest source
  • SELinux enforcing for now, let me know if there're any regressions
  • Minor bug fixes

2018.12.15:
  • Sync latest source
  • Fix some suspend issue
  • Kernel baseline updated to LA.UM.7.5.r1-03700-8x96.0
  • Minor bug fixes

2018.12.22:
  • Sync latest source
  • Slider key fix by @nvertigo67
  • App launch boost & touch boost, hope it helps reduce lagging

2018.12.30:
  • Sync latest source
  • Kernel baseline updated to LA.UM.7.5.r1-04000-8x96.0
  • WiFi display support
  • Bug fixes & improvements

2019.1.1:
2019.1.12:
  • Sync latest source
  • Add support for always-on-display
  • Minor bug fixes

2019.1.24:
  • Sync latest source
  • Fix touchscreen when gesture disabled
  • Fix whatsapp and CamScanner camera issue? Not sure, need feedback
  • Minor bug fixes

2019.2.10:
  • Sync latest source
  • Update kernel to LA.UM.7.5.r1-04100-8x96.0
  • Livedisplay & touchscreen gestures internal API migration
  • Allow disabling new USB gadgets when the device is locked
  • Minor bug fixes

2019.3.1:
  • Sync latest source
  • Fix weird color after boot? Need your confirmation
  • Performance optimizations
  • New offmode charging animation
  • Minor bug fixes
  • Note that some features/bugfixes will NOT be included in the upcoming official builds, be aware before switching from unofficial to official.

Future:
The Following 76 Users Say Thank You to dianlujitao For This Useful Post: [ View ]
13th November 2018, 08:41 AM |#4  
Playa82's Avatar
Senior Member
Flag Germany
Thanks Meter: 122
 
Donate to Me
More
Nice

Is it possible to update with a wipe system only ?
13th November 2018, 09:03 AM |#5  
nasbdh9's Avatar
Member
Flag Foshan
Thanks Meter: 11
 
More
good
The Following User Says Thank You to nasbdh9 For This Useful Post: [ View ] Gift nasbdh9 Ad-Free
13th November 2018, 09:13 AM |#6  
Member
Thanks Meter: 15
 
More
whats the difference in this build and does this uses 4.4 kernel ?
13th November 2018, 09:30 AM |#7  
casual_kikoo's Avatar
Senior Member
Flag Paris, France
Thanks Meter: 1,068
 
More
Quote:
Originally Posted by Playa82

Finally

Is it possible to update with a wipe system only ?

Why this question is asked each time ?
You have TWRP right ? So backup your current install, flash without wiping, if it goes wrong, you know you have to clean flash, simple.
Plus, from the O.P of this thread:
Quote:
Originally Posted by O.P

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

The Following 4 Users Say Thank You to casual_kikoo For This Useful Post: [ View ] Gift casual_kikoo Ad-Free
13th November 2018, 09:34 AM |#8  
Member
Thanks Meter: 14
 
More
lol, right when I clean flashed 15.1 and reinstalled everything from too many dirty flashes
13th November 2018, 09:42 AM |#9  
Senior Member
Thanks Meter: 8,310
 
Donate to Me
More
Quote:
Originally Posted by karkiankit

does this uses 4.4 kernel ?

Why don't you check yourself? OP clearly states which kernel is in use:
https://github.com/dianlujitao/andro...Makefile#L1-L3
The Following User Says Thank You to nvertigo67 For This Useful Post: [ View ] Gift nvertigo67 Ad-Free
13th November 2018, 09:47 AM |#10  
Senior Member
Thanks Meter: 24
 
More
Nice!.. op3 community love u
Thank you
13th November 2018, 10:15 AM |#11  
markakash's Avatar
Senior Member
Belgium
Thanks Meter: 3,240
 
More
Weeew the legend is back. Awesome job
The Following 3 Users Say Thank You to markakash For This Useful Post: [ View ] Gift markakash Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread