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 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
-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 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): https://github.com/sultanxda/android_kernel_oneplus_msm8996
Local manifest (contains the rest of the sources): https://github.com/sultanxda/android/blob/master/oneplus3/cm-13.0-stable/local_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 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.
Downloads:
Firmware (one-time installation): http://oxygenos.oneplus.net.s3.amaz...8_OTA_029_all_1612131737_17e7161d2b234949.zip
ROM:
Please read through the installation instructions before installing this for the first time.
Mirror 1: https://forum.xda-developers.com/devdb/project/dl/?id=24515
Mirror 2: https://www.androidfilehost.com/?w=files&flid=135376&sort_by=date&sort_dir=DESC
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): http://forum.xda-developers.com/apps/supersu/stable-2016-09-01supersu-v2-78-release-t3452703
XDA:DevDB Information
Unified CM13.0 with custom 3.18.20 kernel, ROM for the OnePlus 3T
Contributors
Sultanxda
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
Changelog:
April 30, 2017:
ROM:
*Android Security Patch Level: April 1, 2017
*Camera: Changed default sharpness setting to 2 (this is what OxygenOS uses)
Kernel:
*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:
ROM:
*Fixed touchscreen firmware update process
*Updated touchscreen firmware from the latest OxygenOS Open Beta
March 25, 2017:
ROM:
*Increased the maximum number of background apps allowed in memory back to 60
*Camera: Reduced the chances of capturing an out-of-focus picture
Kernel:
*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:
ROM:
*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
Kernel:
*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:
ROM:
*Fixed VoLTE
*Camera: Fixed freezing when capturing photos with flash
*Fixed reboots during H.265 (HEVC) video playback
Kernel:
*Added missing cpusets support (cpusets are fully functional now)
February 12, 2017:
ROM:
*Android Security Patch Level: February 1, 2017
Kernel:
*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:
ROM:
*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:
ROM:
*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
Kernel:
*Updated to CAF LA.HB.1.3.2-35300-8x96.0
January 15, 2017:
ROM:
*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)
Kernel:
*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:
ROM:
*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)
Kernel:
*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:
ROM:
*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
Kernel:
*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:
ROM:
*Initial release
Kernel:
*Initial release
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 OP3Ts; because of this, the CPU underclock cannot be disabled.
Great! Thank you for bringing CM to 3T
Sent from my Nexus 6 using XDA-Developers mobile app
Thank you so much for this! Can't wait to try it!
YES!
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.
Schrotty35 said:
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.
Click to expand...
Click to collapse
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 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.
Great work, so nice and smooth.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thank you for this ROM
cant believe it.
used your rom on Oneplus One aswell. very nice.
did you tweak the touchscreen latency aswell?
First test, all working. Only the camera is badly. The 3t use eis 2.0, the 3 use eis 1.
Great work . Any plans for cm14.1
Gesendet von meinem ONEPLUS A3003 mit Tapatalk
Instead of everyone saying an individual "Thank you" or "Can't believe it" post.
Just hit "Thanks" in the OP.
Otherwise this thread will quickly fill.
We all appreciate what has happened.
Schrotty35 said:
First test, all working. Only the camera is badly. The 3t use eis 2.0, the 3 use eis 1.
Click to expand...
Click to collapse
Is the camera even worse on this/cm?
Good to see here @Sultanxda
Enviado desde mi ONEPLUS A3003 mediante Tapatalk
Sultanxda said:
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)
DASH charge
Dynamic CPU input boost driver I wrote myself (makes the phone feel smooth without destroying battery life)
Reduced display power consumption
Haptic feedback is automatically disabled during phone calls and video recordings
Improved touchscreen processing
Improved audio jack detection (no more weird buzzing noise and headphones are always detected on the first try)
CPU underclocked by default (big cluster: 2054MHz LITTLE cluster: 1593MHz) (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
Click to expand...
Click to collapse
It's probably worth mentioning your SafetyNet unlocked bootloader bypass here.
Notor1ouS- said:
cant believe it.
used your rom on Oneplus One aswell. very nice.
did you tweak the touchscreen latency aswell?
Click to expand...
Click to collapse
have u noticed any latency issues Sultan?
Is there anyone who's flashed this already on T-Mobile with the 4G / 4G+ switching issue ?? Any difference?
Also thank you so much for making this.
@ the 14.1 question: I would assume when OP pushes the stock nougat build, THEN dev might start/combine for CM14.1 but idk how it works in earnest
Hello everyone I'm sharing this camera app I found somewhere in this forum. Which is working on my onyx with most of 7.1.2 ROMs. Please check it out and share your views on it.
Download
? HERE
just test it...
running on AOSP 8.1... what's working:
- HDR & HQ
- 4K video recording
- Panorama
- Slow motion
- Oneplus watermark
Issues:
- Flashlight read false cpu temp even though my cpu under 45 degree celcius
- No photos when click on results (we need OOS Gallery to work)
Test this on very low light condition atm (just woke up tho)
will test this outside after take a bath
btw, thanks for sharing :good:
That's cool to share but you should tell who did the work to give him/her credit.
intoxicated.mad said:
Hello everyone I'm sharing this camera app I found somewhere in this forum. Which is working on my onyx with most of 7.1.2 ROMs. Please check it out and share your views on it.
Click to expand...
Click to collapse
HDR working
1080p max video recording.
no manual mode present
Panorama mode needs image stabilization, shaky photos.
where is 4k?
psychem said:
where is 4k?
Click to expand...
Click to collapse
it'll be there if you were using Sultanized ROMs
example; AOSP 8.1 nor LOS 15.1 by YumeMichi
or use any ROM by Sultan XDA
it's HAL related thing
yayakuya said:
it'll be there if you were using Sultanized ROMs
example; AOSP 8.1 nor LOS 15.1 by YumeMichi
or use any ROM by Sultan XDA
it's HAL related thing
Click to expand...
Click to collapse
ok i'm on lineage 14.1
is panorama mode working better on sultan based roms?
is manual mode present?
can i flash sultan hal on lineage 14.1?
psychem said:
ok i'm on lineage 14.1
is panorama mode working better on sultan based roms?
is manual mode present?
can i flash sultan hal on lineage 14.1?
Click to expand...
Click to collapse
i didn't try it (LOS 14.1) yet, so idk idea
you might have to try your self
then, good luck
yayakuya said:
i didn't try it (LOS 14.1) yet, so idk idea
you might have to try your self
then, good luck
Click to expand...
Click to collapse
LOS 14.1 camera has the sutan camera GUI. Dont know which hal it is using.
Very Good, but no save in SD option. That probably because de OP5 don’t have SD !