FORUMS
Remove All Ads from XDA

[EOL][OP3+3T][ROM+KERNEL] Unofficial LineageOS 14.1 with custom kernel [May 14, 2018]

5,895 posts
Thanks Meter: 34,532
 
By Sultanxda, Recognized Developer on 13th April 2017, 01:27 AM
Post Reply Email Thread
Code:
/*
 * Your warranty is... still valid?
 *
 * 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.
 *
 */
This is a unified LineageOS 14.1 ROM that works on both the OnePlus 3 and OnePlus 3T. This ROM comes with a highly-customized kernel, as well as some other very custom modifications.

Custom kernels are not compatible with this ROM. I will NOT provide support if you install a custom kernel.

Changelogs for each update can be found in the 2nd post of this thread.

ROM features:
  • Based off latest LineageOS 14.1 sources (root access is NOT included)
  • OTA updates via built-in updater in Settings
  • Fast fingerprint unlock
  • Pocket mode for the fingerprint sensor (this is always enabled)
  • Custom camera app featuring:
    -Photo quality comparable to OxygenOS
    -Anti-shake mode (increases the shutter speed to reduce motion blur)
    -Manual shutter speed control (1/5000th of a second up to 30 seconds)
    -Manual ISO control
    -EIS when recording video at resolutions lower than 4k UHD
    -Video HDR mode
    -Antibanding control
    -Exposure control
    -Denoise control
    -Face detection
    -HDR
    -Many other manual controls
  • Many other misc. performance and stability improvements under the hood

Kernel features:
  • Rebuilt from the ground up using the latest Nougat Snapdragon 820/821 base from Qualcomm (CAF)
  • Removed lots of excessive bloat (improves security and performance)
  • Improved stability (several bugs not listed here have been fixed)
  • WireGuard, a next generation secure VPN tunnel (more info)
  • F2FS support
  • DASH charge
  • Passes SafetyNet bootloader unlock check
  • Dynamic CPU input boost driver I wrote myself (makes the phone feel smooth without destroying battery life)
  • Reduced display power consumption
  • Touchscreen gestures are automatically disabled when the proximity sensor is covered
  • Improved touchscreen processing latency
  • Improved audio jack detection (no more weird buzzing noise and headphones are always detected on the first try)
  • CPU is underclocked (read the FAQ for more info)
  • Custom thermal control driver I wrote myself (features 9 thermal throttle steps; keeps the phone cool)
  • Westwood TCP congestion algorithm (enabled by default)
  • No placebo patches, features, or dangerous compiler "optimizations"
  • Many other misc. improvements not listed here

Source code:
Kernel (cm-14.1-sultan branch): https://github.com/sultanxda/android...neplus_msm8996
Local manifest (contains the rest of the sources): https://github.com/sultanxda/android...l_manifest.xml

Credits:
  • LineageOS and its contributors
  • CAF (aka Qualcomm)
  • myfluxi (awesome friend with lots of amazing contributions)
  • Open GApps
  • glassfish777 for testing and helping me pass AP physics in high school
  • dianlujitao for bringing up the OP3(T) to LineageOS 14.1
  • Thecrazyskull for helping me fix the front camera on the OP3T
  • If your name should be here and it isn't, then make me use an iPhone 4s running iOS 9

Installation instructions (for first-time installation):
First, perform a backup of your existing setup, and then perform a clean install (wipe /data and /system; TWRP is recommended). Next, try flashing the ROM and see if it installs; if it installs without any issues then congratulations! Now just flash a Google apps package, Magisk if you want root access, and then reboot.

If you get an error when trying to install the ROM ("op3.verify_modem" error), then go to the Firmware link in the Downloads section and flash the firmware package for your device. Once you flash the firmware zip file, you can install the ROM.


Installation instructions (for updating to a newer release):
If you are already running this ROM, then you can update to a newer version of the ROM via the built-in OTA updater or by simply dirty-flashing the new ROM build without wiping anything. HOWEVER, do NOT reinstall Google Apps after installing a new update.

Downloads:
Firmware:

ROM:

Please read through the installation instructions before installing this for the first time.

Mirror 1: https://github.com/sultanxda/android...n-oneplus3.zip

Mirror 2: https://www.androidfilehost.com/?w=f...&sort_dir=DESC

Google Apps (required): Platform: "ARM64", Android: "7.1", Variant: "micro" or "nano" (I will not provide support if you install a different variant)
Magisk (if you want root access): https://forum.xda-developers.com/app...mless-t3473445

XDA:DevDB Information
Unified LineageOS 14.1 with custom 3.18.31 kernel, ROM for the OnePlus 3

Contributors
Sultanxda
ROM OS Version: 7.x Nougat
Based On: LineageOS

Version Information
Status: Stable

Created 2017-04-13
Last Updated 2018-05-24
The Following 393 Users Say Thank You to Sultanxda For This Useful Post: [ View ]
 
 
13th April 2017, 01:27 AM |#2  
Sultanxda's Avatar
OP Recognized Developer
Flag California
Thanks Meter: 34,532
 
Donate to Me
More
Changelog:

May 14, 2018:
ROM:
*Latest upstream LineageOS changes

Old changelogs:

March 28, 2018:
ROM:
*Latest upstream LineageOS changes

Kernel:
*Removed the ability to disable CPU underclock (in order to ensure stability on all devices)
*Added the ability to read the battery's estimated full-charge capacity and cycle count (more info)

March 17, 2018:
ROM:
*Latest upstream LineageOS changes

Kernel:
*Rewrote alert slider driver (slightly improves alert slider responsiveness and fixes the alert slider mode not getting reapplied after a reboot)

March 11, 2018:
ROM:
*Latest upstream LineageOS changes

Kernel:
*Fixed missing charging animation when the device is turned off and plugged into a charger
*Fixed kernel wakelock statistics not showing up in apps like BetterBatteryStats and Wakelock Detector

February 20, 2018:
ROM:
*Latest upstream LineageOS changes

Kernel:
*Fixed touchscreen gestures not working sometimes
*Fixed touchscreen issues experienced by some users (again; a previous build reintroduced the issue)

January 27, 2018:
ROM:
*Latest upstream LineageOS changes
*Disabled user panic mode (hitting the back button quickly several times won't take you home anymore)
*Updated weather provider packages from lineageos.org

Kernel:
*Updated to CAF LA.UM.5.5.r1-06700-8x96.0
*Enabled heap placement randomization (improves security)
*Fixed stage-2 protection of kernel text region (this adds another layer of security to prevent anything from modifying kernel code while the kernel is running)

December 9, 2017:
ROM:
*Latest upstream LineageOS changes

Kernel:
*Fixed capacitive home button still working while on-screen buttons are enabled
*Fixed touchscreen not working sometimes after turning the screen on

December 2, 2017:
ROM:
*Latest upstream LineageOS changes

Kernel:
*Significantly reduced overall power consumption (most of the kernel itself now runs on the little CPU cluster to save power)
*Improved overall performance (the kernel is now compiled with optimizations for better performance)
*Attempted to fix touchscreen not working for some users
*Fixed long delay for the touchscreen to become active when turning the screen on
*Rewrote fingerprint sensor driver (no visibly significant improvements though)

November 25, 2017:
ROM:
*Latest upstream LineageOS changes

Kernel:
*Updated to CAF LA.UM.5.5.r1-06300-8x96.0
*Fixed capacitive buttons not working sometimes after turning on the screen
*Fixed several bugs in touchscreen driver (one of which may have caused random reboots)
*Slightly reduced overall power consumption

November 11, 2017:
ROM:
*Latest upstream LineageOS changes
*Camera: Fixed upside down photos when the selfie-mirror option is enabled and the device is in landscape mode

Kernel:
*Attempted to fix touchscreen not working when turning the screen on sometimes
*Potentially reduced display power consumption by a small amount

October 22, 2017:
ROM:
*Latest upstream LineageOS changes
*Updated proprietary libraries to OxygenOS 4.5.1 (the firmware packages in the first post have been updated too)
*Camera: Fixed photos not getting saved sometimes when power-save mode is active

Kernel:
*Updated to CAF LA.UM.5.5.r1-06100-8x96.0

September 30, 2017:
ROM:
*Latest upstream LineageOS changes
*Updated proprietary libraries to OxygenOS OB15/OB24 (the firmware packages in the first post have been updated too; they do not contain the new splash screen)

Kernel:
*Updated to CAF LA.UM.5.5.r1-05800-8x96.0
*Added fix for BlueBorne vulnerability
*Added potential fix for touchscreen issues experienced by some users

September 11, 2017:
ROM:
*Latest upstream LineageOS changes
*Updated proprietary libraries to OxygenOS OB14/OB23 (the firmware packages in the first post have been updated too)
*Camera: Fixed face detection smiley face not disappearing when switching between the front and rear camera sometimes
*Camera: Fixed occasional crash when switching between camcorder and camera mode

Kernel:
*Added various security fixes
*Added missing OnePlus fix to Bluetooth driver
*Reverted sRGB calibration update

September 3, 2017:
ROM:
*Latest upstream LineageOS changes
*Updated proprietary libraries to OxygenOS OB13/OB22 (the firmware packages in the first post have been updated too)
*Camera: Added selfie mirror feature
*Fixed Gallery app freezing sometimes
*Increased maximum handset volume for phone calls
*Added more volume steps for handset volume and media volume
*Removed WiFi calling (it didn't work)
*Removed ISO mode setting from the OP3T's front camera (anything other than auto caused the camera to crash)

Kernel:
*Updated to CAF LA.UM.5.5.r1-05700-8x96.0
*Updated sRGB calibration from Open Beta kernel

August 17, 2017:
ROM:
*Latest upstream LineageOS changes

Kernel:
*Removed some unneeded bloat

August 7, 2017:
ROM:
*Latest upstream LineageOS changes
*Updated proprietary libraries to OxygenOS OB12/OB21 (the firmware packages in the first post have been updated too)
*Switched back to old Gallery app (the new one is buggy)

Kernel:
*Updated DASH charge driver from the latest OxygenOS kernel sources

August 1, 2017:
ROM:
*Latest upstream LineageOS changes
*Updated proprietary libraries to OxygenOS OB11/OB20 (the firmware packages in the first post have been updated too)
*Fixed front camera crashes when taking pictures outdoors or in good lighting
*Switched to new LineageOS Gallery app

Kernel:
*Updated to CAF LA.UM.5.5.r1-05400-8x96.0
*Fixed device not booting up sometimes

July 16, 2017:
ROM:
*REQUIRES OB10/OB19 FIRMWARE UPDATE!
*Latest upstream LineageOS changes
*Added missing weather providers for cLock widget (these are no longer available in the Play Store)

Kernel:
*Fixed massive lag that would occur when waking up the phone sometimes

July 15, 2017:
ROM:
*REQUIRES OB10/OB19 FIRMWARE UPDATE!
*Latest upstream LineageOS changes
*Updated proprietary libraries to OxygenOS OB10/OB19 (the firmware packages in the first post have been updated too)
*Actually fixed photos not getting saved when taking pictures with the front-facing camera

Kernel:
*Updated to CAF LA.UM.5.5.r1-05300-8x96.0
*Reverted battery driver changes from May 17 (fixes random shut downs and reboots)

June 15, 2017:
ROM:
*Latest upstream LineageOS changes
*Fixed photos not getting saved when taking pictures with the front-facing camera

Kernel:
*Disabled debugfs (improves security and reduces the amount of resources used by the kernel)

June 7, 2017:
ROM:
*Latest upstream LineageOS changes
*Updated proprietary libraries to OxygenOS OB8/OB17 (the firmware packages in the first post have been updated too)
*Fixed lack of HAL3 mode/Camera2 API for third party camera apps

Kernel:
*Updated to CAF LA.UM.5.5.r1-04700-8x96.0
*Fixed SafetyNet bypass (clear data for the Play Store in order to see Netflix again)

May 19, 2017:
ROM:
*Latest upstream LineageOS changes
*Fixed notification slider haptic response not working for some users
*Fixed "Ok Google" not working
*Fixed GPS issues

May 17, 2017:
ROM:
*Latest upstream LineageOS changes
*Updated proprietary libraries to OxygenOS OB7/OB16 (the firmware packages in the first post have been updated too)
*Gello Browser has been replaced by Jelly Browser

Kernel:
*Updated to CAF LA.UM.5.5.r1-04600-8x96.0
*Removed resource-hungry battery driver (this improves battery life)

May 6, 2017:
ROM:
*Latest upstream LineageOS changes
*Updated proprietary libraries to OxygenOS OB6/OB15 (the firmware packages in the first post have been updated too)
*Fixed camera issues in 3rd party apps (such as the OxygenOS camera app)
*Disabled Camera2/HAL3 mode (in order to fix the issues with 3rd party apps)
*Music: Fixed shuffle, repeat mode, "lockscreen album art," "shake to play," and "show music visualization" options not being saved
*Fixed tethering not working with some carriers (thanks to kristofpetho)

Kernel:
*Screen wakes from sleep faster
*Reduced power consumption while the screen is turned on

April 30, 2017:
ROM:
*Latest upstream LineageOS changes
*Camera: Fixed 4k timelapse video recording
*Camera: Changed default sharpness setting to 2 (this is what OxygenOS uses)
*Updated proprietary libraries to OxygenOS OB5/OB14 (the firmware packages in the first post have been updated too)
*Fixed lack of HAL3 mode/Camera2 API for third party camera apps
*Fixed bug caused by double tap to turn off the screen for the home button (info)

Kernel:
*Made CPU governor and CPU boost driver scale up more aggressively (increases overall performance)
*Fixed high CPU usage caused by power-aware scheduling
*Improved power consumption while the screen is off and reduced latency when turning the screen on (info)

April 16, 2017:
ROM:
*Latest upstream LineageOS changes (includes Android 7.1.2)
*Fixed lack of notification pull down shadow and lockscreen shadow when unlocking with the fingerprint reader
*Fixed video calling in the Facebook Messenger app
*Added fingerprint lag fix from maxwen
*Camera: Fixed force close when enabling Power shutter
*Fixed bugs with long press to turn off the screen for the home button (bug 1, bug 2)

Kernel:
*Updated to CAF LA.UM.5.5.r1-04300-8x96.0 (mainly security fixes)

April 13, 2017:
ROM:
*Latest upstream LineageOS changes
*Fixed built-in OTA updater
*Disabled sdcardfs (it caused random reboots)

Kernel:
*Fixed display not turning back on correctly on some devices
*Removed sdcardfs drivers

April 12, 2017:
ROM:
*Initial release

Kernel:
*Initial release
The Following 227 Users Say Thank You to Sultanxda For This Useful Post: [ View ]
13th April 2017, 01:27 AM |#3  
Sultanxda's Avatar
OP Recognized Developer
Flag California
Thanks Meter: 34,532
 
Donate to Me
More
FAQ:

1. Why did you underclock the CPU?
Answer: At the underclocked frequencies, the amount of heat generated by the CPU is quite a bit less, so the CPU is throttled less often (leading to better user experience), and battery life is better as well. The performance difference while underclocked is also not really noticeable unless you use a benchmark application. The CPU is also underclocked due to stability issues at higher frequencies affecting some OP3s and OP3Ts; because of this, the CPU underclock cannot be disabled.
The Following 115 Users Say Thank You to Sultanxda For This Useful Post: [ View ]
13th April 2017, 01:50 AM |#4  
Senior Member
Thanks Meter: 68
 
More
Thank you for the update! Looking forward to testing this out!
The Following User Says Thank You to vinax89 For This Useful Post: [ View ] Gift vinax89 Ad-Free
13th April 2017, 02:05 AM |#5  
Crash's Avatar
Senior Member
Flag Costa Rica
Thanks Meter: 9,112
 
More
Great my friend thanks
13th April 2017, 02:41 AM |#6  
MisterCoolBeans's Avatar
Senior Member
Flag /home/coolbeans/
Thanks Meter: 727
 
More
Wow, very excited to try this ROM out. Good job!
13th April 2017, 03:59 AM |#8  
calvinistmac's Avatar
Senior Member
Flag Somewhere in Brooklyn
Thanks Meter: 821
 
More
Just downloaded this! Been waiting for this for a bit now! Glad it's out! Thanks @Sultanxda!
13th April 2017, 04:30 AM |#9  
Senior Member
Thanks Meter: 60
 
More
Awesomest, finally updated to 14.1
The Following User Says Thank You to eabrillos For This Useful Post: [ View ] Gift eabrillos Ad-Free
13th April 2017, 04:47 AM |#10  
Senior Member
Flag San Pedro
Thanks Meter: 39
 
More
Hi,

I followed the installation carefully, but everytime I lock my device, I get this weird screen like "tv with no signal.." and it won't remove, I need to force restart my device since I can't see anything on my screen. also tried flashing the firmware but still happening.

I have Oneplus 3T btw..
13th April 2017, 04:56 AM |#11  
Evokkimus's Avatar
Senior Member
Flag Lahti
Thanks Meter: 148
 
More
Once OMS is included, I will flash this without heistation.
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes