Remove All Ads from XDA

[EOL][OP3T][ROM+KERNEL] Unofficial CyanogenMod 13.0 with custom kernel [Apr 30, 2017]

6,332 posts
Thanks Meter: 37,175
By Sultanxda, Recognized Developer on 11th December 2016, 05:56 PM
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 a unified CyanogenMod 13.0 ROM that works on both the OnePlus 3 and OnePlus 3T. It is based off of the stable CyanogenMod branch instead of the nightly branch, with the main goal being stability with an overall good user experience. 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:
  • Supports both the OnePlus 3 and OnePlus 3T
  • Based off latest CyanogenMod 13.0 stable (ZNH5Y) sources (root access is NOT included)
  • OTA updates via built-in CMUpdater
  • Fast fingerprint unlock
  • Pocket mode for the fingerprint sensor (this is always enabled)
  • Improved GPS speed and accuracy
  • 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
    -Many other manual controls
  • Many other misc. performance and stability improvements under the hood

Kernel features:
  • Rebuilt from the ground up using the latest Snapdragon 821 CAF base from Qualcomm (LA.HB.1.3.2)
  • Removed lots of excessive bloat (improves security and performance)
  • Improved stability (several bugs not listed here have been fixed)
  • 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 underclocked for improved stability and efficiency (big cluster: 2150 MHz LITTLE cluster: 1516 MHz)
  • 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 compiler "optimizations"
  • Many other misc. improvements not listed here

Source code:
Kernel (cm-13.0-sultan branch):
Local manifest (contains the rest of the sources):

  • CyanogenMod 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
    The people who first brought CM13.0 to the OnePlus 3:
  • Grarak
  • dianlujitao
  • Steve Kondik
  • 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, SuperSU if you want root access (ONLY v2.65 OR HIGHER), and then reboot.

If you get an error when trying to install the ROM ("You do not have the correct firmware installed!" error), then go to the Firmware link in the Downloads section and flash that zip file. 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 my CM13.0 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.

Firmware (one-time installation):

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

Mirror 1:

Mirror 2:

Google Apps (required): Platform: "ARM64", Android: "6.0", Variant: "micro" or "nano" (I will not provide support if you install a different variant)
SuperSU (if you want root access):

XDA:DevDB Information
Unified CM13.0 with custom 3.18.20 kernel, ROM for the OnePlus 3T

ROM OS Version: 6.0.x Marshmallow
Based On: CyanogenMod

Version Information
Status: No Longer Updated

Created 2016-12-11
Last Updated 2018-01-20
The Following 215 Users Say Thank You to Sultanxda For This Useful Post: [ View ]
11th December 2016, 05:56 PM |#2  
Sultanxda's Avatar
OP Recognized Developer
Flag California
Thanks Meter: 37,175
Donate to Me

April 30, 2017:
*Android Security Patch Level: April 1, 2017
*Camera: Changed default sharpness setting to 2 (this is what OxygenOS uses)

*Updated to CAF LA.HB.1.3.2-40600-8x96.0
*Made CPU governor and CPU boost driver scale up more aggressively (increases overall performance)
*Fixed power-aware scheduling
*Fixed random reboot when power save mode is enabled
*Improved power consumption while the screen is off and reduced latency when turning the screen on (info)

Old changelogs:

April 2, 2017:
*Fixed touchscreen firmware update process
*Updated touchscreen firmware from the latest OxygenOS Open Beta

March 25, 2017:
*Increased the maximum number of background apps allowed in memory back to 60
*Camera: Reduced the chances of capturing an out-of-focus picture

*Fixed memory management issues (the occasional wake-up lag and overall lag are fixed)
*Fixed several memory leaks
*Fixed slight noise from the camera lens when exiting an app that uses the camera

March 18, 2017:
*Android Security Patch Level: March 1, 2017
*Camera: Added option to enable/disable refocus on photo capture
*Reduced the maximum number of background apps allowed in memory from 60 to 32

*Updated to CAF LA.HB.1.3.2-37900-8x96.0
*Updated WiFi drivers to CAF LA.HB.1.3.2-37900-8x96.0
*Synced with CAF LA.HB.1.3.1.c1-23100-8x96.0 (contains many security fixes)

February 19, 2017:
*Fixed VoLTE
*Camera: Fixed freezing when capturing photos with flash
*Fixed reboots during H.265 (HEVC) video playback

*Added missing cpusets support (cpusets are fully functional now)

February 12, 2017:
*Android Security Patch Level: February 1, 2017

*Updated to CAF LA.HB.1.3.2-36200-8x96.0
*Updated WiFi drivers to CAF LA.HB.1.3.2-36200-8x96.0
*Added missing security fix to camera actuator driver
*Enabled cpusets (improves battery life and performance)

January 24, 2017:
*Camera: Fixed touch-to-focus not working after taking a picture
*Camera: Fixed shutter button not working once after taking a picture

January 23, 2017:
*Updated display auto-brightness configuration from OxygenOS (thanks to @kristofpetho)
*Camera: Fixed camera not focusing at all sometimes (the actuator would not move at all)
*Attempted to fix regression from previous build causing the occasional long delay for fingerprint unlocking

*Updated to CAF LA.HB.1.3.2-35300-8x96.0

January 15, 2017:
*Camera: Fixed distortion at the edges of photos captured in low-light conditions (more info)
*Camera: Removed focus mode option (didn't provide anything useful)
*Camera: Removed scene mode button from the front-facing camera (many of the scenes didn't work)
*Fixed status bar icons not inverting color correctly after a fingerprint unlock (more info)
*Fixed out-of-sync audio while streaming videos in the Netflix app
*Fixed buggy long press to turn off the screen for the home button (more info)

*Fixed inability to change the CPU's maximum frequency (you can now change the CPU's max. freq. in apps like Kernel Adiutor)
*Reduced jitter after turning the screen on
*Synced with CAF LA.HB.1.3.1.c1-20600-8x96.0 (security fix)

January 7, 2017:
*Android Security Patch Level: January 1, 2017
*Updated WiFi configuration from Google Pixel
*Removed CyanogenMod statistics
*Updated audio HAL to CAF LA.HB.1.3.2-34600-8x96.0
*Updated media HAL to CAF LA.HB.1.3.2-34600-8x96.0
*Camera: Fixed force close when taking photos with the front camera
*Camera: Fixed force close when face detection is enabled
*Camera: Improved auto-focus (the camera will quickly re-focus every time you take a picture; this should make it much easier to take clear photos)
*Camera: Fixed low-exposure bug when recording video with the front camera (videos would look black due to low exposure)
*Camera: Removed storage location option (it was broken)

*Android Security Patch Level: January 1, 2017
*Updated to CAF LA.HB.1.3.2-34600-8x96.0
*Fixed random reboots for devices with an s6e3fa5 panel
*Fixed horizontal line glitch when turning off the screen on devices with an s6e3fa5 panel
*Fixed sRGB mode on devices with an s6e3fa5 panel
*Fixed home button unintentionally getting long-pressed (more info)
*Fixed occasional intense lag when waking the device

December 27, 2016:
*Latest upstream (stable/cm-13.0-ZNH5Y) CyanogenMod changes
*Camera: Fixed photo not getting saved when exiting the camera app before the photo is saved
*Camera: Added warning message when Anti-shake mode is enabled
*Camera: Anti-shake mode will automatically turn off every time the Camera app is closed
*Camera: Fixed low frame rate when recording video (video now records at 30 FPS instead of 24 FPS)
*Camera: Removed HDR mode from front-facing camera (unstable and OxygenOS does not have it)
*Updated proprietary libraries from OxygenOS 3.5.4
*The 'Prevent accidental wake-up' option no longer stops the power button from waking the device
*Fixed battery capacity being reported as 3000 mAh instead of 3400 mAH
*Updated AudioFX app from CM nightlies

*Fixed support for devices using a different display variant (thanks to @KaZo58 for testing)
*Fixed 'Prevent accidental wake-up' option never turning off
*Updated CPU underclock: increased big cluster maximum frequency to 2150 MHz, reduced LITTLE cluster maximum frequency to 1516 MHz
*CPU underclock cannot be disabled (due to stability issues that are still being investigated)
*Synced with CAF LA.HB.1.3.1.c1-20100-8x96.0 (security fixes)

December 11, 2016:
*Initial release

*Initial release
The Following 73 Users Say Thank You to Sultanxda For This Useful Post: [ View ]
11th December 2016, 05:56 PM |#3  
Sultanxda's Avatar
OP Recognized Developer
Flag California
Thanks Meter: 37,175
Donate to Me

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 OP3Ts; because of this, the CPU underclock cannot be disabled.
The Following 45 Users Say Thank You to Sultanxda For This Useful Post: [ View ]
11th December 2016, 06:04 PM |#4  
salilpune1's Avatar
Senior Member
Thanks Meter: 225
Great! Thank you for bringing CM to 3T

Sent from my Nexus 6 using XDA-Developers mobile app
11th December 2016, 06:05 PM |#5  
Senior Member
Flag Hammond
Thanks Meter: 164
Thank you so much for this! Can't wait to try it!
11th December 2016, 06:09 PM |#6  
Creative Director
Flag Minneapolis
Thanks Meter: 28
11th December 2016, 06:09 PM |#7  
Account currently disabled
Flag Vienna
Thanks Meter: 620
Donate to Me
Yes the Hero is here. Good too see you here. Download and flashing. But the name is Oneplus3 and not Oneplus3t from the download? Also the Informationen in Post 1 are wrong.
11th December 2016, 06:18 PM |#8  
Sultanxda's Avatar
OP Recognized Developer
Flag California
Thanks Meter: 37,175
Donate to Me
Originally Posted by Schrotty35

Yes the Hero is here. Good too see you here. Download and flashing. But the name is Oneplus3 and not Oneplus3t from the download? Also the Informationen in Post 1 are wrong.

The name is oneplus3 because the ROM can be flashed on both the OnePlus 3 and OnePlus 3T. It is a unified ROM.

What's incorrect in the first post?
The Following 7 Users Say Thank You to Sultanxda For This Useful Post: [ View ]
11th December 2016, 06:21 PM |#9  
Account currently disabled
Flag Vienna
Thanks Meter: 620
Donate to Me
The 3t have a Snapdragon 821, not 820 and the Devices are not the same. Have different Hardware. The 3t need other sources.

Edit ok you have changed.
11th December 2016, 06:21 PM |#10  
954wrecker's Avatar
Senior Member
Thanks Meter: 1,546
Great work, so nice and smooth.

The Following User Says Thank You to 954wrecker For This Useful Post: [ View ] Gift 954wrecker Ad-Free
11th December 2016, 06:41 PM |#11  
lindahl85's Avatar
Senior Member
Flag Vetlanda
Thanks Meter: 132
Donate to Me
Thank you for this ROM
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