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

Search This thread

Sultanxda

Recognized Developer
Aug 18, 2012
6,466
37,668
California
www.kerneltoast.com
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 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
    -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 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): https://github.com/sultanxda/android_kernel_oneplus_msm8998
Local manifest (contains the rest of the sources): https://github.com/sultanxda/android/blob/master/dumpling/cm-14.1/local_manifest.xml

Credits:
  • 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.

Downloads:
Firmware: https://www.androidfilehost.com/?fid=818070582850490442
ROM:

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

Mirror 1: https://github.com/sultanxda/androi...-14.1-20180514-UNOFFICIAL-Sultan-dumpling.zip

Mirror 2: https://www.androidfilehost.com/?w=files&flid=246659&sort_by=date&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/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Disable CPU underclock (optional): https://forum.xda-developers.com/devdb/project/dl/?id=28437

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

Contributors
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
 

Sultanxda

Recognized Developer
Aug 18, 2012
6,466
37,668
California
www.kerneltoast.com
Changelog:

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

Old changelogs:

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

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

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

Kernel:
*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:
ROM:
*Latest upstream LineageOS changes

Kernel:
*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:
ROM:
*Latest upstream LineageOS changes

Kernel:
*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:
ROM:
*Latest upstream LineageOS changes

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

February 19, 2018:
ROM:
*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

Kernel:
*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:
ROM:
*Initial release

Kernel:
*Initial release
 
Last edited:

Sultanxda

Recognized Developer
Aug 18, 2012
6,466
37,668
California
www.kerneltoast.com
FAQ:

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.
 
Last edited:

Sultanxda

Recognized Developer
Aug 18, 2012
6,466
37,668
California
www.kerneltoast.com

Sultanxda

Recognized Developer
Aug 18, 2012
6,466
37,668
California
www.kerneltoast.com

ps000000

Senior Member
Sep 17, 2011
1,629
357
Nonthaburi / Bangkok
Oops I follow the instruction but I got forever bootanimation.

(I remember I had face this isssue with Mokee 7.1.2 ROM too.)

I never got this issue with 8.0+ ROMs. :fingers-crossed::fingers-crossed::fingers-crossed:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 90
    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 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
      -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 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): https://github.com/sultanxda/android_kernel_oneplus_msm8998
    Local manifest (contains the rest of the sources): https://github.com/sultanxda/android/blob/master/dumpling/cm-14.1/local_manifest.xml

    Credits:
    • 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.

    Downloads:
    Firmware: https://www.androidfilehost.com/?fid=818070582850490442
    ROM:

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

    Mirror 1: https://github.com/sultanxda/androi...-14.1-20180514-UNOFFICIAL-Sultan-dumpling.zip

    Mirror 2: https://www.androidfilehost.com/?w=files&flid=246659&sort_by=date&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/apps/magisk/official-magisk-v7-universal-systemless-t3473445
    Disable CPU underclock (optional): https://forum.xda-developers.com/devdb/project/dl/?id=28437

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

    Contributors
    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
    32
    Changelog:

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

    Old changelogs:

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

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

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

    Kernel:
    *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:
    ROM:
    *Latest upstream LineageOS changes

    Kernel:
    *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:
    ROM:
    *Latest upstream LineageOS changes

    Kernel:
    *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:
    ROM:
    *Latest upstream LineageOS changes

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

    February 19, 2018:
    ROM:
    *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

    Kernel:
    *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:
    ROM:
    *Initial release

    Kernel:
    *Initial release
    25
    FAQ:

    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.
    16
    New build is up with some small but important bugs fixed. The OTA updater is working now too.
    15
    Huge props @Sultanxda, ROM is awesome, buttery smooth.

    2 minor quirks:
    1. Oily paint effect is visible on pictures taken
    2. 1080p and 4k recording is jerky...

    Van Gogh himself is in your camera, painting your images. /s

    Camera is currently not that great because OnePlus devs made a horrible mess of things and they don't want to cooperate in helping custom ROMs fully utilize the camera. EIS isn't working which is why videos seem jerky.

    I'm not very satisfied with the camera right now (and @zx2c4 is even less satisfied with it), but coming up with a solution will take time (probably months). So the camera will be a long term project.

    @Sultanxda are you considering unifying op5/op5t? loved your rom on the op3 and want to keep using your rom
    Same here, would love to use Sultans rom on OP5. We would be forever grateful if you could make this happen :D

    When I started working on the 5T, I thought about doing this. However, there are a lot of differences between the 5 and 5T that make making a unified build very ugly and painful, so I decided not to do it.

    I think he doesn't like the OP5

    He definitely does not like the OP5.

    Does it have face unlock? Just asking

    Yes, face unlock is supported and is functional.

    This rom works great. But I did find an error. When I press on Smart Lock in security settings my phone does reboot immediately.

    I don't have this issue. Did you flash some sort of mod?

    Trusted Face doesn't work either. That can be set up, but I can not unlock my phone.

    Trusted face works for me.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone