[KERNEL][10.0.0] Sultan Kernel [August 14, 2020] - Google Pixel 2 ROMs, Kernels, Recoveries, & Other

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.

Related

[KERNEL][VoodooSnd4-VSF-OC-TRCU-BFQ-ZRAM] Super Optimized Kernel 4_8_3 STABLE [03-18]

ULTIMATE SUPER OPTIMIZED Kernel
Samsung S5PV210_Rev1.0 Datasheets Are available here http://forum.xda-developers.com/showthread.php?t=859545
GT-I9000_Kernel_4_3_4_OK Sources available here http://www.megaupload.com/?d=H0QFFLJ4
GT-I9000_Kernel_4_4_8_OK Sources available here http://www.megaupload.com/?d=UJM8VASD
GT-I9000_Kernel_4_5_1_OK Sources available here http://www.megaupload.com/?d=Y038C7LT
GT-I9000_Kernel_4_6_1_OK Sources available here http://www.megaupload.com/?d=D9SB31OI
GT-I9000_Kernel_4_7_3_OK Sources available here http://www.megaupload.com/?d=4MZSID83
GT-I9000_Kernel_4_7_7_OK Sources available here http://www.multiupload.com/4J7C7PNX7J
Insanity [ROM] by nitr8 powered by ULTIMATE SUPER OPTIMIZED Kernel !!!!
If you want to disable ramzswap put S_ramzswap_disable.sh from S_scripts.zip into you /etc/init.d directory
If you want to maximize ram performances put S_stock_mem_timings.sh from S_scripts.zip into you /etc/init.d directory
If you want to disable VSF put S_VSF_Disable.sh from S_scripts.zip into you /etc/init.d directory
The file "Customized_freqs.txt" contains a list of usable frequencies, and all of them divisors, for customize first four kernel frequencies.
If someone want ... i added possibility to donate something by paypal on my profile. If you appreciated my work you could give me a little gift.
It works on all stock froyo ROMS !!
Istructions:
Install Kernel :
1- download kernel
2- (Only Odin Version )turn off unzip file and use tar file as pda in odin and flash it
3- (Only CWM Version)go into CWM recovery and select install zip from sdcard, choose kernel CWM zip from sdcard and then install it
Apply Lagfix :
- after you installed kernel go into CWM recovery and select advanced ulk features-->Lagfix option and select your desire method and reboot your device
Apply root :
- Go into CWM recovery and select advanced ulk features-->Install superuser option, select Ext:..... and then select yes. Afther reboot the phone.
This kernel has:
- Works on all stock Froyo ROMs and popular custom ROMs
- Adjusted kernel HZ value to 300
- Adjusted user HZ value to 150
- 340MB of RAM and all features should work e.g. 720P recording & playback (since 4_4) 342MB since 4_5_3
- tun support included inside kernel
- Includes neldar's BackLightNotification 2.2 from https://github.com/project-voodoo/ba...ernel_patches/ (update to v2.3.1 since 4_6)
- sztupy's Universal Lagfix
- Sharpness & color fix for UI, inspired by supercurio's work on Voodoo
- SpeedMod: Replaced kernel jhash2 with jhash3
- Uses BFQ IO scheduler by default
- Updated FS code in kernel
- Added Tiny RCU patch for better speed and efficiency
- FS drivers compiled as external modules and loaded only if used
- OC frequencies (1200-1300-1400-1500-1600) keep attenction !!!!!!
- PDIV values optimized into clock sources
- support for AOSP bootanimation.zip
- ramzswap (http://code.google.com/p/compcache/) for better ram usage.
- sched patch : automated per tty task groups (system more smooth and responsive) (v3(since 4_3) and v4(since 4_4))
- (since 4_4) Applied patches to FS sources to maximize throughtput
- UV Support using VoltageControl version >= 2.0
- System FS Corruption patch applied
- (since 4_4) Frequencies over 1.2 ghz are overvolted. If you want you can find the more stable voltage for your phone
- (since 4_4) new sysfs table to disable selective frequencies
/sys/devices/system/cpu/cpu0/cpufreq/states_enabled_table Into this file there is an 0 or an 1 for each frequency from the higher to the lower (Es. "1 1 1 1 0 1 1 0 .....")
If value is set to zero relative frequency will not be used.
to use execute : echo "1 1 1 1 0 1 1 0 ....." > /sys/devices/system/cpu/cpu0/cpufreq/states_enabled_table
- (since 4_4) new sysfs table to read default voltage value and UV value fro each frequency
/sys/devices/system/cpu/cpu0/cpufreq/frequency_voltage_table
in each row the fisrt parameter is the frequency (mhz), the second the default voltage, the third the voltage with UV applied.
there's a row for each frequency
- (since 4_4_2) CIFS driver
- (since 4_4_6) SDCard FAT check on start-up
- (since 4_4_7) safe ro system mount & safe ext4 stl{} blocks mount at start up
- (since 4_4_7) two new sysfs files in "/sys/devices/system/cpu/cpu0/cpufreq" to change memory timings (AC_timing_data_registers,AC_timing_row_registers). Read datasheets and use at own risk.
- (since 4_4_9) JPU/JPX Drivers used now
- (since 4_4_9) JPU/JPX Memory config
- (since 4_4_9) Add tune2fs for ext4 into initramfs
- (since 4_6) JPX Kernel Aligned
- (since 4_6_4) Voodoo kernel sound patches included
- (since 4_6_6) Possibility to apply lagfixes with ext2,ext3,ext4,ext4nj,jfs with or without binds.
- (since 4_6_6) /system conversion to ext4 or jfs
- (since 4_6_6) Ext4 mount options
- (since 4_6_9) Voodoo sound 2
- (since 4_6_9) VSF (Variable Screen Frequency)
- (since 4_7_0) Enabled Color Gain Screen Functions
- (since 4_7_0) Add IPV6 privacy and enabled it by default
- (since 4_7_0) Disable printk for better performances and battery usage
Frequency voltages Table :
1600000, 1500
1500000, 1500
1400000, 1500
1300000, 1500
1200000, 1300
1120000, 1300
1000000, 1275
900000, 1275
800000, 1200
600000, 1175
400000, 1050
200000, 950
100000, 950
Good UV Values :
1600000 -150
1500000 -150
1400000 -175
1300000 -175
1200000 -25
1120000 -25
1000000 -50
900000 -50
800000 -50
600000 -50
400000 -75
200000 -75
100000 -75
Version 4_0 STABLE (2010-11-10)(Full working 3G call and 720 video recording & playback)
- BLN 2.2 :For BLN 2.2 you MUST:
- Users of old BLN versions need to boot to Recovery Menu, then Turn Off & Turn On BLN again
- Install the latest version of BLN app by neldar from http://forum.xda-developers.com/showthread.php?t=823922​- FS mount tweak options inserted into init script
- Only OC Version : Use xan's app if you dont want to disable it (VoltageControl >= 1.98) - here
Version 4_1 STABLE (2010-11-15)(Full working 3G call and 720 video recording & playback)
- Some little bug fixes
- Add support for AOSP bootanimation.zipThe custom bootanimation.zip should be placed in either /data/local/ or /system/media/.
If the file bootanimation.zip does not exist in either /data/local/ or /system/media/, the default Samsung boot animation will play.​
Version 4_2 STABLE (2010-11-19)(Full working 3G call and 720 video recording & playback)
- No more deadsleep problems
- Add TINY_RCU from kernel > 2.33 (less memory and battery usage)
- Add ramzswap (http://code.google.com/p/compcache/) for better ram usage.It creates a compressed swap file into memory.​ Important : disable data loop or use lagfix without binds. It could cause problems with ramzswap !!!​- All FS structure align with lastest patches.
Version 4_3(2010-11-25)(Full working 3G call and 720 video recording & playback)
- Make ramzswap work better
- Update Sourgery G++ compiler to the lastest one available for download
- Add more compire optimizations options
- Add 600-904-1120-1304-1400 frequencies (system set 1000000 mhz by default at startup)
- use VoltageControl version >= 2.0 to raise frequency or UV settings
- More little fixes to improve battery drain
- add [RFC/RFT PATCH v3] sched: automated per tty task groups (system more smooth and responsive)
- FS Corruption patch applied
Version 4_3_FIX(2010-11-26)(Full working 3G call and 720 video recording & playback)
- Fix Recovery mode hang problems
Version 4_3_2_FIX(2010-11-27)(Full working 3G call and 720 video recording & playback)
- Fix UV Settings Hang problems on some configurations
Version 4_3_3_FIX(2010-11-27)(Full working 3G call and 720 video recording & playback)
- More Fixes for UV Settings Hang problems on some configurations
Version 4_3_4_FIX STABLE (2010-11-27)(Full working 3G call and 720 video recording & playback)
- Ultimate Fix for UV Settings Hang problems on some configurations
Version 4_4(2010-12-01)(Full working 3G call and 720 video recording & playback)
- add [RFC/RFT PATCH updated to v4] sched: automated per tty task groups (system more smooth and responsive)
- FS Compiled as external modules and load only if used
- Voltage reset ad stock values
- Frequencies over 1.2 ghz are overvolted. If you want you can find the more stable voltage for your phone
- new sysfs table to disable selective frequencies
/sys/devices/system/cpu/cpu0/cpufreq/states_enabled_table Into this file there is an 0 or an 1 for each frequency from the higher to the lower (Es. "1 1 1 1 0 1 1 0 .....")
If value is set to zero relative frequency will not be used.
to use execute : echo "1 1 1 1 0 1 1 0 ....." > /sys/devices/system/cpu/cpu0/cpufreq/states_enabled_table
- new sysfs table to read default voltage value and UV value fro each frequency
/sys/devices/system/cpu/cpu0/cpufreq/frequency_voltage_table
in each row the fisrt parameter is the frequency (mhz), the second the default voltage, the third the voltage with UV applied.
there's a row for each frequency
- Applied patches to FS sources to maximize throughtput
Version 4_4_FIX(2010-12-01)(Full working 3G call and 720 video recording & playback)
- fix frequency_voltage_table voltages missmatch
- minor change to make phone a bit smoother
Version 4_4_2_FIX(2010-12-02)(Full working 3G call and 720 video recording & playback)
- Some fixes for CWM hangs (it hangs only if you stay for a long time on main menu)
- CIFS driver added
- Some minor patches
Version 4_4_6_FIX(2010-12-06)(Full working 3G call and 720 video recording & playback)
- all bugs fixed
- better battery usage
- SDCard FAT check on start-up
Version 4_4_7 (2010-12-07)(Full working 3G call and 720 video recording & playback)
- OC stability fixes
- safe ro system mount at startup
- safe ext4 stl{} blocks mount at start up
- two new sysfs files in "/sys/devices/system/cpu/cpu0/cpufreq" to change memory timings (AC_timing_data_registers,AC_timing_row_registers). Read datasheets and use at own risk.
Version 4_4_8 STABLE (2010-12-08)(Full working 3G call and 720 video recording & playback)
- reduce voltage manager latency to remove last UV stability problems
- minor smooth enhancement
Version 4_4_9 (2010-12-12)(Full working 3G call and 720 video recording & playback)
- JPU/JPX Drivers used now
- JPU/JPX Memory config
- WiFi works now
- add tune2fs for ext4 into initramfs
- OC stability fixes
- Quadrant works now
Version 4_5 (2010-12-14)(Full working 3G call and 720 video recording & playback)
- USB SDCard mount problem fixed
- Performances enhancement
- Frequencies wrong values fixed
Version 4_5_1 (2010-12-18)(Full working 3G call and 720 video recording & playback)
- FS Performances increased
- Little stability fix
- Fix enabled_states (now work)
- Better scheduler init parameters
- fixed a problem for 1500 and 1600 frequencies.
Version 4_5_2 STABLE (2010-12-20)(Full working 3G call and 720 video recording & playback)
- Ramzswap fixes on free-notify
- Update tune2fs executable
- fixed a stability problem for 1120 Mhz frequency
- fixed a stability problem with ext4 mount on dbdata partition
- fixed start-up hang problem
Version 4_5_3 STABLE (2010-12-21)(Full working 3G call and 720 video recording & playback)
- 342 MB free at start-up
Version 4_6 STABLE (2010-12-28)(Full working 3G call and 720 video recording & playback)
- JPX Kernel Aligned
- Minor memory tweaks.
- BlackLigthNotificaion updated to v2.3.1
- Fixed a bug with external SD Mount
- Since this release the first four frequencies are completely user configurable :There are four new sysfs files with this structure ARMCLK,MDIV,PDIV,SDIV,DIVA2M,DIVHCLKM,DIVPCLKM,DIVG2D,DIVMFC,DIVG3D
- /sys/devices/system/cpu/cpu0/cpufreq/user_free_freq_values_table_L0 original values (1600,400,6,1,7,7,1,4,4,4)
- /sys/devices/system/cpu/cpu0/cpufreq/user_free_freq_values_table_L1 original values (1500,375,6,1,7,7,1,4,4,4)
- /sys/devices/system/cpu/cpu0/cpufreq/user_free_freq_values_table_L2 original values (1400,350,6,1,7,7,1,3,3,3)
- /sys/devices/system/cpu/cpu0/cpufreq/user_free_freq_values_table_L3 original values (1300,325,6,1,7,7,1,3,3,3)
ARMCLK is the final CPU freq(Mhz) and it is a calculated value so do not set it as you want. It's value have to be calculate as follow :
ARMCLK = MDIV X 24 / (PDIV × 2power(SDIV-1)
where, MDIV, PDIV, SDIV must meet the following conditions :
PDIV: 1 = PDIV = 63
MDIV: 64 = MDIV = 1023
SDIV: 1 = SDIV = 5
(25/ PDIV): 1MHz <= (24/ PDIV) <= 12MHz
Es. ARMCLK = 400 X 24 / (6 × 2power(1-1) = 1600(Mhz)
DIVHCLKM is the divisor for main system frequency.
HCLK_MSYS(main system frequency in Mhz) = ARMCLK / (DIVHCLKM + 1)
Es(1600). HCLK_MSYS = 1600 / (7 + 1) = 200(Mhz)
HCLK_MSYS must be <= 200 (Mhz)
DIVPCLKM is the divisor for perimetral devices frequency.
PCLK_MSYS(perimetral devices frequency in Mhz) = HCLK_MSYS / (DIVPCLKM + 1)
Es(1600). PCLK_MSYS = 200 / (1 + 1) = 100(Mhz)
PCLK_MSYS must be <= 100 (Mhz)
DIVA2M is the divisor for 2d and 3d subsystem frequency.
SCLKA2M( 2d and 3d subsystem frequency in Mhz) = ARMCLK / (DIVA2M + 1)
Es(1600). SCLKA2M = 1600 / (7 + 1) = 200(Mhz)
SCLKA2M must be <= 400 (Mhz)
DIVG2D is the divisor for 2d graphic subsystem.
DIVG3D is the divisor for 3d graphic subsystem.
DIVMFC is the divisor for Multi-Format Codec.
these values must be calculate as follow :
SCLKG2D= SCLKA2M / (DIVG2D + 1)
SCLKG3D= SCLKA2M / (DIVG3D + 1)
SCLKMFC= SCLKA2M / (DIVMFC + 1)
Es(1600).
SCLKG2D(Mhz)= 200 / (4 + 1) = 40(Mhz)
SCLKG3D(Mhz)= 200 / (4 + 1) = 40(Mhz)
SCLKMFC(Mhz)= 200 / (4 + 1) = 40(Mhz)
Just to try by your self the values for 1200 and 1000 are (1200,300,6,1,6,6,1,3,3,3) and (1000,250,6,1,4,4,1,3,3,3).
To set your values at start-up crete a S_xxxxxx.sh script file as follow :#!/system/bin/sh
echo "1600 400 6 1 7 7 1 4 4 4" > /sys/devices/system/cpu/cpu0/cpufreq/user_free_freq_values_table_L0
echo "1500 375 6 1 7 7 1 4 4 4" > /sys/devices/system/cpu/cpu0/cpufreq/user_free_freq_values_table_L1
echo "1400 350 6 1 7 7 1 3 3 3" > /sys/devices/system/cpu/cpu0/cpufreq/user_free_freq_values_table_L2
echo "1300 325 6 1 7 7 1 3 3 3" > /sys/devices/system/cpu/cpu0/cpufreq/user_free_freq_values_table_L3​Good work to all.
​
Version 4_6_1 STABLE (2010-12-29)(Full working 3G call and 720 video recording & playback)
- Fix a bug into memory timing change routine
- Remove useless kernel overhead disabling CONFIG_OABI_COMPAT from .config File
- Add "S_stock_mem_timings.sh" into S_scripts.zip to set memory timing a bit better as in datasheets specs to maximize its performances in a safe manner
Version 4_6_2 STABLE (2011-01-05)(Full working 3G call and 720 video recording & playback)
- Remove an useless line from post-init.sh
- Add laptop mode with misc tweaks enabled under Recovery
- Change property windowsmgr.set_max_events_per_sec to 60 to maximize UI smooth.
Version 4_6_3 STABLE (2011-01-11)(Full working 3G call and 720 video recording & playback)
- Add a patch to optimized cache flush
- Add Armv7 optimized memset version
Version 4_6_4 STABLE (2011-01-11)(Full working 3G call and 720 video recording & playback)
- Add voodoo kernel sound patches
Version 4_6_5 STABLE (2011-01-13)(Full working 3G call and 720 video recording & playback)
- Removed Armv7 optimized memset version
- Rear speaker volume increased +1 for media
- Light sensor polling interval changed to 2s instead of 0.5s
(saves battery, more stable brightness levels)
- Light sensor sensitivity adjusted so that the screen doesn't turn bright so easily
(saves battery and reduces screen burn)
- Adjustments to IO scheduler Tweak
Version 4_6_6(2011-01-15)(Full working 3G call and 720 video recording & playback)
- Battery polling decreased from 5s to 30s (better battery usage)
- Better display light usage (better battery usage)
- Wifi scanning interval increased to 60s (better battery usage)
- Since this version my kernel have its own CWM (from speedmod one) :Possibility to apply lagfixes with ext2,ext3,ext4,ext4nj,jfs with or without binds.
/system conversion to ext4 or jfs
Ext4 mount options​Version 4_6_7 STABLE (2011-01-17)(Full working 3G call and 720 video recording & playback)
- Change light usage
- Add Custom kernel version
- Fix recovery lagfix bug
- Fix mic gain
Version 4_6_8 STABLE (2011-01-18)(Full working 3G call and 720 video recording & playback)
- Fix ROM Manager BUG (now updates work) (tnx nitr8 !!!)
Version 4_6_9 STABLE (2011-01-24)(Full working 3G call and 720 video recording & playback)
- Wifi driver battery drain fix
- Mic gain fix
- Voodoo sound 2
- VSF (Variable Screen Frequency) : Screen frequency go from 60hz (stock frequency) down to 25hz to maximize battery life. Frequency return to 60hz after a button/screen press or CPU load are more than or equal to 1ghz. Frequency return down to 60hz after 800ms.
Version 4_7_0 STABLE (2011-01-26)(Full working 3G call and 720 video recording & playback)
- Enabled Color Gain Screen Functions
- Add IPV6 privacy and enabled it by default
- Disable printk for better performances and battery usage
- Better VSF Settings.
- Add 7 sysfs files into "/sys/devices/platform/s3cfb" directory :VSF_enable (to enable "1" or disable "2" VSF)
VSF_min_cpu_freq_to_change_screen_freq (To specify A CPU freq : - When CPU <= VSF is Enabled - When CPU > VSF is Disabled)
VSF_min_screen_freq (Min screen frequency)
VSF_timer_interval & VSF_timer_iterations_until_change (Screen set to lower freq after (VSF_timer_iterations_until_change) * (VSF_timer_interval in milliseconds))
LCD_color_gain & LCD_color_gain_low (see example script)​- Add 3 new script files to S_script.zip within default kernel values:S_VSF_Disable.sh
S_VSF_Settings.sh
S_LCD_Color_Gain.sh​Version 4_7_1 (2011-01-27)
- Added support for voice calls through headphones
- Enable color gain only on video sync (better battery usage)
- Fix a "Color Gain" Bug
- New sysfs file :LCD_max_screen_freq (Max screen frequency on normal use)
​Version 4_7_2 STABLE (2011-01-29)
- Fix camera/video bug
Version 4_7_3(2011-01-31)
- VSF now is very user_friendly
- VSF changes :Screen go to upper freq when volume key is pressed
Better color gain routine
Screen go to upper freq when accelerometer returned a value >= 0.3g (customizable using VSF_gforce in sysfs/devices/platform/s3cfb)
Screen min freq changed to 40hz from 25hz
Cpu min freq for VSF change to 600mhz from 800mhz​- Voodoo sound patched 4
Version 4_7_4 (2011-02-02)
- Fix the ext2 lagfix bug
- Optimal conservative governor settings (save a lot of battery)
- VSF changes :MFC : When you see a video VSF will be disabled
Camera : When you use Camera VSF will be disabled
JPEG Decode/Encode : When you Encode Decode a Jpeg VSF will be disabled
​Version 4_7_5 (2011-02-08)
- VSF is disable by default when you play a game
- Better governor settings (a bit lower battery usage)
- Cifs module compile and included as external one (some applications had some problems to probe it inside the kernel)
- Hz change to 400 and USER_HZ to 200. Better performances and user experience.
Version 4_7_6 (2011-02-10)
- Headphones Call work fully now
- Some little bug fix
Version 4_7_7 (2011-02-16)
- VSF now Disabled during battery charging
- Better screen Sharpness
- New sysfs file, /sys/devices/system/cpu/cpu0/cpufreq/cpu_thres_table, to change cpu threshold values
- New script, S_set_cpu_thres_table.sh, inside S_scripts.zip file as an example to how change cpu threshold values
Version 4_7_8 (2011-02-20)
- Better Sharpness Again
- Added Bonus scaling on conservative governor :Every two scaling up events a bonus up jump on upper freq is made to get more smooth
Every two scaling down events a bonus down jump on lower freq is made to get better power usage
​Version 4_7_9 (2011-02-24)
- Fix a bug that hangs phone when you disable the cpu state before the maximum
- Add ext2 for System FS. IT DO NOT WORKS AT ALL. IS THE FS TYPE IS NOT SUPPORTED BY THE PHONE IN SOME WAY??
- Change down Bonus scaling on conservative governorNow every THREE scaling down events a bonus down jump on lower freq is made to get better power usage and better system response time​Version 4_8_0 (2011-02-27)
- Fixed usb TV OUT reboot bug
- Go back to RCUTREE for better speed and stability
- Set VSF CPU limit to 800000 from 600000 from optimal usage
Version 4_8_1 (2011-02-28)
- VSF Disabled by DEFAULT
- Laptop Mode Disabled by DEFAULT
- RAMZSWAP Disabled by DEFAULT
- New options under Recovery Menu/Tweaks OptionsEnable VSF
Enable Laptop Mode
Enable RAMZSWAP
Enable Memory Enhange Settings​Version 4_8_2 (2011-03-03)
- Better VSF screen adjustment algorithm. Less invasive.
- Add Kernel SuperSpeed option under Recovery Menu/Tweaks for a full speed kernel. High battery Usage !!!
- Remove Ext4nj from FS lagfix list but add under Recovery Menu/Tweaks these Options :Disable EXT4 Journal on System
Disable EXT4 Journal on Cache
Disable EXT4 Journal on Data​Version 4_8_3 (2011-03-18)
- Little VSF adjustments
- Voodoo Sound V. 5
- Now, if you want you can disable journal on EXT4 DBData.
More infos please... what you've done?
I trying it
What G++ compiler tuning options did you use?
And how did you measure the performance improvement?
Well done, this is faster - 20% boost in Quadrant score, can't feel much real world but the increase is there.
Nice work.
A req: can you include the support for Z4m?
http://forum.xda-developers.com/showthread.php?t=797672
Nice job....
Quadrant 2105
Real 100%
Can I flash this with docmod v2 jpjpa?
Sent from my GT-I9000 using XDA App
s88 said:
Can I flash this with docmod v2 jpjpa?
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
I have a similar question- i assume this is compatible with Tayutama rom, right?
s88 said:
Can I flash this with docmod v2 jpjpa?
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
I did and it worked at first .. but recovery is broken and after second reboot the screen stuck on samsung I9000 screen ...
Guess this is not compatible with Docmod V2 JPA
s88 said:
Can I flash this with docmod v2 jpjpa?
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Yes, should be compatible
Edit: http://forum.xda-developers.com/showpost.php?p=8678190&postcount=10
seems to be a problem....
I downloaded this kernel. But odin does NOT detect the file as a .tar.. The filename has with it the .tar extension, but my pc detects it as a .zip file. what do i do?
edit: LOL nevermind. i just forgot that i hid the extensions so i shifted to displaying the extensions and edit it from zip to tar.
This thing works. I have Tayutama's superslim version of JP6 with AOSP, and it works just faster. Trying to install more apps and see how it does. Great stuff!
khutzang said:
This thing works. I have Tayutama's superslim version of JP6 with AOSP, and it works just faster. Trying to install more apps and see how it does. Great stuff!
Click to expand...
Click to collapse
Good to hear!
All hail the new SGS Dev hero!
Do optimizations have any affect on battery life etc?
AndreEli said:
Do optimizations have any affect on battery life etc?
Click to expand...
Click to collapse
Hmmmm... I'm no pro.. But I think faster performance means more effort on the hardware, which means more energy will be used. I THINK.
By the way, I have just downloaded another ROM, and when i tried to go to recovery, my screen hangs at the galaxy screen. Went back to download mode, and I'm flashing a different ROM at the moment.
Anyway, tried using linpack and quadrant. Numbers weren't significant, but response in real time is a better benchmark than these programs. It feels snappier and faster.
khutzang said:
Hmmmm... I'm no pro.. But I think faster performance means more effort on the hardware, which means more energy will be used.
Click to expand...
Click to collapse
No. More optimal = less work, faster finish. Opposite.
tried it already but i can't say it became faster, the internet fix worked for me cuz i could really feel the sifference but for this ....meh..
DocRambone said:
Nice work.
A req: can you include the support for Z4m?
http://forum.xda-developers.com/showthread.php?t=797672
Click to expand...
Click to collapse
That would be AWESOME!
Would like to try, but as a captivate user, I don''t like i9000 roms without reorient kernel to keep my buttons properly mapped, my power button in recovery, autorotation and the other things that kernel addresses......

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

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

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

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