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

6,381 posts
Thanks Meter: 37,544
By Sultanxda, Recognized Developer on 5th February 2018, 01:35 AM
Post Reply Email Thread
 * 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 an unofficial LineageOS 14.1 ROM for the OnePlus 5T. 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
  • sRGB, DCI-P3, and various other display color calibration modes and controls
  • Custom camera app featuring:
    -Manual shutter speed control (1/5000th of a second up to 50 seconds)
    -Manual ISO control
    -Video HDR mode
    -Antibanding control
    -Exposure control
    -Denoise control
    -Face detection
    -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 835 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)
  • 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
  • Improved touchscreen processing latency
  • Improved audio jack detection
  • CPU underclocked to 1958 MHz by default (you can disable this; 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):
Local manifest (contains the rest of the sources):

  • LineageOS and its contributors
  • CAF (aka Qualcomm)
  • zx2c4 (for WireGuard, providing project resources, working directly on development, and sending me stickers)
  • Open GApps
  • 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 ("dumpling.verify_modem" error), then go to the Firmware link in the Downloads section and flash the firmware package. 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.


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

Mirror 1:

Mirror 2:

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):
Disable CPU underclock (optional):

XDA:DevDB Information
LineageOS 14.1 with custom kernel, ROM for the OnePlus 5T

Sultanxda, zx2c4
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 4.x
Based On: LineageOS

Version Information
Status: Beta

Created 2018-02-05
Last Updated 2018-05-23
The Following 90 Users Say Thank You to Sultanxda For This Useful Post: [ View ]
5th February 2018, 01:35 AM |#2  
Sultanxda's Avatar
OP Recognized Developer
Flag California
Thanks Meter: 37,544
Donate to Me

May 14, 2018:
*Latest upstream LineageOS changes

Old changelogs:

March 28, 2018:
*Latest upstream LineageOS changes
*Attempted to fix broken NFC when downgrading from Oreo

*Fixed previous build's attempt to reduce kernel power consumption (previous build didn't improve battery life; this build does)

March 21, 2018:
*Latest upstream LineageOS changes

*Fixed time service crashing nonstop (this also caused high battery drain)
*Slightly reduced kernel power consumption (most of the kernel runs on a single, low-power CPU core now)

March 17, 2018:
*Latest upstream LineageOS changes

*Updated to CAF LA.UM.5.8.r1-03300-8x98.0
*Rewrote alert slider driver (slightly improves alert slider responsiveness and fixes the alert slider mode not getting reapplied after a reboot)
*Fixed kernel wakelock statistics not showing up in apps like BetterBatteryStats and Wakelock Detector

March 11, 2018:
*Latest upstream LineageOS changes

*Reverted to old battery driver (fixes battery percentage issues)
*Fixed battery not charging with some chargers or a computer's USB port

February 20, 2018:
*Latest upstream LineageOS changes

*Fixed DASH charge issues introduced in the previous build
*Fixed incorrect battery percentage being reported in recovery

February 19, 2018:
*Latest upstream LineageOS changes
*Camera: Fixed camera preview freeze when taking pictures with a manual ISO
*Added more volume steps for handset volume and media volume
*(from zx2c4) Camera shutter sounds are no longer forced in countries that require them
*(from zx2c4) Fixed missing 5 GHz WiFi hotspot option for some users

*Updated to CAF LA.UM.5.7.r1-11800-8x98.0
*Fixed USB tethering
*Fixed touchscreen gestures not working sometimes
*Rewrote battery driver for more accurate battery readings

February 5, 2018:
*Initial release

*Initial release
The Following 32 Users Say Thank You to Sultanxda For This Useful Post: [ View ]
5th February 2018, 01:35 AM |#3  
Sultanxda's Avatar
OP Recognized Developer
Flag California
Thanks Meter: 37,544
Donate to Me

1. Why did you underclock the CPU?
Answer: At the underclocked frequency, the amount of heat generated by the CPU is quite a bit less, so the CPU is throttled less often (leading to a 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 Following 25 Users Say Thank You to Sultanxda For This Useful Post: [ View ]
5th February 2018, 01:42 AM |#4  
Sultanxda's Avatar
OP Recognized Developer
Flag California
Thanks Meter: 37,544
Donate to Me
@SynisterWolf (or any other mod) Could you please delete the other two threads? XDA is acting derpy right now, and it looks like two extra threads got created :/

These are the other two threads:
The Following 6 Users Say Thank You to Sultanxda For This Useful Post: [ View ]
5th February 2018, 01:46 AM |#5  
Crash's Avatar
Senior Member
Flag Costa Rica
Thanks Meter: 9,112
Great to see you Sultan
5th February 2018, 02:02 AM |#6  
ps000000's Avatar
Senior Member
Flag Nonthaburi / Bangkok
Thanks Meter: 343
5th February 2018, 02:11 AM |#7  
Senior Member
Thanks Meter: 54
is it encrypted or decrypted?
5th February 2018, 02:26 AM |#8  
Senior Member
Thanks Meter: 106
Originally Posted by Robustuck

is it encrypted or decrypted?

Installation instructions do not say format data....
5th February 2018, 03:00 AM |#9  
Junior Member
Thanks Meter: 1
thx ,any known bugs?
5th February 2018, 03:12 AM |#10  
ThePresence's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 228
Donate to Me
Will try ASAP and report. Great to see you here...
5th February 2018, 03:27 AM |#11  
shafi31's Avatar
Senior Member
Flag Doha
Thanks Meter: 351
@Sultanxda I guess you will build 15x only when it is stable
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes