[EOL][OP3T][ROM+KERNEL] Unofficial CyanogenMod 13.0 with custom kernel [Apr 30, 2017] - OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve

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

Related

[ROM][4.2.2] CyanogenMod 10.1 20140430 [ONLY ONE FULLY WORKING]

Hello!
This is development thread of CyanogenMod 10.1 by NovaFusion.
Credits:
Macław
marcin1147
Huge thanks to CyanogenMod team.
You can get it from http://novafusion.pl/.
Download is directly provided from our servers - it's fast, stable and fully resumable!
XDA:DevDB Information
CyanogenMod 10.1, ROM for the Samsung Galaxy S III Mini
Contributors
New Macław, marcin1147
ROM OS Version: 4.2.x Jelly Bean
ROM Kernel: Linux 3.0.x
Based On: CyanogenMod
Version Information
Status: Stable
Current Stable Version: 20140430
Stable Release Date: 2014-04-30
Created 2013-10-28
Last Updated 2014-06-11
Features / Issues
Features
RIL (call/messages/3G)
2D/3D HW Acceleration
GPS and A-GPS – fast fix getting
Glonass navigation
compass
audio (both speakers/headphones/microphone)
sensors
Wi-fi
bluetooth
all native tethers (Wifi/BT/USB)
native Wifi tether
camera (normal/panorama/camcorder)
Google Play
full CM10.1 functionallity
CPU sleep mode
App2sd support
SIM Toolkit
MTP
ADB
no flicker
full hardware video acceleration (720p)
YouTube HQ
Wifi direct
3.0.101 kernel
BLN (backlight notifications) support
offline charging
64GB+ sdcard native support (exFAT)
auto EFS backup
New BT/GPS/Wifi/offline charging/audio drivers – no longer buggy Samsung’s ones!
Issues
none
Changelogs
20140430
CM sources update
all changes as for last CM11.0 releases
Odin package also updated
20140404
CM sources update
USB OTG support (beta)
new RIL backported to 4.2 (1/2)
all changes as for latest CM11 releases
Odin package also updated
20140226
CM sources update
audio: autodetect for 44.1/48KHz
RIL: remove some uneeded AOSP stuff
better power managment
better memory managment (we have enough RAM to use it)
better apps running in background management
even more AOSP-like OMX implementation
AOSP-like RIL
small stability improvements
reduced spam in logs
less /data partition usage by system
better FM signal (but still needs SpiritFM to work)
better BT signal range
Odin package also updated
20140219
CM sources update
stable release
small UI improvements
tethering via 802.11n support
OS X USB tethering support
bugfixes in changes from last week
STE libs from source [part #3]
faster MTP file transfer
STE libs from source [part #4]
toolchain update
bugfixes for PowerAMP with activated Direct Volume Control
correct HW acceleration by GPU [testing]
experimental fix for 1GHz bug
big overall RIL improvements
Odin package also updated
20140213
CM sources update
huge display improvements – much faster UI (wipe dalvik is recommended!)
device cleanup
faster offline charging
BT: faster file transmission
bugfixes in liblight (screen/buttons backlight)
reduced delays in Phone app
reduced delays in receiving messages in stock app
improvements in exFat support
Odin package also updated
20140208
CM sources update
AOSP RIL support (5/5)
audio from sources [testing] (2/3)
huge cleanup
switching from STE blobs to sources [part #1]
battery improvements
switching from STE blobs to sources [part #2]
support for 48KHz audio (in/out)
[testing] huge microphone quality improvements
switching from STE blobs to sources [part #3]
resolved minor bugs in changes from last days
switching from STE blobs to sources [part #4]
RIL: signal stability & national roaming improvements
toolchain update
RIL: faster network searching
AOSP OMX/Camera: better buffers freeing
in-call audio quality resolved (issue were only for some networks)
battery stats are more accurate
faster boot
RIL: overall cleanup
BT: transfer rate improvements
Wifi: lower battery consumption due to autoscan disable when connected
GPS improvements
Odin package also updated
20140129
CM sources update
natively RIL patches instead of using java class (better RIL stability and less battery usage – WIP)
AOSP-like OMX/Camera implementation
AOSP RIL support (1/5)
removed all unused java classes
AOSP RIL support (3/5)
fixed some bugs in multimedia fix
AOSP RIL support (4/5)
audio from sources [testing] (1/3)
Odin package also updated
20140121
CM sources update
stable release
phone (Dialer app) is working very fast now
small tweaks for stability
added command line bluetooth tools for debbugging
huge UI smoothness improvements
video playing improvements
huge device cleanup
resolved all issues with 2g/3g toggling
preparing for OTA (WIP)
Odin package also updated
20140114
CM sources update
stable release
removed unused part of camera implementation to make it faster
stability improvements
removed unused by us BT stuff (next part of FM implementation)
small audio improvements
minor bug fixes
Odin package also updated
20140109
CM sources update
improved battery life broken by latest CM changes
improved stability broken by latest CM changes
less energy consumption by the screen
fully fixed camera preview in every app
fully fixed video playing in all apps
faster shutdown
Odin package also updated
20131215
CM sources update
WE HAVE RESOLVED ALL DISPLAY ISSUES!
no flickering/tearing at all – just like on stock ROM
fluid UI
enabled tripple buffering
Odin package also updated
20131130
CM sources update
Odin package
merged all CM10.2/CM11.0 changes
64GB+ card support (exFAT)
3.0.101 kernel
removed delay in Torch
new OMX implementation with fixed buffers
a lot of, but I can’t list all of them
20131019
new kernel - 3.0.100
big performance boost (also visable in Antutu score)
better CPU managing
CM sources update
better RAM managment
20131016
finally fixed reboots (thanks Rox for help)
optimalization
Hotplug is the default governor right now
Second CPU core is getting disabled when screen is off – happy battery
20131010
our remake of OMX implementation for fix reboot issues
added option to disable buttons backlight (BLN also won’t work when disabled) [Advanced menu in Settings app]
some acceleration changes and improvements – thanks to lupohirp
CM sources update
device cleanup
accelerated FLAC files playing – saves battery when listening to them
20131001
RIL improvements
if you had random reboots with last release, it should be ok now
20130930
CM sources update
updated Oliver’s OMX implementation
YT/Instagram/HTML5 videos finally fixed!
RIL improvements
20130928
CM sources update
fixed too loud incomming calls volume bug – now you can set it as you want
now you don’t have to wait so long after answering call to start talking
offline charging bugfixed – now everything should be ok!
optimized offline charger
20130924
CM is now 10.1.3!
Wifi MAC address is now correct!
Auto EFS backup to save your IMEI, MAC and other codes!
offline charging bugfixed – now it will turn off when disconnecting from charger
64GB+ sdcard native support – exFAT filesystem is supported now
Test video fixes [YT/Instagram] (thanks to tys0n for huge help!)
20130919
offline charging made from a scratch by us (beta, some bugs might present)
whole system compiled with GCC4.7!
battery improvements
updated CM sources
20130908
fixed RIL issues for people, who had to enable and disable airplane mode to get 3G working
CM is now smooth and fast like never ealier
added hotplug governor – please, test if it’s better than Interactive and give us a feedback soon!
20130907
really resolved low volume in incoming calls
resolved low volume when switching between spearker and earpiece (in calls)
CM sources updated
RIL update
audio updates
smartassv2 governor added (but we still recommend to stay at default Interactive)
battery improvements
20130904
resolved camera bugs (for example now flash icons are correct)
fixed mic mute bug in calls
CM sources updated
RIL update
audio: microphone quality improvements
20130829
fully implemented BT with full speed and A2DP support
wifi driver updates
it seems that 1Ghz bug when rebooting with enabled Wifi is gone
BLN (backlight notification) support
lights driver optimization
ALSA driver update
20130826
gps/bt driver update (yes, as yesterday’s PAC there’s fully and fast working GPS)
GLONASS navigation support!
CM sources update
new YouTube app issues resolved
new audio ALSA driver!
better audio quality (for example on headset more exact bass)
low-latency audio mode
optimised for Android only
optimised OMX (video) core for Android only (~50% less lib size! – from stock ~80KB to ours ~40KB)
optimised libblthw – faster camera
implemented new MaclawRIL
logcat cleaned from no-needed services
20130801-2
HD 720p video recording
HD 720p video playing
flickering is gone (almost all changes which we made for fix it on CM10 are ported, when we port rest of them phone will get smoother)
new, made by us, Bluetooth driver (instead of buggy Samsung’s one)
new, made by us, display driver (instead of buggy Samsung’s one)
updated Mali-400 (GPU) drivers
cleaned up ramdisk/kernel/device
removed unused services
OMX (video acceleration) layer is now build from sources, also cleaned from no needed stuff
libblt (camera lib) is now build from sources, also have been optimalized by us (now camera works faster and smoothly)
GPS driver update
Downloads
All releases and Google Apps are available for download from:
http://novafusion.pl
Download is directly provided from our servers - it's fast, stable and fully resumable!
Sources: https://github.com/NovaFusion
20130826 release is out!
New release is out!
You can get it from:
http://maclaw.pl/
New Macław said:
New release is out!
You can get it from:
http://maclaw.pl/
Click to expand...
Click to collapse
Awesome, cant wait for AOKP
just for your "No 1000MHz bug" statement
and the same with youtube...
aluk4rd said:
just for your "No 1000MHz bug" statement
and the same with youtube...
Click to expand...
Click to collapse
MY phone can sleep.....
S3miniFin said:
MY phone can sleep.....
Click to expand...
Click to collapse
my too, but after the wifi-off-reboot
Dudes, how about youtube works? My freeze after few second. Browser not respond. Tried rom default browser and another Boat Browser pro.
I tried look Tero pitkämäki (javelin world record...) video. He is finnish like i am ^^
EDIT: I use Oliver latest rom, sorry wrong topic...
S3miniFin said:
Dudes, how about youtube works? My freeze after few second. Browser not respond. Tried rom default browser and another Boat Browser pro.
I tried look Tero pitkämäki (javelin world record...) video. He is finnish like i am ^^
Click to expand...
Click to collapse
Just clear apps data that you use. I had same problem with youtube app, it was freezing some seconds after.
Cleaned youtube apps data and puff gone. Problem solved :good:
evolez said:
Just clear apps data that you use. I had same problem with youtube app, it was freezing some seconds after.
Cleaned youtube apps data and puff gone. Problem solved :good:
Click to expand...
Click to collapse
Thanks, but wont help. Now youtube freeze right away.
EDIT: I download from google shop youtube apps. Now videos works. But with web browsers wont.
S3miniFin said:
Thanks, but wont help. Now youtube freeze right away.
Click to expand...
Click to collapse
I dont know mate. Just try to make a clean install, after installation make factory reset.
ROM doesnt have the issue that you are talking about.
Something big is coming!
Sorry to ruin the fun, but I found a little bug, and it is really annoying: in camera app, when selecting blitz mode to off, it gets set to auto, when set to on it gets set to off, and when set to auto it turns the blitz on... Really weird and annoying.
Also, I can confirm the 1000 MHz bug is present and fixed by reboot with wifi off, which sucks anyway, but the amazingness of cyanogenmod beats it
Sent from my GT-I8190 using xda app-developers app
New Macław said:
Something big is coming!
Click to expand...
Click to collapse
what what what, please tell??!!?!? I can't sleep before
How big is it ? I am afraid of so big things
Mini things are good
Like S3 Mini
evolez said:
How big is it ? I am afraid of so big things
Mini things are good
Like S3 Mini
Click to expand...
Click to collapse
~160mo I think
Envoyé depuis mon GT-I8190 en utilisant Tapatalk 4
Haven't had the 1000 mhz bug in any of the builds I previously used, fingers crossed it won't pop up in this current build...
Either way, congratulations for your work, Maclaw!
vlt96 said:
Sorry to ruin the fun, but I found a little bug, and it is really annoying: in camera app, when selecting blitz mode to off, it gets set to auto, when set to on it gets set to off, and when set to auto it turns the blitz on... Really weird and annoying.
Also, I can confirm the 1000 MHz bug is present and fixed by reboot with wifi off, which sucks anyway, but the amazingness of cyanogenmod beats it
Sent from my GT-I8190 using xda app-developers app
Click to expand...
Click to collapse
thats strange i dont think im affected by that.... my cpu is entering deep sleeep wen the phone is unnused, tried with wifi on and off and it seems to be ok.
make shure you do a clean install.
this is what i do b4 flashing anything.
-backup(the most important thing to do b4 messing with the device)
-wipe data
-wipe cache
-wipe davilk blabalbal (i dont remember this name but it is da something xD)
-flash the rom
the only thing i can point its the camera... the flash is working in a strange way the buttons are in the wrong order but i can live with that xD
my results with CPU SPY
3 call's with 5-10 minutes each,
3-4 SMS
just a little bit of web browsing / email / facebook
NOTE: i only turn my wifi wen i need it. in the last 5hours it has been on 2 or 3 times
79% of the time it was on deep sleep
4% 1GHz
1% 800MHz
7% 400MHz
7% 200MHz
BTW i dont know how CPU spy do the rounding to units because 79+4+1+(2x7)= 98%

[EOL][ROM+KERNEL] Unofficial CyanogenMod 12.1 with CAF 3.4.0 kernel [Apr. 10, 2016]

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 CyanogenMod 12.1 build I developed after seeing some of the craziness in the official CyanogenMod kernel (such as massive merges from different sources and untested cherry-picks that introduce random reboots), as well as craziness with CyanogenMod's camera libraries. If you just want your phone to work without any fancy frills then you might be interested in using this. The ROM is the same as official CM12.1 on the outside, but there have been many optimizations under the hood. It comes with a fancy unique kernel I worked on that is cleanly based off of the latest CAF sources from Qualcomm.
Custom kernels are not compatible with this ROM unless otherwise noted. I will not provide support if you install a custom kernel.
ROM features:
Based off latest generic CyanogenMod 12.1 stable sources (root access is not included)
OTA updates via built-in CMUpdater
OxygenOS camera libraries (no camera bugs and improved camera performance)
Snapdragon Camera app by Qualcomm (comes with many unique features, such as high-speed recording with audio)
Custom camera HAL featuring:
-Intelligent anti-shake algorithm (significantly reduces motion blur when capturing photos)
-Faster autofocus in low lighting conditions
-No stuttering/frame drops in camera viewfinder (viewfinder frame rate won't go below 30 FPS)
-Slow-motion video recording at 60 FPS, 90 FPS, and 120 FPS for 720p, and 60 FPS for 1080p
-High-speed video recording with audio at 60 FPS, 90 FPS, and 120 FPS for 720p, and 60 FPS for 1080p (you need to use the Snapdragon Camera app in order to use high-speed recording)
-1080p video recording with the front-facing camera
-2.5k 1440p video recording with the front-facing camera and back camera (only with the Snapdragon Camera app that comes with the ROM)
-4k video recording at UHD and DCI resolutions
-Manual focus
-Manual ISO control
-Slow shutter (ranging from 1/5000th of a second to 2 seconds)
-More picture sizes than plain OxygenOS, such as 9.7MP 16:9
Many other misc. improvements under the hood
Kernel features:
Based off latest CAF Lollipop kernel source from Qualcomm (LA.BF.1.1.1_rb1.26)
Removed lots of excessive bloat
Rewrote battery driver (for the BQ27541 fuel-gauge chip; battery % readings are more accurate, there are various
safety mechanisms now, and you may get better battery life)
Rewrote half of the Synaptics touchscreen driver (over 2500 lines of code modified; your touchscreen might work better)
Newest available Synaptics touchscreen firmware (no battery drain)
Dynamic CPU input boost driver I wrote myself (makes the phone feel smooth)
CPU underclocked to 1958MHz by default (you can disable this; see why I did this in the FAQ in the 3rd post)
Vibrator is automatically disabled when recording videos (so the buzzing noise doesn't get in the videos)
Custom thermal driver I wrote myself (keeps the phone cool)
LCD KCAL by Savoca
Westwood TCP congestion algorithm (enabled by default)
F2FS support
NTFS support
No placebo patches, features, or compiler "optimizations"
Many other misc. improvements not listed here
Source code:
Kernel (cm-12.1-caf branch): https://github.com/sultanxda/android_kernel_oneplus_msm8974
Local manifest (contains the rest of the sources): https://github.com/sultanxda/android/blob/master/bacon/cm-12.1-stable/local_manifest.xml
Credits:
CyanogenMod and its contributors
CAF (aka Qualcomm)
myfluxi (awesome friend with lots of amazing contributions)
69gm (loyal guinea pig)
PA for the Google Apps
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). 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, and then reboot.
If you get an error when trying to install ("oppo.verify_trustzone" error), then first you must install/use TWRP recovery 2.8.6.0 (TWRP 2.8.7.0 cannot properly update the modem). Next, download and flash the latest official CM12.1 snapshot. Then, without rebooting from recovery, wipe /system and flash my ROM. This process is necessary to update various firmwares (including TrustZone), as the updated firmware is needed by my ROM. After flashing my ROM, flash a Google apps package, and then reboot.
Installation instructions (for updating to a newer release):
If you are already running my CM12.1 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.
Downloads:
ROM:
Please read through the installation instructions before installing this for the first time.
Mirror 1: http://forum.xda-developers.com/devdb/project/dl/?id=17892
Mirror 2: https://www.androidfilehost.com/?w=files&flid=33713&sort_by=date&sort_dir=DESC
Google Apps: http://forum.xda-developers.com/android/software/tk-gapps-t3116347
SuperSU (if you want root access): http://forum.xda-developers.com/showthread.php?t=1538053
Disable CPU underclock: http://forum.xda-developers.com/devdb/project/dl/?id=12808
XDA:DevDB Information
CM12.1 with clean CAF 3.4.0 kernel, ROM for the OnePlus One
Contributors
Sultanxda
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
Based On: CyanogenMod
Version Information
Status: No Longer Updated
Created 2015-05-28
Last Updated 2018-01-20
Changelog:
April 10, 2016:
ROM:
*Latest upstream (stable/cm-12.1-YOG7D) CyanogenMod changes
*Android Security Patch Level: April 1, 2016
*Camera: Reduced default JPEG quality to 95% (image files are smaller with no visible impact to quality)
*Camera: Made anti-shake algorithm less aggressive (images are better quality now)
*Camera: Improved image clarity
*Camera: Added ability to control JPEG quality in camera apps
*Snapdragon Camera: Added JPEG quality setting
*Fixed weather not displaying in cLock widget
Kernel:
*Android Security Patch Level: April 1, 2016
*Added F2FS support
*Camera: Fixed severe overexposure when using flash
*Flashlight is 2.5x brighter
*Fixed msm_cci_wakelock never disappearing in rare cases
*Updated display backlight driver from upstream cm-13.0
March 12, 2016:
ROM:
*Latest upstream (stable/cm-12.1-YOG7D) CyanogenMod changes
*Android Security Patch Level: March 1, 2016
*Camera: Implemented intelligent anti-shake algorithm (significantly reduces motion blur when capturing photos)
*Camera: Faster autofocus in low lighting conditions
*Camera: No stuttering/frame drops in camera viewfinder (viewfinder frame rate won't go below 30 FPS)
*Removed LockClock weather hack (Yahoo! weather provider is back)
*Reverted WiFi configuration update from OxygenOS 2.1.4 (caused issues with 5 GHz networks for some users)
*Added upstream fix for Contacts force close
*Reduced earphone speaker volume
Kernel:
*Android Security Patch Level: March 1, 2016 (CVE-2016-0821)
February 7, 2016:
ROM:
*Latest upstream (stable/cm-12.1-YOG7D) CyanogenMod changes
*Android Security Patch Level: February 1, 2016
*Fixed weather not displaying in cLock widget
January 31, 2016:
ROM:
*Latest upstream (stable/cm-12.1-YOG7D) CyanogenMod changes
*Updated WiFi configuration from OxygenOS 2.1.4
Kernel:
*Rewrote battery driver (for the BQ27541 fuel gauge chip):
-Battery % readings are more accurate
-Added various safety mechanisms
-You may get slightly better battery life
January 7, 2016:
ROM:
*Latest upstream (stable/cm-12.1-YOG7D) CyanogenMod changes
*Added upstream fix for black screen bug when using system profiles (NIGHTLIES-1721)
*Snapdragon Camera: Fixed user-set preferences getting reset when changing scene mode
Kernel:
*Added NFS support
January 5, 2016:
ROM:
*Latest upstream (stable/cm-12.1-YOG7D) CyanogenMod changes
*Android Security Patch Level: January 1, 2016
*Updated WiFi firmware (WCNSS version: CNSS-PR-1-4-1-c5-00086)
Kernel:
*Actually fixed double-tap-to-wake/gestures not working sometimes
*Fixed USB OTG not working when plugging the OTG cable in while the device is asleep
*Android Security Patch Level: January 1, 2016 (CVE-2015-6640)
December 20, 2015:
ROM:
*Latest upstream (stable/cm-12.1-YOG7D) CyanogenMod changes
*Snapdragon Camera: Fixed UI glitches when on-screen nav bar is enabled
*Fixed video calling in Skype and Viber
*Fixed poor video quality in WeChat
Kernel:
*Fixed double-tap-to-wake/gestures not working sometimes
*Added support for various human-interface devices (such as PlayStation and Wii controllers)
*Added support for CIFS
December 13, 2015:
ROM:
*Latest upstream (stable/cm-12.1-YOG7D) CyanogenMod changes
*Fixed force close when switching to camcorder mode in Snapdragon Camera
*Added updated proprietary libraries from CM's stable/cm-12.1-YOG7D branch
Kernel:
*Fixed slow charging
December 12, 2015:
ROM:
*Latest upstream (stable/cm-12.1-YOG7D) CyanogenMod changes
*Camera: Fixed rare split-exposure bug
*Camera: Fixed poor video quality during video calls (e.g. wrong aspect ratio in Hangouts)
*Added camera sensor calibration from CM (picture quality may be slightly better)
*Snapdragon Camera: Added option for zero-second tap-to-focus duration (especially useful while recording videos)
Kernel:
*Fixed screen backlight never turning off when ambient display is enabled (credit: myfluxi)
*Disabled MMC deferred resume (might've been causing rare reboots)
December 1, 2015:
ROM:
*Latest upstream (stable/cm-12.1-YOG7D) CyanogenMod changes
*Reverted GPS changes from previous build
*Added OxygenOS WiFi configuration
*Added HydrogenOS WiFi firmware
*Snapdragon Camera: Removed panorama mode
Kernel:
*Disabled CPU boosting on thread migration (fixes occasional high battery drain and overheating, especially when streaming videos)
*Rewrote core logic of CPU boost driver (better efficiency, better battery life, and phone heats less now)
November 16, 2015:
ROM:
*Latest upstream (stable/cm-12.1-YOG7D) CyanogenMod changes
*Renamed "Snapdragon Camera" to "Camera"
*Snapdragon Camera: Fixed exposure and white balance not changing after taking a picture
*Snapdragon Camera: Fixed some minor annoyances
*Camera: Antibanding is always enabled
*Updated WiFi configuration
*Updated GPS configuration
Kernel:
*Screen turns on faster
Old changelogs:
November 1, 2015:
Kernel:
*Reverted battery driver change (to fix random reboots... again)
October 31, 2015:
ROM:
*Latest upstream (stable/cm-12.1-YOG7D) CyanogenMod changes
*Updated WiFi configuration yet again
*Fixed WiFi hotspot getting disabled when mobile signal is lost
*Removed 'Prevent accidental wake-up' feature (it is very broken)
Kernel:
*Added battery driver from official CM12.1 kernel (should fix shut down at 20% battery for some users)
October 27, 2015:
ROM:
*Latest upstream (stable/cm-12.1-YOG7D) CyanogenMod changes
*Reverted back to original WiFi firmware images
*Tweaked WiFi configuration slightly
*Camera: Potentially fixed split-exposure bug when taking photos with flash in sunny conditions
*Snapdragon Camera: Added option to control anti-banding in camcorder mode
Kernel:
*Fixed headset buttons
*Fixed volume going up to the maximum or minimum when plugging in a headset
*Removed pink tint from notification LED
*Added support for JDI video-mode display (this could be the reason why some people couldn't boot CAF ROMs)
October 25, 2015:
Kernel:
*Reverted battery driver change (to fix random reboots)
October 24, 2015:
ROM:
*Latest upstream (stable/cm-12.1-YOG7D) CyanogenMod changes
*Fixed T-Mobile Visual Voicemail
*Added back WiFi firmware from the LG G3
*Snapdragon Camera: Enabled antibanding (auto antibanding mode) for camcorder
Kernel:
*Fixed very loud static noise when using headset microphones
*Fixed graphical artifacts when waking device from sleep for some users (it should definitely be fixed this time)
*Fixed device requiring multiple power-button presses to wake from sleep for some users
*Added battery driver from official CM12.1 kernel
October 17, 2015:
ROM:
*Latest upstream (stable/cm-12.1-YOG7D) CyanogenMod changes
*Reduced CPU boost frequencies (better battery and less heating)
*Increased earpiece speaker volume
*Permitted installation with HydrogenOS firmware
*Fixed WiFi-related random reboots affecting a small group of users
*Potentially fixed mobile network not reconnecting after signal is lost for a long period of time
*Camera: Removed ISO HJR option (it wasn't working)
*Fixed GSM signal strength hack (you will no longer see 103% signal strength)
Kernel:
*Fixed static background noise heard when using a headset
*Re-enabled ULPS for users with a Sharp panel
*Added fix for graphical artifacts when waking device from sleep for some users
*Fixed slow charging speed with some cables (charging speed should be the same as the CM kernel now)
October 11, 2015:
ROM:
*Latest upstream (stable/cm-12.1-YOG7D) CyanogenMod changes
*Increased mobile signal strength
*Fixed camera crashing in Bank of America app
*Fixed manual ISO control for camera
*Snapdragon Camera: Added option to control ISO
*Snapdragon Camera: Added option to control shutter speed
*Snapdragon Camera: Fixed aggressive auto rotation
*Disabled Fluence (dual-microphone mode; this should fix the distortion insanity)
Kernel:
*Fixed graphical glitches for users with a Sharp panel
*Fixed battery not charging with car chargers
October 4, 2015:
ROM:
*Latest upstream (stable/cm-12.1-YOG7D) CyanogenMod changes
*Fixed call recording
*Added upstream camcorder audio distortion fix (http://review.cyanogenmod.org/#/c/110690/)
*Fixed inverted audio channels in camcorder
*Fixed microphone distortion in phone calls from previous build
*Snapdragon Camera: Exposure and white balance are now locked when using tap-to-focus
*Snapdragon Camera: Added option to change the tap-to-focus duration
*Switched back to CM's WiFi firmware and configuration
Kernel:
*Fixed headset buttons
*Fixed Google Now getting automatically triggered when plugging in some headsets very quickly
*Relaxed thermal thresholds for the battery (again)
September 27, 2015:
ROM:
*Switched to new stable branch (YOG7D; this is equivalent to the nightlies as of September 22nd)
*Latest upstream (stable/cm-12.1-YOG7D) CyanogenMod changes
Kernel:
*Relaxed thermal thresholds for the battery
*Fixed slow-charge issue
*Fixed long delay for audio to transfer when plugging in certain headphones (such as Apple EarPods)
*Fixed music getting automatically paused when plugging in certain headphones (such as Apple EarPods)
September 25, 2015:
ROM:
*Latest upstream (stable/cm-12.1-YOG4P) CyanogenMod changes
*Switched back to original microphone configuration for phone calls (it's the same as it was with the Sep. 14th build, but now the microphone is slightly louder to fix the low-volume issues)
*Fixed broken volume control during phone calls
September 23, 2015:
ROM:
*Latest upstream (stable/cm-12.1-YOG4P) CyanogenMod changes
*Reduced microphone sensitivity
*Reduced earphone speaker volume
*Reduced audible background noise when using microphone
September 22, 2015:
ROM:
*Latest upstream (stable/cm-12.1-YOG4P) CyanogenMod changes
*Changed build keys to "release-keys" (maybe Android Pay will work?)
*Reduced earpiece-speaker volume
*Fixed low-volume microphone issues and distortion while Fluence is enabled (a.k.a. dual-microphone mode)
*Increased microphone volume
*Enabled Fluence for regular audio recordings
*Reverted camcorder microphone changes from CM in July
*Camera: Fixed incorrect exposure time reported in image details when slow-shutter is used
*Snapdragon Camera: Fixed Zero Shutter Lag option randomly getting enabled
*Reduced input-boost frequencies
Kernel:
*Reduced input-boost durations
September 14, 2015:
ROM:
*Latest upstream (stable/cm-12.1-YOG4P) CyanogenMod changes
*Re-enabled fluence (dual-mic)
Kernel:
*Fixed device not entering deep sleep after unplugging from charger (this fixes the high Android OS battery drain from the previous build)
*Added some fixes to the Interactive governor from the Nexus 5 CAF kernel
September 13, 2015:
ROM:
*Latest upstream (stable/cm-12.1-YOG4P) CyanogenMod changes
*Removed built-in root (use SuperSU instead)
*Changed build type from userdebug to user
*Fixed flashlight not turning off and camera completely breaking when using the flashlight while Trusted Face is enabled
*Removed modem "protection" (you can flash any modem you want now)
*Fixed @dcoulombe's major crash
*Updated part of the WiFi configuration from official CM12.1
*Increased input-boost frequency for primary CPU core (improves performance)
*Made Interactive governor scale up more aggressively (improves performance)
*Snapdragon Camera: Fixed reversed flash icons for camcorder flash option
Kernel:
*Fixed slow charging speed
*Removed ROW I/O scheduler
*Reduced long delay for a headset to start working after plugging it in (headsets are detected 2x faster now)
September 11, 2015:
ROM:
*Latest upstream (stable/cm-12.1-YOG4P) CyanogenMod changes
*Switched back to Lollipop modem (DI.3.0.c6-00241-M8974AAAAANAZM-1)
*Reduced input boost frequencies slightly
Kernel:
*Fixed long delay in audio transfer when plugging in a regular pair of headphones (this only applies to regular headphones, not headsets)
September 10, 2015:
ROM:
*Latest upstream (stable/cm-12.1-YOG4P) CyanogenMod changes
*Fixed flashing red borders
*Completely disabled strict mode (this is what fixed the flashing red borders)
*Switched to KitKat 44S modem (MPSS.DI.2.0.1.c7-00020-M8974AAAAANPZM-1)
*Increased input boost frequencies
*Updated GPS configuration from CM
*Video HDR is always disabled for 4k DCI (our ISP can't handle this)
*Switched back to WiFi (WCNSS) firmware from the LG G3
*Switched back to full WiFi configuration from the LG G3
*Snapdragon Camera: Added touch-to-focus for camcorder
*Snapdragon Camera: Added option to change focus mode for camcorder
*Snapdragon Camera: Disabled video HDR for 4k DCI (as stated above, our ISP can't handle this)
Kernel:
*Increased eMMC performance (via scheduling the MMC queue thread on idle CPUs)
*Increased bus bandwidth for the ISP (image signal processor)
*Increased clock rate of the ISP from 267MHz to 465MHz
*Fixed camera crashes while using video HDR with 4k UHD
September 6, 2015:
ROM:
*Latest upstream (stable/cm-12.1-YOG4P) CyanogenMod changes
*Enabled low-latency audio output
*Fixed camera crash while using video HDR
*Tweaked CPU governor for better battery life and lower heat output
*Snapdragon Camera: added updates from mikeNG (and a new icon from jrizzoli)
*Snapdragon Camera: fixed high-speed recording with 480p
*Snapdragon Camera: renamed many options for clarity
*Fixed poor quality with front-facing camera
Kernel:
*Added many updates to the audio subsystem from he official CM12.1 kernel and Nexus 5 CAF
*Added speaker and headphone configuration from official CM12.1 kernel (low speaker volume is fixed)
*Fixed most audio jack detection issues (aka fixed volume going down to zero or going up to max when plugging in headphones)
August 28, 2015:
ROM:
*Stable build based off of cm-12.1-YOG4P (you must perform a clean install to switch to stable builds; see the updated FAQ in the 3rd post and updated installation instructions in the OP for more details)
August 24, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed exposure time getting set to 1/5000th of a second when trying to disable slow-shutter
*Cleared ccache before building the ROM (maybe this will fix soft reboots?)
August 23, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Added support for slow shutter (ranging from 1/5000th of a second up to 2 seconds)
*Removed encoder options from Snapdragon Camera
Kernel:
*Fixed CPU getting stuck at 1958MHz while device is asleep
August 22, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Changed CPU governor to Interactive
*Tweaked Interactive for better efficiency
Kernel:
*Removed Smartmax governor
August 21, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed WiFi not automatically reconnecting for some users
*Fixed camera stability issues caused by undefined behavior (this should fix the flashlight reboots)
*Snapdragon Camera: fixed timelapse recording in 2.5k 1440p
*Snapdragon Camera: fixed incorrect viewfinder size for 13.1MP resolution
*Snapdragon Camera: fixed UI disappearing when trying to record video with invalid options (ex. trying to record HFR 120 video at 4k UHD resolution)
August 17, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Added back recent GPS change
*Fixed overheating (thermal settings are more aggressive now)
Kernel:
*Fixed glitches when the display turns on
August 16, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Added 2.5k 1440p video recording for the front-facing camera (you must use Snapdragon Camera)
*Added 2.5k 1440p video recording for the back camera (you must use Snapdragon Camera)
*Added flashlight fixes from CAF
*Updated part of the WiFi configuration from official CM12.1
*Reverted recent GPS change
Kernel:
*Possibly fixed glitches when the display turns on
August 14, 2015:
ROM:
*Latest upstream CyanogenMod changes
Kernel:
*Fixed overly-excessive and inconsistent thermal throttling
*Thermal driver now polls temperature sensor located on the PMIC instead of from TSENS
(thermal throttling is very accurate now, and it will throttle when the device actually feels hot)
*Fixed display backlight staying on (credit: myfluxi)
*Fixed unbalanced SPS IRQ enable (credit: myfluxi)
August 12, 2015:
ROM:
*Latest upstream CyanogenMod changes
Kernel:
*Fixed random reboots caused by Smartmax
August 11, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Disabled a/v streaming offload again (it was still breaking videos in browser)
*Switched back to old WCNSS (WiFi) firmware images
*Synced Snapdragon Camera with CAF
*Fixed incorrect video duration for HFR (slow-motion) videos
*Fixed touch-to-focus in HDR mode
*Fixed low framerate when recording 720p video with the front-facing camera
*Fixed manual focus
*Removed power HAL (it wasn't really doing anything)
*Fixed CPU max freq not sticking to 729MHz in low-power mode
Kernel:
*Reverted vidc drivers to CAF LA.BF.1.1.1.c3 (fixes random reboots)
*Display turns on faster now
*Fixed bugs in CPU input boost driver (CPU was not being boosted enough)
*CPU is boosted on thread migration
*CPU is boosted when waking the display and putting it to sleep
*Fixed touchscreen not working in doze (and hopefully fixed gestures/DT2W not working sometimes)
August 6, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed sensor calibration being reset on each boot
*Forced triple framebuffering (UI feels smoother)
August 5, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed compass (for real this time)
*Fixed some bugs in Snapdragon Camera
Kernel:
*Updated WiFi drivers back to CAF LA.BF.1.1.1_rb1.26
*Enabled regulatory feature for WiFi
August 4, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed 720p HFR (slow-motion) and HSR (high-speed) video recording at 90FPS and 120FPS with all camera apps
Kernel:
*Updated WiFi drivers to CAF LA.BF.1.1.1.c3-04100-8x74.0
August 3, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed 720p HFR (slow-motion) recording at 90FPS and 120FPS
*Added support for HSR (high-speed with audio) recording up to 120FPS for 720p and 60FPS for 1080p
*Added Snapdragon Camera app (only app that lets you record HSR videos)
*Removed option to record 1080p at 90/120FPS (making this work would require modification of the proprietary camera libraries)
*Fixed focus not working in HDR mode
*Reverted WiFi config changes from previous build
*Increased earpiece speaker volume
*Removed FWVGA camcorder resolution
*Re-enabled audio offload for a/v streaming
*Relaxed thermal thresholds
Kernel:
*Fixed display not turning on for users with a Truly panel
*Downgraded WiFi drivers to v3.8.20.5 (as these are what's used for the LG G3)
July 28, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Added 1080p video recording at 120 FPS
*Added ability to record video at 90 FPS (for both 720p and 1080p as well)
*Fixed broken video streaming in browsers (credit: myfluxi)
*Updated WiFi configuration (attempting to fix low WiFi speeds)
*Enabled audio offload for 12k and 24k sampling rates (credit: myfluxi)
*Disabled thermal-engine (we will use my kernel-based thermal solution instead)
*Enabled new kernel-based thermal mitigation
Kernel:
*Added homemade thermal driver (uses 3 throttling steps)
*Added various I/O scheduler tweaks for CFQ and Deadline (thanks to myfluxi)
*Fixed display not coming on for some users
*Fixed DT2W not working sometimes
July 25, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Added support for 1080P video recording with the front-facing camera
*Fixed framerate drop when taking picture while recording 4K video
*Updated complete WiFi configuration from LG G3 (better WiFi performance and stability)
*Updated WCNSS WiFi firmware from LG G3
*Fixed 30-degree error in compass (derp)
Kernel:
*Added and changed default TCP congestion algorithm to Westwood
*Added CD-ROM emulation support (FrozenCow)
*Added NTFS support
July 23, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed 4K video recording in all camera apps (such as Google Camera)
*Fixed several bugs with Google Camera (such as broken photosphere and panorama functionality)
*All firmware on the modem partition is now shipped with the ROM (so everyone will have the correct firmware and baseband no matter what)
*Disabled fluence in phone calls (may have caused reduced mic volume during calls)
*Synced GPS HAL with CAF LA.BF.1.1.1_rb1.26
*Reverted WiFi config update from CM that broke all the things
Kernel:
*Added a bunch of sched patches (thanks to myfluxi for finding and testing these)
July 19, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Added support for 4K video recording at UHD and DCI resolutions (only works with CameraNext and ColorOS camera)
July 17, 2015:
ROM:
*Latest upstream CyanogenMod changes
Kernel:
*Fixed encryption (TWRP can now mount encrypted /data partitions)
July 15, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Changed default I/O scheduler to Deadline
Kernel:
*Added upstream Linux patch to reduce Deadline's latency
*Updated touchscreen suspend/resume routines to fix SoDs (again...)
July 14, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed camcorder in some camera apps (e.g. CameraNext)
July 13, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed WiFi hotspot (derp)
*Added custom camera HAL made from CAF LA.BF.1.1.1.c3 with the following features:
-More picture sizes (such as 9.7MP 16:9)
-JPEG quality is always set to 100% (so pictures are not super compressed, and they are clear)
Kernel:
*Removed kexec hardboot support (breaks encryption)
July 12, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Significant upstream change: compass is fixed
*Reduced input boost frequencies
*ROM is now compressed with LZMA (ROM zip is 50MB smaller as a result, and takes much less time to upload/download)
*Updated Adreno graphics libraries from LG V400 (Adreno version tag: LA.BF.1.1.2_RB1-AU017-20150203)
Kernel:
*Synced with CAF LA.BF.1.1.1_rb1.26
*Added kexec hardboot support
*Added LCD KCAL by Savoca
July 9, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Updated sensor configuration from OxygenOS
*Added face unlock drawable fix (http://review.cyanogenmod.org/#/c/102703/)
Kernel:
*Fixed touchscreen not working sometimes when waking device from sleep (again)
July 7, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Updated WPA supplicant overlay for Lollipop from Nexus 5
*Added "Enable AIG and MBDRC for stereo recording path"
*Fixed governor resetting to Interactive when changing perf mode back to balanced
*Changed default devfreq governor from cpubw_hwmon to msm_cpufreq (fixes random reboots)
Kernel:
*Increased audit rate limit and backlog limit (fixes random reboots)
July 4, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Synced audio HAL with CAF LA.BF.1.1.1_rb1.25
*Synced display HAL with CAF LA.BF.1.1.1_rb1.25
*Reduced time needed to optimize apps at boot
*Enabled WiFi host NS offload
*Added back vsync phase offsets
*Changed default CPU governor to Smartmax
Kernel:
*Synced with CAF LA.BF.1.1.1_rb1.25
*Synced prima (WiFi) drivers with CAF LA.BF.1.1.1_rb1.25
*Added Smartmax governor by maxwen
*Added LCD notify driver from LGE
*Updated touchscreen power routines to be more stable and use LCD notifier
*Fixed touchscreen not working sometimes when waking device from sleep
*Fixed occasional SoD caused by derpy touchscreen resume/suspend routines (happened most often when on low-power mode)
*Vibrator is automatically disabled when recording videos (so sound from the vibrator doesn't get into the videos)
*Reconfigured JDI cmd-mode panel settings for 62Hz (as this is the true refresh rate of the panel)
June 13, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Updated WiFi NVRAM config from LG G3
*Fixed low speeds when connected to 5GHz WiFi networks
Kernel:
*Synced with CAF LA.BF.1.1.1_rb1.24
June 9, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Battery percentage is shown during off-mode charging
*Removed vsync phase offsets
*Added back a RIL patch from CM
Kernel:
*Fixed front-facing camera (derp)
*Fixed support for Sharp panels
*Added CFQ I/O scheduler
June 6, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed audio not playing out of speaker in some cases
Kernel:
*Added Qualcomm H/W crypto support (thanks to myfluxi for researching this and fixing issues with it)
*Fixed touchscreen not working when waking device from sleep
*Added back support for various different displays
*Added Motorola memory-routine optimizations
June 4, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Significant upstream change: DHCP WiFi issue has been fixed
Kernel:
*Fixed occasional long delay of the screen turning on when waking the device from sleep
*Moved touchscreen suspend/resume functions into high-priority workqueue
June 3, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Enabled OTA updates via built-in CMUpdater
*You can update to this build from June 2 via OTA
June 2, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed force close when sending MMS
Kernel:
*Added back underclock down to 1958MHz by default (you can disable the underclock by flashing a zip available in the OP)
*Added more protection to CPU input boost driver
*Tweaked notification LED color a bit more
May 30, 2015:
ROM:
*Latest upstream CyanogenMod changes
Kernel:
*Fixed pink tint in notification LED
*Updated Synaptics touchscreen firmware from CM gerrit (new per-panel firmware, doesn't have battery drain)
May 29, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Synced media HAL with CAF LA.BF.1.1.1_rb1.23
*Synced display HAL with CAF LA.BF.1.1.1_rb1.23
*Updated WCNSS (WiFi) configuration from CM
*Removed Qualcomm power HAL (does nothing without the performance daemon)
*Added custom power HAL to handle low-power mode (CPU max frequency is lowered to 729MHz for low-power mode)
*Fixed performance profiles
Kernel:
*Synced with CAF LA.BF.1.1.1_rb1.23
*Added back CPU frequencies up to 2457MHz
*Removed CPU underclock (CPU maxfreq is left at the default 2457MHz)
*Synced prima (WiFi) drivers with CAF LA.BF.1.1.1_rb1.23
May 28, 2015:
ROM:
*Initial release
Kernel:
*Initial release
FAQ:
1. What is the difference between the stable and nightly builds?
Answer: My ROM builds are based off of the stable CM12.1 code branches, whereas the official CM12.1 nightly builds are based off of the nightly CM12.1 code branch. Stable builds provide much better stability than nightly builds, but they don't receive updates as often as the nightly builds. Stable builds are separate from the nightly builds; you cannot install a stable build on top of a nightly build. The stable builds are the same as the SNAPSHOT builds on CM's website.
2. Could you add camera slow-shutter times greater than 2 seconds?
Answer: No, I cannot. The reason why exposure times are capped at 2 seconds is due to the proprietary camera libraries from OxygenOS. Only OnePlus and Cyanogen Inc. can modify the proprietary camera libraries, so there is no way for me, a regular consumer, to implement exposure times greater than 2 seconds.
3. Why did you use OxygenOS camera libraries? They don't have 4K camcorder support!
Answer: My custom camera HAL enables 4K camcorder support with Oxygen's camera libraries, so this isn't an issue. Cyanogen's camera libraries have had some issues with the camcorder since day 1. The big issue that I have been able to reproduce on all OnePlus One devices I've come across is graphical artifacts in recorded videos (look towards the right @25 seconds): https://youtu.be/LyIbb5wIyfY?t=22s
(issue report on JIRA: https://jira.cyanogenmod.org/browse/BACON-3582)
OxygenOS' camera libraries do not have this issue, and thanks to my modifications, we now have 4K camcorder support with the OxygenOS libraries, so not much is lost by using them. The OxygenOS libraries can also take pictures faster/better than Cyanogen's libraries.
4. Why did you underclock the CPU to 1958MHz? Yer crazy, bro.
Answer: At 1958MHz, the amount of heat generated by the CPU is quite a bit less than at 2457MHz, so the CPU is throttled less often (leading to better user experience), and battery life is better as well. The performance difference between 1958MHz and 2457MHz 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.
Thanks
Sent from my A0001 using Tapatalk
Downloading..
Oh I knew @Sultanxda rang a bell :->
Amazing development on the Sensation! Enjoyed your kernels/ROMs very much. Thanks, will try this one.
edit:
Just one question. Is this using the new Synaptics firmware with battery drain? If not, which version?
Welcome back to deving Sultanxda!
Sent from my A0001 using XDA Free mobile app
nazfalas said:
Oh I knew @Sultanxda rang a bell :->
Amazing development on the Sensation! Enjoyed your kernels/ROMs very much. Thanks, will try this one.
edit:
Just one question. Is this using the new Synaptics firmware with battery drain? If not, which version?
Click to expand...
Click to collapse
It isn't. It's using the version before the one with the battery drain (so it's using the same Synaptics firmware as the official CM kernel).
Sultanxda said:
It isn't. It's using the version before the one with the battery drain (so it's using the same Synaptics firmware as the official CM kernel).
Click to expand...
Click to collapse
Thank you for the reply. Just wondering, because I can't replicate my heat related touch issues (some preliminary testing). Only fix until now (yes, I tried every CM11S, CM11, COS12, ColorOS, OxygenOS, etc.) was the new firmware where I had to disable screen gestures/double tap to wake to stop the drain.
Very smooth btw. :-> Will have to see how battery life holds up through the day and if the touch issues are magically cured.
@Sultanxda ...I am on CM12 2015-15-04 nightly,Franco r42
Can this be flashed on top?
nazfalas said:
Thank you for the reply. Just wondering, because I can't replicate my heat related touch issues (some preliminary testing). Only fix until now (yes, I tried every CM11S, CM11, COS12, ColorOS, OxygenOS, etc.) was the new firmware where I had to disable screen gestures/double tap to wake to stop the drain.
Very smooth btw. :-> Will have to see how battery life holds up through the day and if the touch issues are magically cured.
Click to expand...
Click to collapse
I rewrote half of the Synaptics touchscreen driver in the kernel (over 2500 lines of code modified), but I don't think my changes could've helped with the touchscreen issues. I have a friend who has a serious case of the ghost touches, and my modifications did nothing for him :/
Aka91 said:
@Sultanxda ...I am on CM12 2015-15-04 nightly,Franco r42
Can this be flashed on top?
Click to expand...
Click to collapse
You must be using the CM12.1 nightly, not CM12.
@sultan no i am on cm12 builds..
Aka91 said:
@sultan no i am on cm12 builds..
Click to expand...
Click to collapse
Derp, my English has failed me
You need to be on the CM12.1 builds.
Sultanxda said:
Derp, my English has failed me [emoji14]
You need to be on the CM12.1 builds.
Click to expand...
Click to collapse
Haha..
Ok
Thanks. ?
Sultanxda said:
I rewrote half of the Synaptics touchscreen driver in the kernel (over 2500 lines of code modified), but I don't think my changes could've helped with the touchscreen issues. I have a friend who has a serious case of the ghost touches, and my modifications did nothing for him :/
Click to expand...
Click to collapse
As we have learned from the ghost touch discussions and the new synaptics firmware: there are apparently many different kinds of touch issues. Some heat related, some static related and some grounding related. Others just plainly have a completely faulty digitizer.
In my case it is heat related. I was able to replicate it multiple times by gently heating it with a hair dryer (even mild heat caused the issue) - cooling the device also removed any touch issues. For me it was also the special case of the x-axis issue where only one finger was recognized when both where on the same x-axis. This does currently not happen on your kernel - no matter the heat (not heating to the point where anything could be damaged, of course ) making my OPO very usable again!
10 finger recongnition is still a little faulty, but who honestly needs that.
@RenderBroken :victory:
@Sultanxda you sir deserve a
{
"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"
}
@Sultanxda Sorry to bug you again.
but CM says that 12.1 can be flashed over CM12.
So can i flash on top?
nazfalas said:
As we have learned from the ghost touch discussions and the new synaptics firmware: there are apparently many different kinds of touch issues. Some heat related, some static related and some grounding related. Others just plainly have a completely faulty digitizer.
In my case it is heat related. I was able to replicate it multiple times by gently heating it with a hair dryer (even mild heat caused the issue) - cooling the device also removed any touch issues. For me it was also the special case of the x-axis issue where only one finger was recognized when both where on the same x-axis. This does currently not happen on your kernel - no matter the heat (not heating to the point where anything could be damaged, of course ) making my OPO very usable again!
10 finger recongnition is still a little faulty, but who honestly needs that.
Click to expand...
Click to collapse
Lol, didn't notice that 10-finger recognition was faulty. That's a firmware issue that I probably can't fix through the kernel driver. The firmware sends touch data (number of fingers and their coordinates on the screen) to the kernel driver, and then the kernel driver parses this data and registers the touches accordingly. So if the kernel receives faulty data from the firmware then there's not much that can be done (trying to filter out bad data through the kernel driver is very difficult).
Funny that my changes actually made a difference for you, I totally didn't expect that. Now we wait to see if it'll stop working again after a day's use
Qrze said:
@RenderBroken :victory:
@Sultanxda you sir deserve a
Click to expand...
Click to collapse
wat
Aka91 said:
@Sultanxda Sorry to bug you again.
but CM says that 12.1 can be flashed over CM12.
So can i flash on top?
Click to expand...
Click to collapse
Flash the official 5/28 CM12.1 nightly first, then flash my ROM. The official CM12.1 nightlies contain firmware updates that are necessary if you are coming from CM12.
Sultanxda said:
wat
Flash the official 5/28 CM12.1 nightly first, then flash my ROM. The official CM12.1 nightlies contain firmware updates that are necessary if you are coming from CM12.
Click to expand...
Click to collapse
Ok Tenks.

[MOD] Custom camera HAL with 4K UHD/DCI and 30 FPS video recording [Apr. 22, 2016]

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 mod
* 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.
*
*/
Installing this mod will give you the ability to record 4K UHD/DCI videos on your OnePlus X, as well as record videos at a consistent 30 frames per second in all lighting conditions (no more frame drops/stuttering when recording videos at night). This mod is compatible with most ROMs.
This is a custom camera HAL I created using CAF's vanilla camera HAL sources. As a lot of reverse engineering was involved in this, there are some caveats (see below).
Do NOT install this on my CM13 ROM!
Note that some ROMs using older proprietary camera libraries (such as the newest version of H2OS) will not benefit from 30 FPS video or my anti-shake algorithm.
If the 4K option does not appear in the camera app you're using, or your camera stops working, then clear data for the camera app that you're using.
Notable features:
4K UHD and DCI video recording
Consistent 30 FPS video recording in all lighting conditions
Intelligent anti-shake algorithm (significantly reduces motion blur when capturing photos)
Faster autofocus in low lighting conditions
No stuttering in camera viewfinder
Improved photo quality
Photo capture up to 4208x3120 resolution (instead of 4160x3120)
Caveats:
No ClearImage
No manual mode only in the OnePlus Camera app (other apps that support manual ISO and manual exposure work fine)
Installation instructions:
Install the 60 Hz Anti-banding file if you are in any of the following countries:
American Samoa
Anguilla
Antigua
Aruba
Bahamas
Belize
Bermuda
Brazil
Canada
Cayman Islands
Colombia
Costa Rica
Cuba
Dominican Republic
Ecuador
El Salvador
Guam
Guatemala
Guyana
Haiti
Honduras
Liberia
Mexico
Micronesia
Montserrat Islands
Nicaragua
Okinawa
Palmyra Atoll
Panama
Peru
Philippines
Puerto Rico
St. Kitts & Nevis Islands
Saudi Arabia
South Korea
Suriname
Tahiti
Taiwan
Trinidad & Tobago
United States
Venezuela
Virgin Islands
Instructions:
Download the camera HAL and copy it to your device
Reboot to recovery
Install the camera HAL
OPTIONAL install the 60 Hz Anti-banding file ONLY if you are in any of the countries listed above
Reboot
Downloads:
Camera HAL: http://forum.xda-developers.com/devdb/project/dl/?id=18115
60 Hz Anti-banding: http://forum.xda-developers.com/devdb/project/dl/?id=17356
XDA:DevDB Information
Custom camera HAL for OPX, Device Specific App for the OnePlus X
Contributors
Sultanxda
Version Information
Status: Stable
Created 2016-02-15
Last Updated 2016-08-10
Changelog:
April 22, 2016:
*Fixed slow-motion recording in the OnePlus Camera app (for OxygenOS)
*Fixed delay when moving camera while recording high-speed and slow-motion videos
*Fewer frames are dropped when recording high-speed and slow-motion videos now
April 20, 2016:
*Fixed blue tint when recording slow-motion and high-speed videos (60 FPS and 120 FPS videos)
April 17, 2016:
*Made anti-shake algorithm even less aggressive (images are less noisy and better quality now)
March 26, 2016:
*Made anti-shake algorithm less aggressive (images are less noisy and better quality now)
*Reduced JPEG quality to 95% (image files are smaller with no visible impact to quality)
*Improved image clarity
March 13, 2016:
*Fixed anti-banding setting in camera apps
*Set default anti-banding mode to 50 Hz (for Europe)
*Added flashable zip to change default anti-banding mode to 60 Hz (for the USA; see the installation instructions for details)
*Fixed rare flashing in camera viewfinder
March 7, 2016:
*Fixed graphical glitches when using HDR
*Fixed graphical glitches when taking photos with the front camera
*Fixed many other minor bugs
March 6, 2016:
*Fixed noisy HDR photos
*Fixed incorrect maker, model, and aperture displayed in image info
March 5, 2016:
*Fixed HDR
*Fixed manual exposure control
*Fixed manual ISO control
February 26, 2016:
*Implemented stronger, more intelligent anti-shake algorithm (significantly reduces motion blur when capturing photos)
*Fixed Panorama mode not working in Google Camera after recording video
*Fixed Photo Sphere mode not working in Google Camera after recording video
*Fixed photo capture not working while recording 4K video
February 22, 2016:
*Fixed compatibility with H2OS (note: 30 FPS video is not guaranteed in H2OS, as well as some out-of-date ROMs)
*Fixed long delay when turning off the flashlight in some ROMs
*Fixed long delay when switching between the front and back camera in some ROMs
*Improved image sharpness and clarity
February 16, 2016:
*Fixed compatibility with all ROMs
February 15, 2016:
*Initial release
Reserved
will test this soon and hope it works. you will be saviour for us.
saurabh40629 said:
will test this soon and hope it works. you will be saviour for us.
Click to expand...
Click to collapse
I tested it on CM12.1 and OxygenOS 2.2.0, and it appears to be working. Tested 4k UHD recording in Google Camera and it works.
The 4k video option won't show up in the OxygenOS camera app until you clear data for the app.
Let's see how this goes :silly:
Holy crap the legendary sultan developing for the one x?!?! Any plans for a oneplus x rom as well?
Super nice, waiting for Manuel Camera Controls as said in the post but this is already awesome
Sultanxda said:
I tested it on CM12.1 and OxygenOS 2.2.0, and it appears to be working. Tested 4k UHD recording in Google Camera and it works.
The 4k video option won't show up in the OxygenOS camera app until you clear data for the app.
Let's see how this goes :silly:
Click to expand...
Click to collapse
Because of Enormously crappy camera videos, I was having thoughts of selling this one. Seems like my money is saved. Kudos to you. :highfive:
If the camera had the capability to record to 4k,why didn't one plus include it in oos?
Flashed on temasek v4.0 and had a bootloop after that. Needed to reflash the rom.
sathyakaushik4 said:
If the camera had the capability to record to 4k,why didn't one plus include it in oos?
Click to expand...
Click to collapse
They didn't know how to fix it. There's a software bug with 4k on Snapdragon 800/801 chips that causes the 4k video to record at 7 FPS. This is a very difficult bug to fix (took me weeks to originally fix it on my OPO), so it isn't surprising that they decided to move on to other things instead of trying to solve it.
mieru said:
Flashed on temasek v4.0 and had a bootloop after that. Needed to reflash the rom.
Click to expand...
Click to collapse
The media_profiles.xml that comes with my package probably has some things in it that your ROM doesn't like. I'll have to test it myself to get a log so I can fix it.
surronix said:
Holy crap the legendary sultan developing for the one x?!?! Any plans for a oneplus x rom as well?
Click to expand...
Click to collapse
Not enough time/energy/motivation for that right now. Have a camera HAL instead
Sultanxda said:
They didn't know how to fix it. There's a software bug with 4k on Snapdragon 800/801 chips that causes the 4k video to record at 7 FPS. This is a very difficult bug to fix (took me weeks to originally fix it on my OPO), so it isn't surprising that they decided to move on to other things instead of trying to solve .
Click to expand...
Click to collapse
Don't they scout for talent on these Developer forum's if they have such dumb people sitting and developing ?
I heard a lot about you from my colleagues on OPO( obviously positive things )..... Welcome here :fingers-crossed::good:
rockuppl said:
Don't they scout for talent on these Developer forum's if they have such dumb people sitting and developing ?
I heard a lot about you from my colleagues on OPO( obviously positive things )..... Welcome here :fingers-crossed::good:
Click to expand...
Click to collapse
they already looked for sultan
but since he hasnt grad yet they didnt hire
edit: well thats what they said on AMA
Morning
Any open-source plans? Or can't you share because of reverse engineering? Will test soon
EDIT: UHD works fine and everything else also good work
getting back to OxygenOS to try it !!! Super job Sultan
Nailed it!
@Sultanxda, add to the 1st post that slowmotion mode on OOS camera app won't perform as expected. Didn't tested much, but it seems it is recording at 30fps.
It does not bothers me at all. Being possible to record at night is a big step forward.
Any samples? I'm getting to the point to install a custom recovery. I don't care about HDR or clear Image at all.
Just testing it.
I flashed it over OOS 2.2.0 with blu_spark v91.
Gonna upload some samples soon.
EDIT: https://www.youtube.com/watch?v=T_XYeGpFoJ0&list=PL7yFwUHsKYLHcLn21xGdwthFPJUL9SZXX&index=2
To cool to be true !!!
How can we hit 20 times Thanks button at a time ?
Damn this looks great!
can someone post sample in low light and picture quality?

[KERNEL][10.0.0] Sultan Kernel [August 14, 2020]

Code:
/*
* Your warranty is no longer valid, unless you lie.
*
* I am not responsible for bricked devices, strained relationships,
* 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 kernel
* 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 no-frills custom kernel for the Pixel 2 and Pixel 2 XL designed to be used with the stock ROM and custom Android 10 ROMs. It's intended to be a simple replacement for the stock kernel that brings several under-the-hood enhancements. This kernel is not meant to be customized by users.
Changelogs for each update can be found in the 2nd post of this thread.
Features:
Compiled with GCC 10.2 from the Arch Linux repository
Built with Link Time Optimization (LTO) for improved overall kernel performance
Built with Dead Code Elimination (DCE) to shrink the kernel's size by removing unused code
Removed lots of excessive bloat (improves security and performance)
Simple LMK, a custom low memory killer that improves memory management
Fast fingerprint unlock and screen power on
Improved touch latency
Optimized CPU frequencies and EAS energy model for improved performance and battery life
Haptic feedback disabled while the camera is in use
Hall sensor disabled by default (it can be re-enabled by flashing the optional enable-flip-cover-support zip)
Removed maximum screen brightness limitation
WireGuard, a next generation secure VPN tunnel
Passes SafetyNet bootloader unlock check
Improved overall system fluidity and graphics performance
Improved stability
Westwood+ TCP congestion algorithm
Vibration strength control
Many other miscellaneous improvements not listed here
Source code:
10.0.0-sultan branch: https://github.com/kerneltoast/android_kernel_google_wahoo
Credits:
zx2c4 (for WireGuard, providing project resources, working directly on development, and sending me stickers)
MSF Jarvis (for helping with testing and AnyKernel3)
osm0sis (for AnyKernel3)
If your name should be here and it isn't, then replace my camera with a OnePlus device
Installation instructions:
First of all, this kernel comes with a custom dtbo so DO NOT FLASH A DIFFERENT DTBO AFTER INSTALLING THIS KERNEL! To install this kernel, simply download and flash it in a custom recovery. Do the same when there is a new update available.
Note that there are some caveats if you'd like to flash Magisk and/or TWRP in addition to this kernel. If you want to flash TWRP, then you must flash it after flashing the kernel first. If you want to flash Magisk, then you must flash it after flashing both the kernel and TWRP first. You don't need to re-flash Magisk after every kernel update though.
This is the order in which the kernel, TWRP, and Magisk should be flashed:
Kernel -> TWRP (optional) -> Magisk (optional)
The optional enable-flip-cover-support zip can be flashed at any point of the installation process. It does not need to be re-flashed after each update.
Downloads:
Latest kernel
Enable support for flip covers (optional)
XDA:DevDB Information
Sultan Kernel, Kernel for the Google Pixel 2
Contributors
Sultanxda
Kernel Special Features:
Version Information
Status: Stable
Created 2018-06-10
Last Updated 2020-08-15
Changelog:
August 14, 2020:
*Merged August Security Bulletin fixes
*Now built with GCC 10.2
*Slightly reduced overall power consumption
Old changelogs:
July 11, 2020:
*Merged July Security Bulletin fixes
*Fixed occasional flashes when the screen was turned off or on (Pixel 2 XL only)
*Fixed lagging after accumulating about a week or more of continuous uptime (i.e., not rebooting for a week or more)
June 2, 2020:
*Merged June Security Bulletin fixes
*Fixed a bug where the screen would turn black and the device would stop responding
*Reduced Pixel 2 XL display power consumption (thanks to kdrag0n)
*Pixel 2 XL screen turns on faster now (thanks to kdrag0n)
May 22, 2020:
*Fixed a rare random reboot bug caused by ext4 which affects every Pixel 2/XL kernel (including stock)
May 7, 2020:
*Merged May Security Bulletin fixes
*Improved CPU idle efficiency yet again for better battery life
*Built with GCC 10.1 for improved performance
April 25, 2020:
*Improved CPU idle efficiency even more for better battery life
April 22, 2020:
*Merged April Security Bulletin fixes
*Fixed Simple LMK killing music apps in the background
*Improved Simple LMK's speed in some rare scenarios
*Improved CPU idle efficiency
*Updated installer for Lineage recovery (thanks to MSF Jarvis and Eamo5)
March 27, 2020:
*Built with GCC 9.3 (previously built with GCC 9.2)
*Built with Dead Code Elimination (DCE) to shrink the kernel's size by about 10%
*Attempted to fix a rare kernel panic in the ext4 driver
*Improved filesystem performance
*Fixed the vDSO so that Android can get the time from the kernel faster
*Slightly improved Simple LMK performance for certain scenarios
March 11, 2020:
*Built with Link Time Optimization (LTO) for improved overall kernel performance
March 5, 2020:
*Lowered minimum CPU frequency from 1.8 GHz to 1.4 GHz to improve battery life
March 2, 2020:
*Merged March Security Bulletin fixes
February 28, 2020:
*Fixed intense lag when opening camera sometimes (due to Simple LMK)
February 26, 2020:
*Fixed Simple LMK incompatibility with Android 10 (this caused it to erroneously kill important apps frequently)
February 24, 2020:
*Improved Simple LMK kill mechanism to fix lag when opening the camera
February 21, 2020:
*Improved memory management performance
*Improved Simple LMK app selection and performance
*Backported binder driver from the Android 4.19 kernel (improves overall system performance)
February 9, 2020:
*Merged February Security Bulletin fixes
*Improved Simple LMK's performance to fix random freezes
January 20, 2020:
*Updated to Android 10
-Fixed a bug in the Android 10 kernel that caused WiFi to randomly disconnect
-The Settings app is no longer killed in the background
*Fixed Simple LMK killing too many apps when memory was extremely low
November 5, 2019:
*Added fix for Binder use-after-free security vulnerability
*Removed a buggy GPU driver change I made that caused graphical glitches
*Rewrote ION driver again for improved performance and stability
*Fixed a severe deadlock issue in the rewritten IOMMU driver
*Improved Simple LMK to kill fewer apps and react to low memory situations faster
*Fixed a rare bug where Simple LMK would stop working entirely until a reboot (this would cause freezes when memory was low)
August 22, 2019:
*Fixed video playback and camera issues introduced in the previous build
August 21, 2019:
*Further improved the performance of and fixed bugs in the rewritten IOMMU driver
August 6, 2019:
*Merged August Security Bulletin fixes
*Fixed rare graphical glitches when opening the camera
*Improved frame rendering latency
July 31, 2019:
*Added back various small performance optimizations that were confirmed to be safe
July 29, 2019:
*Fixed graphical glitches
July 21, 2019:
*Attempted to fix occasional graphical glitches
July 20, 2019:
*Fixed a serious bug in Simple LMK that caused it to kill a random number of processes when memory was low
*Removed multiple potentially unstable performance optimizations until they can be validated
July 13, 2019:
*Further improved ION memory manager performance
*Fixed a rare random reboot when switching between Google Camera and Settings
July 8, 2019:
*Fixed another rare random reboot introduced in the ION driver rewrite
*Fixed serious stack memory corruption issue introduced in a display driver optimization
*Improved ION memory manager performance
July 1, 2019:
*Merged July Security Bulletin fixes
*Improved filesystem performance
*Improved frame rendering performance
*Fixed more memory leaks
June 28, 2019:
*Fixed random reboots caused by a race condition in the rewritten IOMMU driver
*Compiled kernel with GCC 9.1
June 26, 2019:
*Fixed rare random reboot caused by ION driver rewrite
*Fixed 4-year-old memory leak located deep in the IOMMU subsystem
June 25, 2019:
*Fixed random reboot caused by an incorrect audio driver optimization
June 24, 2019:
*Added back charge-rate limitation for the 2 XL (removing it caused charging speeds to plummet)
*Improved camera speed slightly
June 23, 2019:
*Fixed remaining random reboots caused by ION driver rewrite
*Fixed random freezes and reboots caused by an incorrect memory allocation optimization
*Removed charge-rate limitation while the screen is on for the 2 XL
*Removed maximum screen brightness limitation
*Google Camera and Settings are killed when they run in the background, to prevent high battery drain (more info)
June 22, 2019:
*Fixed random freezes caused by ION driver rewrite
June 21, 2019:
*Fixed crash when trying to record video
June 20, 2019:
*Fixed potential use-after-free bug in rewritten ION driver
June 19, 2019:
*Further rewrote ION memory manager for improved stability and performance
*Replaced several high-frequency dynamic memory allocations with constant-time ones (this improves overall performance)
June 15, 2019:
*Improved ION memory manager performance
*Reduced GPU processing latency
June 12, 2019:
*Rewrote ashmem driver to improve performance
*Improved binder driver performance
*Fixed diag mode
June 7, 2019:
*Fixed memory leak introduced in the previous build
June 6, 2019:
*Rewrote ION memory manager to improve performance
June 3, 2019:
*Merged June Security Bulletin fixes
June 1, 2019:
*Fixed rare display glitches
May 27, 2019:
*Improved Simple LMK to kill fewer apps
*Improved touch latency
*Improved frame rendering latency
*Improved display, touchscreen, and UFS power consumption
May 11, 2019:
*Fixed camera issues
May 10, 2019:
*Improved Simple LMK performance
*Improved frame render latency
May 6, 2019:
*Merged May Security Bulletin fixes
*Reduced scheduler tick frequency to 100 Hz to save power
*Added back zRAM support
May 4, 2019:
*Added functional Simple LMK
*Removed zRAM support (Simple LMK works better without the costs of zRAM hindering it)
*Improved graphics rendering performance
*Reduced idle power consumption
May 1, 2019:
*Removed Simple LMK (will it ever work?)
April 30, 2019:
*Tweaked Simple LMK yet again to fix freezes
*Disabled haptic feedback while the camera is in use
*Disabled hall effect sensor by default to fix the screen randomly turning off/on near strong magnetic fields (it can be re-enabled by flashing an optional zip in the OP)
April 29, 2019:
*Tweaked Simple LMK to fix short freezes
April 28, 2019:
*Optimized CPU frequencies and EAS energy model for improved performance and battery life
*Added overhauled Simple LMK for improved memory management
April 19, 2019:
*Fixed high power consumption when multitasking
*Improved performance when gaming
April 18, 2019:
*Rebased on official April kernel release
*Overhauled the entire kernel
January 13, 2019:
*Merged January Security Bulletin fixes
*Improved memory management (apps are killed less often)
December 12, 2018:
*Merged December Security Bulletin fixes
*Fixed random reboots when performing backups in recovery
November 6, 2018:
*Merged November Security Bulletin fixes
October 30, 2018:
*Fixed Simple LMK randomly killing too many apps (this caused music players to die sometimes)
October 23, 2018:
*Fixed camera laser sensor
*Fixed stuttering when multitasking
October 16, 2018:
*Fixed overheating
*Slightly improved overall performance
October 14, 2018:
*Re-enabled zRAM
*Improved graphics performance (details)
October 2, 2018:
*Merged October Security Bulletin fixes
September 30, 2018:
*Added Simple LMK, a new LMK written from scratch that improves memory management (details)
September 17, 2018:
*Switched back to stock LMK until Simple LMK is stable
September 10, 2018:
*Fixed SystemUI crashes caused by Simple LMK
September 9, 2018:
*Fixed more performance issues and bugs with Simple LMK
*Added flar2's vibration control
September 8, 2018:
*Fixed lag and performance issues caused by Simple LMK
*Improved memory management compared to previous builds with Simple LMK
September 5, 2018:
*Merged September Security Bulletin fixes
*Fixed additional issues with the new low memory killer
*Fixed several instances of blatantly incorrect code (improves stability; details)
September 4, 2018:
*Fixed freezes caused by new low memory killer
September 3, 2018:
*Fixed occasional lag when low memory killer kicked in
*Added Westwood+ TCP congestion algorithm and enabled it by default
September 2, 2018:
*Switched to custom low memory killer driver for improved memory management
August 19, 2018:
*Switched to userspace low memory killer (apps will be killed less frequently; improves memory management)
August 18, 2018:
*Fixed touchscreen not working in TWRP
August 15, 2018:
*Fixed slow charging on the Pixel 2 XL
*Reduced power consumed by the battery fuel gauge
August 14, 2018:
*Fixed Android being unable to read detailed power info from the kernel
August 13, 2018:
*Reconfigured CPU boost frequencies to reduce overall power consumption
August 12, 2018:
*Reworked for Pie
*Added devfreq boost driver; boosts the device that controls how quickly data can move between RAM and the CPU (improves overall fluidity)
June 28, 2018:
*Fixed worsened screen-wake performance introduced in previous build
June 27, 2018:
*Added CPU boost on app launch (makes apps launch faster)
June 20, 2018:
*Reduced power consumed by new CPU boost mechanism
June 19, 2018:
*Fixed WeChat
June 18, 2018:
*Added support for custom ROMs (thanks to nathanchance)
*Adjusted CPU boost frequencies to significantly reduce power consumption without hurting performance
June 17, 2018:
*Added new CPU boost driver that maximizes battery life while keeping the phone perfectly smooth (details: 1, 2, 3, 4)
*Fixed potential random reboots caused by coding errors detected using static analysis
June 11, 2018:
*Removed CPU underclock
*Fixed off-mode charging
*Fixed the internal hardware problem error message shown on boot
June 10, 2018:
*Initial release
Reserved
Dope ??
Yessss ,? anyone gonna be crazy enough to try this on dp3 ?
Nice! @Sultanxda does this mean that your going to start developing for the pixel 2? I recently switch from my oneplus 3t and I was using your lineageos and it was great.
Either way, thanks for the kernel!
Sultanxda said:
Credits:
If your name should be here and it isn't, then replace my camera with a OnePlus device
Click to expand...
Click to collapse
lol..
Would be nice to have one for custom roms haha
New build is up with the underclock removed and some bugs fixed. The changelog can be found in the 2nd post of this thread.
adamokari said:
Nice! @Sultanxda does this mean that your going to start developing for the pixel 2? I recently switch from my oneplus 3t and I was using your lineageos and it was great.
Either way, thanks for the kernel!
Click to expand...
Click to collapse
I only have a Pixel 2 XL, and I'm only going to be working on this kernel (which happens to work on the Pixel 2 too because it's unified). No more custom ROMs from me; the stock ROM on the Pixel 2 (XL) is great, so I'm sticking to it.
My man!
NinjaCoool said:
My man!
Click to expand...
Click to collapse
Looking good!
I'm on the second version of the kernel and it's running great. Thanks. Error at login is gone. Things are looking up even more for wahoo.
Sultanxda said:
I only have a Pixel 2 XL, and I'm only going to be working on this kernel (which happens to work on the Pixel 2 too because it's unified). No more custom ROMs from me; the stock ROM on the Pixel 2 (XL) is great, so I'm sticking to it.
Click to expand...
Click to collapse
Well it's nice to see you over here and I am thrilled to try out this kernel. Thanks for all your hard work!
The man returns!
Hello Sultan. It's quite excited to found your kernel for Pixel 2. Is that anyway to receive notification about the kernel update? For example Telegram channel? Thanks a lot
infamousvincci said:
Would be nice to have one for custom roms haha
Click to expand...
Click to collapse
Why not just delete the dtbo.img file. And zip the file backup and flash it
yyz71 said:
Why not just delete the dtbo.img file. And zip the file backup and flash it
Click to expand...
Click to collapse
Does that trick works here too? I only tried that using elementalx haha
infamousvincci said:
Does that trick works here too? I only tried that using elementalx haha
Click to expand...
Click to collapse
Yes it does :good:
yyz71 said:
Why not just delete the dtbo.img file. And zip the file backup and flash it
Click to expand...
Click to collapse
Maybe because of this. Not sure what it does and apparently not needed on non-stock?
https://forum.xda-developers.com/showpost.php?p=76773721&postcount=16
Very nice to see @Sultanxda and @nathanchance working on improving the kernel for Pixel 2. Having developers capable of producing original fixes and willing to explain the technical details is a huge contribution to the community. Thank you once again.

General OnePlus 9 Pro Oxygen OS 11.2.1.1.LE15BA/DA

System
• Optimized the charging stability
• Optimized the UI display of the notification bar
• Fixed other known issues and improved system stability
Camera
• Optimized video filming fluidity
• Optimized the noise and white balance issues with the rear camera
• Optimized the rear camera's nighttime brightness and highlight control
• Optimized the color performance of the Pro mode
Bluetooth
• Fixed the Bluetooth compatibility issues
Network
• Improved the stability of telecommunication functions
• Improved the WLAN transmission performance and stability
11.2.1.1.LE15BA(Europe): https://t.me/s/OnePlusOTA/84
11.2.1.1.LE15DA(India): https://t.me/s/OnePlusOTA/85
@mlgmxyysd THREAD CLOSED and prefix changed to "General". Only own development qualifies for the prefix "Development"; for further information please refer to the sticked "Guide to Realme Device Forums (Please Read before Posting)"!
mlgmxyysd said:
System
• Optimized the charging stability
• Optimized the UI display of the notification bar
• Fixed other known issues and improved system stability
Camera
• Optimized video filming fluidity
• Optimized the noise and white balance issues with the rear camera
• Optimized the rear camera's nighttime brightness and highlight control
• Optimized the color performance of the Pro mode
Bluetooth
• Fixed the Bluetooth compatibility issues
Network
• Improved the stability of telecommunication functions
• Improved the WLAN transmission performance and stability
11.2.1.1.LE15BA(Europe): https://t.me/s/OnePlusOTA/84
11.2.1.1.LE15DA(India): https://t.me/s/OnePlusOTA/85
Click to expand...
Click to collapse
Can I flash in Chinese version ?
I'm so excited to tell you guys that the new magisk manager update just came out.. so all you guys that have been having problems getting their safety net to pass as soon as I updated installed them again and we updated mom and just manager instantly it went through and had to change any of my settings or anything obviously there was something going on with magisk they got it all worked out..
I tried everything on every thread took couldn not seem to get to work finally this new update is what done the trick.. Thank you Magisk!!!!
11.2.5.5 boot.img Global is working on my TMO EDITION
I already patched with the new v23 update is below!!!
KidSudo6969 said:
I'm so excited to tell you guys that the new magisk manager update just came out.. so all you guys that have been having problems getting their safety net to pass as soon as I updated installed them again and we updated mom and just manager instantly it went through and had to change any of my settings or anything obviously there was something going on with magisk they got it all worked out..
I tried everything on every thread took couldn not seem to get to work finally this new update is what done the trick.. Thank you Magisk!!!!
11.2.5.5 boot.img Global is working on my TMO EDITION
I already patched with the new v23 update is below!!!
Click to expand...
Click to collapse
How did you update it to 11.2.5.5?

Categories

Resources