[KERNEL][11.0.0] Sultan Kernel [June 16, 2022] - Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth

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 4 and Pixel 4 XL designed to be used with the stock ROM and custom Android 11 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:
Full real-time preemption (PREEMPT_RT), which makes the kernel as responsive and stutter-free as possible
Compiled with GCC 12.1 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
Optimized CPU frequencies and EAS energy model for improved performance and battery life
WireGuard, a next generation secure VPN tunnel
Passes SafetyNet bootloader unlock check
Improved gaming performance
Improved overall system fluidity and graphics performance
Improved stability
Many other miscellaneous improvements not listed here
Source code:
11.0.0-sultan branch: https://github.com/kerneltoast/android_kernel_google_floral
Credits:
zx2c4 (for WireGuard)
osm0sis (for AnyKernel3)
kdrag0n (for quite a few useful commits)
If your name should be here and it isn't, then replace my camera with a OnePlus 3
Installation instructions:
You can flash this kernel normally in TWRP, LineageOS recovery, or Franco Kernel Manager.
Telegram group:
https://t.me/sultanskernel
Downloads:
Latest kernel

Changelog:
June 16, 2022:
*Fixed rare random reboot into the bootloader when turning on or rebooting the phone sometimes
*Fixed several rare random reboots during normal usage, caused by PREEMPT_RT
Old changelogs:
June 1, 2022:
*Fixed random reboots introduced in the previous build
May 11, 2022:
*Fixed performance regression that worsened GeekBench scores
*Fixed very rare random reboots caused by zRAM
*Fixed potential lags when exiting the camera
*Now built with GCC 12.1 instead of 11.3
May 4, 2022:
*Fixed rare delays of up to 20 seconds when trying to wake the phone from deep sleep
*Improved wake speed when waking the phone while it is entering deep sleep
May 1, 2022:
*Fixed some mistakes related to Pixel Visual Core power management
April 30, 2022:
*Fixed frequent random reboots for users who migrated from Kirisakura
*Removed Android version check from the installer zip
*Fixed random reboots and freezes during deep sleep
April 24, 2022:
*Enabled full real-time preemption (PREEMPT_RT) to make the kernel as responsive and stutter-free as possible
*Optimized several sources of micro-stutters in the kernel
*Switched the deep sleep mode to s2idle, which makes the phone wake up from deep sleep faster
*Improved thermal management by disabling CPU isolation, which was a feature used by the thermal driver that degraded performance while gaming and actually increased heat output
*Improved graphics performance
*Now built with GCC 11.3 instead of 11.1
October 18, 2021:
*Merged September Security Bulletin fixes (October didn't have any kernel changes)
*Improved memory management performance
*Improved system performance while using the camera
*Fixed a regression that caused worsened battery life
*Fixed video calling causing the entire UI to freeze with some apps
August 23, 2021:
*Merged August Security Bulletin fixes
July 25, 2021:
*Fixed front camera not working when using the Social Media Depth feature in Google Camera
July 10, 2021:
*Merged July Security Bulletin fixes
*Now built with GCC 11.1 instead of 10.3
*Improved Simple LMK responsiveness and accuracy, to only kill apps when it's really needed
May 6, 2021:
*Merged May Security Bulletin fixes
*Improved Simple LMK for better memory management (for example, games are less likely to be killed when multitasking while playing)
*Further improved scheduler performance for better overall system performance
*Further improved performance of Unity-based games (such as Genshin Impact)
April 6, 2021:
*Merged April Security Bulletin fixes
*Fixed some apps not working with the previous update
March 21, 2021:
*Improved scheduler performance for better overall system performance
*Improved performance of Unity-based games (such as Genshin Impact)
March 4, 2021:
*Re-enabled BPF JIT compiler to improve gaming and overall system performance
March 1, 2021:
*Merged March Security Bulletin fixes
*Fixed a bug where parts of the screen would erroneously remain dim in some apps
*Improved graphics performance
*Improved storage access latency
*Improved touch latency
*Improved overall system fluidity and power consumption
February 8, 2021:
*Added back missing thermal mitigation drivers to fix overheating
February 6, 2021:
*Merged February Security Bulletin fixes
*Further reduced overall system jitter
January 31, 2021:
*Fixed a bug in the ashmem rewrite that broke some system-wide sound effects
January 30, 2021:
*Added back support for prototype units
*Fixed a scheduler bug that caused random stutters
*Improved overall system fluidity
*Rewrote anonymous shared memory driver (ashmem) for improved graphics performance
January 16, 2021:
*Initial release

wow that was really cool

Ohh boi F2Fs soonTm

Awesome to see your work here for 11.

A truly original, efficient, & extremely elegant project that just simply runs great! Thanks for bringing this to the Pixel 4/XL!

Wow sultan on pixel 4xl.

Yeah great to see this kernel for p4xl. Thanks to sultan. Usual question: do i have to flash stock dtbo.img when comming from custom kernel (kiri) or just flash and forget in exkm?

Donric13 said:
Yeah great to see this kernel for p4xl. Thanks to sultan. Usual question: do i have to flash stock dtbo.img when comming from custom kernel (kiri) or just flash and forget in exkm?
Click to expand...
Click to collapse
This kernel doesn't use a dtbo, so you can just flash and forget.

Hello, is your kernel compatible with the cleanslate configuration app specifically with the gamma tweak within the app? For example Kirisakura kernel is compatible with the mod. Thanks

Zilla0617 said:
Hello, is your kernel compatible with the cleanslate configuration app specifically with the gamma tweak within the app? For example Kirisakura kernel is compatible with the mod. Thanks
Click to expand...
Click to collapse
No.

I've been running the kernel for 3 days now and it's running great so far... UI Is smooth, no hiccups, no lags no random reboot. Thank you for your work man

Thanks for your commits @Sultanxda

Hi, this kernel does support double tap to sleep and double tap to wake? Thanks

Balino said:
I've been running the kernel for 3 days now and it's running great so far... UI Is smooth, no hiccups, no lags no random reboot. Thank you for your work man
Click to expand...
Click to collapse
And what about batteria life and SOT?

gotty91 said:
And what about batteria life and SOT?
Click to expand...
Click to collapse
That's all subjective to individual usage. I have a lot of things disabled in LOS that I don't use. I average 6 hours SOT.

Deleted

gotty91 said:
And what about batteria life and SOT?
Click to expand...
Click to collapse
10 day SOT

gotty91 said:
And what about batteria life and SOT?
Click to expand...
Click to collapse
It's really subjective i'm around 3/4 hours but I charge the phone to 90% max and use it a lot for work

gotty91 said:
Hi, this kernel does support double tap to sleep and double tap to wake? Thanks
Click to expand...
Click to collapse
Nope.

Related

[Discontinued][ROM] CM10.2 with Ion and 3.0 kernel [Mar 21, 2014]

CyanogenMod (pronounced /saɪ.'æn.oʊ.dʒɛn.mɒd/) is an enhanced open source firmware distribution for smartphones and tablet computers based on the Android mobile operating system. It offers features and options not found in the official firmware distributed by vendors of these devices.
Features supported by CyanogenMod include native theming support, FLAC audio codec support, a large Access Point Name list, an OpenVPN client, an enhanced reboot menu, support for Wi-Fi, Bluetooth, and USB tethering, CPU overclocking and other performance enhancements, soft buttons and other "tablet tweaks", toggles in the notification pull-down (such as wi-fi, Bluetooth and GPS), app permissions management, as well as other interface enhancements. CyanogenMod does not contain spyware or bloatware. In many cases, CyanogenMod may increase performance and reliability compared with official firmware releases.
CyanogenMod is developed as free and open source software based on the official releases of Android by Google, with added original and third-party code.
Source: CyanogenMod Wiki​
Notable features:
Uses ION memory allocator for audio, display, video playback, etc. (ION everything except for camera)
CAF KitKat ION drivers
CAF KitKat framebuffer drivers in kernel
CAF Jellybean 4.3 display HAL
Hardware vsync
No Maps 7 glitches, Google Chrome glitches, Browser glitches, Gmail glitches, etc.
Uses ION memory allocator
Uses the newest Adreno (graphics) libraries and firmware available for our platform (these are designed for Android 4.2; they are MR1 libraries)
MTP
16:9 camera resolutions
Removed many hacks designed for old graphics
Adreno libraries version: AU_LINUX_ANDROID_JB_VANILLA_04.02.02.060.051
Uses a minimalistic kernel patched for AOSP from scratch by me (Sultan kernel Pure)
Kernel is based off of SebastianFM's Overclocked kernel v1.5.2 (http://forum.xda-developers.com/showthread.php?t=1424345)
Updated RIL to 4.0.0056HMQ (thanks to Noobel)
HTCZ715E's WiFi region code fix (region code will no longer reset to USA after a reboot)
Installation:
It is HIGHLY RECOMMENDED to do a standard full wipe (factory reset, system, cache) if you are coming from a different ROM, then install gapps for Android 4.3. If you're coming from a CM10.1 ROM then it is possible to dirty flash this ROM over your current setup and install gapps for 4.3 without wiping anything, HOWEVER, if you encounter ANY issues with this setup then I will not help you fix them. I will only listen to your issues if you do a full wipe before installing this ROM for the first time. When there is an update available it is OK to dirty-flash the update.
Common Problems and Solutions:
1. Problem: The ROM isn't booting! It's stuck on the CyanogenMod boot animation.
Solution: Try updating your recovery to the latest version available. If 4ext isn't working then flash the newest version of TWRP, do a full wipe, and flash the ROM. If you're S-ON then flash the boot.img through fastboot while you're at it.
2. Problem: My SD card isn't working!
Solution: Re-align your SD card by rebooting to recovery (4ext) and using 4ext's built-in tool to do so. I don't believe this issue plagues long-time users of TWRP.
Source:
Sultan kernel Pure (cm-10.2/cm-11.0 branch): https://github.com/sultanxda/sultan-kernel-pyramid-pure
Device tree (cm-10.2 branch): https://github.com/sultanxda/android_device_htc_pyramid
Common MSM8660 device tree (cm-10.2 branch): https://github.com/sultanxda/android_device_htc_msm8660-common
Vendor files (cm-10.2 branch): https://github.com/sultanxda/android_vendor_htc
My local manifest (cm-10.2 branch): https://github.com/sultanxda/Android
Credits (in no particular order):
These first three for all the help with CM10.2:
dastin1015
Albinoman887
dominos_liberty
mrg666
IAmTheOneTheyCallNeo
Johnnyslt
The CyanogenMod team
SilverL/lomarb
Entropy512
Alberto96
NLJ
amphorion
tdimarzio
duck0
Tbalden
rq005
KangBang/synergydev
Christopher83
Ryuinferno
destiNATION88
Frankinstine
Nick0703
Stratosk
Intervigilium
LaidbackNikez
Team Evervolv
SebastianFM
Dohclude
Axetilen
Iba21
Ghost
Amarullz
TamCore
Mesaman2012
Bruce2728
Show-p1984
Yank555
Faux123
Ezekeel
XxXPachaXxX
Blefish
paulb-nl
me
(If your name should be here but it isn't then slap me through pm and I will add it)
Downloads:
ROM: http://goo.im/devs/sultanxda/Pyramid_CM10.2
Gapps: http://goo.im/gapps/gapps-jb-20130813-signed.zip
Kernel-only updates/kernel standalone installer: http://goo.im/devs/sultanxda/Sultan_kernel_Pyramid_Pure
Mirror:
ROM: http://d-h.st/users/sultanxda/?fld_id=22646#files
Gapps: http://d-h.st/Dyf
Kernel-only updates/kernel standalone installer: http://d-h.st/users/sultanxda/?fld_id=33670#files
Changelog:
Mar 21, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Changed default Bluetooth name from HTC MSM8660 to HTC Sensation
*Lowered default vibration intensity from 100% to 80%
*Switched to Dalvik-cache settings used for 512MB RAM devices (instead of settings for 1024MB RAM devices)
*Cleaned up init.d script
*Cleaned up useless junk in many places
*Enabled Qualcomm BSP (better graphics)
*Added new ION audio libraries
*Fixed MTP on Winblows computers
*Removed mass storage option from Settings
*Added back software rendering
*Added ivanich's ION audio fix (speaker is louder with less distortion)
Kernel:
(included in ROM) Sultan kernel Pure v1.2.1:
*Reduced GPU bus bandwidth back to stock values
*Reduced FSB bandwidth back to stock values
Sultan kernel Pure v1.2.0:
*Fixed random reboots caused by new ION drivers
*Ported ION audio drivers from Team-SennyC2 3.4 kernel (thanks to SebastianFM for these drivers)
*Ported ION qdsp6v2 audio from Team-SennyC2 3.4 kernel
*Removed old PMEM audio
Sultan kernel Pure v1.1.0:
*Ported much newer CAF KitKat ION drivers (these are the same ION drivers used in Team-SennyC2 3.4 kernel)
*Ported newer PMEM driver from 3.4 kernel
*Ported newer MSM memory driver from 3.4 kernel
*Fixed flashlight turning off when screen turns off (thanks to Johnnyslt)
Mar 14, 2014:
Kernel only:
Sultan kernel Pure v1.0.6:
*Cleaned up some display parameters
*Fixed black screen when trying to resume display from sleep
*Fixed long delay when turning screen on
*Added very small updates to GPU driver from CAF
*Added back 177MHz 3D GPU frequency
*Disabled 2D GPU cores
Mar 10, 2014:
Kernel only:
Sultan kernel Pure v1.0.5:
*Fixed booting issue in v1.0.4 (stuck at HTC splash) on some devices
*Reverted to Linux 3.0.16 (better stability; see http://forum.xda-developers.com/showpost.php?p=50987527&postcount=3144)
Sultan kernel Pure v1.0.4:
*Ported newer framebuffer drivers from CAF msm-kk_2.7_rb1.27 (these are the exact same framebuffer drivers in the Team-Senny 3.4 kernel)
*All display-related issues should be fixed (ex. the long delay when waking the device from sleep)
*Added fastcharge from Yank555
*Added qdsp6v3 audio
Sultan kernel Pure v1.0.3:
*WiFi issue should now be gone (I rebooted 10-20 times and WiFi still worked)
Mar 5, 2014:
Kernel only:
Sultan kernel Pure v1.0.2:
*Fixed derp in v1.0.1 that froze the phone when playing videos (thanks to Johnnyslt for pointing out my derp)
*Removed WiFi signal hack
*Cleaned up GPU frequencies (removed 177MHz 3D GPU frequency)
*Attempted to fix WiFi not starting at boot sometimes (WiFi switch stuck in 'off' position)
Mar 2, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Truly fixed stability issues (such as systemui force closing all the time)
*Fixed boot animation not appearing 100% of the time
*Added support for MTP
*Enabled MTP by default
*Updated to CAF Jellybean 4.3 display HAL
*Enabled hardware vsync
*Enabled MDP retire fence
*Added back CRT animation
*Fixed front-facing camera camcorder resolutions
*Reduced speaker max gain to reduce distortion at high volumes
*Cleaned up and added panel undervolt feature to included 89z_kernel init.d script
*Fixed /data partition encryption (thanks to bastei) (NOTE: to encrypt your /data partition you must first shrink it by 16KB)
Kernel:
Brand-new kernel:
(included in ROM) Sultan kernel Pure v1.0.1:
*Fixed booting issue (stuck at HTC splash) on some devices (thanks to Ivanich)
*Fixed touchscreen issues (thanks to bradsh1/SebastianFM)
*Disabled Sweep2Wake by default
*Lowered Ondemand 2nd phase freq from 1134MHz to 1080MHz
*Fixed battery drain caused by frequent hotplugging by MPdecision
Sultan kernel Pure v1.0.0:
*Based off of SebastianFM's 3.0.16 Sense Overclocked kernel v1.5.2 (http://forum.xda-developers.com/showthread.php?t=1424345)
*Patched from scratch to work with AOSP by me
*Contains CAF KitKat framebuffer drivers (with hardware vsync enabled)
*Contains no placebo patches or dirty cherry-picks (very minimalistic kernel)
*Patched to Linux 3.0.101 with all conflicts resolved by hand for better stability
*Better performance than my old (r57) kernel
*Ported CAF msm-jb_chocolate power-management architecture
*Ported CAF msm-jb_chocolate USB gadget drivers
*Contains my KitKat framebuffer driver port, vidc patches, etc.
*Very solid (much more stable than my old r57 kernel)
*Unmounting and remounting SD card does not require a reboot anymore
Jan 30, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Fixed stability issues
*Fixed black screen issue in Subway Surfers and other apps while using new MR1 Adreno libs (big thanks to Google and Johnnyslt for finding this)
*Enabled QCOM bionic optimizations
Kernel:
(This changelog covers changes between r52-r54)
Kernel version r54 (current version):
*Completely re-mapped RAM to fix many stability issues
*Fixed all camera stability issues as a result of the re-map
*Fixed all video playback stability issues as a result of the re-map
*Fixed stability issues in video controller
*Disabled UKSM by default (due to high battery drain)
*Added mpdecision updates from mrg666
*Increased CPU voltages
*Compiled with the Jan 2014 release of Christopher83's Cortex-A8 optimized Linaro GCC 4.7.4 toolchain
*Userspace now has 530MB of RAM
*Fixed MEMTYPE_SMI_ION range
Kernel version r53:
*545MB of RAM (17MB increase)
*Increased audio heap size
Kernel version r52.5:
*Kernel is now compiled with GCC 4.7 instead of GCC 4.8
*Kernel is now much, much more stable due to GCC 4.7
*Kernel is now compiled with the December 2013 release of Christopher83's Cortex-A8 optimized Linaro GCC 4.7.4 toolchain
*Increased default display voltage from 2.7v to 2.85v (only a 250mV undervolt now instead of a 400mV undervolt)
*Removed CRT hack used for Android 4.1
Kernel version r52:
*Added display voltage control interface
*Added possible display undervolt by up to 700mV undervolted
*Added display undervolt option to Aroma (advanced configuration mode only)
*Switched back to old Pyramid framebuffer drivers (I'm not a magical unicorn; I don't have an AUO panel so I can't fix the new framebuffer drivers for AUO panels)
*Increased ION writeback heap size by 5MB
*Increased ION multimedia heap size by 5MB (should fix any video playback issues)
*Userspace now has 528MB of RAM
Jan 4, 2014:
Kernel:
Kernel version r51:
*Removed SmartassV2 governor
*Removed CFQ and V(R) I/O schedulers
*Ported newer framebuffer drivers from CAF msm-ics_chocolate branch
Jan 4, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Fixed gremlin in the display HAL (someone decided to put a copy of ion.h in there called ion_msm.h, instead of inheriting ion.h from the kernel )
*gralloc: Use 3 frame buffers
*Fixed sweep2wake not being disabled during calls
Kernel:
(This changelog covers changes between r48-r50.5)
Kernel version r50.5:
*Fixed minor lags in camcorder and video playback
*Fixed glitch when waking up the device
*Synced framebuffer drivers with stock HTC VilleC2 kernel
*Upgraded rotator driver to CAF msm-jb_chocolate
*Kernel should now boot on devices with an AUO panel
Kernel version r50:
*Added framebuffer drivers from VilleC2
*Fixed graphical glitches with VilleC2 framebuffer drivers (the glitches from the 12/25 build)
*Retained HTC's MDP gamma color enhancement with the new framebuffer drivers
*Imported bluetooth stack from Nexus 7 2012 KitKat kernel (tegra-android-tegra3-grouper-3.1-kitkat-mr1)
*Increased ION surfaceflinger heap size by 5/8MB
*Increased WiFi voltage back to stock 2.9v (was previously 2.6v)
Kernel version r49:
*Fixed memory-map reboots
*Userspace now has 540MB of RAM (we should've never had that extra 10MB)
*Undervolted display by 400mV (my phone's display could handle a 700mV UV so 400mV should be fine for everyone. Thanks to scverhagen for the idea)
*Fixed VPN on 4.4
Kernel version r48.5:
*Switched back to old framebuffer and panel drivers (this fixes the display glitches)
*HTC's MDP gamma color enhancement has been restored
*Increased ION multimedia heap size by 1MB
*Forced MDP core clock rate of 267MHz
*Increased WiFi voltage from 2.4v back to 2.6v (someone reported that their WiFi broke on builds after 12/10)
Kernel version r48:
*Added newer framebuffer drivers from VilleC2 (x999 thanks to dominos_liberty and SebastianFM for this)
*Much smoother graphics due to new framebuffer drivers
*Fixed some bugs in the memory map
*Fixed low RAM bug; userspace now has 550MB of RAM instead of 515MB
12/24/2013:
ROM:
Latest upstream CyanogenMod changes
Media HAL: Use ION for decoder
Display HAL: Enabled ION memory allocator
Upgraded Adreno (graphics) libraries to the newest available for our platform
Adreno libraries version: AU_LINUX_ANDROID_JB_VANILLA_04.02.02.060.053
Significantly smoother graphics
Fixed video controls not showing up in video players
Camera, camcorder, and video playback all working (thanks to Blefish for his PMEM ADSP gralloc hack, and johnnyslt & paulb-nl for help with video playback)
Fixed all glitches (no more Maps 7 glitches, random Browser glitches, etc.)
Kernel:
Kernel version r47:
Fixed video playback without breaking camcorder (thanks to help from johnnyslt and paulb-nl )
Implemented ION multimedia heap
Implemented separate ION SMI region for video playback
Video playback uses ION SMI memory and camcorder uses PMEM SMI memory (memory type is switched on-the-go depending on what is requested)
Allocated ION heaps with static base addresses for greater stability
Amount of RAM for userspace has gone down from 575MB to 515MB due to implementation of ION SMI
Ported newer video controller from upstream CAF msm-jb_chocolate
Removed all modules (WiFi and CIFS are now built into the kernel image)
Removed module-loading support (greater security, Google does this, and no need for modules anymore)
Added back 192MHz frequency step
Decreased default max CPU frequency from 1566MHz to 1404MHz
Decreased default min CPU frequency from 384MHz to 192MHz
Decreased WiFi voltage from 2.6v to 2.4v
Increased MDP core clock rate from 200MHz to 267MHz
Increased MSM rotator clock rate from 160MHz to 200MHz
11/17/2013:
ROM:
Latest upstream CyanogenMod changes
Removed graphics hacks that we don't need (we're using newer graphics )
Graphics are smoother as a result of the above change
Kernel:
Kernel version r45:
Reverted some CAF input driver imports (should hopefully fix the freezes)
11/1/2013:
ROM:
Latest upstream CyanogenMod changes
Removed a VOIP flag that probably broke VOIP
Dex files are back on the /cache partition
ROM built with Android 4.4_r1 (KitKat) tools
10/31/2013:
ROM:
Latest upstream CyanogenMod changes
Fixed MMS which was broken in the last build
Audio-visual framework is now using correct media headers (camera may be more stable now)
Kernel:
Kernel version r44.5
Fixed WiFi-related random reboots
Thermald: increased mid trip point from 77C to 78C for better consistency
Many thermald fixes:
Thermald: fixed issue where thermald would restore the same frequencies to both cores (this was an issue for those of you who set a different max frequency for each core in the Aroma installer)
Thermald: multiple fixes for greatly increased stability (some fixes are not listed here)
Thermald: fix issue where thermald would throttle you to 384MHz if it was told that your phone was 275 times hotter than the core of the sun (now if thermald detects a temperature over 1000C then it will poll the temperature sensor until it gets a temp less than 1000C)
Thermald: in an emergency situation your CPU's max frequency will be reset to 1566MHz
Thermald: fix rare issue where your CPU's max frequency would be reset to 1944MHz
10/26/2013:
ROM:
Latest upstream CyanogenMod changes
Fixed force close when switching between front and rear camera
Mms: Allow images up to 1200 x 1600 in size to be sent
Re-enabled a flag for VOIP
Kernel:
Kernel version r44
Read the changelog between r41.5 and r44 here: http://forum.xda-developers.com/showpost.php?p=35167553&postcount=2
10/18/2013:
ROM:
Latest upstream CyanogenMod changes
Fixed Viper4Android (credit: Metaiiica)
Kernel:
Kernel version r41.5
Net-related reboots should now be gone
Switched back to cubic TCP congestion algorithm
Fixed 1080P video
Now has 600MB of RAM instead of 603MB
10/17/2013:
ROM:
Latest upstream CyanogenMod changes
Switch to generic CyanogenMod power HAL
Replaced the 89kernel init.d script with a new init.d script
Kernel:
Kernel version r41
Increased 593MB of RAM to 603MB
Added back many Android binder fixes and enhancements
Added back old net subsystem from r30 in an attempt to fix random reboots (WiFi hotspot still works)
Removed net scheduler (net now uses simple FIFO scheduling)
10/10/2013:
ROM:
Latest upstream CyanogenMod changes
Android 4.3.1
Fixed Torch turning off when the screen is turned off (credit: Johnnyslt)
Kernel:
Kernel version r37
Imported input and Android drivers from CAF (this should hopefully fix some random reboots and enhance stability)
Added Bluetooth stack from CAF JB_3.2.1 (CAF 3.4 kernel) (credit: Johnnyslt)
10/7/2013:
ROM:
Latest upstream CyanogenMod changes
Fixed phone crash when taking a picture with flash enabled (credit: dhiru1602)
Fixed video playback (derp )
Kernel:
Kernel version r35
Added CAF (Code Aurora Forum) GPU driver (should be smoother and not reboot or cause hangs)
Switched from GCC 4.8.2 to GCC 4.7.4 to compile the kernel (should be more stable)
Imported power driver from CAF (credit: mrg666)
10/6/2013:
ROM:
Latest upstream CyanogenMod changes (quite a few changes)
T-Mobile Visual Voicemail should be working now
VOIP applications should be working now
Added @HTCZ715E's WiFi region code fix (region code will no longer reset to USA after a reboot)
Fixed hiccups when listening to music while the screen is off (credit: Johnnyslt)
Misc. fixes/changes
Kernel:
Kernel version r34
Updated to Linux 3.0.99
High battery drain during idle should be fixed
Screen freezes due to GPU driver should be fixed
Added back qdsp6v3
Added some audio enhancements
Old changelogs
9/29/2013:
ROM:
Latest upstream CyanogenMod changes
Fixed T-Mobile Visual Voicemail
VOIP apps should be working now
Kernel:
Updated to Linux 3.0.97
Added a ton of ARM patches from mrg666
Added new mpdecision from mrg666
Added enhanced hotplugging from mrg666
Removed a lot of garbage from the kernel (like DEBUG_FS)
Switched back to old GPU driver (for now)
Random reboots should be gone now
Removed qdsp6v3
Added back qdsp6v2_1x (hopefully this will fix the audio issues)
Lowered kernel's default screen off max freq to 540MHz
CPU frequency can be set independently for each CPU again
Removed 192MHz CPU frequency (it's buggy and not useful)
Increased FSB a little bit for CPU frequencies above 1512MHz
LOTS of other misc changes all around the kernel that I can't remember (better WiFi, performance, power management, etc.)
9/22/2013:
ROM:
Latest upstream CyanogenMod changes
Upstream change: Focal has been removed
Disabled LPA (assuming it was enabled before)
Reverted some camerawrapper changes from a previous build
Added UKSM option to 89kernel init.d script
Cleaned up init.d script a little bit
Disabled legacy NL80211 STA events
Kernel:
The 624MB RAM kernel has now become the 623MB RAM kernel
Fixed lags associated with the 623MB RAM kernel
Updated MSM rotator to CAF
Added exFAT support (Alberto96)
Lowered WiFi voltage from 3.0v to 2.2v
Lowered CPU voltages
Reduced readahead buffer size back to 128KB
Added whole network framework from Google's AOSP 3.0 common kernel (improves network as well as bluetooth)
Fixed data activity indicators due to updating the network framework (thanks to Johnnyslt for info on what was breaking the indicators)
Enabled westwood TCP congestion algorithm for better network performance
9/18/2013:
Kernel:
Both kernels (624MB & 596MB RAM):
Added back old LMK
Added significantly more advanced GPU driver
Added UKSM v0.1.2.2 (ultra KSM) for more free RAM
UKSM is enabled by default
Random reboots should now be gone
Increased WiFi voltage from 2.4v to 3.0v
Increased readahead buffer size to 8MB to take photos faster when JPEG compression is disabled (this was an old change; I'll probably lower it a bit in the next build)
9/15/2013:
ROM:
Latest upstream CyanogenMod changes
Upstream change: added CM Account
Camera: added new 16:9 resolutions to the camera app (thanks to Jelmertjuhh for the resolutions)
Camera: added touch to focus while in camcorder mode (credit: CAF)
Camera: fixed up the capture resolutions so they reflect the correct amount of megapixels
Camera: reduced JPEG compression a little bit (so pictures are less compressed)
Camera: many misc fixes
Added CM hardware tunables support (credit: Johnnyslt)
Added userspace control to change vibration strength, go to Settings and then go to "More..." (credit: Johnnyslt)
Enabled Qualcomm Board Support Package (BSP)
Added some missing audio libraries that AudioFlinger was complaining about
Kernel:
Both kernels (624MB & 596MB RAM):
Updated to Linux 3.0.96
Compiled with GCC 4.8.2 now
Compiled with the September release of Christopher83's Cortex-A8 optimized GCC 4.8.2 Linaro toolchain
Max CPU freq and min CPU freq are now synced across cores (credit: tpruvot)
Removed some useless drivers
Reduced kernel memory drain while phone is idle (credit: Snuzzo)
Added newer WiFi driver (BCMDHD) from Google's generic AOSP 3.0 kernel source (this driver is 3 months newer than the driver in the previous build)
Added networking code from Google's generic AOSP 3.0 kernel source
Fixed WiFi tethering when encryption is enabled
Updated GPU driver from CAF
Added lowmemorykiller (LMK) from Sebastian's 3.4 kernel
Decreased WiFi voltage from 3.6v to 2.4v
624MB RAM kernel:
Fixed freezing
9/03/2013:
ROM:
Latest upstream CyanogenMod changes
Added back the CM10.2 camera app
Fixed video recording with the CM10.2 camera app
Re-enabled WiFi background scanning (this just lets your phone scan for SSIDs it's memorized while the screen is locked)
9/01/2013:
ROM:
Latest upstream CyanogenMod changes
Added camera app from HTC One Google Edition 4.3 update
Decompiled and smali-edited the 4.3 GE camera apk in order to fix the bug where Gallery crashed after tapping the screen while recording video
Since the camera app is from the 4.3 GE update, it now has Photo Sphere and Picasa support
The gapps package was updated to accomodate the camera changes; please download gapps again from the link in the OP and flash it
8/31/2013:
ROM:
Latest upstream CyanogenMod changes
Upstream change: SystemUpdateService wakelock has truly been fixed this time
Switched back to the CM10.2 camera app
Fixed video recording issue with CM10.2 camera app (the issue where Gallery force closed when pressing the button to stop recording)
Camcorder: disabled snapshot while recording (credit: amphorion)
Camera: set SAVE_TASK_LIMIT to 2 (credit: amphorion)
Kernel:
Both:
Updated to Linux 3.0.94
Switched to -Os optimization (I found it to be faster than -O2)
8/30/2013:
ROM:
Latest upstream CyanogenMod changes
Upstream change: SystemUpdateService wakelock has been fixed
Kernel:
Both:
Reverted audio memory allocation back to its original size and location
8/29/2013:
ROM:
Latest upstream CyanogenMod changes
ROM is no longer built with Linaro as Linaro was causing performance and stability issues
Added 4.3 camera from pure Google AOSP source
Added changes to Google's 4.3 camera source in order to fix issues with our device
Camera does not crash when touching the screen while recording
Camera has continuous long focus lock (so if you touch the screen and focus, the camera won't re-focus when you press the shutter button)
Camera can record videos longer than 30 seconds
Made minfree values a little stricter
Enabled KSM (kernel samepage merging) by default for more RAM
Fixed issue where mapping a custom action to the search key did not work (credit: tdimarzio)
Disabled WiFi background scan support by default (this setting kept WiFi turned on even after WiFi was turned off; if you'd like to re-enable this feature then go to Advanced settings in WiFi)
Removed scrolling tweaks
Kernel:
Both:
Increased CPU voltage for better stability (and to hopefully fix random reboots)
Enabled "Allocate 2nd-level pagetables from highmem" (CONFIG_HIGHPTE, which is a sub-setting for HIGHMEM)
Allocated more RAM to audio in an attempt to fix audio distortion issues
8/27/2013:
ROM:
Latest upstream CyanogenMod changes
Fixed lags
Use the camera app from CM10.1 now as it is much more stable
Set vibration intensity to the maximum
8/26/2013:
ROM:
Latest upstream CyanogenMod changes
ROM is now compiled fully with Linaro GCC 4.7.4
ROM has been patched with many fixes from IAmTheOneTheyCallNeo that improve stability and performance when the ROM is built with Linaro
ROM now uses full GPU rendering
Kernel:
Both:
Added more WiFi changes from CAF
Added CPU-based alignment handling (improves performance)
Added USB modem support
Re-enabled memory compaction
Fixed all the freezing (freezing was fixed by re-enabling memory compaction)
Fixed dmesg (AKA /proc/kmsg)
Removed cleancache (it was never being used)
8/24/2013:
ROM:
Latest upstream CyanogenMod changes
Upstream: updated to Android 4.3_r2.2 (previously was 4.3_r2.1)
Added VOIP support (to fix Viber and other similar apps) (credit: mikeyman77)
Added some flags to make graphics and animations smoother (credit: cyanogen)
Potentially fixed an issue with Bluetooth (credit: cyanogen)
Added NLJ's sweep2wake fix while calling
Kernel:
Both:
Brand new WiFi driver from CAF (Code Aurora Forum) for more info read my post here: http://forum.xda-developers.com/showpost.php?p=44933333&postcount=986
Many of the modules are in the kernel image now so you don't have to manually load them anymore
Made some minor memory changes to fix lag
8/23/2013:
ROM:
Latest upstream CyanogenMod changes
Focal is now included in the ROM again as most of its force closes were fixed upstream
Kernel:
Both:
Disabled memory compaction
Included kernel:
Now has 596MB RAM
The memory map should be completely stable now
Optional 624MB RAM kernel:
Random reboots should be fixed (if you're still getting reboots non-related to BCMDHD then I will investigate)
Kernel now only has the ability to record up to 720P video (the 624MB RAM kernel cannot record 1080P video)
8/22/2013:
ROM:
Latest upstream CyanogenMod changes
Kernel:
Disabled panic on oops
624MB OF RAM
8/21/2013:
ROM:
Latest upstream CyanogenMod changes
Dalvik/vm: Dalvik startup with a low memory footprint (credit: Arco)
ROM is now compiled with mikeNG's GCC 4.7 toolchain
Fstab: remove the "check" option from data, causes hang on subsequent boots (credit: Albinoman887)
Kernel:
Updated to Linux 3.0.93
Attempted to fix random reboots caused by BCMDHD
Compiled with the August release of Christopher83's Cortex-A8 optimized Linaro GCC 4.7.4 toolchain
Implemented new custom memory map
New memory map features:
600.97MB of RAM has been allocated to userspace
No memory allocations are mapped to invalid addresses of over 0x70000000
Framebuffer glitches have been fixed (after the phone would be on for a while, the framebuffer would grow past 0x70000000 and result in artifacts due to addresses over 0x70000000 not existing)
Fixed a potential glitch with the MDP allocation (the space before 0x45C00000 is being allocated to something we don't see in board-pyramid.h, so if MDP were to actually grow past 0x2A90000 then it would grow into that "invisible" allocation and create artifacts)
8/18/2013:
ROM:
latest upstream CyanogenMod changes
fixed the booting issue with some devices (credit: Albinoman887 for implementing this and Team Evervolv for their fstab code)
replaced the choppy CRT animation when locking the screen with the smooth fade out animation that Nexus devices have
made some random changes to the camerawrapper in an attempt to make the camera more stable
added GooManager app
added support for OTA updates through GooManager (all future releases will be available to download OTA through GooManager)
Kernel:
WiFi: enabled high performance mode (PM_FAST) by default when the screen is off for faster OTA update downloading when the screen is off
8/17/2013:
ROM:
latest upstream CyanogenMod changes
renamed 99kernel init.d script to 89kernel in order to avoid a conflict with 90userinit (credit: duck0)
Kernel:
Updated to Linux 3.0.91
Fixed SD card issues (i.e. the bug where the phone froze when using the SD card extensively)
8/15/2013 TWO:
ROM:
latest upstream CyanogenMod changes
The skipbrokendatacall flag is no longer enabled by default in build.prop
Focal is no longer included by default as it is too unstable right now; if you still want Focal then you can get it from the Downloads section of the OP
If you are still unable to stop video recording in this build then try rebooting first and if that doesn't work then do a clean install (I am able to take videos but it is still buggy at times)
Kernel:
Updated to Linux 3.0.90
8/15/2013:
ROM:
latest upstream CyanogenMod changes
Superuser works now without the Developer options workaround
Updated RIL to 4.0.0056HMQ (thanks to Noobel for providing the 4.0.0056HMQ package)
Network scanning is fully functional (thanks to the 4.0.0056HMQ RIL)
99kernel init.d script: use Deadline I/O scheduler by default (rather than SIO)
99kernel init.d script: set default max frequency to 1512MHz (rather than 1566MHz)
99kernel init.d script: enable fsync by default
99kernel init.d script: disable fastcharge by default
Kernel:
updated to Linux 3.0.88
set default I/O scheduler to Deadline at the kernel level
8/14/2013:
ROM:
latest upstream CyanogenMod changes
credit to dastin1015 for initial camera functionality (he got me to the same camera functionality currently in Albinoman's ROM)
credit to dastin1015 for fixing an audio HAL compile error I encountered
fixed torch
fixed front facing camera
fixed system crash when taking a photo with flash enabled
switched to PMEM
ROM is no longer built with Linaro
Kernel:
switched to PMEM
8/12/2013:
ROM:
latest upstream CyanogenMod changes
fixed USB mass storage mode
added scorpion optimization
fixed a dirty hack used in the previous builds
ROM is now fully compiled with Linaro GCC 4.8.2 (this is the first ROM fully built with Linaro for the Sensation )
misc optimizations/fixes
ROM is much more stable now
Kernel:
kernel is now built with -O2 optimization and more stable optimization flags (for greater stability)
fixed the random reboots related to BCMDHD (hopefully)
8/10/2013:
ROM:
latest upstream CyanogenMod changes
fixed Settings force close when selecting Storage in Settings
fixed GPS
fixed microphone not working in apps other than Phone (like Google Now)
Kernel:
removed SELinux (we weren't even using it because it was set to Permissive mode and we don't have the proper sepolicies to set SELinux to Enforced mode)
8/9/2013:
ROM:
Android 4.3!!!
CM10.2!!!
full functionality except for camera and mounting SD to computer through USB
Kernel:
Updated to Linux 3.0.89
Reverted all changes to mpdecision so no more reboots
Added SELinux (gonna remove this later)
6/28/2013:
ROM:
switched back to using Team-Hydra's sources to build Phone.apk
fixed the WiFi issue
latest upstream changes–current CyanogenMod version is 10.1.0.1
Kernel:
updated to Linux 3.0.84
6/25/2013:
ROM:
added scorpion bionic optimization
added some CPU/GPU architecture-specific optimization flags
latest upstream changes–ROM has been updated from CM10.1 RC5 to CM10.1.0
rebased all the Team-Hydra repos to official CM10.1 repos (except for the display repo, media repo, and vendor repo)
built with the June release of the generic Linaro GCC 4.8.2 toolchain
Kernel:
reduced amount of RAM allocated to userspace to 577MB as the framebuffer seemed to be running out of memory at times (artifacts)
updated to Linux 3.0.83
built with the June release of Christopher83's Cortex-A8 optimized Linaro GCC 4.7.4 toolchain
6/11/2013:
Initial release
Reserved for probably FAQ or build instructions
Nice One Android1-7
Good luck for a working camera !
I know you will do it ^^
You think that kernel 3.4 ported by SebFM would give us working camera here?
Wysyłane z mojego HTC Sensation za pomocą Tapatalk 2
xeloni said:
Nice One Android1-7
Good luck for a working camera !
I know you will do it ^^
Click to expand...
Click to collapse
There is nooooooo way I'm smart enough for that
szotaa said:
You think that kernel 3.4 ported by SebFM would give us working camera here?
Wysyłane z mojego HTC Sensation za pomocą Tapatalk 2
Click to expand...
Click to collapse
Not sure because his camera fix might require some libs to be changed and that would be a pain on AOSP. We'll see when he releases it.
For me only, without working camera, I won't use the ROM
Great, Sultan!
Please list all benefits of using ion with his rom.
Thanx.
Noobel said:
Great, Sultan!
Please list all benefits of using ion with his rom.
Thanx.
Click to expand...
Click to collapse
I'd reckon MHL and LPA working... What else?
Nice job! By the way, I know this is kind of impossible, but is tmous WiFi calling even remotely possible?
And yes, SebastianFM says he has a fully working 3.4 kernel with camera working, but that doesn't mean that he will share it with everyone (He says it's of vipers jb ROM). XxXPachaXxX and BanB are also working to port and fix the 3.4 kernel, so we could go to them for additional support as well.
Sent from my HTC Sensation
Your Rom is Smooth, but i cannot test benchmark..
"Sent from my Ultimate Sensation Xe using xda premium"
Nice job like always, android1234567!
AndroidSupporter318 said:
Nice job! By the way, I know this is kind of impossible, but is tmous WiFi calling even remotely possible?
And yes, SebastianFM says he has a fully working 3.4 kernel with camera working, but that doesn't mean that he will share it with everyone (He says it's of vipers jb ROM). XxXPachaXxX and BanB are also working to port and fix the 3.4 kernel, so we could go to them for additional support as well.
Sent from my HTC Sensation
Click to expand...
Click to collapse
Actually he'll probably share his kernel. But I believe camera libs that he's creating would be necessary to work properly, and I think it won't be shared.
Noobel said:
Great, Sultan!
Please list all benefits of using ion with his rom.
Thanx.
Click to expand...
Click to collapse
Read through this thread: http://forum.xda-developers.com/showthread.php?t=2078504
And if I didn't have something to make it different from Albinoman's CM10.1 ROM then posting it would be a waste Personally, the ROM feels a lot faster and smoother with ION
commencal661 said:
I'd reckon MHL and LPA working... What else?
Click to expand...
Click to collapse
Pretty sure those things require other (presumably kernel) things in order to work so they're probably still broken.
Sent from my HTC Sensation using xda app-developers app
android1234567 said:
Not sure because his camera fix might require some libs to be changed and that would be a pain on AOSP. We'll see when he releases it.
Click to expand...
Click to collapse
Correct me if I'm wrong but at the very beggining of kernel deving for Sensation we also had only Sense kernel and we had to make it work for AOSP and we made it and it is working. So now if we had ported 3.4 we could make it work on aosp too.
Wysyłane z mojego HTC Sensation za pomocą Tapatalk 2
szotaa said:
Correct me if I'm wrong but at the very beggining of kernel deving for Sensation we also had only Sense kernel and we had to make it work for AOSP and we made it and it is working. So now if we had ported 3.4 we could make it work on aosp too.
Wysyłane z mojego HTC Sensation za pomocą Tapatalk 2
Click to expand...
Click to collapse
That's why I said we'll see when he releases it
android1234567 said:
That's why I said we'll see when he releases it
Click to expand...
Click to collapse
Oke, sorry for my impatience but I'm so excited
Wysyłane z mojego HTC Sensation za pomocą Tapatalk 2
android1234567 said:
Read through this thread: http://forum.xda-developers.com/showthread.php?t=2078504
And if I didn't have something to make it different from Albinoman's CM10.1 ROM then posting it would be a waste Personally, the ROM feels a lot faster and smoother with ION
Pretty sure those things require other (presumably kernel) things in order to work so they're probably still broken.
Sent from my HTC Sensation using xda app-developers app
Click to expand...
Click to collapse
Oh, right. Please excuse my ignorance
Oh cool rom! How goes the camera?
Congratulations friend!
XxXPachaXxX said:
Oh cool rom! How goes the camera?
Congratulations friend!
Click to expand...
Click to collapse
Camera does not work of course Hopefully it'll work on AOSP with Sebastian's 3.4 kernel
android1234567 said:
Camera does not work of course Hopefully it'll work on AOSP with Sebastian's 3.4 kernel
Click to expand...
Click to collapse
Oh sorry, i've readed all the posts now.
However, we are working on 3.4 kernel. When it's done, it can be used to improve aosp

[ROM][4.4.4][Stable] CyanogenMod 11 with CAF 3.0.31 kernel [February 18, 2015]

{
"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"
}
CyanogenMod (pronounced /saɪ.'æn.oʊ.dʒɛn.mɒd/) is an enhanced open source firmware distribution for smartphones and tablet computers based on the Android mobile operating system. It offers features and options not found in the official firmware distributed by vendors of these devices.
Features supported by CyanogenMod include native theming support, FLAC audio codec support, a large Access Point Name list, an OpenVPN client, an enhanced reboot menu, support for Wi-Fi, Bluetooth, and USB tethering, CPU overclocking and other performance enhancements, soft buttons and other "tablet tweaks", toggles in the notification pull-down (such as wi-fi, Bluetooth and GPS), app permissions management, as well as other interface enhancements. CyanogenMod does not contain spyware or bloatware. In many cases, CyanogenMod may increase performance and reliability compared with official firmware releases.
CyanogenMod is developed as free and open source software based on the official releases of Android by Google, with added original and third-party code.
Source: CyanogenMod Wiki​
Notable features:
Kernel is based off of vanilla CAF jb_1.9.6 source
618MB of usable RAM
Self-powered USB OTG
Uses Ion memory allocator for everything: audio, display, video playback, camera, etc. (big thanks to shantur, Flemmard, and SebastiaFM for Ion camera)
CAF KitKat Ion, framebuffer, video controller drivers, media HAL, and display HAL
CAF Jelly Bean GPU drivers (from CAF branch jb_2.5)
Hardware vsync
No Maps 7 glitches, Google Chrome glitches, Browser glitches, Gmail glitches, etc.
SELinux (Security-Enhanced Linux) enabled and set to Enforcing for better security
MTP
Newer Adreno graphics libraries (smoother graphics): AU_LINUX_ANDROID_JB_2.5.5.04.02.02.092.059
4.0.0056HMQ RIL
Major bugs:
No major bugs
Minor bugs:
Some issues with VoIP reported (this happens with all KitKat ROMs on the Sensation)
Shortcuts for apps stored on SD card disappear from the launcher homescreen after a reboot (also happens with all KitKat ROMs on the Sensation)
MHL (HDMI) is broken
Video (thanks to @EZY-E!)
Installation:
It is HIGHLY RECOMMENDED to do a standard full wipe (factory reset: wipe /cache and /data) if you are coming from a different ROM, then install the ROM and gapps for Android 4.4. If you're coming from a CM10.2 ROM then it is possible to dirty flash this ROM over your current setup and install gapps for 4.4 without wiping anything; HOWEVER, if you encounter ANY issues with this setup then I will not help you fix them. I will only listen to your issues if you perform a full wipe before installing this ROM for the first time. When there is an update available it is OK to dirty-flash the update, but don't forget to wipe /cache and Dalvik cache.
Detailed installation steps:
Download and install the latest 4ext recovery from HERE (you must have v1.0.0.6 RC2 or newer installed)
Download the ROM and Gapps (Google apps)
Reboot to recovery
Perform a full wipe (you should only need to do this if this is your first time installing the ROM)
Flash the ROM zip
Flash the gapps zip
OPTIONAL: Flash the kernel Aroma installer if you want to customize the kernel's settings
Reboot
???
Profit
Move profits to Swiss banks to evade taxes
Source code:
Kernel (cm-11.0 branch): https://github.com/sultanxda/sultan-kernel-pyramid
Device tree (cm-11.0_3.0 branch): https://github.com/sultanxda/android_device_htc_pyramid
Vendor binaries (cm-11.0 branch): https://github.com/sultanxda/android_vendor_htc
My manifest (cm-11.0 branch): https://github.com/sultanxda/Android
Credits (in no particular order):
The CyanogenMod team
All CyanogenMod contributors
CAF (Code Aurora Forum, these are Qualcomm engineers)
HTCZ715E
johnnyslt
Blefish
professorpasta
CRACING (for the banner on top of the thread)
paulb-nl
bilalliberty
SebastianFM
Flemmard
shantur
ivanich
PA for the gapps
bastei
liquid64
Mark376
me
If I forgot you then slap me and force me to use an iPhone 4 running iOS8
Downloads:
Please read through the OP before posting in the thread.
You must have 4ext recovery v1.0.0.6 RC2 or newer in order to install this ROM. Otherwise you will get a status 0 error upon installation.
ROM: https://www.androidfilehost.com/?w=files&flid=16126&sort_by=date&sort_dir=DESC
Gapps: http://www.androidfilehost.com/?w=files&flid=15801
Kernel-only updates/kernel standalone installer: https://www.androidfilehost.com/?w=files&flid=22313&sort_by=date&sort_dir=DESC
XDA:DevDB Information
CyanogenMod 11 with CAF 3.0.31 kernel, ROM for the HTC Sensation
Contributors
Sultanxda
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.0.x
Based On: CyanogenMod
Version Information
Status: Stable
Created 2014-11-12
Last Updated 2015-02-19
Changelog:
February 18, 2015:
Kernel-only:
Sultan kernel v2.0.2:
*Enabled MMC deferred resume (saves power)
February 16, 2015:
Kernel-only:
Sultan kernel v2.0.1:
*Fixed kernel crash when using USB OTG
February 15, 2015:
ROM:
*Latest upstream CyanogenMod changes (pretty much nothing)
*Removed volume-button wake option (not supported by new kernel)
*Reduced bitrate for recorded videos (recorded videos are much smaller in size now
Kernel:
Sultan kernel v2.0.0:
*Synced entire kernel with CAF jb_1.9.6 branch (jb_1.9.6 is the newest 3.0 kernel source released by Qualcomm):
-Linux 3.0.31
-New MMC drivers (faster storage performance)
-Updated crypto drivers (no more random reboots caused by crypto)
-Updated modem drivers
-Updated ARM drivers
-Updated regulator drivers (thx to Flemmard)
-Updated network drivers
-Updated much much more (impossible to list all the changes here)
*Enabled MMC clock gating (saves power)
*Removed some garbage
January 22, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Added qcom perf lib
*Reduced input-boost duration to 900ms
Kernel:
Sultan kernel v1.8.3:
*Removed KSM (our CPU literally don't got time for this)
*Added swap support
*Fixed minfreq getting stuck to the input boost frequency (1134MHz) when the user tried to modify the minfreq during a boost
*Fixed maxfreq getting stuck to the thermal throttle frequency when the user tried to modify the maxfreq while the CPU was throttled
*Set Ondemand 2-phase freq to 1134MHz
December 7, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Enabled KSM by default (using Google's recommended settings for low-memory devices)
*Made sure CPU will never be throttled during boot
*Made CPU input boosting less aggressive
Kernel:
Sultan kernel v1.8.2:
*Fixed screen recording
*Fixed green video bug
*Improved thermal driver
*Improved CPU input boost driver
*Enabled some extra debugging
*Switched back to newer video core (vidc) drivers
*Added KSM support
*Added low-power KSM mode from CAF (deferred-timer)
November 13, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Fixed Ondemand governor settings not being applied at boot
*Added VoIP fixes (credit: ivanich)
Kernel:
Sultan kernel Pure v1.8.1:
*Added back battery driver refresh rate increase for more accurate battery percentage
*Updated vidc drivers from CM Samsung MSM8660 kernel (should fix the green glitches in recorded videos)
*Removed input boosting from Ondemand governor
*Added input boosting to CPU-boost framework (the CPU is boosted whenever you touch the screen)
*CPU is automagically boosted to 1296MHz for 2.5 seconds every time the screen is touched (this makes everything feel very smooth)
November 12, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Fixed charging LED turning green when battery reached 90% (now the charging LED stays red until battery reaches 100%)
*Upgraded Adreno graphics libraries (smoother graphics and this fixes the Asphalt 8 force closes)
*Removed power HAL
*Fixed infamous bug where sound came out of the speaker and headphones at the same time (this fixes the "Ok Google" bug where sound came out of the speakers while listening to music; sound will never come out of both the speakers and headphones at the same time now)
*Decreased boot time
*Increased performance of Ondemand CPU governor
*Cleaned up 89z_kernel init.d script
*Disabled denoise setting for camera (credit: ivanich)
*Added Device Settings app for display color control (credit: johnnyslt)
*Enabled ZSL (zero shutter-lag) in the stock camera app (credit: ivanich)
Kernel:
Sultan kernel Pure v1.8.0:
*Re-wrote thermal driver (fixed many bugs)
*Reverted battery driver refresh rate increase
*Maxfreq & minfreq of CPU1 are now synced with CPU0
*Flash LEDs are set to low power when battery reaches 35% or lower (this fixes the hard shutdowns when taking pictures with flash on low battery)
*Properly disabled 2D GPUs
*Implemented CPU-boost framework (read FAQ to learn more)
Old changelogs
July 25, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Removed GooManager (it's buggier than healthcare.gov)
Kernel:
Sultan kernel Pure v1.7.2:
*Fixed touchscreen staying on while screen is turned off (such as during phone calls)
*Sweep2Wake is automatically disabled when proximity sensor is triggered (such as during phone calls; note that this does not disable S2W when the phone is in your pocket)
*Added WiFi country-code table from Google Nexus 5 kernel (this should fix WiFi issues for users who aren't in the USA)
July 18, 2014:
Kernel only:
Sultan kernel Pure v1.7.1:
*Downgraded GPU drivers from CAF kk_2.7 to CAF jb_2.5 (this fixes the constant-force-closing issue)
*Cleaned out some useless drivers
*Kernel is no longer built with all symbols (kernel isn't suffering from random reboots so I can do this; kernel is much lighter as a result)
*Removed kernel-based mpdecision
*Added support for ROM-based mpdecision binary (ROM-based mpdecision uses less battery)
*Removed charger hacks that increased maximum current intake to 1250mA
*Kernel now parses TPA2051_CFG.csv
July 1, 2014:
ROM:
*Latest upstream CyanogenMod changes
Kernel:
Sultan kernel Pure v1.7.0:
*Self-powered USB OTG
*n_tty: Fix n_tty_write crash when echoing in raw mode (Peter Hurley)
*Fixed display underrun; graphics are smoother (Steve Kondik)
*Fixed rare graphical glitch (Steve Kondik)
*Removed fastcharge
*Forced AC charge mode over USB by default (you cannot change this)
*Increased battery driver refresh rate by 12x while on battery power (battery stats refresh themselves every 5sec now instead of every 60sec)
*Reported battery percentage is much more accurate due to the above change
*Added minor GPU driver updates from CAF kk_2.7-stable
*Fixed issue with GPUMMU in graphics drivers (Blefish)
*Increased maximum current intake by ~300mA, so max is now ~1250mA
*Battery now charges between 10% and 30% faster due to the above change
*Fixed a loop in msm_thermal
June 20, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Android 4.4.4
*Fixed front-facing camcorder force close
*Added new rear-camcorder resolutions: QVGA and QCIF
*Added new front-facing camcorder resolution: CIF
*Forcefully silenced media process force closes due to physical SD card
*Enabled fastcharge by default in 89z_kernel script
Kernel:
Sultan kernel Pure v1.6.2:
*Reverted minor updates to GPU drivers that caused the GPU device to run out of memory
*Disabled panel undervolt by default
*Made thermal thresholds less strict
*Added thermal-threshold option to Aroma installer
June 15, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Fixed manual mobile-network scanning (shantur)
Kernel:
Sultan kernel Pure v1.6.1:
*Small GPU driver update from CAF
*Increased GPU memory (fixes force closes)
*Cleaned up panel-undervolt code
June 6, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Android 4.4.3
*Fixed front-facing camcorder with stock camera app
*Fixed missing VGA/480p front-facing camcorder resolution in Google Camera
*Switched to by-name partition scheme (Flemmard & Mark376)
*Added support for FFMPEG codecs (Mark376)
Kernel:
Sultan kernel Pure v1.6.0:
*Added support for vold by-name mappings (flemmard)
*Allocated more memory to Ion SF heap and RAM console
*Updated framebuffer drivers from CAF kk_2.7-stable (thanks to flemmard and intervigilium)
*Updated GPU drivers from CAF kk_2.7-stable
*Fixed thermald mid trip point (thanks to Tommyfirebird)
*Fully synced power-management architecture with CAF jb_1.9.6
*Enabled msm_rotator bus scaling
*Increased default display undervolt from 250mV to 400mV
May 11, 2014:
Kernel only:
Sultan kernel Pure v1.5.3:
*Added basic color control feature (choose between regular and cooler colors)
*Changed default color profile back to regular colors
May 11, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Increased speaker volume
*Added CIF camcorder profile
*Fixed force close when entering settings in Google Camera
*Disabled continuous auto-focus in camcorder (it would get stuck out of focus and ruin videos)
*Disabled camcorder video snapshot feature (touch-to-focus while recording is back)
*Added back CM power HAL (increased overall performance)
Kernel:
Sultan kernel Pure v1.5.2:
*Fixed constant rebooting on some devices
*Removed deprecated Ion camera heap
*620MB of RAM, as seen in About Phone
*Added HTC MDP color calibration profile from HTC One M7
*Improved display colors (colors are now much closer to true RGB)
May 3, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Switched back to old audio calibration (fixes right channel for headphones)
*Switched to libacdbloader from Flemmard (fixes audio distortion)
Kernel:
Sultan kernel Pure v1.5.1:
*Fixed camcorder in apps like Snapchat
*Enabled MDP footswitch
*602MB of RAM
May 2, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Switched to ION camera libraries—big thanks to Flemmard and shantur!
*Switched to CAF KitKat media HAL (video recording should work in apps like Snapchat now)
*Added audio calibration from shantur
Kernel:
Sultan kernel Pure v1.5.0:
*Reverted WiFi driver and wireless-stack upgrade in v1.4.0
*Backported ION camera drivers from SebastianFM's 3.4 kernel
*Backported video controller drivers from CAF 3.4 kernel (kk_2.7_rb1.35)
*Made thermald stricter—device will stay much cooler now
*Removed all PMEM
*Userspace now has 608MB of RAM, a 6MB increase (as seen in About Phone)
Apr 13, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Switched to upstream CM camera app (thanks to AceEnablementProject for their camerawrapper)
*Fixed encryption failing on /data unmount
Kernel:
Sultan kernel Pure v1.4.0:
*Backported GPU driver from CAF kk_2.7_rb1.33 (thanks to Flemmard)
*Backported WiFi driver from Google Nexus 5 kernel (thanks to Flemmard)
*Backported wireless stack from Google Nexus 5 kernel
*Added a few minor updates to ION drivers from CAF
*Fixed touchscreen not responding when waking the device from sleep
*Added some CAF patches to camera drivers
*Removed Interactive and Lagfree governors
Mar 25, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Fixed in-call audio
*Increased speaker volume
Kernel:
Sultan kernel Pure v1.3.1:
*Fixed long delay in camcorder (big thanks to paulb-nl and CAF)
*Added missing PMEM_CACHE_FLUSH function (thanks to Johnnyslt)
Mar 24, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Fixed USB issues from previous build
*Added back UMS (USB mass-storage)
*Set UMS as the default connection type (Crapintosh doesn't support MTP out-of-the-box)
*Added Netflix fix by liquid64
*Added fastcharge option to included init.d script
Kernel:
Sultan kernel Pure v1.3.0:
*Mapped memory more efficiently for a free 78MB RAM upgrade
*Userspace now has 602MB of RAM (instead of 524MB)
*Adjusted some display parameters in an attempt to fix a rare graphical glitch
Mar 20, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Fixed derp from Mar 18 that caused some devices to not boot
*Added ivanich's audio fix (speaker is louder with less distortion)
Kernel:
Sultan kernel Pure v1.2.1:
*Reduced GPU bus bandwidth back to stock values
*Reduced FSB bandwidth back to stock values
Mar 18, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Increased speaker volume
*Removed mass storage option from Settings
*Fixed MTP on Winblows computers
*Added back software rendering
Mar 17, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Added newer ION audio libraries
*Added Mark376's fix for speaker distortion at high volumes
*Fixed network traffic indicators
Kernel:
Sultan kernel Pure v1.2.0:
*Fixed random reboots caused by new ION drivers
*Ported ION audio drivers from Team-SennyC2 3.4 kernel (thanks to SebastianFM for these drivers)
*Ported ION qdsp6v2 audio from Team-SennyC2 3.4 kernel
*Removed old PMEM audio
Mar 15, 2014:
ROM:
*Latest upstream CyanogenMod changes
Kernel:
Sultan kernel Pure v1.1.0:
*Ported much newer CAF KitKat ION drivers (these are the same ION drivers used in Team-SennyC2 3.4 kernel)
*Ported newer PMEM driver from 3.4 kernel
*Ported newer MSM memory driver from 3.4 kernel
*Fixed flashlight turning off when screen turns off (thanks to Johnnyslt)
Mar 14, 2014:
Kernel only:
Sultan kernel Pure v1.0.6:
*Cleaned up some display parameters
*Fixed black screen when trying to resume display from sleep
*Fixed long delay when turning screen on
*Added very small updates to GPU driver from CAF
*Added back 177MHz 3D GPU frequency
*Disabled 2D GPU cores
Mar 10, 2014:
Kernel only:
Sultan kernel Pure v1.0.5:
*Fixed booting issue in v1.0.4 (stuck at HTC splash) on some devices
*Reverted to Linux 3.0.16 (better stability; see http://forum.xda-developers.com/showpost.php?p=50987527&postcount=3144)
Mar 9, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Enabled Qualcomm BSP (better graphics)
Kernel:
Sultan kernel Pure v1.0.4:
*Ported newer framebuffer drivers from CAF msm-kk_2.7_rb1.27 (these are the exact same framebuffer drivers in the Team-Senny 3.4 kernel)
*All display-related issues should be fixed (ex. the long delay when waking the device from sleep)
*Added fastcharge from Yank555
*Added qdsp6v3 audio
Mar 7, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Changed default Bluetooth name from HTC MSM8660 to HTC Sensation
*Removed Trebuchet and added back Launcher3
*Lowered default vibration intensity from 100% to 80%
*Switched to Dalvik-cache settings used for 512MB RAM devices (instead of settings for 1024MB RAM devices)
*Cleaned up init.d script
*Cleaned up useless junk in many places
*Enabled Qcom audio-visual enhancements
Kernel:
Sultan kernel Pure v1.0.3:
*WiFi issue should now be gone (I rebooted 10-20 times and WiFi still worked)
Mar 5, 2014:
Kernel only:
Sultan kernel Pure v1.0.2:
*Fixed derp in v1.0.1 that froze the phone when playing videos (thanks to Johnnyslt for pointing out my derp)
*Removed WiFi signal hack
*Cleaned up GPU frequencies (removed 177MHz 3D GPU frequency)
*Attempted to fix WiFi not starting at boot sometimes (WiFi switch stuck in 'off' position)
Mar 2, 2014:
Kernel only:
Sultan kernel Pure v1.0.1:
*Fixed booting issue (stuck at HTC splash) on some devices (thanks to Ivanich)
*Fixed touchscreen issues (thanks to bradsh1/SebastianFM)
*Disabled Sweep2Wake by default
*Lowered Ondemand 2nd phase freq from 1134MHz to 1080MHz
*Fixed battery drain caused by frequent hotplugging by MPdecision
Mar 1, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Fixed mute in call (thanks to Johnnyslt)
*Reverted back to legacy media HAL (as it is better designed towards our vidc drivers)
*Added support for MTP
*Enabled MTP by default
Kernel:
Brand-new kernel: Sultan kernel Pure v1.0.0:
*Based off of SebastianFM's 3.0.16 Sense Overclocked kernel v1.5.2 (http://forum.xda-developers.com/showthread.php?t=1424345)
*Patched from scratch to work with AOSP by me
*Contains no placebo patches or dirty cherry-picks (very minimalistic kernel)
*Patched to Linux 3.0.101 with all conflicts resolved by hand for better stability
*Better performance than my old (r57) kernel
*Ported CAF msm-jb_chocolate power-management architecture
*Ported CAF msm-jb_chocolate USB gadget drivers
*Contains my KitKat framebuffer driver port, vidc patches, etc.
*Very solid (much more stable than my old r57 kernel)
*Unmounting and remounting SD card does not require a reboot anymore
Feb 17, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Cleaned up front facing camera camcorder resolutions
*Updated display HAL to CAF KitKat display-caf (thanks to CM, Blefish, paulb-nl, ivanich, and myself)
*Updated media HAL to CAF KitKat media-caf
*Enabled hardware vsync
*Enabled sync framework
*Enabled MDP retire fence
*HUGE graphics performance increase
Kernel:
Kernel version r57:
*Added CPU table from SebastianFM's 3.4 kernel (lower L2-cache frequencies)
*Ported CAF KitKat framebuffer & MDP drivers (thanks to CM, bilal_liberty, SebastianFM, ivanich, and myself)
*Updated sync drivers to CAF KitKat
*Updated msm_rotator to CAF KitKat
*Enabled hardware vsync
*HUGE graphics performance increase
Feb 15, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Added missing SD 480P (VGA) camcorder resolution for the front facing camera
*Added missing QCIF camcorder resolution for the front facing camera
*Fixed QVGA camcorder resolution for the front facing camera
*Enabled option in Settings > Display to change screen-off animation style
Kernel:
Kernel version r56:
*Added crypto drivers from stock 3.0.16 Pyramid kernel
*Kernel is no longer compiled with Linaro
*Kernel is now compiled with Google's AOSP GCC 4.7 toolchain
*Removed all custom optimization flags
*Enabled 2-phase feature for Ondemand
*Increased default max CPU freq to 1512MHz
*Increased ION writeback heap size
*Increased ION mfc heap size
Feb 8, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Camera: Fixed force close when switching to front-facing camera while in camcorder mode (thanks to CM)
*Camera: Added touch-to-focus in camcorder mode (thanks to CAF and CM)
*Made minfree values less strict (minfree values are now the defaults from the kernel)
*Fixed encryption (thanks to bastei)
*Reduced speaker max gain to reduce distortion at high volumes
*Cleaned up and added panel undervolt feature to included 89z_kernel init.d script
Kernel:
Kernel version r55:
*Cleaned up Aroma installer
*Added cryptography drivers from CAF jb_chocolate
*UKSM: Limited CPU utilization by default to 25% (instead of 95%)
*Synced ION drivers with CM Samsung MSM8660 kernel
*Updated Android drivers (LMK, binder, etc.) from Google's KitKat Grouper kernel
*Increased default touchscreen buffer size (let's see if this makes the touchscreen glitch out less)
*Removed Simple GPU governor
*Switched from JRCU to preemptible tree RCU
Jan 29, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Fixed black screen issue in Subway Surfers and other apps while using new MR1 Adreno libs (big thanks to Google and Johnnyslt for finding this)
*Removed cache partition tweaks (these may be the culprit for the high battery drain in the previous build)
Kernel:
*Fixed MEMTYPE_SMI_ION range
Jan 27, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Switched to scorpion CPU optimizations + bionic optimizations
*Added cache partition tweaks from CM d2-common fstab
*CRT animation is back (it enabled itself )
Kernel:
Kernel version r54:
*Completely re-mapped RAM to fix many stability issues
*Fixed all camera stability issues as a result of the re-map
*Fixed all video playback stability issues as a result of the re-map
*Fixed stability issues in video controller
*Disabled UKSM by default (due to high battery drain)
*Added mpdecision updates from mrg666
*Increased CPU voltages
*Compiled with the Jan 2014 release of Christopher83's Cortex-A8 optimized Linaro GCC 4.7.4 toolchain
*Userspace now has 530MB of RAM
Jan 16, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Enabled Krait CPU & bionic optimizations
Kernel:
Kernel version r53:
*545MB of RAM (17MB increase)
*Increased audio heap size
Jan 9, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Added missing Bluetooth permission
Kernel:
Kernel version r52.5:
*Kernel is now compiled with GCC 4.7 instead of GCC 4.8
*Kernel is now much, much more stable due to GCC 4.7
*Kernel is now compiled with the December 2013 release of Christopher83's Cortex-A8 optimized Linaro GCC 4.7.4 toolchain
*Increased default display voltage from 2.7v to 2.85v (only a 250mV undervolt now instead of a 400mV undervolt)
*Removed CRT hack used for Android 4.1
Jan 6, 2014:
Kernel:
Kernel version r52:
*Added display voltage control interface
*Added possible display undervolt by up to 700mV undervolted
*Added display undervolt option to Aroma (advanced configuration mode only)
*Switched back to old Pyramid framebuffer drivers (I'm not a magical unicorn; I don't have an AUO panel so I can't fix the new framebuffer drivers for AUO panels)
*Increased ION writeback heap size by 5MB
*Increased ION multimedia heap size by 5MB (should fix any video playback issues)
*Userspace now has 528MB of RAM
Jan 4, 2014:
Kernel:
Kernel version r51.5:
*mipi probe should be fixed for AUO devices
Jan 4, 2014:
Kernel:
Kernel version r51:
*Removed SmartassV2 governor
*Removed CFQ and V(R) I/O schedulers
*Ported newer framebuffer drivers from CAF msm-ics_chocolate branch
Jan 4, 2014:
Kernel:
Kernel version r50.5:
*Fixed minor lags in camcorder and video playback
*Fixed glitch when waking up the device
*Synced framebuffer drivers with stock HTC VilleC2 kernel
*Upgraded rotator driver to CAF msm-jb_chocolate
*Kernel should now boot on devices with an AUO panel
Jan 4, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Switched back to newer, MR1 Adreno blobs (needed to fix Browser glitches)
*Removed hacks for MR0 Adreno blobs
*Fixed gremlin in the display HAL (someone decided to put a copy of ion.h in there called ion_msm.h, instead of inheriting ion.h from the kernel )
*gralloc: Use 3 frame buffers
*Enabled scorpion bionic optimizations
Kernel:
Kernel version r50:
*Added framebuffer drivers from VilleC2
*Fixed graphical glitches with VilleC2 framebuffer drivers (the glitches from the 12/25 build)
*Retained HTC's MDP gamma color enhancement with the new framebuffer drivers
*Imported bluetooth stack from Nexus 7 2012 KitKat kernel (tegra-android-tegra3-grouper-3.1-kitkat-mr1)
*Increased ION surfaceflinger heap size by 5/8MB
*Increased WiFi voltage back to stock 2.9v (was previously 2.6v)
12/30/2013:
ROM:
*Latest upstream CyanogenMod changes
*Reverted back to old, MR0 Adreno libs (this fixes the black screen in games like Subway Surfers)
*Added back hacks for MR0 Adreno libs
*(gapps link in the OP updated to PA mini-modular)
Kernel:
Kernel version r49:
*Fixed memory-map reboots
*Userspace now has 540MB of RAM (we should've never had that extra 10MB)
*Undervolted display by 400mV (my phone's display could handle a 700mV UV so 400mV should be fine for everyone. Thanks to scverhagen for the idea)
*Fixed VPN
12/29/2013:
ROM:
Latest upstream CyanogenMod changes
Removed VilleC2 audio libs (this fixes distorted speaker)
Always keep 3 frame buffers ready (makes graphics smoother, credit: cyanogen)
Fixed VoIP (thanks to ivanich)
Fixed included Camera app (for now I have reverted the Camera code to the last time it was working)
Kernel:
Kernel version r48.5:
Switched back to old framebuffer and panel drivers (this fixes the display glitches)
HTC's MDP gamma color enhancement has been restored
Increased ION multimedia heap size by 1MB
Forced MDP core clock rate of 267MHz
Increased WiFi voltage from 2.4v back to 2.6v (someone reported that their WiFi broke on builds after 12/10)
12/25/2013:
ROM:
Latest upstream CyanogenMod changes
Added proprietary audio libs from VilleC2
Speaker is much louder as a result and audio is better quality
Kernel:
Kernel version r48:
Added newer framebuffer drivers from VilleC2 (x999 thanks to dominos_liberty and SebastianFM for this)
Much smoother graphics due to new framebuffer drivers
Fixed some bugs in the memory map
Fixed low RAM bug; userspace now has 550MB of RAM instead of 515MB
12/24/2013:
ROM:
Latest upstream CyanogenMod changes
Android 4.4.2
Media HAL: Use ION for video decoder
Don't use modular bcmdhd (bcmdhd is built into the kernel image now, like it is on Nexus devices)
Kernel:
Fixed video playback without breaking camcorder (thanks to help from johnnyslt and paulb-nl )
Implemented ION multimedia heap
Implemented separate ION SMI region for video playback
Video playback uses ION SMI memory and camcorder uses PMEM SMI memory (memory type is switched on-the-go depending on what is requested)
Allocated ION heaps with static base addresses for greater stability
Amount of RAM for userspace has gone down from 575MB to 515MB due to implementation of ION SMI
Ported newer video controller from upstream CAF msm-jb_chocolate
Removed all modules (WiFi and CIFS are now built into the kernel image)
Removed module-loading support (greater security, Google does this, and no need for modules anymore)
Added back 192MHz frequency step
Decreased default max CPU frequency from 1566MHz to 1404MHz
Decreased default min CPU frequency from 384MHz to 192MHz
Decreased WiFi voltage from 2.6v to 2.4v
Increased MDP core clock rate from 200MHz to 267MHz
Increased MSM rotator clock rate from 160MHz to 200MHz
12/10/2013:
ROM:
Latest upstream CyanogenMod changes
Android 4.4.1
Proximity sensor working again
Notable upstream change: screenshot preview fixed
12/04/2013:
ROM:
Latest upstream CyanogenMod changes
Implemented PMEM SMI into gralloc
Fixed camcorder (NOTE: playing back a video still causes a soft reboot)
Added a proper fix for the media provider force closes (credit: drewis from Evervolv)
Fixed Google Now voice commands
Kernel:
Kernel version r46:
Cleaned up memory mapping
Userspace now has 575MB of RAM (roughly a 30MB increase from the previous build)
Switched vidc to PMEM
12/03/2013:
ROM:
Latest upstream CyanogenMod changes
Fixed camera (9999x thanks to Blefish for the gralloc fix, and to professorpasta for the help on getting the gralloc fix to compile)
(Camcorder is still broken)
11/24/2013:
ROM:
Latest upstream CyanogenMod changes
Fixed accelerometer
Fixed proximity sensor (credit: kejar31)
Fixed all other sensors (except for camera of course)
Kernel:
Built with the November release of Christopher83's Cortex-A8 optimized Linaro GCC 4.8.3 toolchain
11/17/2013:
ROM:
Latest upstream CyanogenMod changes
Fixed audio bugs (credit: johnnyslt)
Implemented HTCZ715E's WiFi region code fix (region code will no longer reset to USA after a reboot)
Fixed USB mass storage mode
Removed many hacks for old graphics (we are using newer graphics libraries )
Graphics are significantly smoother as a result of the above change
11/16/2013:
ROM:
Initial build
Kernel:
Kernel version r45:
Enabled SELinux
Enabled ION
Reverted some input driver imports from CAF (to hopefully fix the freezes)
Kernel features and details:
This is a 3.0.31 kernel based off of vanilla CAF jb_1.9.6 kernel source with these features:
Full Ion
Self-powered USB OTG
Sweep2Wake
More accurate battery percentage readings
AC charge speed over USB (fastcharge)
618MB of usable RAM
CPU Input Boost (boosts the CPU when the screen is touched)
Ion camera drivers backported from SebastianFM's 3.4 kernel
Ion audio drivers backported from SebastianFM's 3.4 kernel
Latest CAF KitKat Ion drivers (from the CAF kk_2.7 branch)
CAF Jelly Bean GPU drivers (KGSL) (from the CAF jb_2.5 branch)
Latest CAF KitKat framebuffer drivers (from the CAF kk_2.7 branch)
Latest CAF KitKat video controller (vidc) drivers (from the CAF kk_2.7 branch)
CAF jb_chocolate power-management (PM) architecture
CAF jb_chocolate USB gadget drivers
Newer WiFi drivers from Google's Nexus 7 2012 KitKat kernel
Newer wireless stack from Google's Nexus 7 2012 KitKat kernel
Newer Android drivers (such as lowmemorykiller) from Google's Nexus 7 2012 KitKat kernel
Display undervolting by up to 700mV
Kernel-based thermald
Basic display color control (choose between regular and cooler colors)
Lots of debugging garbage removed
No kernel modules (greater security)
SELinux
CPU overclockable up to 1.944GHz
GPU overclockable up to 320MHz
reserved
No glitches - downloading now, reports later. Thank you android1234567
:thumbup:
Donno why, but I feel really proud about you!
Keep it up, mate! :good:
Nice man
You are the best
It's our pleasure to have dev like you. Thanks a lot....:thumbup::thumbup::thumbup:
Sent from my HTC Sensation Z710e using xda app-developers app
Great!! Downloading now
WOW
Wow our sensation devs are fast. Good job
I'm really not being good friends with goo.im atm...
Good job ;D keep it up :good: :good: downloading right now
Quick question does this kitkat make the Google experience launcher work ? i couldn't get the "ok google" to work on your 4.3.1
Thanks again
Can anybody get past 12% when downloading?
jkolner said:
I'm really not being good friends with goo.im atm...
Click to expand...
Click to collapse
jkolner said:
Can anybody get past 12% when downloading?
Click to expand...
Click to collapse
It's still uploading to Dev-Host. 36% completed.
fierah said:
Good job ;D keep it up :good: :good: downloading right now
Quick question does this kitkat make the Google experience launcher work ? i couldn't get the "ok google" to work on your 4.3.1
Thanks again
Click to expand...
Click to collapse
I haven't tried, but it should work: http://www.xda-developers.com/andro...auncher-to-all-jelly-bean-and-kitkat-devices/
You always come with a blast .. thanks man
jkolner said:
Can anybody get past 12% when downloading?
Click to expand...
Click to collapse
Me.
100%
If I flash sultan without ion does camera will work?
Enviado desde mi GT-N5110 mediante Tapatalk
AndresSanzH said:
If I flash sultan without ion does camera will work?
Enviado desde mi GT-N5110 mediante Tapatalk
Click to expand...
Click to collapse
Trust me, if it were that simple then I would have done it long ago.
Your phone will not turn on if you flash a version of my kernel without ION. Only the kernel included in the ROM and the provided variant of my kernel with ION (in the download section of the OP) will boot on this ROM.
I would have used PMEM, but ION is necessary in KitKat.

[Discontinued][ROM][4.4.4] CyanogenMod 11 with CAF 3.4.0 kernel [November 25, 2014]

{
"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"
}
CyanogenMod (pronounced /saɪ.'æn.oʊ.dʒɛn.mɒd/) is an enhanced open source firmware distribution for smartphones and tablet computers based on the Android mobile operating system. It offers features and options not found in the official firmware distributed by vendors of these devices.
Features supported by CyanogenMod include native theming support, FLAC audio codec support, a large Access Point Name list, an OpenVPN client, an enhanced reboot menu, support for Wi-Fi, Bluetooth, and USB tethering, CPU overclocking and other performance enhancements, soft buttons and other "tablet tweaks", toggles in the notification pull-down (such as wi-fi, Bluetooth and GPS), app permissions management, as well as other interface enhancements. CyanogenMod does not contain spyware or bloatware. In many cases, CyanogenMod may increase performance and reliability compared with official firmware releases.
CyanogenMod is developed as free and open source software based on the official releases of Android by Google, with added original and third-party code.
Source: CyanogenMod Wiki​
Notable features:
Uses 3.4.0 kernel based off of pure CAF KitKat sources (∞ thanks to Flemmard and shantur for their amazing fixes; read the 4th post for an explanation on what CAF means)
613MB of usable RAM
Self-powered USB OTG
Uses Ion memory allocator for everything: audio, display, video playback, camera, etc. (big thanks to shantur, Flemmard, and SebastiaFM for Ion camera)
CAF KitKat Ion, framebuffer, video controller drivers, media HAL, and display HAL
CAF Jelly Bean GPU drivers (from CAF branch jb_2.5)
Hardware vsync
No Maps 7 glitches, Google Chrome glitches, Browser glitches, Gmail glitches, etc.
SELinux (Security-Enhanced Linux) enabled and set to Enforcing for better security
MTP
Newer Adreno graphics libraries (smoother graphics): AU_LINUX_ANDROID_JB_2.5.5.04.02.02.092.059
4.0.0056HMQ RIL
Minor bugs:
Some issues with VoIP reported (this happens with all KitKat ROMs on the Sensation)
Shortcuts for apps stored on SD card disappear from the launcher homescreen after a reboot (also happens with all KitKat ROMs on the Sensation)
Video (thanks to @EZY-E!)
Installation:
It is HIGHLY RECOMMENDED to do a standard full wipe (factory reset: wipe /cache and /data) if you are coming from a different ROM, then install the ROM and gapps for Android 4.4. If you're coming from a CM10.2 ROM then it is possible to dirty flash this ROM over your current setup and install gapps for 4.4 without wiping anything; HOWEVER, if you encounter ANY issues with this setup then I will not help you fix them. I will only listen to your issues if you perform a full wipe before installing this ROM for the first time. When there is an update available it is OK to dirty-flash the update, but don't forget to wipe /cache and Dalvik cache.
Detailed installation steps:
Download and install the latest 4ext recovery from HERE (you must have v1.0.0.6 RC2 or newer installed)
Download the ROM and Gapps (Google apps)
Reboot to recovery
Perform a full wipe (you should only need to do this if this is your first time installing the ROM)
Flash the ROM zip
Flash the gapps zip
OPTIONAL: Flash the kernel Aroma installer if you want to customize the kernel's settings
Reboot
???
Profit
Move profits to Swiss banks to evade taxes
Source:
Sultan kernel CAF 3.4 (cm-11.0 branch): https://github.com/sultanxda/sultan-kernel-pyramid-CAF-3.4
Device tree (cm-11.0 branch): https://github.com/sultanxda/android_device_htc_pyramid
Vendor binaries (cm-11.0 branch): https://github.com/sultanxda/android_vendor_htc
My manifest (cm-11.0 branch): https://github.com/sultanxda/Android
Credits (in no particular order):
The CyanogenMod team
All CyanogenMod contributors
CAF (Code Aurora Forum, these are Qualcomm engineers)
HTCZ715E
johnnyslt
Blefish
professorpasta
CRACING (for the banner on top of the thread)
paulb-nl
bilalliberty
SebastianFM
Flemmard
shantur
ivanich
PA for the gapps
bastei
liquid64
Mark376
me
If I forgot you then slap me and force me to use an iPhone 4 running iOS8
Downloads:
Please read through the OP before posting in the thread.
You must have 4ext recovery v1.0.0.6 RC2 or newer in order to install this ROM. Otherwise you will get a status 0 error upon installation.
ROM: https://www.androidfilehost.com/?w=files&flid=21307&sort_by=date&sort_dir=DESC
Google Apps: http://www.androidfilehost.com/?w=files&flid=15801
Kernel Aroma installer: https://www.androidfilehost.com/?w=files&flid=21764&sort_by=date&sort_dir=DESC
XDA:DevDB Information
CM11 with CAF 3.4.0 kernel, ROM for the HTC Sensation
Contributors
Sultanxda
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.4.x
Based On: CyanogenMod
Version Information
Status: Stable
Created 2014-11-16
Last Updated 2014-12-07
Changelog:
November 25, 2014:
Kernel-only:
Sultan kernel CAF v1.2.1:
*Removed zRAM, zsmalloc, and swap (fixes the freezes)
November 25, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Enabled zRAM by default (with 40% compression and Google's recommended settings)
*Enabled KSM by default (with Google's recommended settings)
*Made CPU input-boosting less aggressive for better battery life
Kernel:
Sultan kernel CAF v1.2.0:
*Fixed green artifacts in recorded videos
*611MB of RAM
*Removed CPU-boost framework
*Added CPU Input Boost driver (newer version of CPU-boost framework--more robust)
*Added swap, zRAM, zsmalloc, and KSM support
*Updated zRAM from CAF
*Updated zsmalloc from CAF
*Updated KSM from CAF (deferred timer support, which reduces KSM's power usage)
November 16, 2014:
ROM:
(This changelog shows all of the collective changes from the past few months)
November 15, 2014:
*Latest upstream CyanogenMod changes
*Fixed USB tethering (credit: ivanich)
*Fixed random shutdowns (credit: flemmard)
November 13, 2014:
*Fixed Ondemand governor settings not being applied at boot
*Added VoIP fixes (credit: ivanich)
November 12, 2014:
*Fixed charging LED turning green when battery reached 90% (now the charging LED stays red until battery reaches 100%)
*Upgraded Adreno graphics libraries (smoother graphics and this fixes the Asphalt 8 force closes)
*Removed power HAL
*Fixed infamous bug where sound came out of the speaker and headphones at the same time (this fixes the "Ok Google" bug where sound came out of the speakers while listening to music; sound will never come out of both the speakers and headphones at the same time now)
*Decreased boot time
*Increased performance of Ondemand CPU governor
*Cleaned up 89z_kernel init.d script
*Disabled denoise setting for camera (credit: ivanich)
*Added Device Settings app for display color control (credit: johnnyslt)
*Enabled ZSL (zero shutter-lag) in the stock camera app (credit: ivanich)
July 25, 2014:
*Removed GooManager (it's buggier than healthcare.gov)
June 20, 2014:
*Android 4.4.4
*Fixed front-facing camcorder force close
*Added new rear-camcorder resolutions: QVGA and QCIF
*Added new front-facing camcorder resolution: CIF
*Forcefully silenced media process force closes due to physical SD card
June 15, 2014:
*Fixed manual mobile-network scanning (shantur)
Kernel:
Sultan kernel CAF v1.1.0:
*Updated kernel source to upstream CAF (version AU_LINUX_ANDROID_KK_2.7_RB1.04.04.04.007.067)
*Added battery driver refresh rate increase for more accurate battery percentage
*Removed input boosting from Ondemand governor
*Implemented CPU-boost framework (read FAQ to learn more)
*Added input boosting to CPU-boost framework (the CPU is boosted whenever you touch the screen)
*CPU is automagically boosted to 1296MHz for 2.5 seconds every time the screen is touched (this makes everything feel very smooth)
*Re-wrote thermal driver (fixed many bugs)
*Maxfreq & minfreq of CPU1 are now synced with CPU0
*Flash LEDs are set to low power when battery reaches 35% or lower (this fixes the hard shutdowns when taking pictures with flash on low battery)
*Downgraded GPU drivers from CAF kk_2.7 to CAF jb_2.5 (this fixes the constant-force-closing issue)
*Cleaned out some useless drivers
*Removed kernel-based mpdecision
*Added support for ROM-based mpdecision binary (ROM-based mpdecision uses less battery)
*Self-powered USB OTG
*n_tty: Fix n_tty_write crash when echoing in raw mode (Peter Hurley)
*Fixed display underrun; graphics are smoother (Steve Kondik)
*Fixed rare graphical glitch (Steve Kondik)
*Removed fastcharge
*Forced AC charge mode over USB by default (you cannot change this)
*Disabled panel undervolt by default
*Replaced battery drivers with the ones from the 3.0 kernel (as we are using the battery daemon designed for 3.0)
Old changelogs:
June 14, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Android 4.4.3
*Fixed manual mobile-network scanning (shantur)
*Fixed front-facing camcorder with stock camera app
*Fixed missing VGA/480p front-facing camcorder resolution in Google Camera
*Added support for FFMPEG codecs (Mark376)
Kernel:
Sultan kernel Pure CAF v1.0.4:
*Synced with CAF kk_2.7-stable branch
*Re-enabled eMMC background operations
*Increased GPU memory (needed for GPU-driver updates)
*Shifted kernel start address to 0x40400000
*Added 3 more memory banks to utilize more RAM
*620MB of RAM
*Updated WiFi drivers from Nexus 5 KitKat 4.4.3 kernel release
May 25, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Switched back to old audio calibration
*Fixed booting issue caused by fstab changes in previous build
Kernel:
Sultan kernel Pure CAF v1.0.3:
*Updated power-management architecture from Flemmard & CAF
*Parse correct audio calibration file (fixes low speaker volume)
*Fixed laggy animations when screen brightness changed (credit: intervigil)
May 24, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Switched to by-name partition scheme (Flemmard & Mark376)
*Updated included 89z_kernel init.d script
Kernel:
Sultan kernel Pure CAF v1.0.2:
*Removed SweepTooBuggy
*Synced framebuffer drivers with CAF kk_2.7-stable branch
*Fixed unbalanced dsi clock in framebuffer drivers
May 23, 2014:
ROM:
*Latest upstream CyanogenMod changes
*Notable upstream change: phone crash on status bar pull down fixed
*Added high-brightness mode to Torch
*Added audio calibration from Shantur
Kernel:
Sultan kernel Pure CAF v1.0.1:
*Added Sweep2Vomit (more commonly known as Sweep2Wake)
*Removed lots of excessive debugging and other garbage
*Synced with CAF kk_2.7-stable branch
*Fixed n_tty_write crash when echoing in raw mode (peterhurley)
*Fixed WiFi issues
*Improved power management
*607MB of RAM
May 15, 2014:
ROM:
*Initial release with CAF kernel
Kernel:
*Initial release of 3.4.0 kernel based off of pure CAF KitKat 2.7_rb1.38 source
*Made possible by drivers and fixes by Flemmard
Kernel features and details
This is a 3.4 kernel based off of pure CAF KitKat (kk_2.7-stable) kernel source with these features:
Fully-synced with the latest changes from Qualcomm (CAF)
620MB of RAM
WiFi drivers from Google's Nexus 5 kernel
Display undervolting
Basic color control (choose between regular and cooler colors)
Lots of debugging garbage removed
CPU overclocking up to 1.836GHz
GPU overclocking up to 320MHz
Full Ion
Self-powered USB OTG
More accurate battery percentage readings
AC charge speed over USB (fastcharge)
620MB of usable RAM
CPU-boost framework (boosts the CPU when the screen is touched and during certain strenuous activities)
Display undervolting by up to 700mV
Kernel-based thermald
Basic display color control (choose between regular and cooler colors)
Lots of debugging garbage removed
No kernel modules (greater security)
SELinux
FAQ
What is CAF? What do you mean when you say that you have made a pure CAF kernel?
Answer: CAF = Code Aurora Forum. CAF is where Qualcomm engineers work to optimize the Linux kernel exclusively for Qualcomm chipsets. Device manufacturers use the kernel source from CAF to create kernels for their Qualcomm devices, but the code they get from CAF is always several months older than the latest code available on CAF. By grabbing the latest kernel source from CAF and adding Flemmard's Sensation drivers & fixes to it, I have created a new kernel that has all of the latest tweaks and optimizations from Qualcomm, and no major code from anywhere else.
So good to see this from you dude!
Am I correct in thinking this is like the teamsennyc2 nighlies but with all your tweaks and stuff from your cm11 3.0 kernel build?
Sorry if I'm simplifying it a bit!
EDIT: oh hang on I'm wrong! So with the hybrid pmem camera you devised the camera will work fully won't it? No autofocus issues?
sjknight413 said:
So good to see this from you dude!
Am I correct in thinking this is like the teamsennyc2 nighlies but with all your tweaks and stuff from your cm11 3.0 kernel build?
Sorry if I'm simplifying it a bit!
Click to expand...
Click to collapse
I suppose. This uses a different kernel from Team-SennyC2 that I patched from scratch from Sebastian's 3.4 kernel. It's similar to the Team-SennyC2 kernel/ROM but there are a few huge differences: 3.0 PMEM camera libraries, 3.0 PMEM camera drivers, 3.0 video controller drivers, PMEM heap allocations for the camera, and 596MB of RAM. Team-SennyC2 and all other 3.4 ROMs use ION camera, not PMEM.
Camera is fully functional (front facing camera, focus, camcorder, you name it) as it uses my work with PMEM and ION in my 3.0 kernel. Camera functionality is at the exact same level as my other CM11 ROM (so no autofocus).
The kernel also has fastcharge and sweep2wake.
Omg..!! really nice..!! i'll try this soon
What's going on here? Another kernel 3.4 kitkat rom !!
Sent from my HTC Sensation XE with Beats Audio Z715e using xda app-developers app
Is it possible to include the aroma installer?
lol I wonder how many more cm11 are to come
wooow..with PMEM ..I wiil it..
thx master..
n permission to make Dolby patches for this rom,,thx before
Thank you for keeping the Sensation alive!!!
Good :thumbup:
sjknight413 said:
So good to see this from you dude!
Am I correct in thinking this is like the teamsennyc2 nighlies but with all your tweaks and stuff from your cm11 3.0 kernel build?
Sorry if I'm simplifying it a bit!
EDIT: oh hang on I'm wrong! So with the hybrid pmem camera you devised the camera will work fully won't it? No autofocus issues?
Click to expand...
Click to collapse
How good works CM 11 UnoRoms flemmard? How much of ram do you have there and how is it's multitasking?
Nice, downloading ..
Tks for our sensy
Uploaded Aroma installer for the kernel.
This concludes my Spring break madness :silly:
Nice to see another CM11 :good:
Ahh.. @Sultanxda what do you means autofocus isn't working? is the focus only work with touch to focus?
Mark376 said:
Nice to see another CM11 :good:
Ahh.. @Sultanxda what do you means autofocus isn't working? is the focus only work with touch to focus?
Click to expand...
Click to collapse
Yes. Camera only focuses with touch-to-focus and when you take a picture. This is how it is on ALL AOSP ROMs. The only ROMs with autofocus completely functioning are Sense ROMs. Autofocus means that the camera will focus itself automatically when you move the phone in a way that the camera becomes out of focus. The only AOSP ROM with autofocus slightly functioning (it isn't working properly) is the Team-SennyC2 ROM.
I think you guys have been misunderstanding what autofocus means
@Sultanxda why didn't you base your Kernel off flemmards Kernel, what are the differences?
And is this Kernel compatible to other roms?
I knew it, devs maintaining roms for our senny are genious. Excellent work sultan :thumbup: thanks
Sent from my HTCSensation using xda app-developers app

[OP3+3T][ROM+KERNEL] Unofficial LineageOS 14.1 with custom kernel [January 09, 2020]

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 LineageOS 14.1 ROM that works on both the OnePlus 3 and OnePlus 3T. 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:
Based off latest LineageOS 14.1 sources (root access is NOT included)
OTA updates via built-in updater in Settings
Fast fingerprint unlock
Pocket mode for the fingerprint sensor (this is always enabled)
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 Nougat Snapdragon 820/821 base from Qualcomm (CAF)
Removed lots of excessive bloat (improves security and performance)
Improved stability (several bugs not listed here have been fixed)
WireGuard, a next generation secure VPN tunnel (more info)
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 is underclocked (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 dangerous compiler "optimizations"
Many other misc. improvements not listed here
Source code:
Kernel (cm-14.1-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-14.1/local_manifest.xml
Credits:
LineageOS 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
dianlujitao for bringing up the OP3(T) to LineageOS 14.1
Thecrazyskull for helping me fix the front camera on the OP3T
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, Magisk if you want root access, and then reboot.
If you get an error when trying to install the ROM ("op3.verify_modem" error), then go to the Firmware link in the Downloads section and flash the firmware package for your device. 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 this 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:
OnePlus 3 (15801): https://www.androidfilehost.com/?fid=962021903579487128
OnePlus 3T (15811): https://www.androidfilehost.com/?fid=673791459329055753
ROM:
Please read through the installation instructions before installing this for the first time.
Last build by denser. Build date 2020.01.09: https://github.com/den-ser/android_...-14.1-20200109-UNOFFICIAL-Sultan-oneplus3.zip
All builds by denser. Last build date 2020.01.09: https://github.com/den-ser/android_releases/releases
Last original build by Sultanxda. Build date 2018.05.14: https://github.com/sultanxda/androi...-14.1-20180514-UNOFFICIAL-Sultan-oneplus3.zip
All original builds by Sultanxda. Last build date 2018.05.14: https://www.androidfilehost.com/?w=files&flid=171168&sort_by=date&sort_dir=DESC
Google Apps (required): Platform: "ARM64", Android: "7.1", Variant: "micro" or "nano" (I will not provide support if you install a different variant)
Magisk (if you want root access): https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
XDA:DevDB Information
Unified LineageOS 14.1 with custom 3.18.31 kernel, ROM for the OnePlus 3
Contributors
Sultanxda, [denser]
ROM OS Version: 7.x Nougat
Based On: LineageOS
Version Information
Status: Stable
Created 2017-04-12
Last Updated 2020-01-09
Changelog:
May 14, 2018:
ROM:
*Latest upstream LineageOS changes
Old changelogs:
March 28, 2018:
ROM:
*Latest upstream LineageOS changes
Kernel:
*Removed the ability to disable CPU underclock (in order to ensure stability on all devices)
*Added the ability to read the battery's estimated full-charge capacity and cycle count (more info)
March 17, 2018:
ROM:
*Latest upstream LineageOS changes
Kernel:
*Rewrote alert slider driver (slightly improves alert slider responsiveness and fixes the alert slider mode not getting reapplied after a reboot)
March 11, 2018:
ROM:
*Latest upstream LineageOS changes
Kernel:
*Fixed missing charging animation when the device is turned off and plugged into a charger
*Fixed kernel wakelock statistics not showing up in apps like BetterBatteryStats and Wakelock Detector
February 20, 2018:
ROM:
*Latest upstream LineageOS changes
Kernel:
*Fixed touchscreen gestures not working sometimes
*Fixed touchscreen issues experienced by some users (again; a previous build reintroduced the issue)
January 27, 2018:
ROM:
*Latest upstream LineageOS changes
*Disabled user panic mode (hitting the back button quickly several times won't take you home anymore)
*Updated weather provider packages from lineageos.org
Kernel:
*Updated to CAF LA.UM.5.5.r1-06700-8x96.0
*Enabled heap placement randomization (improves security)
*Fixed stage-2 protection of kernel text region (this adds another layer of security to prevent anything from modifying kernel code while the kernel is running)
December 9, 2017:
ROM:
*Latest upstream LineageOS changes
Kernel:
*Fixed capacitive home button still working while on-screen buttons are enabled
*Fixed touchscreen not working sometimes after turning the screen on
December 2, 2017:
ROM:
*Latest upstream LineageOS changes
Kernel:
*Significantly reduced overall power consumption (most of the kernel itself now runs on the little CPU cluster to save power)
*Improved overall performance (the kernel is now compiled with optimizations for better performance)
*Attempted to fix touchscreen not working for some users
*Fixed long delay for the touchscreen to become active when turning the screen on
*Rewrote fingerprint sensor driver (no visibly significant improvements though)
November 25, 2017:
ROM:
*Latest upstream LineageOS changes
Kernel:
*Updated to CAF LA.UM.5.5.r1-06300-8x96.0
*Fixed capacitive buttons not working sometimes after turning on the screen
*Fixed several bugs in touchscreen driver (one of which may have caused random reboots)
*Slightly reduced overall power consumption
November 11, 2017:
ROM:
*Latest upstream LineageOS changes
*Camera: Fixed upside down photos when the selfie-mirror option is enabled and the device is in landscape mode
Kernel:
*Attempted to fix touchscreen not working when turning the screen on sometimes
*Potentially reduced display power consumption by a small amount
October 22, 2017:
ROM:
*Latest upstream LineageOS changes
*Updated proprietary libraries to OxygenOS 4.5.1 (the firmware packages in the first post have been updated too)
*Camera: Fixed photos not getting saved sometimes when power-save mode is active
Kernel:
*Updated to CAF LA.UM.5.5.r1-06100-8x96.0
September 30, 2017:
ROM:
*Latest upstream LineageOS changes
*Updated proprietary libraries to OxygenOS OB15/OB24 (the firmware packages in the first post have been updated too; they do not contain the new splash screen)
Kernel:
*Updated to CAF LA.UM.5.5.r1-05800-8x96.0
*Added fix for BlueBorne vulnerability
*Added potential fix for touchscreen issues experienced by some users
September 11, 2017:
ROM:
*Latest upstream LineageOS changes
*Updated proprietary libraries to OxygenOS OB14/OB23 (the firmware packages in the first post have been updated too)
*Camera: Fixed face detection smiley face not disappearing when switching between the front and rear camera sometimes
*Camera: Fixed occasional crash when switching between camcorder and camera mode
Kernel:
*Added various security fixes
*Added missing OnePlus fix to Bluetooth driver
*Reverted sRGB calibration update
September 3, 2017:
ROM:
*Latest upstream LineageOS changes
*Updated proprietary libraries to OxygenOS OB13/OB22 (the firmware packages in the first post have been updated too)
*Camera: Added selfie mirror feature
*Fixed Gallery app freezing sometimes
*Increased maximum handset volume for phone calls
*Added more volume steps for handset volume and media volume
*Removed WiFi calling (it didn't work)
*Removed ISO mode setting from the OP3T's front camera (anything other than auto caused the camera to crash)
Kernel:
*Updated to CAF LA.UM.5.5.r1-05700-8x96.0
*Updated sRGB calibration from Open Beta kernel
August 17, 2017:
ROM:
*Latest upstream LineageOS changes
Kernel:
*Removed some unneeded bloat
August 7, 2017:
ROM:
*Latest upstream LineageOS changes
*Updated proprietary libraries to OxygenOS OB12/OB21 (the firmware packages in the first post have been updated too)
*Switched back to old Gallery app (the new one is buggy)
Kernel:
*Updated DASH charge driver from the latest OxygenOS kernel sources
August 1, 2017:
ROM:
*Latest upstream LineageOS changes
*Updated proprietary libraries to OxygenOS OB11/OB20 (the firmware packages in the first post have been updated too)
*Fixed front camera crashes when taking pictures outdoors or in good lighting
*Switched to new LineageOS Gallery app
Kernel:
*Updated to CAF LA.UM.5.5.r1-05400-8x96.0
*Fixed device not booting up sometimes
July 16, 2017:
ROM:
*REQUIRES OB10/OB19 FIRMWARE UPDATE!
*Latest upstream LineageOS changes
*Added missing weather providers for cLock widget (these are no longer available in the Play Store)
Kernel:
*Fixed massive lag that would occur when waking up the phone sometimes
July 15, 2017:
ROM:
*REQUIRES OB10/OB19 FIRMWARE UPDATE!
*Latest upstream LineageOS changes
*Updated proprietary libraries to OxygenOS OB10/OB19 (the firmware packages in the first post have been updated too)
*Actually fixed photos not getting saved when taking pictures with the front-facing camera
Kernel:
*Updated to CAF LA.UM.5.5.r1-05300-8x96.0
*Reverted battery driver changes from May 17 (fixes random shut downs and reboots)
June 15, 2017:
ROM:
*Latest upstream LineageOS changes
*Fixed photos not getting saved when taking pictures with the front-facing camera
Kernel:
*Disabled debugfs (improves security and reduces the amount of resources used by the kernel)
June 7, 2017:
ROM:
*Latest upstream LineageOS changes
*Updated proprietary libraries to OxygenOS OB8/OB17 (the firmware packages in the first post have been updated too)
*Fixed lack of HAL3 mode/Camera2 API for third party camera apps
Kernel:
*Updated to CAF LA.UM.5.5.r1-04700-8x96.0
*Fixed SafetyNet bypass (clear data for the Play Store in order to see Netflix again)
May 19, 2017:
ROM:
*Latest upstream LineageOS changes
*Fixed notification slider haptic response not working for some users
*Fixed "Ok Google" not working
*Fixed GPS issues
May 17, 2017:
ROM:
*Latest upstream LineageOS changes
*Updated proprietary libraries to OxygenOS OB7/OB16 (the firmware packages in the first post have been updated too)
*Gello Browser has been replaced by Jelly Browser
Kernel:
*Updated to CAF LA.UM.5.5.r1-04600-8x96.0
*Removed resource-hungry battery driver (this improves battery life)
May 6, 2017:
ROM:
*Latest upstream LineageOS changes
*Updated proprietary libraries to OxygenOS OB6/OB15 (the firmware packages in the first post have been updated too)
*Fixed camera issues in 3rd party apps (such as the OxygenOS camera app)
*Disabled Camera2/HAL3 mode (in order to fix the issues with 3rd party apps)
*Music: Fixed shuffle, repeat mode, "lockscreen album art," "shake to play," and "show music visualization" options not being saved
*Fixed tethering not working with some carriers (thanks to kristofpetho)
Kernel:
*Screen wakes from sleep faster
*Reduced power consumption while the screen is turned on
April 30, 2017:
ROM:
*Latest upstream LineageOS changes
*Camera: Fixed 4k timelapse video recording
*Camera: Changed default sharpness setting to 2 (this is what OxygenOS uses)
*Updated proprietary libraries to OxygenOS OB5/OB14 (the firmware packages in the first post have been updated too)
*Fixed lack of HAL3 mode/Camera2 API for third party camera apps
*Fixed bug caused by double tap to turn off the screen for the home button (info)
Kernel:
*Made CPU governor and CPU boost driver scale up more aggressively (increases overall performance)
*Fixed high CPU usage caused by power-aware scheduling
*Improved power consumption while the screen is off and reduced latency when turning the screen on (info)
April 16, 2017:
ROM:
*Latest upstream LineageOS changes (includes Android 7.1.2)
*Fixed lack of notification pull down shadow and lockscreen shadow when unlocking with the fingerprint reader
*Fixed video calling in the Facebook Messenger app
*Added fingerprint lag fix from maxwen
*Camera: Fixed force close when enabling Power shutter
*Fixed bugs with long press to turn off the screen for the home button (bug 1, bug 2)
Kernel:
*Updated to CAF LA.UM.5.5.r1-04300-8x96.0 (mainly security fixes)
April 13, 2017:
ROM:
*Latest upstream LineageOS changes
*Fixed built-in OTA updater
*Disabled sdcardfs (it caused random reboots)
Kernel:
*Fixed display not turning back on correctly on some devices
*Removed sdcardfs drivers
April 12, 2017:
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 OP3s and OP3Ts; because of this, the CPU underclock cannot be disabled.
Thank you for the update! Looking forward to testing this out!
Great my friend thanks :good:
Wow, very excited to try this ROM out. Good job!
Awesome! Can't wait to try it out!
Just downloaded this! Been waiting for this for a bit now! Glad it's out! Thanks @Sultanxda!
Awesomest, finally updated to 14.1
Hi,
I followed the installation carefully, but everytime I lock my device, I get this weird screen like "tv with no signal.." and it won't remove, I need to force restart my device since I can't see anything on my screen. also tried flashing the firmware but still happening.
I have Oneplus 3T btw..
Once OMS is included, I will flash this without heistation.
Thank you Sultan!! Rilevant bugs?
Waiting for the substratum to be merged
Thanks for your work
At last! Good job! Always wanted to try your ROM... Are you going to put OMS support in it? I'm waiting for that and then I will flash without any hesitation ?
Probably the most awaited ROM
sultanxda's ROM + Substratum = ?
The Legend is back!
Awesome.. Just waiting for OMS
Thanks sultan
Only bug i found is a long press home button to turn off screen. When I press the home button does not always takes the lead
Very good news, thank you Sultan
https://plus.google.com/+NathanChancellor/posts/XC1E2N1dXGy

LKT ? legendary.kernel.tweaks - Advanced Governor & Kernel Tweaks

{
"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"
}
High performance & power saving tweaks for all devices (THAT ACTUALLY WORK)​
Introduction
LKT is a cumilation of different strategies that target certain kernel settings. What makes this special and stand out from the crowd is being universal and device specific at the same time. And it's also BS free. Using simple functions LKT detects the hardware of your device then it applies the corresponding changes. It does support all mainstream platforms including Snapdragon, Kirin, MediaTek etc. covering hundreds of devices.
These tweaks have been tested and can stand up to 12-14H of SOT with no-compromise on performance all smooth as a baby's bottom.
However, it should be noted that this does not apply to gaming, facebook, snapchat, instagram and heavy camera usage ...etc
Nothing can be done for anything that is an automatic battery killer and forces maximum resources usage at all the time.
How does it work?
LKT aims to achieve a balance between power consumption and performance. Compared to tuning the parameters manually, LKT adopts Project WIPE open source interactive parameters for all mainstream SOCs that are generated via machine learning AI and can adapt to multiple styles of workload sequences. This idea is similar to EAS, which takes into account both performance and power consumption costs through power consumption models and workload sequence. But obviously, EAS has a much lower response time and replaces tuning with decision logic. In addition, it also includes other parameter tuning, such as HMP scheduler parameters, virtual Memory, GPU, IO blocks tuning, and doze rules to unify the rest of the kernel parameters for a more consistent experience.
LKT also supports schedutil and other EAS governors in devices like the Pixel 2. Unlike interactive, schedutil does not provide a wide range of tuning parameters but there are some workarounds. In Snapdragon 835 for example depending on what profile is selected, LKT limits the maximum frequency of big cores accordingly because big clusters power efficiency of SD835 dramatically decreases above 2 GHz, as a trade of losing 15% performance, improving power consumption by 40% or more is a much better deal.
Features
Multi-Profile
Improved smoothness & battery life
Advanced interactive governor tuning (Project WIPE)
EAS devices Support
RAM management enhancements
IO blocks enhancements
Enabled & configured wakelock blocking
Disabled a excessive logging at kernel level (Improves battery life as well as performance)
Other miscellaneous adjustments to enhance power efficiency
Profiles
Battery - Can acheive ~2 hours or more longer on-screen battery life, may lag in some scenarios where the load fluctuates dramatically.
Balanced - Can acheive ~1.5 hours or more longer on-screen battery life with little performance compromise .(Recommended)
Performance - Can acheive ~1 hour longer on-screen battery life , same as balanced profile with more responsiveness. .
Turbo - Ideal for intense high demanding tasks, where the load drastically fluctuate (not necessarily in games) . Will ensure reducing lags by ~90% for no more than ~20% increase power in consumption.
Click to expand...
Click to collapse
Requirements
Magisk or SuperSU or init.d support
Busybox
Installation
Flash in TWRP or Magisk manager
Follow the given instructions
Reboot
Read the FAQ from here or here before asking anything. (Regularly updated)
Credits
Code:
Project WIPE contributors [URL="https://github.com/yc9559/cpufreq-interactive-opt/tree/master/project/20180603-2"]Github[/URL]
yc9559 - @CoolApk
cjybyjk - @CoolApk
[U]Special Thank[/U]
Zackptg5 & ahrion - Unity template
topjohnwu - Magisk
osm0sis - Busybox
Contributors
@korom42
Sources
Original XDA thread
Github
License
Licensed under the GNU General Public License v3
Donate to support further LKT development
FAQ(frequently asked question)
Also check for FAQ here (More often updated)
• How do I apply these tweaks?
Simply flash LKT zip in recovery or Magisk app then reboot.
• Do I have to be rooted?
Yes, LKT needs either Magisk or SuperSU or init.d support.
Beware that LKT is a collection of advanced tweaks that act on kernel level. If you don't know how it works, then please try this at your own risk. I won't be responsible for any damage or loss. Never forget to make backups.
• What are the available profiles ?
Battery: Can acheive ~2 hours or more longer on-screen battery life, may lag in some scenarios where the load fluctuates dramatically
Balanced: Can acheive ~1.5 hours or more longer on-screen battery life with little performance compromise (recommended)
Performance: Can acheive ~1 hour longer on-screen battery life , same as balanced profile with more responsiveness
Turbo: Ideal for intense high demanding tasks, butter smooth gaming for a long periods. Will ensure reducing lags by ~90% for up to ~20% more power consuption than stock.
Click to expand...
Click to collapse
• How to switch between profiles?
Method 1
To access the command controls screen using terminal type
Code:
su
lkt
Then follow the instructions
Method 2
Now you can also you run these commands to directly switch profiles (must run with root permissions)
Code:
lkt 1 (for battery profile)
lkt 2 (for balanced profile)
lkt 3 (for performance profile)
lkt 4 (for turbo profile)
Method 3
You can also to re-flash the module twice to change the profile but you will have to reboot using this way.
• Can I use LKT with another MOD ?
** Compatibility list** You can still these mods since they do not affect LKT parameters.
Universal XML Patcher
GMS Doze
ForceDoze, Naptime, Greenify, Amplify, Power Nap
MCS (Magic charging switch) & Charging control mods..etc
BlackenedMod (Pixel 2)
** Incompatibility list ** Do not use similar mods with LKT, here is a list of some known MODs that will interfere
AKT (Advanced Kernel Tweaks)
Spectrum
Helix Engine
L-Speed
GovTuner
Every bullsh*t placebo MOD like : CrossBreeder, NFS, KITANA, FeraDroid ..etc
Heavily tweaked ROM such as : xXx (OP6/6T)
• Will this work on my ROM & Kernel ?
It should work on almost every Stock, AOSP or Lineage based ROM & Kernel
The only problem is with heavily tweaked ROMs, they can interfere with LKT.
• Will this work on my device?
This mod support a large list of devices you can check the compatibility list.
• How to make sure that LKT is working ?
Using a file explorer with root access check LKT logs in the location below ( share & upload yours in case of having troubles)
Code:
/data/LKT.prop
•I cannot find or open LKT logs
To properly open LKT.prop you need a file manager with root access your app may not be working correctly. Here's some apps I can recommend
MiXplorer
FX File Explorer + ROOT addon
You can also access your alogs using terminal by running this code
First type su then copy and past this line :
Code:
cat /data/LKT.prop
• My logs are incomplete
Make sure you are using the latest version of Magisk 18.0+
Install busybox by @osm0sis
• My device Lags or not longer smooth What do I do?
This can happen and it's a normal thing. As I have stated before, all these tweaks have been done for fit certain usage which might not be the same as yours. Because this, your device may lag in some scenarios under heavy loads (If you are experimenting huge lags, you have done something wrong). And yes, this can be fixed. We have a couple of ways of fixing it. First of all if you are using battery profile try switching to another one, if this doesn't help you consider the following steps :
Do a factory reset
Get rid of unnecessary background apps
Try a different ROM or Kernel
Try another profile
• These settings don't work & I'm not getting great screen on time
Keep in mind these tweaks have been tested on certain scenario that might not the same as yours, read the introduction in OP to understand more about this. However if you are getting worse results than before you are probably doing something wrong and here are some recommendations for you
Do a factory reset
Get rid of unnecessary background apps
Try a different ROM or Kernel
Try another profile
• How to update LKT?
Dirty flash the new zip or install the update via Magisk manager and it will automatically upgrade.
• How to uninstall LKT?
Flashing the module for the second time will remove LKT. You can also remove it from Magisk app.
Compatibility
Snapdragon 845
Snapdragon 835
Snapdragon 820-821
Snapdragon 810-808
Snapdragon 801-800-805
Snapdragon 660
Snapdragon 652-650
Snapdragon 636
Snapdragon 625-626-630
Snapdragon 615-616
Snapdragon 450
Snapdragon 435
Snapdragon 430
Snapdragon 425
Snapdragon 410-412
Snapdragon 400
Exynos 9810 (Samsung)
Exynos 8895 (Samsung)
Exynos 8890 (Samsung)
Exynos 7420 (Samsung)
Kirin 970 (Huawei)
Kirin 960 (Huawei)
Kirin 950-955 (Huawei)
kirin 650-655-658-659 (Huawei)
Helio x20-x25 (MT6797-MT6797T)
Helio x10 (MT6795-MT6795T)
Helio P10 (MT6755)
Intel atom Z3560-3580
Click to expand...
Click to collapse
**Please note that even if your device isn't listed here some parameters may still apply
Changelog
Code:
v1.5.2 (11/03/2019)
- Disabled GPU thermal restrictions on Mediatek SoCs
- Various fixes and CPU enhancements for Mediatek SoCs
- Removed zRAM (SWAP) configuration
- Other minor changes & enhancements
- Bug fixes
v1.5.1 (07/03/2019)
- Bug fixes
v1.5.0 (06/03/2019)
- EAS fixes and performance enhancements
- GPU parameters adjustements
- Disabled GPU thermal restrictions on Snapdragon SoCs
- Adreno Idler tweaks enhancements
- Storage scheduler enhancements
- Memory management enhancements
- Various zRAM & SWAP optimisations
- Other minor changes & enhancements
- Bug fixes
v1.4.9 (09/02/2019)
- Memory management adjustments
- Fixed interactive governor parameters being overwritten by system after a while for some devices
- Added back deep-sleep enhancements props
- SWAPs/zRAM are no longer disabled
- Auto-detect existing profile when upgrading (user interaction is not needed anymore)
- Minor bug fixes
v1.4.8 (05/02/2019)
- Increased delay after boot
- Bug fixes
v1.4.7 (04/02/2019)
- EAS profiles fixes
- CPU boost fixes for some devices
- Memory management enhancements
- Removed any deep-sleep related tweaks
- Bug fixes
v1.4.6 (02/02/2019)
- Important bug fixes
- zRAM is not tweaked anymore and left for the kernel (only disabled for devices +6GB RAM)
v1.4.5 (01/02/2019)
- Re-worked EAS profiles
- Prefer schedutil on EAS kernels
- Added CPUSET optimizations
- Added schedtune optimizations
- Added control groups (CGroups) optimization
- Enabled zRAM for 4GB RAM devices
- Enabled & adjusted Low memory killer
- IO block tuning enhancements
- FileSystem (FS) enhancements
- Enabled Fast Dormancy (may help with cellular network idle drain)
- Major bug fixes
v1.4.4 (19/01/2019)
- Unity template update 3.2
- SoC detecion enhancements
- Increased delay at boot before applying tweaks to 1 min
- Minor enhancements
- Bug fixes
v1.4.3 (16/01/2019)
- Unity template update v3.1
- Fixed changing LKT profile not sticking after reboot
- Added ability to change profiles with simple commands (useful for tasker)
```
lkt 1 : for battery profile
lkt 2 : for balanced profile
lkt 3 : for performance profile
lkt 4 : for turbo profile
```
- EAS fixes
- Improved compatibility for custom kernels
- Removed Low Memory Killer tweaks
- Swapping is no longer disabled for devices less than 4GB RAM
- Bug fixes
v1.4.2 (01/01/2019)
- More Bug fixes
v1.4.1 (01/01/2019)
- Fixed some bugs after last update
v1.4.0 (01/01/2019)
- SoC detecion enhancements
- Bug fixes
v1.3.9 (29/12/2018)
- Added command line controls
- Now LKT perefers interactive if kernel has both schedutil & interactive
- Less aggressive LMK
- Crash fix for some devices
- Other minor changes & bug fixes
To access the new commands screen using terminal type
```
su
lkt
```
Then follow the instructions
v1.3.8 (28/12/2018)
- SoC detection issues fixes for samsung & other devices
v1.3.7 (27/12/2018)
- Fixed system crash & missing logs after last update
- Other minor changes
v1.3.6 (27/12/2018)
- Fixed soc.txt file not being created when SoC detection fail
- Added new wakelocks to block
- Adreno Idler parameters changes
- Minor enhancements
- Bug fixes
v1.3.5 (26/12/2018)
- SoC detection issues fixes
- Reduced entropy values
- Minor enhancements
- Bug fixes
v1.3.4 (24/12/2018)
- Added support for snapdragon 4xx series
- Added support for Helio P10 (MT6755), kirin655, kirin658, kirin659
- Fixed LTE Signal bug
- Fixed some parameters not being applied
- Fixed detection bug for snapdragon 660
- Added device support check in logs
- Unity template update 2.2
- Script enhancements
- Bug fixes
v1.3.3 (23/12/2018)
- EAS parameters adjustments
- Reverted HMP scheduler changes
- Fixed RAM capacity & CPU frequency not displayed properly in LKT.prop
- Crashes bug fix
- Scrolling bug fix
- Crashing apps bug fix
- Minor enhancements
- Bug fixes
v1.3.2 (22/12/2018)
- Minor installation bug fixes
v1.3.1 (22/12/2018)
- EAS tuning is back for more devices (manual parameters - not WIPE)
- EAS parameters adjustments
- HMP scheduler adjustments
- Updated RAM detection method
- Memory management fixes
- LMK enhancements
- Added Lazyplug tunning
- Removed busybox check
- Module template updated to latest UNITY 2.1
- Module installation fixes
- Minor enhancements
- Bug fixes
v1.3.0 (19/12/2018)
- Fixed hardware auto-detection fail after last update for some devices
- Added support for sultanxda cpu boost implementations
- Updated to latest UNITY template 2.0
- Bug fixes and refinemetns
v1.2.9 (18/12/2018)
- Important chip detection fixes
- Improved swap detection & removal
- Bug fixes
v1.2.8 (18/12/2018)
- Bug fixes for manual chip detection workarround
v1.2.7 (18/12/2018)
- Minor fixes
v1.2.6 (17/12/2018)
- Added manual workarround for devices with unrecognized chip (Huawei,Xiaomi etc..)
- Removed EAS support (except sd845) untill further notice (too experimental)
- Corrected SD845 configs
- Agressive tunded LMK for Turbo profile for better gaming experience
- Fixed Termux app conflicts
- Bug fixes and refinemetns
v1.2.5 (17/12/2018)
- Added Performance & Turbo profiles
- Added partial support (balanced profile only) for exynos9810, kirin650, sd615
- Fixed battery drain for EAS devices
- Fixed some devices not being recognized (again)
- Fixed some bugs with low RAM devices
- Fixed RAM capacity not being displayed correctlly
- Script refinements
- A lot of bug fixes
v1.2.4 (16/12/2018)
- Fixed connectivity issues for some devices
- Improved SOC chip recognition for some devices
- Other minor bug fixes & refinements
Thanks to @pKrysenko & all telegram group members for testing
v1.2.3 (15/12/2018)
- Minor bug fixes
v1.2.2 (14/12/2018)
- EAS parameters enhacements
- Memory tuning enhancements
- Added support to SD615/SD616
- Changed hardware detection method
- I/O scheduler changes
- Removed forced doze for GMS & ril services
- Improved scrolling & FPS in applications
- Added detailed battery health check
- Other minor bug fixes & improvements
v1.2.1 (07/12/2018)
- Fixed a bug that makes governor parameters not stick after a while
- Fixed a bug where CPU is not recognized correctly (Improved SoC detecting)
- Other minor bug fixes & improvements
v1.2 (05/12/2018)
- Added missing cpu boost for some SoCs on balanced profile
- Improved swap detection & disabling (again)
- Reviewed & removed some stuff
- Other minor bug fixes & improvements
v1.1 (04/12/2018)
- Fixed a bug where chip name in upper case isn't recognized
- Swap partitions detecting improvements
- Some small but important script code fixes
Thanks to whalesplaho @XDA for testing and discovering this
v1.0 (04/12/2018)
- First release
Downloads
• Google Drive
You can also download LKT from Attachments or Magisk repo
Beta testing & Support
• Join our telegram chat
Will this change any of my settings in kernel auditor and HEBF optimizer? Cause you said don't use with L speed and L speed can change some of my kernel parameters in kernel auditor and HEBF can if not setup the right way.... Does this module have a U.I
PoochyXXX
PoochyX said:
Will this change any of my settings in kernel auditor and HEBF optimizer? Cause you said don't use with L speed and L speed can change some of my kernel parameters in kernel auditor and HEBF can if not setup the right way.... Does this module have a U.I
PoochyXXX
Click to expand...
Click to collapse
It's better to not use any other mods with this so they won't conflict, if your device is supported you won't need anything else
This module does have a UI, to access it via terminal type su then lkt and follow the instructions. Please refer to the help section next time before asking anything.
korom42 said:
It's better to not use any other mods with this so they won't conflict, if your device is supported you won't need anything else
This module does have a UI, to access it via terminal type su then lkt and follow the instructions. Please refer to the help section next time before asking anything.
Click to expand...
Click to collapse
Alright will do
PoochyXXX
Unistaller zip.......?
Plz
Sent from my GT-I9500 using Tapatalk
nomigujjar said:
Unistaller zip.......?
Plz
Sent from my GT-I9500 using Tapatalk
Click to expand...
Click to collapse
Read the FAQ
Hello,
My device is Samsung Note 4 - SM-N910F.
I'm not on Samsung but on AOSP (6.0.1 - because of some outdated xposed mods) as I prefer stock, bloatware-less, android ROM.
The thing is, battery life has always been worse than original Samsung ROM, mainly because of doze not being strict enough, and lack of wakelocks optimisation.
Naptime, Greenify and Amplify helped me reducing those issues, along with Kernel Adiutor underclock increasing battery life. And Icebox for freezing battery using when screen is turned off.
Now comes your work, I flashed your zip. I was a bit skeptical of what it could make to my OS to magically improve battery life... But I have to be honest, it improved blocking those ridiculous wakelocks when my phone is idle.
See by yourself : 0.2% of battery during 6h sleep (airplane mode on, because radio waves). When it is usually 0.8% to 1%. Ofc when phone is used like using camera, it won't do magic over battery, but those unnecessary wakelocks event seems to be fixed.
So, yes. Thank you, thank you very much.
I got a weird bug on the poco f1 using lkt (mostly balanced profile) when I charge my battery indicator get stuck to 75%. However it still charge since it rest a bunch of time stuck to 75%
Rom xiaomi.eu
Kernel Extreme kernel v9
Hello. I installed the zip without problems and restarted my phone. Nowhere, however, do I see something of cloudy. Neither at Mtweaks or in the info settings themselves. How do I know that it works now? And how can I change the profiles?
cosmobi said:
Hello. I installed the zip without problems and restarted my phone. Nowhere, however, do I see something of cloudy. Neither at Mtweaks or in the info settings themselves. How do I know that it works now? And how can I change the profiles?
Click to expand...
Click to collapse
Read the F.A.Q
Does this mod stay active after each reboot? Or do I've to select each profile on reboot
fi5z.x9 said:
Does this mod stay active after each reboot? Or do I've to select each profile on reboot
Click to expand...
Click to collapse
Yes it does stay active by saving the selected profile even after reboot.
Would you consider LeeDroid a heavily tweaked ROM, and one that would interfere with LKT? I removed all L-Speed settings, and I'm getting incredible performance yet slightly less SOT. I'm willing to make the sacrifice, unless you would advise against using this MOD with LeeDroid. Thanks in advance for any response, and awesome work!
How does this mod compare to the NFS-Injector module? Can they be used safely together
Hi, how do I change profile.. I am on balanced need to go to performance
I tried reinstalling but while reinstalling it automatically detected device in balanced and didn't ask me to change
Harshdeepagrawal said:
Hi, how do I change profile.. I am on balanced need to go to performance
I tried reinstalling but while reinstalling it automatically detected device in balanced and didn't ask me to change
Click to expand...
Click to collapse
MDV106 said:
How does this mod compare to the NFS-Injector module? Can they be used safely together
Click to expand...
Click to collapse
If you took 10 seconds to read the FAQ you wouldn't have to ask these questions.
https://telegra.ph/LKT---FAQ-03-25
korom42 said:
If you took 10 seconds to read the FAQ you wouldn't have to ask these questions.
https://telegra.ph/LKT---FAQ-03-25
Click to expand...
Click to collapse
Thanks for sarcasm
korom42 said:
If you took 10 seconds to read the FAQ you wouldn't have to ask these questions.
https://telegra.ph/LKT---FAQ-03-25
Click to expand...
Click to collapse
Im glad I didnt, this module is useless anyway.
MDV106 said:
Im glad I didnt, this module is useless anyway.
Click to expand...
Click to collapse
Right.. it clearly is ??

Categories

Resources