6
[ROM+KERNEL][6.0.1] Unofficial CyanogenMod 13.0 with custom kernel

  1. 69gm
    Jelly Bean Aug 21, 2016

    69gm , Aug 21, 2016 :
    He's at it again folks! He got his hands on the OnePlus 3 and of course had to put his magic touch on it! Yes @Sultanxda has done it again! So without further ado, here it is in his words:

    * 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.

    If you are using a OnePlus 3T, please go to this thread:

    https://forums.oneplus.net/threads/...l-cyanogenmod-13-0-with-custom-kernel.478884/

    or this one:

    http://forum.xda-developers.com/onep...-13-0-t3517301

    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.

    ROM features:
    • Based off latest CyanogenMod 13.0 stable (ZNH5Y) sources (root access is NOT included)
    • OTA updates via built-in CMUpdater
    • 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
      -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 Snapdragon 820 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)
    • DASH charge
    • 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 by default (big cluster: 1920MHz LITTLE cluster: 1478MHz) (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 compiler "optimizations"
    • Many other misc. improvements not listed here

    Source code:
    Kernel (cm-13.0-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:
    • 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 4 running iOS 8

    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). Now, if your phone is not updated with firmware from AT LEAST OxygenOS 3.2.6 (firmware newer than 3.2.6 is fine), then go to the OxygenOS 3.2.6 firmware download link and flash the OxygenOS 3.2.6 firmware (one-time installation). Then, flash the ROM, flash a Google apps package, SuperSU if you want root access(ONLY v2.65 OR HIGHER), and then reboot.

    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.If your fingerprint sensor/home button stops working after an update, then go to the OxygenOS 3.2.6 firmware download link and flash the OxygenOS 3.2.6 firmware (one-time installation).

    Downloads:
    OxygenOS firmware (AT LEAST 3.2.6 firmware is required; one-time installation): http://forum.xda-developers.com/onep...3-5-2-t3465312
    ROM:

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

    Mirror 1: http://forum.xda-developers.com/devd...t/dl/?id=22043

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

    Google Apps (required): Platform: "ARM64", Android: "6.0", Variant: Choose "full" or smaller (do not use "stock" or "super"!)
    SuperSU (if you want root access): http://forum.xda-developers.com/apps...lease-t3452703
    Disable CPU underclock (optional): http://forum.xda-developers.com/devd...t/dl/?id=19944

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

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

    Version Information
    Status: Stable

    Created 2016-08-21

    Original XDA thread can be found here.
     
    Last edited: Dec 12, 2016

    #1
  2. 69gm
    Jelly Bean Aug 21, 2016

    69gm , Aug 21, 2016 :
    Changelog:

    December 11, 2016:
    ROM:
    *Added support for the OnePlus 3T (this ROM can be flashed on both the OnePlus 3 and OnePlus 3T)
    *Updated Adreno graphics libraries from OxygenOS 3.5.3 for the OnePlus 3T

    Kernel:
    *Added support for the OnePlus 3T
    *Updated battery and charger drivers from the OnePlus 3T

    December 9, 2016:
    ROM:
    *Latest upstream (stable/cm-13.0-ZNH5Y) CyanogenMod changes
    *Android Security Patch Level: December 5, 2016
    *Updated proprietary libraries from OxygenOS 3.5.3 for the OnePlus 3T

    Kernel:
    *Android Security Patch Level: December 5, 2016
    *Updated to CAF LA.HB.1.3.2-33100-8x96.0
    *Fixed lack of vibration when answering phone calls
    *Off-screen gestures (such as DT2W) are always disabled when the proximity is covered (this fixes the random vibrations during phone calls)
    *Fixed inconsistent vibration when unlocking the device using the fingerprint reader
    *Screen turns on slightly faster now

    November 26, 2016:
    ROM:
    *Updated proprietary libraries from OxygenOS Open Beta 7
    *Camera: Fixed photos not always saving (you would have to press the shutter button a few times before it would take the photo)

    Kernel:
    *Haptic feedback is only disabled during phone calls and video recordings (this fixes the vibration issues from the previous build)

    November 25, 2016:
    ROM:
    *Latest upstream (stable/cm-13.0-ZNH5Y) CyanogenMod changes
    *Camera: Fixed bad image quality in low lighting
    *Camera: Fixed occasional force close

    Kernel:
    *Removed core_ctl CPU hotplug driver (all CPU cores will remain online now)
    *Overhauled CPU input boost driver (better performance)
    *Haptic feedback is automatically disabled when the microphone is in use (no more noisy vibrations during phone calls and video recordings)

    November 14, 2016:
    ROM:
    *Latest upstream (stable/cm-13.0-ZNH5Y) CyanogenMod changes
    *Android Security Patch Level: November 6, 2016
    *Updated proprietary libraries from OxygenOS 3.5.5 (community build)
    *Switched to OnePlus camera HAL
    *Fixed overexposure when capturing images with flash
    *Added new 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

    Kernel:
    *Android Security Patch Level: November 6, 2016
    *Increased CPU boost duration when the screen is woken up (this should address the wake-up lag)

    November 6, 2016:
    ROM:
    *Latest upstream (stable/cm-13.0-ZNH5Y) CyanogenMod changes
    *Added new camera app with support for Zero Shutter Lag mode (the new camera app takes pictures very fast)
    *Fixed Vorbis (Ogg) audio playback

    Kernel:
    *Updated to CAF LA.HB.1.3.2-31300-8x96.0
    *Added fix for Dirty COW vulnerability (CVE-2016-5195)
    *Fixed notification slider glitch (notification slider would change to DND mode when it wasn't supposed to)

    October 21, 2016:
    ROM:
    *Latest upstream (stable/cm-13.0-ZNH5Y) CyanogenMod changes

    Kernel:
    *Fixed recent SafetyNet failure (you can use Android Pay again)
    *Fixed fingerprint not working until the screen turned on sometimes
    *Fixed touchscreen not working for a couple seconds after you touch the screen for the first time after boot

    October 16, 2016:

    ROM:
    *Latest upstream (stable/cm-13.0-ZNH5Y) CyanogenMod changes
    *Android Security Patch Level: October 1, 2016
    *Fixed lock-screen appearing for a split second when unlocking with the fingerprint sensor
    *Camera: Fixed glitches when zooming
    *Camera: Fixed over-sharpening
    *Fixed bug in reported LTE mobile signal strength (dBm was not being converted to ASU correctly)

    Kernel:
    *Android Security Patch Level: October 1, 2016
    *Updated to CAF LA.HB.1.3.2-29100-8x96.0
    *Partially fixed over-exposure when capturing images with flash (over-exposure still occurs in some cases)
    *Flashlight is 2x brighter
    *Removed GPU input boost
    *Switched from Deadline to CFQ I/O scheduler
    *Switched from cluster_plug to official core_ctl hotplug driver from Qualcomm (better performance + battery life)

    September 28, 2016:
    ROM:
    *Latest upstream (stable/cm-13.0-ZNH5Y) CyanogenMod changes
    *Added sRGB mode and all of the LiveDisplay features present in official CyanogenMod
    *Camera: Fixed touch-to-focus
    *Removed cLock wakelock

    September 25, 2016:
    ROM:
    *REQUIRES OXYGENOS 3.2.6 FIRMWARE!
    *Updated to stable/cm-13.0-ZNH5Y CyanogenMod branch
    *Implemented fingerprint pocket mode by myfluxi
    *Updated proprietary libraries from OxygenOS 3.2.6
    *Updated audio, display, and media HALs to CAF LA.HB.1.3.2-27300-8x96.0
    *Updated Adreno graphics libraries to CAF LA.HB.1.3.2-20700-8x96.0 (same as the official CM nightlies)
    *Fixed SIM cards becoming unrecognized when changing the preferred mobile network mode
    *Fixed display brightness not changing after unlocking with the fingerprint sensor while ambient display is running
    *Added Gello browser

    Kernel:
    *Updated to CAF LA.HB.1.3.2-27300-8x96.0
    *Fixed indefinite USB wakelock

    September 17, 2016:
    ROM:
    *Latest upstream (stable/cm-13.0-ZNH2K) CyanogenMod changes
    *Android Security Patch Level: September 6, 2016
    *Improved fingerprint unlock speed
    *Improved GPS speed and accuracy
    *Fixed soft reboots while using GPS

    Kernel:
    *Android Security Patch Level: September 6, 2016
    *Updated to CAF LA.HB.1.3.2-26600-8x96.0 (big update)
    *Updated WiFi drivers to CAF LA.HB.1.3.2-26600-8x96.0

    September 3, 2016:
    ROM:
    *Latest upstream (stable/cm-13.0-ZNH2K) CyanogenMod changes
    *Improved GPS

    Kernel:
    *Updated to CAF LA.HB.1.3.1.c1-13300-8x96.0
    *Fixed microphone not working when headphones are plugged in
    *Fixed random reboots when connected to an Apple AirPort router (thanks to @ShotByMeir for testing)
    *Made CPU boost driver more efficient
    *CPU is underclocked less now (big cluster max frequency: 1920MHz, LITTLE cluster: 1478MHz)
    *Fixed dozens of coding errors detected across the entire kernel
    *Kernel is now compiled with a newer version of Google's toolchain (the latest version available)

    August 25, 2016:
    ROM:
    *Latest upstream (stable/cm-13.0-ZNH2K) CyanogenMod changes
    *Updated WiFi configuration from OxygenOS
    *Fixed incorrect battery statistics
    *Fixed built-in Music app randomly playing music

    Kernel:
    *Updated to CAF LA.HB.1.3.1.c1-12700-8x96.0
    *Added several security fixes
    *Fixed zero deep sleep issue for people who used off-screen gestures (such as DT2W)
    *Fixed constant kernel wake-ups (that were causing poor battery life due to lack of deep sleep)
    *Improved battery life while the screen is on
    *Potentially fixed random reboots
    *Fixed kernel wakelock statistics in BetterBatteryStats

    August 23, 2016:
    ROM:
    *Latest upstream (stable/cm-13.0-ZNH2K) CyanogenMod changes
    *Fixed built-in camera app not working after taking a picture
    *Removed some buggy GPS components

    Kernel:
    *Added replacement for /sys/kernel/debug/wakeup_sources (/proc/wakeup/wakeup_sources; you can view wakelock info from here)

    August 22, 2016:
    ROM:
    *Latest upstream (stable/cm-13.0-ZNH2K) CyanogenMod changes
    *Fixed FLAC playback

    Kernel:
    *Fixed touch issues in various apps (such as Chrome and Instagram)

    August 21, 2016:
    ROM:
    *Initial release

    Kernel:
    *Initial release
     
    Last edited: Dec 12, 2016

    #2
    RossThompson96 and Evokkimus like this.
  3. 69gm
    Jelly Bean Aug 21, 2016

    69gm , Aug 21, 2016 :
    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. If you want to remove the CPU underclock then flash the zip from the first post that disables the underclock. You must flash this zip every time you install a new ROM update.
     
    Last edited: Aug 21, 2016

    #3
  4. 69gm
    Jelly Bean Aug 21, 2016


    #4
  5. 69gm
    Jelly Bean Aug 21, 2016


    #5
  6. 69gm
    Jelly Bean Aug 21, 2016

    69gm , Aug 21, 2016 :
    A quick disclaimer from @Sultanxda:

    "Alrighty, everything has finally finished uploading. I originally wanted to spend more time working on this (I already spent a month and half so far), but my classes start next week so I won't have as much free time. The included camera app is currently very boring (very few features), but the photos it takes should be somewhat close to OxygenOS in terms of quality. I haven't tweaked the camera HAL a lot either, so it's pretty boring as well. I'm going to do more stuff with the camera later on, but camera stuff is time consuming, so it will take me a while.

    I've been running this as my daily driver for a while and it's been going smoothly. There might be a few missing features at first (sRGB mode is missing), but I'll keep adding more stuff as time passes."

    Anyone who has followed his work knows that he will work (as his busy schedule allows) to make this one of the best, most stable ROMs, available. And his camera is still one of the best you can find so given time, he'll rock that too!

    Any other CONSTRUCTIVE things you have to say, please add, but keep in mind that Sultan has probably either thought of it but just didn't have time or is something he's not interested in implementing. Remember, he's always been about a "pure" Android experience as much as possible with the niceties of CM thrown in.

    Anyway, enjoy!
     

    #6
    jstepa likes this.
  7. glassfish777
    Cupcake Aug 21, 2016

    glassfish777 , Aug 21, 2016 :
    I've been using this ROM for the past month as a beta tester and I'm really happy to report that it's absolutely outstanding. I'm really happy to report 6-8 hours of screen on time on average for me. The phone also remains very cool under heavy use. The op3 often heated up to uncomfortable levels with stock and Sultan did a great job underclocking to maximize performance and thermal efficiency. The ROM also features all kinds of great goodies like an improved camera HAL, better security, and all kinds of bug fixes. The headphone jack,touchscreen, and video recording all work as they should with no bugs or issues. The only thing some people may complain about is Sultan not using the latest cm snapshot. Sultan did try the nighties and I will attest that battery life was absolutely awful with them so going with ZNH2K was definitely the right decision for now. I hope you all enjoy this ROM cause Sultan did a fantastic job with it.
     

    #7
    69gm likes this.
  8. 69gm
    Jelly Bean Aug 21, 2016

    69gm , Aug 21, 2016 :
    You can trust @glassfish777's review folks! He's been helping @Sultanxda get it ready to push to the public like I do for the OnePlus One.

    Give it a try!
     

    #8
  9. KforHorizon
    KitKat Aug 21, 2016


    #9
    69gm likes this.
  10. divinityQQ
    Honeycomb Aug 21, 2016


    #10
    69gm likes this.
  11. ritchiedrama
    Ice Cream Sandwich Aug 21, 2016

    ritchiedrama , Aug 21, 2016 :
    It is heree
     

    #11
  12. divinityQQ
    Honeycomb Aug 21, 2016


    #12
  13. ritchiedrama
    Ice Cream Sandwich Aug 21, 2016


    #13
  14. Busjen
    Ice Cream Sandwich Aug 21, 2016


    #14
  15. 69gm
    Jelly Bean Aug 21, 2016


    #15
  16. Its_rudy
    Froyo Aug 21, 2016

    Its_rudy , Aug 21, 2016 :
    can i dirty flash it over the official cm build? i don't want to start all over again?
     

    #16
  17. Echo_2000
    Froyo Aug 21, 2016

    Echo_2000 , Aug 21, 2016 :
    Nope.. this is an older branch
     

    #17
  18. Its_rudy
    Froyo Aug 22, 2016

    Its_rudy , Aug 22, 2016 :
    im not on the nightlies, im on the snapshot version
     

    #18
  19. helloworld08
    Cupcake Aug 22, 2016

    helloworld08 , Aug 22, 2016 :
    for those that are interested, Android Pay works on this rom.

    I have not flashed the root yet.
     

    #19
  20. 69gm
    Jelly Bean Aug 22, 2016

    69gm , Aug 22, 2016 :
    Please read through the OP. "First time installation" means exactly that. First time using this ROM. Branch is different so I wouldn't recommend any dirty flashing if you don't want problems.

    If you still dirty flash and encounter problems, you will not be supported...
     

    #20