[SOURCE/KERNEL][SM-G530T] axgprime-tmo kernel [QE3] - Galaxy Grand Prime General

I started working on this a while ago, and recently kinda picked back up on it.
Thought I'd share what I've done, rather than let it stay under the radar.
Hopefully the source can help others, as there some interesting changes (I think) that I've put into it.
!! NOTE: This is a TW kernel compiled for SM-G530T !!
Features:
-Kernel Base: [G530TUVS2AQE3]
-Updates from CAF for Android 5.1.1 (w/ strategic reverts: modules)
* Branch: [LA.BR.1.1.3_rb1.54]
* Includes cpu clock updates
-Power efficient workqeues from Linaro (w/ updates from Linux)
-VFP compiled with ARMv8-A floating-point optimizations (enforced IEEE 754 compliance)
-Support for NEON in kernel mode
* Use ARMv8 crypto extensions for AES, SHA-1, SHA-224/256 & GHASH
-v7 cache cleaning optimization from Linaro
-Enabled support for Large Receive Offload (network performance)
-Patches from NVIDIA
* Lowmemorykiller optimizations
* Cpufreq fix-ups
* Consecutive I/O for interactive cpufreq
-Imported interactive cpufreq changes from d2 kernel
* Simplified w/ slight interactivity increase
-Backports from upstream Linux/Android
* Updates to interactive cpufreq
* PIE AQM net scheduler (bufferbloat)
* Adjusted generator polynomials in random
* Improved cpufreq performance under bursty workloads
* Idle/cpuidle updates (utilize cpuidle in "freeze" state)
* Improved suspend-to-idle
* OOM & lowmemorykiller improvements (to work better with freezing)
* Updates to cpuidle "menu" governer
Source:
https://github.com/SyNtheticNightmar3/SM-G530T
Downloads [w/ SHA-256 checksum]:
https://bintray.com/syntheticnightmar3/axdev/sm-g530t
Direct Download to the latest flashable zip:
https://dl.bintray.com/syntheticnightmar3/axdev/axgprime/axgprime-tmo_2018-01-20.zip
Changelog:
https://bintray.com/syntheticnightmar3/axdev/sm-g530t/view/release#release
* Thanks to doesntexits for the flashing tools that I kinda kanged lol

Updated the link in the OP.
Maintenance version to address a few things.
Changelog:
2018-01-16 Build:
-Updates for suspend-to-idle from upstream Linux
* Sanity checks to avoid crashing
* Updates to make freezer & OOM killer "play nicer" with each other
* Other various fixes and improvements to get to (and to fix) things mentioned above
-Switch up vfp optimizations (LINK)
Unsafe math optimizations for vfp caused CPU usage percentages to skyrocket at certain times.
Rather than optimize for speed (which sacrificed precision), enforce IEEE 754 floating-point standards & keep vfp floating-point in software.
Also, import some fixes for the idle stuff I brought in; caught a deadlock after I released (of course! lol).

Releases are maintained on bintray now

GRAND PRIME g530t kernel
Can this kernel help with overclocking CPU???

Related

[Kernel][Sense 4] crpalmer | August 25, 2013

The goal of this kernel is above all stability with the secondary goals of increased performance and increased battery life. I use this phone for several hours a day for work and therefore it must be reliable. I am not focusing on providing a million options for governors, etc. In addition to those main goals of the kernel, I have an additional secondary goal of removing as much HTC code as possible from the kernel.
This is based on the 2.04 kernel source release from HTC with a huge number of modifications. Thanks to faux123, showp, harsh, mdeejay, zarboz and dsb9938 whose kernels I have pulled some commits from.
The unique features of this kernel are:
New init.d scripts to allow some tweaking without needing any 3rd party apps
* See the next post for details.
Replaced HTC's mpdecision with a new custom hot-plug driver that I created:
* This hot-plug driver is more aggressive about bring cores on and off-line to match the load on the system.
* Bringing cores online earlier makes your phone more responsive / smooth.
* Taking cores offline earlier improves battery life.
* It ramps up very quickly on resume to avoid lag.
Replace HTC's thermald with a new custom thermal driver that I created:
* Unlike all other thermal drivers, it uses "trip-points" to let the phone tell the kernel when it is overheating. The other thermal drivers poll every X ms and read the temperature instead.
* By using trip-points, there is 0 battery consumption unless the phone is overheating.
* By using trip-points, there is an instant reaction to temperature changes.
* It's probably nearly impossible to cause thermal shutdown without being in a desert!
Replaced HTC's bluetooth drivers with Code Aurora Forums (CAF) version.
Replaced HTC's lightsensor table with one that is more sensible and that matches what other devices use. If you have custom auto-brightness settings, you'll probably need to tweak them after installing this kernel.
There are many additional changes to boost performance and battery life:
* Linaro -O3 compiled (Linaro 4.8).
* Overclocking from mdeejay's kernel.
* Underclocking to 192MHz.
* I disable tons of HTC debugging crap left enabled and needlessly consuming battery.
* Improvements to the core locking code of the kernel.
* Patches that transform traditional locks into RCU backed data structures.
* CAF version of the ondemand and conservative governors.
* hsic wakelock changes from dsb9938's kernel.
* CAF changes to power management to sleep faster and waste less CPU during suspend.
* Improved code for moving data to/from user-space and manipulating strings within the kernel.
Other features:
* Include all mainline Linux changes to keep up-to-date on bug fixes.
* Voltage control (faux123) to allow user-space under-volting.
* BFQ I/O scheduler.
* CAF lowmemorykiller.
* Force fast charge.
Links
A link to each version is included in the changelog entry. Scroll down to the changelog to download the latest version.
Source (GitHub):
* Kernel source
* Merging of upstream into the stock kernel
* Build tools
Installation Instructions:
If you are S-OFF you can flash the update.zip in recovery.
If you are S-ON, then after you flash the update.zip in recovery then, while still in recovery, you must run
Code:
adb pull /tmp/boot.img
<reboot into bootloader>
fastboot flash boot boot.img
Changelog:
Version 2.0.41: August 25, 2013: Linux 3.4.58, HTC colour "enhancement"
* Merged Linux versions 3.4.53 - 3.4.58
* Added the ability to enable / disable the HTC colour enhancement (this lets you see if you like it or not)
Version 2.0.38: July 7, 2013: Linux 3.4.52
* Linux version 3.4.51 / 52 merged in
* Reverted a small change to the PWM values used for the display (it wasn't giving any value so why change ti)
Version 2.0.34: June 24, 2013: colour enhancement, fixes, debug messages
* Toned done yet more HTC debugging messages
* Enable UTF-8 codepage support for Windows file-systems
* Fix error in HTC's light-sensor calibration table (overflows the 16-bit number they are using)
* Avoid buffer overflow in acdb driver
* Remove HTC's colour enhancement gamma correction (beaups)
Version 2.0.32: June 15, 2013: linux 3.4.49, scheduler & mutex improvements
* Linux 3.4.49
* Three scheduler performance improvements
* Move to more standard and slightly faster mutex implementation
Version 2.0.30: June 8, 2013: linux 3.4.48, small fixes
* Linux 3.4.48
* Fix CVE-2013-2595
* Decrease latency in cpufreq frequency changes
Version 2.0.27: May 26, 2013: init.d governor, 3.4.47
* Ability to specify the cpufreq governor at boot time (see second post).
* Linux 3.4.47
* Remove an annoying HTC debugging message
Version 2.0.26: May 23, 2013: init.d tweaks, 3.4.46, no default undervolting
* Added PVS information to /proc/cpuinfo in case you wanted to knoiw what it is for your phone.
* Linux upstream version 3.4.46
* Improve how I set the CPU frequences to safe levels for boot without having to reset them every time a core is hot-plugged in.
* New init.d scripts for some common tweaks (see post #2).
Version 2.0.23: May 13, 2013: Lightsensor fix, 3.4.45, faster freq. changes:
* Fix an error transcribing the lightsensor ranges into the source.
* Update to Linux 3.4.45
* cpufreq: use a high priority to target new frequencies to allow faster changes under load
Version 2.0.20: May 12, 2013: Lightsensor, 3.4.44, undervolt for "fast":
* Use a new lightsensor table to get a more granular light reading If you have custom auto-brightness settings, you'll probably need to tweak them after installing this kernel.
* Update to Linux 3.4.44
* Undervolted for devices binned "fast" by -100mV.
* CAF fix for cpufreq driver.
Version 2.0.17: May 7, 2013: Linaro 4.8.0 build, minor CAF fixes:
* Moved to updated Linaro 4.8.0 based toolchain (theoretically faster, less battery likely it's unnoticeable)
* CAF: change boot-up order for cpufreq
* CAF BT: recover from a hardware error by resetting the device
Version 2.0.15: May 2, 2013: boot hang fix, 3.4.43, CPU frequencies, brightness, misc fixes:
* Linux 3.4.43
* Small fixes from CAF (bluetooth, usb)
* Restore the CPU frequences/voltages from 1.x.y kernels (previously I was using HTC's new tables)
* simple_plug: keep cores online during boot
* use the correct brightness ranges for our display (HTC cut off the lowest brightnesses).
* fix a race condition on boot with the binder kernel services
Version 2.0.9: April 23, 2013: 3.4.41 and small fixes:
* Linux 3.4.41
* Small fixes from CAF
* Clean up some more HTC crap in the kernel
Version 2.0.6: April 17, 2013: boot changes, linux 3.4.40:
* Linux 3.4.40 (upstream).
* Limit CPU speeds during boot to stock speeds.
* Enable the thermal driver 5 seconds into the boot (previously was 30 seconds).
* Small changes to the ramdisk from the 2.04 update (I forgot these before).
Version 2.0.3: April 15, 2013: on_demand, battery, HTC spew:
* HTC insists on adding more and more debugging messages to the kernel log. Clean these up.
* OnDemand: revert a CAF change I made and disable io_is_busy.
* Remove HTC's over-volting for CPUs binned anything other than nominal.
* defconfig changes to ease building the kernel for CM10.1 (no you can't use this one for CM10.1!).
Version 2.0.0: April 11, 2013: 2.04 (OTA) source drop:
* Updated to Linux 3.4.39
* Updated to HTC's release of 2.04 source
* cgroup permissions fix
* Otherwise the same as 1.2.6
* Note: After running this for a day, I feel like the battery is draining faster and the phone is hotter than it should be. I'm looking into that.
Changelog from 1.2.x
Version 1.2.6: April 4, 2013: ramdisk fix, lowmemorykiller, hsic wakelocks:
* Fix a problem where the ramdisk was no longer disabling mpdecision and thermald. This issue causes a very minor additional battery drain that has now be fixed (Thanks t1gartist!).
* CAF updates to lowmemorykiller.
* Reapply elkay's HSIC fixes by pulling the real commits from CAF (instead of his hand copied commits) which fixes two problems in his commits.
1.2.2: April 1, 2013: linux 3.4.38, lag fixes, bluetooth drivers, cleanup:
* Undo some dubious commits (or extra code included in unrelated commits, what I meant by "early mistakes"). I reexamined every commit in the kernel to decide whether to keep it or remove it.
* Bluetooth drivers are the current CAF msm-3.4 drivers.
* Additional CPU speed and governor information added in /proc/cpuinfo.
* Cleaner patching to upstream linux (see my github repo for the clean upstream patching).
* Linaro -O3 compilation was redone from scratch because there were some problems found by kern3l in the original patches I pulled, I wanted to ensure that there were no other problems so I redid the work myself.
Changelog from the 1.0.x series:
1.0.27: Mar 25, 2013: thermald, simple_plug
* Make the previous changes to simple_plug less aggressive about turning cores back off when applications force them online. We now detect that this has occurred and give the application 2 minutes to be in charge before we force the state back to what we want.
* Change thermald default throttling to be slightly less strict.
1.0.25: Mar 21, 2013: Linux 3.4.37, simple_plug, performance
* Linux 3.4.37
* simple_plug: add a verify mode (every 5 seconds => almost 0 cost) that fixes the state when apps bring cores on/off-line (e.g. kernel tuner).
* rwsem performance improvements
* CAF improvements (correctness, performance) of the power management layer
1.0.21: Mar 16, 2013: Linux 3.4.36
* Linux 3.4.36
* Small bug fixes from CAF
1.0.18: Mar 7, 2013: Linux 3.4.35
* Linux 3.4.35
1.0.17: Mar 4, 2013: Linux 3.4.34, Linaro 4.7-2013.02, thermald fix
* Linux 3.4.34.
* Linaro 4.7: stopped using 4.8 beta builds due to stability fears and lack of apparent benefit from it. The latest 4.7 drop back-ports some optimizations anyway.
* lowmemorykiller: switch to the CAF version of the low memory killer.
* Fixed several bugs in HTC's thermal driver that could cause the termal driver to miss thermal events.
1.0.15: Feb 26, 2013: Battery optimization, performance, thermal & hotplug improvements
* governor: make ondemand the default governor
* GPU: Very minor GPU overclock to 487MHz (from mdeejay).
* msm_thermal: react better when temperature decreases.
* simple_plug: be slightly less aggressive about bringing cores online.
* New suspend mode PM_SUSPEND_FREEZE
* Oprimization for RWSEM lock handoffs.
* RCU locking in cpufreq!
* Disable more HTC debugging code.
1.0.11: Feb 22, 2013: Battery optimizations, Linaro 4.8 build, update.zip format
* Disable HTC's PNP power manager and adaptive policy services (used for thermald / mpdecision which are already disabled).
* Turn off all the kernel code that was polling to compute the state needed for thermald / mpdecision.
* Turn off a bunch of HTC statistic collection and debugging that isn't needed and wastes battery.
* Linux 3.4.33: fixes a kernel memory corruption/hang in all 3.0 and 3.4 kernels
* Sparkco's 4.8 Linaro build is now being used to compile the kernel
* Moved to update.zip format with less commonly used modules moved to loadable modules.
1.0.8: Feb 19, 2013: Switch to different OC values
* Now using mdeejay's over/unclocking (hopefully solving the L2 cache corruption panic).
* thermal driver is less aggressive about throttling the phone with an additional early step down to stock speed
(50C => 1.5GHz, 75C => 1.3GHz, 83C => 918MHz, 90C => 384MHz).
* Linux 3.4.32 (although no changes that would affect our phone).
1.0.7: Feb 15, 2013: thermal driver no longer polls for state
* Linux 3.4.31.
* Now using the 2013-01 build of the Linaro toolchain.
* Major rewrite of the thermal driver to remove polling (now uses essentially no power).
* Tweaks to the hot-plug driver to reduce CPU consumed to reduce power consumed.
1.0.5: miscellaneous optimizations
* Optimization: use optimized memcpy for user-space copies
* Update to linux 3.4.30
* Tons more cleansing of excessive debugging output
* Use RCU_FAST_NO_HZ as caf claims to have found that this improves battery life
* More linaro -O3 fixes from kern3l via dsb
1.0.2
* cm3629 driver, removed power button pocket check (sounds like a good idea, doesn't work and is a likely candidate for an infrequent sensor drain coming from the proximity sensor not turning off).
* cm3629 remove some unused functionality.
* Two small fixes from kern3l via dsb9938's kernel.
* clean some log messages.
1.0.0
* Merge linux 3.4.29
* simple_plug: a new CPU hot-plug driver (default)
* msm_thermal: a new thermal throttling driver (default)
* faux123's intelli_plug (disabled by default)
* faux123's intellidemand governor (default)
* disable mpdecision and thermald in initrd
* dsb9938's overclocking tables, GPU fix and more -O3 changes
* optimizations/fixes from faux123's mako kernel
* Based on elkay's LK kernel which is based on dsb9938's kernel.
* Includes all elkay's HSIC fixes, but nothing beyond that.
* Linaro -O3 compilation (zarboz) and other compiler flags (dsb9938).
* Disabled remote assistance because that just creeps me out.
* NTFS and CIFS.
* Various optimizations and improvements (faux123's mako kernel, similar to dsb9938's pulls from there).
* Force fast-charge (dsb9938).
* Voltage control (faux123).
* Latest OnDemand and Interactive governors from faux123's mako kernel.
* Large set of scheduler fixes / improvements (faux123).
* Underclocking (but not overclocking right now) to 192 MHz.
* BFQ I/O scheduler (default).
* Cleaned up debugging to make the kmsg more useful.
FAQ
sweep2wake: I have no plans to add that to this kernel at this time.
FAQs
init.d tweaks
I really like Zarboz's goal of trying to get rid of the need for 3rd party apps to make the common changes that we want to make to some of the configurable parameters of the kernel. I created some scripts that run on boot (init.d) because I install my kernel so many times that I would go insane if I had to use an installer. By using these scripts and configuration files on the sdcard, I can just configure it once and keep installing away to my heart's content.
After installing this kernel, there will be:
/system/etc/init.d/99crpalmer
run at boot, even if you switch to another kernel. It is safe to leave this file there and to let it run as it only makes changes if the kernel contains "crpalmer" in the version.
The tweaks are:
CPU Frequencies
* Frequencies loaded from /sdcard/crpalmer-cpufreq-min and /sdcard/crpalmer-cpufreq-max
* Governor loaded from /sdcard/crpalmer-cpufreq-governor
* If you specify either or both of these frequencies, it will lock down all of the CPU frequency controls. I had to do this because HTC overrides them in a script that is run very late in the boot process (thanks HTC!).
* E.g. adb shell su -c "echo 192000 > /sdcard/crpalmer-cpufreq-min"
* E.g. adb shell su -c "echo 1728000 > /sdcard/crpalmer-cpufreq-max"
* E.g. adb shell su -c "echo interactive > /sdcard/crpalmer-cpufreq-governor"
Undervolting
* + or - value loaded from /sdcard/crplamer-uv
* The undervolting in 2.0.23 for FAST binned CPUs would be specified as:
* E.g. adb shell su -c "echo -100 > /sdcard/crpalmer-uv"
Lightsensor
* My light sensor changes didn't sound like they worked well for everyone. If you don't like them you can disable them by:
* E.g. adb shell touch /sdcard/crpalmer-stock-lightsensor
HTC Colour "Enhancement"
* If this file is present then the stock colour "enhancement" will be used, otherwise it will be disabled.
* Introduced in kernel 2.0.41.
** E.g. adb shell touch /sdcard/crpalmer-color-enhancement
My WIFI Won't Turn On
If your WIFI won't turn on then the most likely cause is that either you didn't flash the boot.img (e.g. not S-OFF) or your modules don't match the kernel. To figure out what's wrong, first boot the ROM after having installed my kernel. Second, verify that you are running my kernel by running
adb shell cat /proc/version
and seeing that it says crpalmer in (it should match the version that you think you installed, but at least saying crpalmer is a good start). Then do:
adb shell dmesg -c
(turn on wifi)
adb shell dmesg
and look for an error that says crpalmer in it (something like a module version mismatch error). If you see that, it should tell you the version number of the modules that are installed and the version of the kernel.
Re: [Kernel] [Linaro] [Linux 3.4.29] Version 1.0.0 - Feb 7
Thanks for this. Looks good. :thumbup:
Sent from my ViperDNA
nice, moar kernel development :highfive:
welcome aboard
Re: [Kernel] [Linaro] [Linux 3.4.29] Version 1.0.0 - Feb 7
So no modules to flash?
Sent from my HTC6435LVW using Tapatalk HD
idkwhothatis123 said:
So no modules to flash?
Click to expand...
Click to collapse
That's right. No need to flash the return-to-stock modules either.
Thank you for this! I also find it hilarious that you including instructions for benchmarking. To this day I still wonder why people actually care about benchmarks as they have little to no impact on real world performance.
Re: [Kernel] [Linaro] [Linux 3.4.29] Version 1.0.0 - Feb 7
azndan2 said:
Thank you for this! I also find it hilarious that you including instructions for benchmarking. To this day I still wonder why people actually care about benchmarks as they have little to no impact on real world performance.
Click to expand...
Click to collapse
Self defense... I didn't want to deal with people getting 8K scores and blaming me.
Antutu is actually really useful for testing the thermal driver.
Very nice, does this have the latest changes that were just removed from elkays kernel? Also, could you add the lionheart gov?
Nice to see another kernel to choose from, I will give it a shot this weekend. Will you eventually put any you tweaks? Also, can this be flashed with FlashGui?
Re: [Kernel] [Linaro] [Linux 3.4.29] Version 1.0.0 - Feb 7
orangechoochoo said:
Nice to see another kernel to choose from, I will give it a shot this weekend. Will you eventually put any you tweaks? Also, can this be flashed with FlashGui?
Click to expand...
Click to collapse
just tried, flashgui won't even let you flash it. Gotta wait till I get home I guess!
Sent from my HTC6435LVW using Tapatalk 2
Thanks for giving it a shot.
Re: [Kernel] [Linaro] [Linux 3.4.29] Version 1.0.0 - Feb 7
codezzie said:
Very nice, does this have the latest changes that were just removed from elkays kernel? Also, could you add the lionheart gov?
Click to expand...
Click to collapse
I looked at elkays changes and it removes a background task that encourages a USB device to power down. This may or may not be a good thing. I'll see how elkay's testing goes before I pull in the change. If it goes well, I'll give it a try.
Re: [Kernel] [Linaro] [Linux 3.4.29] Version 1.0.0 - Feb 7
orangechoochoo said:
Nice to see another kernel to choose from, I will give it a shot this weekend. Will you eventually put any you tweaks? Also, can this be flashed with FlashGui?
Click to expand...
Click to collapse
What tweaks? It.already has a lot of improvements...
Any idea what flashgui accepts as input?
I didn't see any mention of gpu tweaks so I didn't want to make assumptions, hence my question.
EDIT: I just noticed my autocorrect changed "gpu" to "you" in my post you responded to.
Re: [Kernel] [Linaro] [Linux 3.4.29] Version 1.0.0 - Feb 7
crpalmer said:
Any idea what flashgui accepts as input?
Click to expand...
Click to collapse
Flashgui worked for me. Renamed file to "boot.img" and ignored the warnings. I like living on the edge. Booted up and shows this kernel version. Thanks for this.
Stay thirsty, my friends
Re: [Kernel] [Linaro] [Linux 3.4.29] Version 1.0.0 - Feb 7
Had a glitch with it already, phone was sleeping, got a message on gtalk and it locked full on vibration, blinking the led, wouldn't wake up and eventually rebooted after maybe 10 seconds. I've had this happen on one of the dsb kernels too, I think. Wiped caches again, hasn't occurred again so far.
Happened not 10 minutes after flashing it so I'm chalking it up to kernel making itself at home, just a note that it happened.
Edit: just rebooted again getting an email notification, UKB 1.3. Seems I can't receive a notification while the phone is sleeping or it jams up and reboots.
Sent from my HTC DNA
Re: [Kernel] [Linaro] [Linux 3.4.29] Version 1.0.0 - Feb 7
matteebee said:
Flashgui worked for me. Renamed file to "boot.img" and ignored the warnings. I like living on the edge. Booted up and shows this kernel version. Thanks for this.
Stay thirsty, my friends
Click to expand...
Click to collapse
Just did the same thing, was coming back to edit my last post lol
Sent from my HTC6435LVW using Tapatalk 2
pio_masaki said:
Had a glitch with it already, phone was sleeping, got a message on gtalk and it locked full on vibration, blinking the led, wouldn't wake up and eventually rebooted after maybe 10 seconds. I've had this happen on one of the dsb kernels too, I think. Wiped caches again, hasn't occurred again so far.
Happened not 10 minutes after flashing it so I'm chalking it up to kernel making itself at home, just a note that it happened.
Edit: just rebooted again getting an email notification, UKB 1.3. Seems I can't receive a notification while the phone is sleeping or it jams up and reboots.
Sent from my HTC DNA
Click to expand...
Click to collapse
After it reboots, can you try to get a log with
adb shell cat /proc/last_kmsg > last_kmsg.txt
and send a link to the last_kmsg.txt file?
orangechoochoo said:
I didn't see any mention of gpu tweaks so I didn't want to make assumptions, hence my question.
EDIT: I just noticed my autocorrect changed "gpu" to "you" in my post you responded to.
Click to expand...
Click to collapse
Ah, that makes more sense... I'm planning on including dsb's changes to any overclocking, etc. but I don't have the knowledge to tweak these settings myself.

[Kernel][AOSP/TW] ChronicKernel - (UV/GPU/CPU-OC/dyn fsync/Linaro) [05/07/2014]

ChronicKernel for Verizon Samsung Galaxy S4​
{
"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"
}
Code:
#include
/*
* Your warranty is now likely void.
*
* I am not responsible for bricked devices, dead SD cards,
* spontaneous combustion, or any other host of cosmic penalties
* which may befall you, your family, or your phone.
*
*/
Here is a initial kernel for AOSP/TW. It has all the features you would expect from a modded kernel, CPU OC, GPU OC, more CPU governors, Undervolted, Underclockable, GPU OC CPU L2 OC, and linaro -o3 optimizations
Click to expand...
Click to collapse
Screenshots
Requirements
* Rooted (obviously)
* I use CyanogenMod as my daily, so i don't test the TW version much..it should be fine though.
Installation
1: Place zip on sdcard
3: Reboot into recovery
3: Clear cache and dalvik cache
4: Flash zip
5: Reboot
6: If desired edit the init script at /system/etc/chronic-config.sh to suit your needs
7: Profit
ChronicKernel
* All-in-One kernel for all qualcomm variants (AOSP/CM only)
* Compiled with linaro
* GPU OC to 627 Mhtz (450Mhtz default - configurable though chronic-config.sh init script)
* CPU OC to 2322 Mhtz (1890 Mhtz default)
* CPU L2 cache overclocked to 1.3Ghtz
* Raised the low/med/high values for GPU governor one step each
* Added many I/O Schedulers
* Some scheduler performance tweaks
* Added CPU Governors intelidemand, wheatley, lagfree, linoheart, smartassH3, badass and smartmax (Default gov = intellidemand)
* Dynamic Fsync
* F2FS support
* User adjustable CPU uV
* frandom support
* Optimized and compiled with with the "Optimize a lot, or -o3 option)
* USB fast charge (disabled by default - configurable though chronic-config.sh init script
* Patched to Linux 3.4+
May-7
* Added back patch to ramdisk for PACMAN rom.
* Added F2FS support
* Synced ramdisk with CM
April-23
New Release v3.0 All-In-One AOSP_KK4.4 Kernel!
* Sorry for the long delay. Got burnt out on android for awhile and got some new toys as well so was busy
* All the needed updates to kernel and Ramdisk since last release and to comply with CM"s new all-in-one rom build,
because of this we can now use one flashable zip for all qualcomm variants now. I added the auto-loki patching from
CM's rom zips so loki should be done for you. let me know if you have any issues.
* Updated kernel to 3.4.82
* I'm sure there are a few small fixes I forgot since last release but basically you can expect what you did with the last release just up to date.
Dec-24
New Release v2.4 for AOSP Android KitKat 4.4! (TW to follow soon)
Changes since v2.3:
* Got rid o dcvs governor as it never worked
* Updated to offical Android 4.4.2/CM-11 Kernel source, changes include:
* We are now using the msm2 gpu driver not msm.
* Updated WiFi Drivers
* Updated Sensor drivers
* Many changes to the framebuffer and vidc driver
* Linux 3.4.75
And as always the ramdisk is synced with CM as of time of compile
Oct-28
* AOSP-JB4.3: Tagged v2.3.3 (maintenance update)
* AOSP-JB4.3: Fixed issue with latest ROM builds
Oct-26
* AOSP-JB4.3: Tagged v2.3.2 (maintenance update)
* AOSP-JB4.3: Merged all the upstream commits from CM, should help with stability
* NOTE: If your colors are off with the display. Its because your ROM hasn't been updated to latest display drivers, ask your ROM developer to update their ROM.
Oct-20
* Common: Updated to Linux 3.4.66
* Common: Added Faux123's Simple GPU governor
* Common: Fixed compatibility with PAC
* AOSP-JB4.3: Merged upstream changes for compatibility with latest CM nightlies
* TW: Tried to fix issue with LPM mode (charging while off)
Oct-6
* Bumped AOSP to v2.2 and TW to v1.2 respectivly
* Common: Fixed issue across all custom S4 kernels where the Governor is only applied to online cpu cores. They are now set regardless
* Common: More aggressive L2 Overclock, bumped max L2 freq by 100 Mhtz and have a more aggressive scaling of the L2 freqs
* Common: Updated to Linux 3.4.62
* AOSP-JB4.3: a few (minor) upstream changes
Sep-5
* AOSP-JB4.3: Merged over 200 commits from CM to bring in sync, No other changes, although seems performance is a little improved
Aug-24
* General: initial release ot the TW/GE kernel, refered to as TW-JB4.3, this is the same as the TW (now known as TW-JB4.2) just compatible with GE roms
AOSP-JB4.3
* AOSP-JB4.3: Synced Ramdisk with CM, latest nightlies should work now
* AOSP-JB4.3: Fixed a bad merge in the last version related to I/O scheduling
* AOSP-JB4.3: Added official Samsung exFAT support (thanks ktoonsez for original commit)
* AOSP-JB4.3: Updated to Linux 3.4.59
* AOSP-JB4.3: Tagged v2.1
AOSP-JB4.2
* AOSP-JB4.2: Added official Samsung exFAT support (thanks ktoonsez for original commit)
* AOSP-JB4.2: Updated to Linux 3.4.59
* AOSP-JB4.2: Tagged v2.1
TW/TW-JB4.2
* TW: Some cleanup to try and make it more stable
* TW: Added official Samsung exFAT support (thanks ktoonsez for original commit)
* TW: Updated to Linux 3.4.59
* TW: Tagged v1.1 and will be known from this point on as "TW-JB4.2"
TW-JB4.3 - TW/GE
* TW-JB4.3: Initial TW/GE kernel v1.0
Aug-16
* AOSP-JB4.3: Maintenance update - Synced with upstream CM kernel at time of compile - glitches should be gone
* Note: sorry for the delay. i was busy getting 10.2 booting on pyramid/glacier/holiday
* Took the version number out of the OP title as its not the same across all platforms
Aug-4
* AOSP-JB4.3: Added AOSP 4.3 kernel, has all the updates from CM's kernel as of this date
* AOSP-JB4.2: Sync with CM. a little clean up
* TW: TW kernel is now out of RC and v1.0, Merged a few things from the AOSP-JB4.3 kernel
* There were a good amount of updates that are kinda hard to explain. if you want more details check my github
Old Changelogs
July-20
* TW: RC2 release
* TW: tried to fix exFAT support, please let me know
* TW: Fixed an overlook that was causing the GPU to stay at a higher freq then normal
July-18
* Fixed a few little overlooks on my part in the TouchWiz beta1. Here is RC1
July-17
* inital TW build, still beta but should work fine just might have a couple things enabled (I/O schedulers that dont work or shouldnt be)
July-14
* Fixed Color temp settings not showing in Advanced Settings
* Couple tweaks to fastcharge cherry-picked from ktoonsez's kernel
* Merged JFA source
* All CM changes merged
* Added option to configure CPU OC from chronic-config.sh
* Fixed a race condition between chronic-config.sh and init.qcom.post_boot.sh setting governor
* Updated to Linux 3.4.52
* Fixed a type-o in chronic-config.sh that might have prevented dynfsync from being set to the desired setting
* Initial support for the Sprint variant
* General cleanup
July-2
* Reworked the way the config script works. it now sets gov correctly. it was renamed to chronic-config.sh and moved to system/etc/
* A few upstream updates
June-30
* Maintenance update
* Merged all upstream CM changes, should work on latest nightlies now
June-26 Stable Release
* Over 100+ upstream commits, like vidc etc, CHECK HERE for details
* Updated to MFx source/google sources
* small bugfix to screen off max gov
* wakelock fix (upstream)
* Updated to Linux 3.0.50
* Few misc bugfixes
** Honnestly the changelog doesnt do the update justice. CHECK HERE for details
June-18
* Upstream: Kernel source updated to MDL (samsung)
* Bugfix: Synced ramdisk with upstream CM to fix issue with bluetooth
* Fixes to Fast charge
* Bugfix: fix issues with workqueue (ktoonsez)
* Screen off Max freq will be disabled while in call (ktoonsez)
* Bugfix: Two EHCI: HSIC commits from caf to fix a wakelock
* Added CIFS Support
* Switch to intellidemand as default CPU governor
* Set 504Mhtz as boot freq for GPU
* GPU: Changed 544mhz to 545mhz to conform better with the pll table
* reduce some log spam (ktoonsez)
* GPU OC: Add 627mhtz step
* Linux 3.4.49
June-11
* Merged all upstream changes from CM kernel, including things like the MDM kernel source update
* Updated to Linux 3.4.48
* GPU OC now correctly reflects the current gpu freq to sysfs
June-7
* Pretty sure the intellidemand issues are fixed now
* Some bugfixes from caf for cpufreq and cpufreq stats
* GPU OC is fixed now (wasn't working correctly, would reject any freq higher then 450)
* GPU OC steps are now 504 544 and 601mhtz
* Synced with upstream (CM)
June-4
* Added in between steps to OC freqs to try and help people squeeze a little more out of the CPU (ktoonsez)
* GPU OC to 533Mhtz
* Added some missing intelidemand code to try and fix battery drain
* Some upstream changes like control screen color temp by sysfs
* Switched back to interactive as default governor
May-31
* Tweaked the GPU bandwith and governor low/med/high values for better performance
* Some bug fixes from type-o's made by samsung
* Removed CPU governors that don't support hotplugging (ktoonservativeq, dancedance)
* Min cpu freq with start at 378Mhtz for all cores
* Switched to XZ compression when making kernel to reduce size (the only impact on user end is a 1 sec longer boot time on Samsung splash)
May-29
* Reverted some cherry-picks from upstream that was causing bootloops for some
* Fix for GPU governor, it was sometimes getting stuck at 450 mhtz even with screen off (credits: ktoonsez)
* Updated the updater-script in the flashable zip to do some housekeeping before flash like remove old modules
May-28-build2
* Fixed bad zip packages
May-28
* Rebased source off of ktoonsez kernel,
* Fixed all the instability from the last releases
* CPU OC up to 2322 Mhtz (not all devices can handle this!)
* added frandom support
* Added a few Governors and I/O Schedulers
* Disabled a lot of useless debugging options
* Disabled un-needed modules
* More general build optimizations
* Other changes I forgot
May-26-build2
* Fixed all the bootloop issues from the last build
May-26
* Bugfix: cpu freqs on all cores but core0 weren't being set to desired levels
* Bugfix: a lot of block (I/O) fixes from caf and faux123
* CPU is now overclockable to 2268Mhtz but not all devices, including mine can handle this.
* CPU can now be overvolted to 1500 uV
* CPU L2 cache overclock to 1.3Ghtz (this seemed to give the most performance boost out of any overclocking so far)
* full kernel based mpdecision (there is an init.qcom.post_boot.sh script included that will disable userspace mpdecision, DON'T REMOVE IT)
* Added back all the special UID drivers that got disabled
* A lot of cleanup to the defconfig and disabled a lot of useless options and enabled some that weren't there before
* Switched to intellidemand as default governor
* Switched to ROW as default I/O scheduler
* CPU: Boot at default freq of 1890Mhtz for stability
* Probably a lot more small tweaks I'm forgetting
May-18
* Added an init.d script to zip to help control custom kernel settings
* Added CPU OC to 2106 Mhtz (1998 mhtz default)
* Set default GPU OC to 450mhtz to save battery (still overclockable via 89chronic init script)
* Adjusted the GPU Bus bandwith, seems to help with performance and battery life
* Lots of updates for CM kernel (gpu drivers etc)
* Maybe a couple other tweaks I forgot to list
May-14
* initial release
* Please keep all comments in this Discussion Thread. Any comments not in that thread will be ignored. Feel free to use the DevDB Bug reporting option as you see fit. This is critical in keeping the same question from being asked times in 5 different threads all with the same answer. It was really slowing down development.
* ]If you have problems with frequencies sticking use "No frills CPU Control" and go to Settings and prevent other apps from changing CPU settings
* Although this kernel has now reached "stable" status. bugs still could pop up. please if you find a reproducible bug and decide to post please try and provide a last_kmesg or logcat.
* Versions go as follows: AOSP-JB4.3 = CM-10.2 etc, AOSP-JB4.2 = CM-10.1 etc, TW-JB4.2 = Android 4.2 TW based ROMs, TW-JB4.3: Android 4.3/Google Edition based ROMs
AOSP-JB4.2 : ChronicKernel-JB4.2-AOSP-VZW-v2.3.zip
AOSP-JB4.3 : ChronicKernel-JB4.3-AOSP-VZW-v2.3.3.zip
AOSP-KK4.4 : ChronicKernel-KK4.4-AOSP-JFLTE-v3.1.zip
TW-JB4.2 : ChronicKernel-JB4.2-TW-VZW-v1.3.zip
TW-JB4.3 : ChronicKernel-JB4.3-TW-VZW-v1.3.zip
Goo.im Repo : CLICK HERE
* This Kernel can also be downloaded directly with GooManager *
My Github (main): https://github.com/Team-Hydra/android_kernel_samsung_jf
* First off of course cyanogen, the CyanogenMod project and all who contribute.
* A lot of this was taken/based off of flar2's Kernel for the HTC One, so thanks for the source!
* Also grabbed some things from Faux123's kernel
* All the people who have helped me learn more and more over the past 4 months (arco/dastin1018/android1234567) you guys are the best!
I really didn't want to do this but people keep asking so here is a donation link if you want to buy me a coffee or pack of smokes (I go through a lot sitting on the PC messing around lol) go ahead. But not required or expected by any means
Note: The name on the paypal account may say patricia, this is because it's a family paypal account.
Happy Flashing
Albinoman887
XDA:DevDB Information
[AOSP/TW] ChronicKernel, a Kernel for the Verizon Samsung Galaxy S 4
Contributors
albinoman887
Kernel Special Features: * Compiled with linaro * GPU OC to 627 Mhtz (450Mhtz default - configurable though chronic-config.sh init script) * CPU OC to 2322 Mhtz (1890 Mhtz default) * CPU L2 cache overclocked to 1.3Ghtz * Raised the low/med/high values for GPU governor one step ea
Version Information
Status: Stable
Created 2013-10-09
Last Updated 2014-05-07
Reserved
Flashed this into PACman, ktoonz kernel never played nice for me. I will report back on my thoughts.
First impressions? Well it boots, strong performance, too early to tell on battery.
Sent from my Galaxy S4
Wake up delay/lag is completely gone for me since flashing this kernel. I'm on the latest CM nightly.
Sent from my SCH-I545 using Tapatalk 4 Beta
So I have been running all day on this kernel. Governor = smartassH3 1998/189 and row scheduler. All set with the native PACman performance settings. No other mods enabled. Not quite the performance I was hoping but not bad considering my slight overclock. Also I have had quite good service today.
Sent from my Galaxy S4
To offer a different perspective, intellidemand, row, 189/1890, no undervolt, CM. Insane so far.
Sent from my SCH-I545 using Tapatalk 4 Beta
might have to try this out
Working very well on pac. Too early to tell battery but based on the change log its going to vary on your set up.
Sent from my SCH-I545 using xda premium
I'm enjoying this kernel and can't wait for future updates! So far I'm getting really good battery life with this. I've noticed a couple of issues which I didn't experience when running the KT kernel. I'm not 100% sure it's kernel related, but I never experienced these with KT. 1) Sometimes wifi won't connect and when I try to access wifi settings in the settings menu it freezes and springs a settings is not responding. 2) On occasion I'll get a real system slowdown where I get a bunch of lag. Both of those issues seem to be resolved with just a regular reboot. 3) I use face unlock as my lockscreen and sometimes the camera doesn't work (including after a reboot). So I see like the white "burst" in the box like it usually does when it's opening the camera, but then the camera doesn't initialize and it just shows a black screen.
My settings:
Kernel:
189/1890
Intellidemand
Row
Haven't made any other changes to settings
Rom:
Fitsnugly's (Euroskank) CM10 from 06/07
Otherwise I think this has huge potential to be my go to kernel for battery life.
Albinoman887, just an FYI, flashed the latest kernel build on the 6/12 CM nightly and BT doesn't turn on. Behavior is consistent with what you typically see when a module is missing. Was on the go and couldn't grab a logcat, but will do so if the solution is non-obvious.
Sent from my SCH-I545 using Tapatalk 4 Beta
Might be some updates to the ramdisk cm made. I'll check it out
Sent from my SGH-M919 using Tapatalk 2
yep looks like its something to do with a CM update. i rolled back to 6/8 and BT works again. they probably changed some permissions or something in the ramdisk. (the lame thing about samsung kernel developing) i'll re-sync the ramdisk code with upstream and see what that does. it should fix it. then i'll release a revised build. until then the June 8 CM build works fine with BT and my kernel, as a temp fix
someone have the older kernel from the 8th
revolt1 said:
someone have the older kernel from the 8th
Click to expand...
Click to collapse
Not the older kernel. Older cm build with current kernel
Sent from my SGH-M919 using Tapatalk 2
albinoman887 said:
Not the older kernel. Older cm build with current kernel
Sent from my SGH-M919 using Tapatalk 2
Click to expand...
Click to collapse
ahh
revolt1 said:
ahh
Click to expand...
Click to collapse
I have it working now with latest builds let me try and explain it again.
With samsung phones when you flash a kernel you arent JUST flashing the kernel like on HTC. due to limitations in recovery on samsung you have to flash the full boot.img. this img file contains the zImage (kernel) plus a the ramdisk, which is things like init.rc init.cm init.qcom. these are scripts that run at boot to set permissions for radio, wifi, mount points etc.
Since we are limited to flashing the full boot.img these init scripts get flashed during kernel fash as well.
So say you have a kernel build from the 10th. but on the 15th CM changed some paths in the init scripts (which is what they did this time) and you download that update from the 15th, flash it, then the kernel. you lose all the updates to the ramdisk from the 10th on. So if there are some big changes in there it will cause issues like this BT one. usually the ramdisk doesnt get updated much. its just because the device is so new. i predict in a month or so this wont be an issue as all the scripts will be final.
Enjoying some coffee, then i'll post the new build with the updated ramdisk (fixed BT)
Biggest cup of coffee ever! Lol
Sent from my SCH-I545 using Tapatalk 4 Beta
lol sorry. got busy with life, and had to reinstall my os for various reasons. back in business now
No complaints, just seemed like a good joke
Sent from my SCH-I545 using Tapatalk 4 Beta
Just wondering is anybody knows oz this kernel had CIFS support.
Sent from my SCH-I545 using Tapatalk 2

[KERNEL][Marshmallow] Hydra Kernel v5.0 Nightly Builds [23/Jan]

✯ ✯ ✯ HYDRA KERNEL ✯ ✯ ✯
Advanced Hybrid Kernel
Synapse Support Included ​
Description:
Hydra Kernel is specially developed to enhance user experience over stock kernel.
Hydra kernel aims to provide non-minimalistic, organized, stable, feature-packed, smooth and performance-driven kernel for daily use.
More and more enhancements and improvements will be added based on reviews and requirements.
Daily updates from 4.0 Kernel upstream and CAF, as and when feasible. (That's why HYBRID)
Follow github source to know more in detail.
Features:
Upstream stable updates to 3.10.94
Synapse Backend Support INSTALL FROM PLAY STORE.
Kexec-hardboot enabled for MultiROM support
CAF's Adaptive LMK (kills sluggishness and helps launching apps faster)
MSM Limiter Driver - Per CPU Total Control
MSM Hotplug Driver - Default - Based on myfluxi's initial hotplug driver for hammerhead. Enhanced by me and @dorimanx
Intelli Hotplug Driver - Based on faux hotplug driver. Enhanced by me and @dorimanx
Bricked Hotplug Driver - Conservative hotplug driver by @showp1984. Improved and enhanced by me.
Disabled stock touch boost and replaced with enhanced CPU Boost Driver
Wakeup boost, Input Boost and Hotplug Boost for CPU Boost Driver
Added BFQ and FIOPS I/O Scheduler
Added KCal Driver Support by @savoca. Colors calibrated for Nexus 6 by default.
Improved suspend routines by Motorola
Sound Control Driver
Wake Gesture driver by @flar2
Latest CAF Interactive governor with tuned defaults
Impulse governor - Tweaked CAF interactive governor - Friendly and power efficient frequency scaling.
Awesome CAF sound experience. Up-to-date sound codecs with Ultra-High-Quality auto enabled with high quality music
Fixed entropy depletion
SELinux improvements
Neon-enabled ARM crypto routines
LED Control
PM QoS updates
Disabled Forced Encryption
Massive driver updates
Tunable wakelocks via Synapse
ZRam support
Memory tweaks
Lots of bug fixes
And much much more....
Links:
▷ Download Link:
Nightly Builds are HERE.
Stable Builds are HERE
CHECK UPLOAD DATE BEFORE DOWNLOADING.
▷ Kernel Source: Click Here
How do we roll out? Well, nightly builds will be out updated most of the times.
Stable RC build will be released once a month.
Test builds if published, will be specified.
Installation Method:
Reboot in Recovery
REFLASH YOUR ROM IF YOU WERE USING ANOTHER CUSTOM KERNEL
Flash downloaded Zip File
Reboot and profit!
Credits:
{
"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"
}
myfluxi (msm_hotpluf / msm specific fixes)
faux123 (sound control base/ intelli_hotplug / thermal tweaks / msm specific tweaks)
showp (bricked_hotplug)
flar (wake_controls)
franciscofranco (tweaks)
imoseyon (device specific fixes)
The user community (reviews and feedback)
If I have forgotten credit to your contribution, please send me a PM. Thank you.
You may post anything related kernel. Make sure to mention ROM name, Governor name, IO Scheduler name.
Feature request is served if feasible.
XDA:DevDB Information
Hydra Kernel, Kernel for the Nexus 6
Contributors
neobuddy89
Source Code: https://github.com/neobuddy89/Shamu/commits/marshmallow
Kernel Special Features:
Version Information
Status: Nightly
Current Stable Version: 4.1
Created 2015-02-26
Last Updated 2016-01-22
Changelog
Marshmallow:
Code:
[B]
Hydra_v5.0-[01-23]-[00-08][/B]
* Restored marshmallow wifi driver.
* Fixed GPU error - reported in last log.
* Patched latest security update from CM.
* Performance improvement.
[B]
Hydra_v5.0-[01-20]-[02-19]
[/B]* Updates and fixes for GPU.
* Misc library updates from mainstream.
* Fix few warnings on boot.
[B]Hydra_v5.0-[01-18]-[20-03][/B]
* Disable net skb cache. This should prevent OOM reboot issue due to memory pressure of network traffic.
* Optimized for gcc.
* Revamped interface for Gamma controls in Synapse.
* Added new CRON tab in Synapse. Schedule jobs for auto-maintenance.
* Added new control for optimization of IPv6 networks. Synapse > Network.
* Reduced default vfs_cache_pressure to 80 for better performance.
* Reverted couple device memory allocation commits to test stability.
[B]Hydra_v5.0-[01-17]-[01-10][/B]
* Address errors in submitted logs.
* Improved power efficiency.
* Fixes and optimizations from mainstream.
[B]Hydra_v5.0-[01-15]-[15-45][/B]
* Backported fixes from 3.12 and CAF for robust net and bluetooth connect.
* Improved suspend latency.
* USB driver updates.
[B]Hydra_v5.0-[01-12]-[05-46][/B]
* More bug fixes from CAF and mainstream.
* Optimizations from mainstream and ChromeOS.
* Added new tunable wakeup sources (bluesleep and wlan). You can disable from Synapse > Misc.
* Newer WiFi driver with lots of fixes from Nexus 6P and Google. It may be a placebo but I have observed reduced power consumption with wifi. Please test.
[B]Hydra_v5.0-[01-10]-[03-08][/B]
* New nightly series. This build needs to be tested thoroughly. Reviews & logs welcome.
* Built with self-compiled Linaro 5.3 toolchain.
* Massive SCHED updates - boosts overall performance. SCHED is now ahead of that of younger brother Nexus 6P.
* Updated interactive and impulse governor with CAF updates.
* Enabled State Notifier by default.
* Massive CAF sync - Fixes and Updates (drivers, ARM, mm, and more - 280+ commits)
* Cherry-picks from 4.4 mainstream for improved performance and stability.
* Cherry-picks from Motorola kernel 6.0 release.
* Updated KSM
[B]Hydra_v4.1 [/B][COLOR=DarkGreen][COLOR=Black][B][COLOR=Red](Stable Release for 6.0.1)[/COLOR][/B][/COLOR][/COLOR]
* Fix time reset on boot issue.
* Stable Release.
[B]Hydra_v4.1-[01-02]-[01-17][/B]
* Bump version to 4.1
* Critical bug fixes from CAF.
* Performance improvements (Mainstream sched updates and more)
[B]Hydra_v4.0-[12-28]-[01-21][/B]
* Turned off State Notifier driver - possible suspect for SOD on few devices/roms. Read and enable via Synapse > Misc.
* Updated WiFi driver from Google to fix potential hang and panics.
* Updates for Audio driver from CAF.
* Misc updates and fixes from Google and mainstream.
* KSM can be now enabled via Synapse
* Enabled new TCP congestion methods.
[B]Hydra_v4.0-[12-22]-[21-14][/B]
* Sync up 6.0.1 updates
* Audio driver/codecs updates from CAF
* Linux 3.10.94 stable update
* Sched updates from CAF and mainstream
* Impulse governor updates for more butter
* Add back battery empty learning feature from google (says useful for old batteries)
[B]Hydra_v4.0-[11-13]-[02-08][/B]
* Support CM13
* Linux 3.10.93 update
* Updated Audio codecs and slimbus drivers
* Added ZRAM support from Linux 4.2 (configurable under Synapse)
* Tuned new CAF memory tunables.
* Misc driver updates (mdss, modem, gpu, cpuidle and few more)
* Performance improvements.
[B]Hydra_v4.0-[10-25]-[12-39][/B]
* Linux 3.10.91 update.
* Fixes and updates for audio driver.
* Improved video playback driver - lower latency - updates from CAF.
* Improved state notifier and limiter drivers.
[B]Hydra_v4.0-[10-19]-[14-14][/B]
* Revert Moto Codec update for now.
[B]Hydra_v4.0-[10-19]-[02-46][/B]
* Critical Bugfix: Apps like Play Music failing to play gapless music.
* Updated motorola sound codec driver from its latest sources.
* Improved memory management - auto compact memory nodes when device suspends.
* Misc CAF updates.
[B]Hydra_v4.0-[10-16]-[22-01][/B]
* SELinux Permissive boot (not forceful) - Till CM13.0 irons out root issues on marshmallow.
* Resolved battery calibration issue.
* Misc driver updates and fixes from google and CAF msm-3.10
Lollipop:
Code:
[B]Hydra_v3.2-[01-10]-[03-45][/B]
* Sync eligible updates upto Hydra_v4.1 stable release.
[B]Hydra_v3.1-[11-13]-[03-05][/B]
* Linux 3.10.93 update
* Updated Audio codecs and slimbus drivers
* Added ZRAM support from Linux 4.2 (configurable under Synapse)
* Tuned new CAF memory tunables.
* Misc driver updates (mdss, modem, gpu, cpuidle and few more)
* Performance improvements.
[B]Hydra_v3.1-[10-28]-[13-09][/B]
* Stable updates upto Linux 3.10.92
* Filesystem updates - Fixed potential random reboot issue reported earlier.
* Fixes and updates for audio driver.
* Improved video playback driver - lower latency - updates from CAF.
* Improved state notifier and limiter drivers.
* Improved memory management - auto compact memory nodes when device suspends.
* Misc driver updates and fixes from google and CAF msm-3.10
[B]Hydra_v3.0-[10-10]-[05-26] / [/B][B][B]Hydra_v3.0[/B] [/B][COLOR=DarkGreen][COLOR=Black][B][COLOR=Red](Stable Release for 5.1.1)[/COLOR][/B][/COLOR][/COLOR]
* Restore lollipop wifi driver.
* Music stutter fix. (Please confirm)
* CAF misc updates and fixes.
* CFQ iosched updates
* Improved FS throughput
[B]Hydra_v3.0-[10-06]-[15-27][/B]
* Linux 3.10.90 update
* Misc CAF drivers update
* Marshmallow Wifi Driver (from latest source - hopefully, they have fixed issues successfully.)
[B]Hydra_v3.0-[10-04]-[00-51][/B]
* Preserve charger service of base ROM. (Fixes battery issue.)
(If you are having incorrect battery percentage display - dirty flash your ROM first and then Hydra kernel.)
* Linux 3.10.89 update
* CAF misc updates
* TCP optimization from 4.0 upstream.
[B]Hydra_v3.0-[09-20]-[01-28][/B]
* Lots of optimizations & fixes from [I]Motorola[/I].
* Fix potential filesystem crash via ROM.
[B]Hydra_v3.0-[09-16]-[00-44][/B]
* Linux 3.10.88 update.
* SCHED optimizations.
* Restored stable WiFi Driver. (lollipop only)
[B]Hydra_v3.0-[09-09]-[22-53][/B]
* Fix LMK regression on some ROMs.
* Updated KCAL post-processing (display control) driver.
* Improved performance for MMC and PM drivers.
* Misc kernel updates from CAF and mainline.
[B][B]Hydra_v3.0-[09-03]-[22-56][/B]
[/B]* Synced ramdisk with CM.
* Updated kernel flash method - ramdisk will be build dynamically while flashing. This eliminates need of separate boot images for CM and AOSP.
* Minor fixes and clean up.[B]
Hydra_v3.0-[08-22]-[18-13][/B]
* Updates from m-preview-3 (WiFi, GPU and Sound driver updates)
[B]Hydra_v3.0-[08-19]-[22-45][/B]
* Linux 3.10.87 update
* Fixed QoS crashes with new MSM cpuidle driver. Much better now.
* Misc updates and fixes.
[B]Hydra_v3.0-[08-18]-[09-17][/B]
* Complete CAF Scheduler updates.
* Updated LPM (low power mode) - CAF CPUIdle driver.
* Added Scheduler Boost toggle and Adaptive LMK toggle to Synapse.
* Misc updates[B]
Hydra_v3.0-[08-15]-[14-40][/B]
* Linux 3.10.86 update
* Enabled support for [URL="http://forum.xda-developers.com/android/software-hacking/script-iotop-android-t2910428"]iotop script[/URL].
* LMK changes - dropped LMK profiling via synapse (obsolute maybe). Enabled and tuned CAF Adaptive LMK
(Prevents sluggishness and provides very low app launch latency.)
* Complete CAF updates for memory structure.
* RCU driver updates from CAF
* Misc updates and fixes from CAF
* Upstream updates for i/o scheduler throttler.
[B]
Hydra_v2.2-[08-05]-[01-30][/B]
* Linux 3.10.85 update
* Updates from M-preview-2 (wifi, panel, power, etc updates)
* Complete memory structure updates from CAF
* GPU driver updates from CAF
* MMC driver updates from CAF
* CFQ I/O sched improved performance
[COLOR=DarkGreen][COLOR=Black][B]Hydra_v2.1 (16-July-2015) [/B][/COLOR][/COLOR][COLOR=DarkGreen][COLOR=Black][B][COLOR=Red](Stable Release for 5.1.x)[/COLOR][/B][/COLOR][/COLOR]
* Stable Release for AOSP/CM based 5.1 ROMs.
* Linux 3.10.84 update.
* Fixed Synapse UCI detection.
* Updated log collection in Synapse and fixed last_kmsg not being retained after reboot.
* Lowmemorykiller (LMK) updates from motorola.
[B]Hydra_v2.1-[07-05]-[20-05][/B]
* Fixed broken root on CM-based ROMs. (not sure how this will affect wifi-calling, but CM should update for wifi-calling first)
* Fixed broken charging animation when device is off.
* Misc update for crypto drivers.
[B]Hydra_v2.1-[07-04]-[03-49][/B]
* Fixed broken adbd, root *hopefully* after unified AOSP-CM build.
* Stability improvement. (memory management update, mdss/panel update)
[B]Hydra_v2.1-[07-01]-[20-54][/B]
* Unified build for AOSP and CM ROMs (that's why double size download)
* Enabled Partial Resume
* T-Mobile WiFi Calling support (please test)
* Linux 3.10.81 update
* Misc CAF updates
[B]Hydra_v2.1-[06-24]-[19-40]-CM / Hydra_v2.1-[06-24]-[19-48]-AOSP[/B]
* Linux 3.10.81 update
* Added Adreno Idler. Enable via Synapse under Misc tab.
[B]Hydra_v2.1-[06-23]-[23-30]-CM / Hydra_v2.1-[06-24]-[00-50]-AOSP[/B]
* Improved Stability
* Separate AOSP - CM builds.
* Updated Ramdisk
* Misc CAF updates.
[B]Hydra_v2.1-[06-09]-[09-48][/B]
* Attempt systemui crash fix (crash experienced by some users)
* Linux 3.10.80 update
* F2FS update
* BFQ I/O scheduler update to v7r8
* Misc CAF drivers updates
* CPU Idle driver update from 4.0 upstream
[B]Hydra_v2.1-[06-02]-[02-35]
[/B]* Massive updates of multiple drivers - WiFi, MDSS panel, SELinux, Crypto, Audio, Power - straight from M-source.
* Couple of fixes.
[COLOR=DarkGreen][COLOR=Black][B]Hydra_v2.0 (31-May-2015) [/B][/COLOR][/COLOR][COLOR=DarkGreen][COLOR=Black][B][COLOR=Red](Stable Release for 5.1.1)[/COLOR][/B]
* Merged google 5.1.1 Shamu updates.
* Switched to new custom-tailored linaro-based 4.9 toolchain.
* FB notifiers are on by default once again.
* Updated ramdisk to improve compatibility with both CM and Stock ROMs.
* Misc driver updates from CAF
[/COLOR]
[/COLOR] [B]Hydra_v2.0-[05-23]-[04-05][/B]
* Linux 3.10.79 update
* Ramdisk updates from CM12.1
* Misc Drivers updates from CAF
* WiFi Driver updates
* Updated Impulse governor
* FB notifiers disabled by default for stability test purposes.
[B]Hydra_v2.0-[04-17]-[19-56][/B]
* Fix freezing issue due to ARM64 update in last build.
[B]Hydra_v2.0-[04-16]-[13-33][/B]
* Linux 3.10.74 update
* Updated Motorola specific kernel drivers.
* Fixed thermal system crash after using MultiROM app
* Enabled FB notifiers by default to reduce battery consumption with Ambient mode
* Improved CPU Boost driver and Impulse governor to reduce battery consumption when screen off
(like for GPS tracking apps and music player running in background)
* Misc CAF updates
[B]Hydra_v2.0-[04-13]-[15-51][/B]
* CAF updated CPU bandwidth management. Improves performance.
* Enabled sensor_ind wakeup source by default.
* Enabled thermal-engine and removed controls from Synapse. This fixes sudden shutdown below 20% battery at high temperature.
* Tweaked thermal subsystem to prevent mitigation i.e. changing max frequency unless board is at high temperature.
If board is at high temperature (at below 40% battery), max freq will be mitigated to lower frequency. However, once board is cooled down, limiter driver will bring back max freq to normal state.
[B]Hydra_v2.0-[04-09]-[00-19][/B]
* Updated GPU, Panel and Audio drivers
* Crypto optimization for AES using Neon instructions
[B]Hydra_v2.0-[04-04]-[04-29][/B]
* Fix potential error causing panic. Improved stability.
* Misc updates from CAF.
[strike]* Improved thermal routine.[/strike]
[B]Hydra_v2.0-[04-02]-[02-21][/B]
* Updated F2FS
* Massive update for multiple drivers from CAF (panel-mdss, audio, SSR, etc)
* Improved stability
[B]Hydra_v2.0-[03-30]-[00-18][/B]
* Added MultiROM. (Get compatible recovery, installing zip and app from [URL="https://plus.google.com/106544733723469872647/posts/FZ2cSzTQwBH"]HERE [/URL]first.)
* 'Cyanogenmod' hotplug within Synapse is now 'Stock'. It will bring all CPUs online (as in stock. Reinstall ROM and then this kernel build if you are on previous build of this kernel.)
[B]Hydra_v2.0-[03-28]-[20-17][/B]
* Linux 3.10.73 update.
* LMK fixes.
* Misc fixes and driver updates.
[B]Hydra_v2.0-[03-22]-[17-35][/B]
* Remove system audio blob modification (Reflash ROM + gapps + this build)
* Updated kernel audio driver
* SELinux tweaks for SuperSu.
[B]Hydra_v2.0-[03-20]-[03-26][/B]
* Fix kernel issue with compressed audio streams on 5.1 ROMs.
* Linux 3.10.72 update.
* Misc performance and stability updates.
* Added toggle under Misc tab in Synapse to switch between FB notifiers and State notifiers.
[B]Hydra_v2.0-[03-17]-[00-30][/B]
* Support for theme-supported and CM superuser ROMs.
* Init.d support for 5.1 based ROMs.
[B]Hydra_v2.0-[03-16]-[02-30][/B] (nightly build for 5.1 ROMs)
* Complete update from lollipop-mr1 release
* MMC driver updates and performance optimizations from CAF
* Added SIO I/O Scheduler
* Updated Intelli Hotplug
* KCal driver update
* Fixed preview build issue with Synapse
* Added underclock/overclock frequencies. Still device will boot and operate within stock frequencies range unless you change from Synapse!
* Misc updates for performance
[B]Hydra_v1.0-[03-14]-[00-21][/B] [COLOR=Red](Stable Release for 5.0.2)[/COLOR]
* Updates from lollipop-mr1 release. (which are compatible with 5.0.2)
* Bring back state notifiers.
[B]Hydra_v1.0-[03-12]-[23-08][/B]
* Improve suspend routine.
* Optimized LMK - much snappy and better now.
* Updated Impulse governor.
* Tuned MSM Hotplug.
[B]Hydra_v1.0-[03-11]-[01-39][/B]
* Fixed WiFi regression on stock-based ROMs.
* Disabled state notifier driver since FB notifiers are stable now and should theoretically contribute better battery for ambient mode users as explained before.
* Misc drivers update from CAF.
[B]Hydra_v1.0-[03-10]-[01-23][/B]
* Try fixing CM12 mess.
[B]Hydra_v1.0-[03-09]-[23-16][/B]
* Linux 3.10.71 update
* Crypto driver massive CAF updates
* Updated Cyanogenmod hotplug.
* NET driver updates from CAF
* Sync with CM12 changes
[B]Hydra_v1.0-[03-07]-[13-34][/B]
* Added FIOPS I/O scheduler
* CAF update for fixing doze mode transitions
* New Synapse backend implementation - faster and proper
* Memory allocation updates from CAF
[B]Hydra_v1.0-[03-06]-[00-28][/B]
* Add back PM QoS CAF update
* Sched updates from 3.18 mainline
* NET driver fixes from Google
* Added LED Control to Synapse. (It will work properly only if there is no ROM interference)
* Added Gentle Fair Sleepers toggle to Synapse. (not tested)
* Added Preferred N/W mode switch to Synapse.
* Misc CAF updates
[B]Hydra_v1.0-[03-05]-[01-34][/B]
* Added State notifier driver for proper suspend-resume routines of multiple drivers.
[B]Hydra_v1.0-[03-04]-[20-33][/B]
* Restored ramdisk configuration.
* Removed PM QoS CAF update temporarily.
[B]Hydra_v1.0-[03-04]-[01-12][/B]
* FIXED CPU governor change via Synapse
* FIXED regression of hotplug and CPU boost drivers with suspend routines
* Added new Impulse governor - Tweaked CAF interactive governor - Friendly and power efficient frequency scaling.
* Updated Conservative governor
* Added smb135x charger wakeup source toggle in Synapse
* Improved SELinux switching. If you select Permissive via Synapse, next boot will always honor selection.
* Added KCal controls to Synapse
* Backported kernel locking mechanisms from 3.18 kernel
* Improved PM QOS - CAF update
* Improved suspend routine - motorola tweaks
[B]Hydra_v1.0-[03-01]-[01-54][/B]
* Linux 3.10.70 update
* F2FS update
* Added Fast charge control to Synapse
* Thermal driver update
* ARM optimizations
* Added power-efficient workqueues (enabled by default; controllable via Synapse)
* Improved scheduler routines
* Massive driver updates (video, panel, usb, GPU, memory allocator)
[B]Hydra_v1.0-[02-27]-[10-23][/B]
* Disabled forced encryption. Not tested.
* Added toggles to synapse to tweak wakeup sources / wakelocks.
* Improved wake controls in Synapse
* Added vibration control in Synapse
* Added Software CRC toggle control in Synapse
* Misc CAF updates
[B]Hydra_v1.0-[02-27]-[01-26][/B]
* Initial Version
Welcome !
Question : is encryption enforced or not enforced ?
old_fart said:
Welcome !
Question : is encryption enforced or not enforced ?
Click to expand...
Click to collapse
Same as CM12. Untouched.
Need to revisit that bit.
SWEET! Thanks for this
I have to try this, thanks a lot and welcome!
old_fart said:
Welcome !
Question : is encryption enforced or not enforced ?
Click to expand...
Click to collapse
it is enforced
Are any go the wakelocks such as sensor_ind and others disable ?
Damon13 said:
Are any go the wakelocks such as sensor_ind and others disable ?
Click to expand...
Click to collapse
What?
Circaflex said:
What?
Click to expand...
Click to collapse
Lk and Franco's kernel have some of the wakelocks disable, so thats what I am referring to.
Circaflex said:
it is enforced
Click to expand...
Click to collapse
Well, some upload issue with AFH. Next build is ready with no-force-encrypt. Will be posted in sometime.
neobuddy89 said:
Well, some upload issue with AFH. Next build is ready with no-force-encrypt. Will be posted in sometime.
Click to expand...
Click to collapse
wait are you saying not to flash what is uploaded? I know CM12 defaults to encryption, doesn't bother me im encrypted already.
neobuddy89 said:
Well, some upload issue with AFH. Next build is ready with no-force-encrypt. Will be posted in sometime.
Click to expand...
Click to collapse
Thank you @neobuddy89, choice is very cool and appreciated !
Damon13 said:
Are any go the wakelocks such as sensor_ind and others disable ?
Click to expand...
Click to collapse
Came in to see the same - guessing from the question going unanswered that there is no sensor_ind fix in this kernel, at least as of now. I'm really, really hoping 5.1 fixes that horrible wakelock.
Sweet.ran your kernel on my nexus 5
Sent from my Nexus 6 using Tapatalk
Faux Sound Support?
Circaflex said:
wait are you saying not to flash what is uploaded? I know CM12 defaults to encryption, doesn't bother me im encrypted already.
Click to expand...
Click to collapse
Bothers the rest of us buddy, who do not wanna be encrypted in case we decide to try the kernel. You can always decide to encrypt yourself, no need to be forced to do so.
Awhh snap. He's here . woot !!
New nightly build!
Hydra_v1.0-[02-27]-[10-23]
* Disabled forced encryption. Not tested.
* Added toggles to synapse to tweak wakeup sources / wakelocks.
* Added vibration control in Synapse
* Added Software CRC toggle control in Synapse
* Improved wake controls in Synapse
* Misc CAF updates
Cheers!!
neobuddy89 said:
New nightly build!
Hydra_v1.0-[02-27]-[10-23]
* Disabled forced encryption. Not tested.
* Added toggles to synapse to tweak wakeup sources / wakelocks.
* Added vibration control in Synapse
* Added Software CRC toggle control in Synapse
* Improved wake controls in Synapse
* Misc CAF updates
Cheers!!
Click to expand...
Click to collapse
Synapse gives me the No UCI Error on boot and it persists until I clear app cache. On Dirty Unicorns and latest nightly with set on boot applied - if you need dmesg/kmesg/logcat let me know which.

[KERNEL] Sphinx Kernel [10/11] [4.9.261] [Clang 11] [13.03.2021] v3.6

{
"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"
}
Introduction
Ahoy everyone,
I decided to share my personal custom kernel with all of you. The main reason i started developing this kernel is to balance performance / battery / security and also add features.
I believe i have included most of the usually requested features. If your feature is not included you can ask for it and i will try to include it as long as you don't ask for ETA's. I am a student and i do this on my spare time.
Pie kernel is based on LineageOS 16.0 sources for beryllium and is compiled
with SdClang which is Qualcomm's LLVM Compiler for extra performance. [EOL] - Final Version is 3.1
10 kernel is based on LineageOS 17.1 source for beryllium and is compiled
with latest sources from LLVM for Clang 11.
So let's jump to the interesting part!
Sphinx Pie Kernel Features - v3.1
Sphinx Pie Kernel Features
Compiled with Dragon Toolchain based on Clang 9.0.0 with GCC 10 and optimized for SnapDragon 845
Upstreamed to 4.9.194
Merged CAF Tag LA.UM.7.3.r1-07900-sdm845.0
Merged Latest Lineage 16.0 commits
Makefile Optimizations
Novatech 9.6.20
WireGuard Support
Dynamic Stune Boost v3
GPU Underclock to 180 Mhz
CRC Check Disabled
Pass SafetyNet without Magisk / Root
Boeffla Wakelock Blocker
AdrenoBoost v2.2 Support
Adreno 630 Nap Mode
Pixel 3 Energy Model
Hight Brightness Mode Support
Sound Control
IR Camera for MIUI based Roms
Support sdFAT Filesystem v2.1.8
Support exFAT Filesystem
Support F2FS File System
Support NTFS File System
Frandom Random Generator
TTL Target
IP Mangle
Fsync Control
DriveDroid Support
DTS X Eagle Driver
Exposure Adjustment Driver (FlickerFree)
Reduced Latency
Config HZ -> 300
Disabled Gentle Fair Sleepers
Atheros 9 Wireless Cards Support
Ralink 27xx / 28xx / 30xx Wireless Cards Support
Kcal Advanced Color Control
K-Lapse v5.0
Vibration Control
LED Notification Control
USB Fast Charge up to 900 mAh
LZ4 Compression Algorithm by default
Backlight Minimum Brightness Control
Power Efficient Workqueues
mac80211 Injection (Kali Nethunter Support)
I/O Schedulers: Zen v2, Maple, Fiops, Sio, Noop, Deadline, Cfq, tripandroid, Anxiety, bfq
TCP Congestion Algorithms : cdg, westwood, bbr, sociopath
Pre-Configured Flash and Forget
Zipped up with AnyKernel2
Sphinx 10/11 Kernel Features - v3.2+
Compiled with latest Clang 11
Upstreamed to Linux 4.9.261
Merged latest CAF tag
Rebased on Lineage 18.0 sources
Merged Latest Lineage 17.1 commits
WireGuard Support
GPU Underclock to 180 Mhz
CRC Check Disabled
Latest Patches for SafetyNet Flags
Boeffla Wakelock Blocker
AdrenoBoost v2.2 Support
Adreno 630 Nap Mode
Sound Control
Support sdFAT Filesystem v2.1.8
Frandom Random Generator
TTL Target
IP Mangle
Expose FPS interface
Fsync Control
DriveDroid Support
DTS X Eagle Driver
Exposure Adjustment Driver (FlickerFree)
Reduced Latency
Simple Low Memory Killer
Disabled Gentle Fair Sleepers
Atheros 9 Wireless Cards Support
Ralink 27xx / 28xx / 30xx Wireless Cards Support
Kcal Advanced Color Control
K-Lapse v5.0
Vibration Control
USB Fast Charge up to 900 mAh
LZ4 Compression Algorithm by default
Backlight Minimum Brightness Control
Power Efficient Workqueues
HID Patch for 4.9 Kernels
mac80211 Injection (Kali Nethunter Support)
I/O Schedulers: Noop, Deadline, Cfq, tripandroid, Anxiety, bfq
TCP Congestion Algorithms : cdg, westwood, bbr, sociopath
Pre-Configured Flash and Forget
Zipped up with latest AnyKernel3
Notes
I bear absolutely no responsibility. If you brick your device. If you are not sure what a kernel is, how to flash it or how to restore your phone in case something goes wrong then do NOT proceed.
Moreover, you should flash this kernel only over the stock kernel that came with your Rom.
Downloads -
Pie EOL - Final Version 3.1
Sphinx 3.1: https://www.androidfilehost.com/?fid=1899786940962594232
10/11 - Current
Sphinx v3.6 : https://www.androidfilehost.com/?fid=2188818919693754613
/-----------------------------------------------------------------------------/
I have dedicated countless hours developing this kernel so if you like my work consider buying me a coffee to help me stay awake and keep improving Sphinx.
Click Here for Coffee
/-----------------------------------------------------------------------------/​
For Support, Updates, Questions, Releases regarding Sphinx join t.me/SphinxKernel
XDA:DevDB Information
Sphinx Kernel, Kernel for the Xiaomi Poco F1
Contributors
milouk
Source Code: https://github.com/milouk/Sphinx-Beryllium
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 3.6
Stable Release Date: 2020-03-13
Created 2018-11-02
Last Updated 2020-03-13
Pocoooooooooo F1 - Donations
If you see your name and not your xda name PM me
Donations made by:
@JJ111
@tnicko
Jerzy Gawryluk
Georgios Bitloglou
@tnicko
@bla.blub
@reg66
@Lazy Rich
@BakaPhoenix @Mrdream94
@emmanuelo7
Pascal Bourasseau
@niccio67
Ramgonda Desai
@MP2005
 @2WildFirE
@Dan_Jacques
@Bonz
@rodries
@fwb1973
@Lycidias
@dodjob
@makimac
@_phil07_
Arge_Canna
@SSmanBuraQ
@fmcheetah
@Migueliyo98
Andrea Nastro
Joao Martinho
Thanks again guys!
Changelog
Sphinx v1.7
-Upstreamed to Linux Version 4.9.135
-Merged ext4 upstreamed commits
-Merged Lineage 16.0 Upstream commits
-Now Compiling with Uber Toolchain 6.4.1
-Added Zen v2 I/O Scheduler
-Added TCP Congestion Algorithms (bic, cdg, cubic, westwood, htcp, hstcp, hybla, vegas, scalable, lp, veno, yeah, illinois) default is cdg
-Improved msm_performance
-Enabled USB Fastcharge up to 900 mAh
-Added blu_schedutil
-Makefile Optimizations
-Added LED Notification Control
-Enabled LZ4 Compression Algorithm for Zram
-Now Sphinx comes Pre-Configured out of the box for balance
-Support F2FS File System
Sphinx v1.8
-Compiled with Uber Toolchain 9.0.0 tuned for Snapdragon 845
-Added Adreno Idler
-Added Frandom Random Generator
-Tuned-Up Westwood TCP
-Added Simple Low Memory Killer
-Replaced Cpu_boost with Cpu_Input_Boost driver
-Adapted Dynamic Schedtune Boost to Cpu_Input_Boost
-Added Devfreq_boost driver
-Added alucard_schedutil
-Added darkness_schedutil
-Added pwrutilx_schedutil
-Zram Upstream Updates
-Crypto: Now compiling with armv8.2-a flag
-Updated WireGuard
-Added DCTCP TCP Algorithm
-Added BBR TCP Algorithm
Sphinx v1.8.7
-Removed Adreno Idler
-Compiled with GNU GCC 8.2.1
-Removed Simple Low Memory Killer
-Removed Cpu_Input_Boost / Devfreq_Boost
-Fixed ALL Reboot Issues
-Improved KCAL Control
Sphinx v1.9
-Now Building with Custom Uber Toolchain 9.0.0 with various optimizations for SnapDragon 845
-Upstreamed from CAF to 4.9.136 , 4.9.137, 4.9.138, 4.9.139 and 4.9.140
-Added Tripandroid I/O Scheduler
-Added Sociopath TCP Algorithm
-Massively Tuned Up Westwood and set it as default
-Improved Wakelock Blocker
-Reduced a lot Latency
-Upgraded to AdrenoBoost v2.1
-Updated WireGuard
-Merged CAF Tag CAF LA.UM.6.3.r4-05800-sdm845.0
-Set the Kernel's Base Frequency to 500 HZ
-Support NTFS File System
Sphinx v2.0
-Upstream to 4.9.141, 4.9.142, 4.9.143
-Updated TouchScreen to 8.12.6
-Underclocked GPU to 180 MHz
-Set Initial GPU Frequency to 180 MHz
-Improved Memcpy spped by 15%
-Added Sound Control (Only Headphones and Mic)
-Updated LZ4 Module
-Fixed ExFAT and NTFS File Systems
-Decreased the Time the GPU needs to enter Idle Module
-Improved Battery Drop Issue (NOT fixed, just improved)
-Merged some SnapDragon 845 Patches
-Removed Pwrutilx, Alucardsched, Darkness_Sched and Blu_schedutil as they were Unstable.
-Blocked Some extra Wakelocks
-Now Sphinx comes PRE-CONFIGURED out of the box. Just Flash And Forget (You need Magisk)
-Updated WireGuard
-Merged Lineage Latest Changes
-Some Battery Saving Patches
-Much more minor things --> Check GitHub
Sphinx v2.1
-Upstreamed to 4.9.145
-Re-Based Sphinx Kernel tree from scratch based on CAF Pie Tag
-Wifi working on all Roms
-Touch Firmware from 8.12.10
-Pre-Configured settings optimized a bit more
-Merged Latest Lineage Changes
-Updated WireGuard
-Many more bug fixes and Optimizations --> GitHub
Sphinx v2.2
-Upstreamed to 4.9.147
-Updated WiFi Driver from CAF Tag LA.UM.7.3.r1-0660-sdm845.o
-Merged Latest Lineage OS Changes
-Built with SdClang for maximum optimization and performance
-Merged Touch Firmware 8.12.20
-Updated AnyKernel2
-Updated Schedutil Governor
-Merged some cpufreq patches from Upstream
-Merged a commit for smoother Frequency downscaling
-Cleaned and Improved pre-configured Settings
-Fixed the bug during Installation for users with 9.0 and not 9
-Updated WireGuard
-Many more bug fixes and Optimizations --> GitHub
Sphinx v2.3
-Linux Upstream to 4.9.148
-Merge CAF Tag 'Merge tag ''LA.UM.7.3.r1-06600-sdm845.0' into kernel.lnx.4.9.r11-rel ~8.000 Changes
-Merge Lineage OS Changes
-Compiled with LATEST sdClang 6.0.9 from Qualcomm
-Merged 8.12.27 Touch Firmware
-Many ufs (mobile ssd) improvements
-Added Anxiety I/O Scheduler
-Improved Dyanamic Schedtune frequency scaling
-Patched some memory Leaks
-Some Battery improvement commits
-Updated WireGuard
-Many more changes --> check GitHub
Sphinx v2.4
-Upstream CAF/Linux version to 4.9.151
-Merged some commits for performance improvement
-Added High Brightness Support
-Merged some commits that improved wakelocks
-Enabled Nap Mode for Adreno 630 GPU
-Adjusted Energy Model to be inline with Pixel 3
-Added BFQ I/O Scheduler v8r10
-Fixed issue with stuck frequencies
-Massive refinement of pre-configured settings. (Note 1)
-Removed TouchBoost control from userspace
-Merged many Scheduler commits
-Merge Some EAS improvement commits
-Merged Touchscreen Drivers from Official Xiaomi's Pie Kernel release.
-Merge Lineage 16.0 Changes
-Update WireGuard
-Many more commits --> Check GitHub
Sphinx v2.5
-Upstreamed from 4.9.151 to 4.9.155
-Merged CAF Tag LA.UM.7.3.r1-06700-sdm845
-Merged some Camera improvements (not feature improvements...code improvements. Sphinx is not a camera app)
-Updated Touch Firmware to 9.1.24
-Update display panel drivers from MiCode/dipper-p-oss release
-Updated Wifi drivers
-Updated Sound drivers
-Updated SdFat Driver to v2.1.8 and merged some upstream commits from 4.13
-Updated BFQ I/O Scheduler to v8r12 and also merged mnany fixes
-Improved Cpu-Boost driver
-Reduced the log spam to improve performance
-Merged a commit for entering sleep state quicker
-Merged a commit that will make face unlock much quicker
-Merged a commit that will fix frequency scaling. So now governor's frequency change requests will be followed.
-Added Toggle for disabling newly added devices
-Disabled some TCP Congestion Algorithms to make the image lighter
-Enabled Support for Ralink 27xx / 28xx / 30xx external wifi adapters.
-Merged some Power Efficient Workqueue Changes that can save some battery.
-Fixed a stupid warning that was in dmesg.
-Cleaned the script and also now you do NOT need Root (Magisk) for pre-configured settings to apply. (thanks to @rodries)
-Updated WireGuard Backend
-Merges Lineage's latest sources.
-Many more changes --> Check GitHub
Sphinx v2.6
-Upstreamed to Linux 4.9.162
-Merged CAF TAG LA.UM.7.3.r1-06900-sdm845.0
-Fixed Carrier Video Calling
-Now compiling with Dragon Toolchain based on Clang 9.0.0
-Merged some upstream F2FS commits
-Fixed F2FS Verity.
-Merged some Power Efficient Workqueue commits to save some battery
-Improved Sociopath TCP Algorithm
-Merged some TCP improvement commits
-Enabled MIN_CAPACITY_CAPPING feature
-Added an extra option for Dynamic Schedtune Boost Duration in /sys/module/cpu_boost/parameters/dynamic_stune_boost_ms and improved the code.
-Merged some more Dynamic SchedTune Boost improvement commits.
-Fixed HDR Issue after watching Youtube
-Added K-Lapse Feature
-Merged Lineage 16 Branch
-Updated WireGuard
-Improved Default Settings and fixed some of them not sticking.
-Many More --> Check GitHub
Sphinx v2.7
-Upstreamed to Linux 4.9.166
-Improved Frequency switching
-Improved Bluetooth performance
-Improved K-Lapse
-Added some more Power Efficient Workqueues
-Merged some ufs improvements
-Checked out ion to Android Q Developer Preview 1
-Fixed usb tethering.
-Merged some wakelock power saving commits
-Merged Lineage 16 Branch
-Updated WireGuard
-Many More --> Check GitHub
Sphinx v2.8
-Upstreamed to Linux 4.9.172
-Merged CAF Tag LA.UM.7.3.r1-07400-sdm845.0
-Added MSM Thermal Driver
-Fixed many Clang warnings
-Enabled Ultra Power Saving Mode for the Display Panel
-Increased CMA Memory from 200 MB to 296 MB
-Improved Boot Speed
-Merged many f2fs improvement commits
-Merged some UFS improvement commits
-Merged some Camera driver commits
-Exposed Drop Caches
-Merged Lineage 16 Branch
-Updated WireGuard
-Many More --> Check GitHub
Sphinx v2.9
-Upstream to Linux 4.9.184
-Merged CAF Tag LA.UM.7.3.r1-07900-sdm845.0
-Merged all the latest Security Patches
-Updated Wifi Drivers
-Adapted Some Compilers Flags to make it easier for other developers to compile Sphinx
-Updated TouchScreen Drivers from MIUI 9.6.20
-Merged some GPU fixes
-Updated K-Lapse to Version 5.0
-Fixed some memory leaks and race conditions
-Reverted Simple Thermal Driver (too many issues)
-Fixed random reboots issues
-Fixed Big Cluster stuck at 825 Mhz
-Merged Xbox Controller Drivers and more Gamepad Drivers
-Updated WireGuard Backend
-Merged Lineage 16.0 Branch
Sphinx v3.0
- Upstreamed to Linux 4.9.189
- Now compiling with my Custom GCC-10 Toolchain, built with optimization flags.
- Added Many SDM 845 specific optimization flags
- Merged Lineage 16.0 latest changes
- Merged Many SchedTune Commits
- Added VMStat and set it to 10
- Further Reduced Dirty Rations
- Merged Some UFS upstream Commits
- Improved Random Driver
- Turned off a lot of useless debug info
- Enabled RCU Boost
- Merged CFQ and other I/O improvement Commits
- Merged a bunch of sched Commits
- Added and Enabled SchedTune Assist Driver
- Added and Enabled CPUSet Assist Driver
- Merged some Workqueue commits.
- Added DTS X Eagle Driver.
- Added PSI.
- Fixed Phone rebooting into Fastboot Mode on MIUI Beta.
- Added DriveDroid Support for the first time for Pocophone.
- Added Pocket Judge Driver (this driver determines whether your phone is in your pocket and saves some extra battery)
- Merged a bunch o memory upstream commits.
- Updated WireGuard Backend.
- Many Many Many more commits --> Check GitHub.
Sphinx v3.1
- Upstreamed to Linux 4.9.194
- Merged Lineage 16.0 and 17.0 latest changes
- Updated my GCC 10 Toolchain to yesterdays commits
-Fixed Random Reboot issue
-Android 10 Support
- Added HID Mouse and Keyboard Support (you might need to set kernel to permissive for this to work)
-Zipped up with latest Anykernel3 thanks to @osm0sis
-Updated WireGuard Backend.
Sphinx v3.2
- Now Supporting only Android 10 (Q)
- Upstreamed to Linux 4.9.217
- Compiled with latest Clang 11
- Merged Latest Lineage 17.1 Sources
- Updated Wireguard backend
- Add Simple Low Memory Killer
- Zipped up with latest Anykernel3
- Applied new patches for SafetyNet Flags
- Many Many Many more commits --> Check GitHub.
Sphinx v3.3
- Upstream to Linux Kernel 4.9.225
- Merged Latest Lineage Changes
- Add initial HID Patch (I have NOT tested it)
- Update to latest Q Xiaomi Sources
- Fixed Auto Brightness and other display issues
- Memory and Cache Optimizations
- Merged latest updates for Simple Low Memory Killer Driver
- Updated Wireguard Kernel Backend
- Many Many Many more commits --> Check GitHub.
Sphinx v3.4
- Upstream to Linux Kernel 4.9.229
- Merged Latest Lineage Changes
- Fixed touch issues with FTS Panels
- Fixed High Auto Brightness
- Merged latest updates for Simple Low Memory Killer Driver
- Updated Wireguard Kernel Backend
- Many Many Many more commits --> Check GitHub.
Sphinx v3.5
- Upstream to Linux Kernel 4.9.237
- Merged Latest Lineage Changes
- Merge tag 'LA.UM.8.3.r1-08100
- Merge tag 'LA.UM.8.3.r1-08500-sdm845.0
- Rebase lineage 18.0
- Support for Android 11
- Improve power efficient workqueues
- Expose interface for showing FPS on compatible roms
- Merge latest LOS changes
- Remove some ethernet drivers and added usb ethernet drivers
- Merged latest updates for Simple Low Memory Killer Driver
- Updated Wireguard Kernel Backend
- Many Many Many more commits --> Check GitHub.
Sphinx v3.6
- Better Android 11 support
- Use WireGuard from Upstream 5.4
- Upstreamed to Linux 4.9.261
- Merged latest CAF tags
- Merged latest Lineage Sources
- Picked some LMK Driver update commits
- Many Many Many more commits --> Check GitHub.
Previous Versions
Sphinx 1.7:
https://www.androidfilehost.com/?fid=11410932744536993761
Sphinx 1.8:
https://www.androidfilehost.com/?fid=11410963190603845145
Sphinx 1.8.7:
https://www.androidfilehost.com/?fid=11410963190603854120
Sphinx 1.9:
https://www.androidfilehost.com/?fid=11410963190603858063
Sphinx 2.0:
https://www.androidfilehost.com/?fid=11410963190603869686
Sphinx 2.1:
https://www.androidfilehost.com/?fid=11410963190603876440
Sphinx 2.2:
https://www.androidfilehost.com/?fid=11410963190603880155
Sphinx 2.3:
https://www.androidfilehost.com/?fid=11410963190603888715
Sphinx 2.4:
https://www.androidfilehost.com/?fid=11410963190603903270
Sphinx 2.5:
https://www.androidfilehost.com/?fid=1395089523397888802
Sphinx 2.6:
https://www.androidfilehost.com/?fid=1395089523397909716
Sphinx 2.7:
https://www.androidfilehost.com/?fid=1395089523397929964
Sphinx 2.8:
https://www.androidfilehost.com/?fid=1395089523397958919
Sphinx 2.9:
https://www.androidfilehost.com/?fid=6006931924117911422
Sphinx 3.0:
https://www.androidfilehost.com/?fid=6006931924117935490
Sphinx v3.1 - Final Sphinx for Pie
https://www.androidfilehost.com/?fid=1899786940962594232
Sphinx v3.2
https://www.androidfilehost.com/?fid=4349826312261759378
Sphinx v3.3
https://www.androidfilehost.com/?fid=4349826312261822112
Sphinx v3.4
https://www.androidfilehost.com/?fid=8889791610682883785
Sphinx v3.5
Sphinx-v3.5.zip | Kernel by milouk for Poco F1
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
Version 1.7
Ahoy Ladies and Gentlemen.
Time for new version!
Changelog:
1) Upstreamed to Linux Version 4.9.135 - Better Security / Stability / Performance
2) Merged ext4 upstreamed commits - Better System Performance
3) Merged Lineage 16.0 Upstream commits - Better Stability / Battery / Performance
4) Now Compiling with Uber Toolchain 6.4.1 - Better Battery/System Performance
5) Added Zen v2 I/O Scheduler - Better I/O Performance
6) Added TCP Congestion Algorithms (bic, cdg, cubic, westwood, htcp, hstcp, hybla, vegas, scalable, lp, veno, yeah, illinois) default is cdg - Better Internet Performance
7) Improved msm_performance - Better Performance
8) Enabled USB Fastcharge up to 900 mAh - Note (1)
9) Added blu_schedutil - Note (2)
10) Makefile Optimizations - Better Performance
11) Added LED Notification Control- Note (3)
12) Enabled LZ4 Compression Algorithm for Zram - Better Battery / Performance
13) Now Sphinx comes Pre-Configured out of the box for balance
14) Support F2FS File System - If Rom Supports it -
Notes:
Note 1: This is USB Fast Charge which means it works ONLY when you charge from a computer. The default output was 500 mAh and now it's 900 mAh (which is the maximum a usb port can support)
Note 2: This is a new EAS Governor ported from blu_spark Kernel for OnePlus 6. Currently it is almost the same with the schedutil governor from Pixel 3
Note 3: Many of you made some comment about the LED Notification being brighter etc. Now you can configure it yourself. THOUGH there is not interface for that in ANY App, you need to do it yourself.
Specifically:
Code:
* /sys/class/leds/white/device/led_fade (rw)
0 : blink
1 : fade (default)
* /sys/class/leds/white/device/led_intensity (rw)
0 : stock intensity
1-100 : 0% to 100% of stock intensity
Note: Does only work for static led, not fading/blinking !!!
* /sys/class/leds/white/device/led_speed (rw)
0 : stock speed
1 : continuous notification light
2-12 : 2 = very slow to 20 = very fast
I have listened to your requests to bring Sphinx to Poco and did everything in my powers to satisfy most of you and ensure this version is stable so if you enjoy this version don't forget to buy me a coffee
Cheers :highfive:
Wow, Amazing. Can i flash this on stock miui beta 8.11.1 also
Great work.
Edit :
Just installed , super smooth. Everything works great so far. Antutu 291328. Not sure if it is placebo but face unlock seems to be faster, haven't been able to see lock screen in the trials I have done so far.
Rom is stock beta 8.11.2 and no root yet.
Will root and tweak with suggested ex kernel manager and report
sanjay0501 said:
Wow, Amazing. Can i flash this on stock miui beta 8.11.1 also
Great work.
Click to expand...
Click to collapse
Of course you can mate
frequency on big cluster is max on blu schedutil whilst on omnirom
thanks sounds really good gonna try it right after i flashed 8.11.1
Skinpipe said:
frequency on big cluster is max on blu schedutil whilst on omnirom
Click to expand...
Click to collapse
Its how it works. It maxes the big but it lowers little cores. Currently its almost a direct copy from Pixel's 3 schedutil. If you dont like this behaviour i would suggest regular schedutil. Regarding blu_schedutil you can read more on its original thread "blu_spark kernel for OnePlus 6"
milouk said:
Its how it works. It maxes the big but it lowers little cores. Currently its almost a direct copy from Pixel's 3 schedutil. If you dont like this behaviour i would suggest regular schedutil. Regarding blu_schedutil you can read more on its original thread "blu_spark kernel for OnePlus 6"
Click to expand...
Click to collapse
ill check it out im familiar with eng.stk' work
Skinpipe said:
ill check it out im familiar with eng.stk' work
Click to expand...
Click to collapse
Awesome. Its a direct port from his kernel.
milouk said:
Awesome. Its a direct port from his kernel.
Click to expand...
Click to collapse
you absolutely sure its supposed to stay at 2803mhz constantly that is a huge power drain and makes no sense?
Skinpipe said:
you absolutely sure its supposed to stay at 2803mhz constantly that is a huge power drain and makes no sense?
Click to expand...
Click to collapse
What im saying is that i picked the code EXACTLY like it is. Its 99% the same as Pixel 3 schedutil. Also youll notice that the battery drainisnt at all as huge as you think.
Morever while merging there wasnt even one conflict the code is 100% correct and exactly as eng.stk wrote it. Ifnyou have questions about the code im not the person to ask no offense. Im not taking the credits nor the blame for someone elses work. I just think its a nice addition especially for users that need performance.
Also as you may have noticed its not the default gov for that exact reason.
**Also of course there is always the possibility to remove a feature if i see no one finds it usefull.
Btw i always listen to feedback and try to satisfy most of you.
Cheers
milouk said:
What im saying is that i picked the code EXACTLY like it is. Its 99% the same as Pixel 3 schedutil. Also youll notice that the battery drainisnt at all as huge as you think.
Morever while merging there wasnt even one conflict the code is 100% correct and exactly as eng.stk wrote it. Ifnyou have questions about the code im not the person to ask no offense. Im not taking the credits nor the blame for someone elses work. I just think its a nice addition especially for users that need performance.
Also as you may have noticed its not the default gov for that exact reason.
Cheers
Click to expand...
Click to collapse
understood, my apologies
Skinpipe said:
understood, my apologies
Click to expand...
Click to collapse
Hahaha didnt mean to offend you at all what i was tryin to say is that its not my code so i cant guarantee what its supposed or not supposed to do. Apologies if i offended you mate
milouk said:
Hahaha didnt mean to offend you at all what i was tryin to say is that is not my code so im cant guarantee what is supposed or not supposed to do. Apologies if i offended you mate
Click to expand...
Click to collapse
i was sincere not sarcastic no offence taken, honest:good:
Foourck yesssss ? you are in the Poco team ???? really really looking forward to your awesomeness on the S845 ??.
dodjob said:
Foourck yesssss ? you are in the Poco team ???? really really looking forward to your awesomeness on the S845 ??.
Click to expand...
Click to collapse
Oooouuu heello my friend. Nice to see you here i hope i wont let you down
Introduction post looks AWESOME, this is what I've been waiting for - great kernel. Flashing right away.

[KERNELl][HMP] IMMENSITY ✖️ KERNEL [GCC-9.1][STABLE]

{
"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"
}
//~IMMENSITY KERNEL~//
FASTER, SMOOTHER & SMARTER
​
Code:
/*
* Your warranty is now void.
*
* We are 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 us for messing up your device, we will laugh at you. Hard & a lot.
*
*/
This Kernal is made to Improve Your Phone's Performance and Battery Life.
Further more Providing a Feature Pack Kernel without Eliminating Stability.
Almost All Features are Toggle able so Rest is up to you ; )
DOWNLOAD​​
Compiled with GCC-9.1
Up to date with the latest CAF Revision LA.UM.7.6.r1-05500
Patches from Code Aurora Forum targeting GPU, touchscreen/video, storage, and sound.
Mainline Linux patches for CFQ and media memory allocation.
Several subsystems converted to use power efficient workqueues.
Converted several drivers to use uninterruptible waits
Westwood as the default congestion algorithm
tcp_westwood optimizations for better speeds
Added Maple & Anxiety I/O scheduler
Added KCAL color control
Added Minimum/maximum backlight control
Added KLAPSE v5.0 (Kernel Live Display Module)
Added Vibration Intensity control
Added Wake gestures (thanks to @flar2)
Added Boeffla Wakelock Blocker
Available to flash with AnyKernel3 (thanks to @osm0sis)
Improved CAF's CPU-BOOST.
fsync on/off [default -off]
Added Dts_Eagle sound processing [both HpX & Ultra Support]
Some Audio Improvements for you AudioPhiles
cpufreq Interactive optimizations
Tons of Memory Management Improvements.
Faster FP Wakeup & Display Wakeup
Added Slimbus OverClock
Added USB Fast Charging [enabled by default]
Remove Debugging from LowMemoryKiller.
Updated & Optimized Haptics Driver
Increased haptic voltage [2600->2700]
Increased max charge capacity to 85
Enabled High Performance Audio by default
Added Ultra Kernel Same page Merging for 2/3 gb varients.
Non Debug Kernel
And many miscellaneous stuff, just stalk at my git.
-> Yes FocusFix is there
[/FONT][/SIZE]
Simply flash the provided zip file via TWRP over your custom ROM installation. No need to wipe anything!
Before flashing you may want to backup the "Boot" partition. Restore it to revert any changes.
Make sure that you are not connected to charger and let the kernel get stable.
Flashing a ROM will overwrite this kernel: You'll have to flash the kernel zip again after updating your ROM.
REPORTING ISSUES
Before reporting an issue please check that it only occurs when having this kernel installed. Otherwise it may be an issue with the ROM.
The above also applies the other way around: Don't report issues to the maintainer of a ROM unless they also occur without this kernel.
Be aware that performance issues are very likely related to your personal settings. Don't blame me for your modifications.
Always use the latest Kernel release with the latest build of you ROM of choice. If the kernel is much newer than the ROM or the other way around weird issues may arise.
• @attack11
• @nathanchance
• @Kerneltoast
• @franciscofranco
• @LazerL0rd
• @Martichou
• @flar2
• @vache
• @jhenrique09
• @Alberto97
• @krasCGQ
• Kdragon
- Due to Tons of Commits its not possible to give credits to everyone but I respect them. Please Check Github History for all Commits.
LIKE MY WORK ? Leave a Thanks
XDA:DevDB Information
IMMENSITY-KERNEL, Kernel for the Moto G5 Plus
Contributors
UtsavTheGreat
Source Code: [url]https://github.com/UtsavisGreat/IMMENSITY-Kernel/[/URL]
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version:
Stable Release Date: 2019-01-13
Created 2019-01-01
Last Updated 2019-07-06
XDA:DevDB Information
IMMENSITY-KERNEL, Kernel for the Moto G5 Plus
Contributors
[email protected]
Source Code: [url]https://github.com/UtsavisGreat/IMMENSITY-Kernel/[/URL]
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v5
Stable Release Date: 2019-01-13
Created 2019-02-21
Last Updated 2019-10-06
Reserved
Reserved
Just an Empty Post : )
IMMENSITY KERNEL [CAF] [06-07]
Code:
? C H A N G E L O G :
? Based on CAF tag LA.UM.7.6.r1-05300-89xx.
? Converted into Minimal Kernel.
? Updated CAF's CpuBoost with boost to max freq on app launches.
? Improved hexagon DSP for faster & louder audio processing.
? Compiled with baremetal GCC-9.1 ToolChain with graphite optimisations
? Fixed CAF's ****ery with Scheduling
? Non Debug kernel
? Reduced Kernel Size as low as possible.
? Switched to AK3
? Updated Anxiety I/O to latest
? Used Uninterruptible waits on many drivers to reduce latency.
? Aligned Sentry slab cache on L1 cache line on centain memory management targets
? Improve TCP input & Output
? Misc Fixes & Optimisations
IMMENSITY KERNEL [CAF] [21-06]
Code:
->> PureCAF-Release <<-
* rebased kernel over CAF tag LA.UM.7.6.r1-05300-89xx.
* updated wifi drivers from same CAF tag.
* merged CAF's kernel security patches
* disabled debugging, tracing from kernel.
* compiled using DragonTC-9.0 with llvm polly optimizations.
* Yes I have fixed media playback issue.
* Disabled audit syscalls
* Fixed F-Sync data loss
* Improved CPU hotplugging with higher temps
* Added K-Lapse v5.0
* Updated Anxiety I/O scheduler to latest version from tytydraco
* Added state notifier driver
* Updated adreno idler & converted it to use state notifier.
* Updated interactive governor & converted it to use state notifier.
* Added screen off max frequency tunable for interactive [default is 1036Mhz]
* Added Slimbus OC
* Re-Enabled CAF CPU boost with app boost.
* Added boost to max freq on camera, fingerprint, display wakeup & app launch.
* Increase Slimbus ROOT freq for louder audio
* Changed CLK gear in wcd9335 & 9330 to support higher frequencies.
* Added UKSM & blu_active.
* Reduced off screen battery drain.
* Tuned Vibration intensity
* Improved vibrator scheduling
* Added chacha20, Polly,Neon algorithms
* Fully converted random to use chacha20 algorithms
* Enabled Zswap module
* miscellaneous Memory improvements.
IMMENSITY KERNEL [EAS] [09-05]
Code:
? THE IMMENSITY KERNEL
> Finally a Stable Build
> Merged CAF tag 'LA.UM.7.6.r1-04800-89xx.0'
> UpTo date with google's kernel common
> Fixed PlayBack issue.
> Fixed WhatsApp Data issue.
> New fs(crypt/notify/jbd2/proc) Back ports.
> Changed to Userspace Memory Killer.
> Added SchedBoost support
> Lowered Down the cpu-boost
> Added Adreno Idler & AdrenoBoost support
> Disabled Debug_Fs
> Offload screen probe on dedicated Worker
> Some Misc DevFreq Improvements
> compiled With GCC-9 & DRAGON-TC-9.0
> enabled arm32 vDSO
> Re-enabled PowerSaving Display Features.
> Kernel is Optimized For Performance
IMMENSITY KERNEL ZENITH RELEASE [EAS] [01-05]
Code:
// EAS ZENITH RELEASE //
* Merged LA.UM.7.6.r1-04500-89xx
* Merged v3.18.139
* Merged android-3.18 branch of Google's kernel common.
* Added Misc Audio Improvements from CAF
* Updated LowMemoryKiller from CAF
* Added Arter97's F2FS patches
* Compiled with GCC-9 + DragonTC-9.0
* Kernel Compiled with Clang Polly Optimizations
* Kernel Optimized with
-ffast-math,
-floop-nest-optimize, -ftree-loop-distribution,
-funsafe-math-optimizations,
-mcpu=cortex-a53+crc+crypto+sve+simd,
-march=armv8-a+crc+crypto+sve+simd,
-mtune=cortex-a53,
-fsanitize=local-init ,
-fgraphite-identity Optimizations
* Kernel Optimized for Performance
* Fresh ReadCopyUpdate[RCU] Backports from 4.9
* Generic Link Back ports from 4.9
* Linux Multi-Queue Block_IO_Queueing_Mechanism[blk-mq] Backports from 4.9
* Tons of Ram & Memory Optimization
* Improved Boot Speed
* Disabled Debugging from Many drivers
* increased USB Charge Current & Voltage
* Added sdFAT FileSystem driver
* registered sdFAT as exFAT
* New Improved Energy Cost Model
* lots of Zram / Zswap/ Zpool improvements
* New faster Zram Compression algorithm "zstd"
* Fixed Memory Leaks from certain drivers.
* Added support for disabling printK logging
* Added optional touch boost config
* Added Motorola's LMK_ADJ tree
* Increased USB charge current to 2A
* optimized KSM
* added FP quick wakeup hack
* Fixed inconsistent Mutex lock from many drivers
* Slimbus Update to capture higher frequency
* misc updates and improvements
[/HIDE][/LIST]
IMMENSITY KERNEL SWEET~END RELEASE [10-04]
Code:
1.) Compiled with Linaro-7.4.1 & Clang-9
2.) Optimized Clang with -ftree -fmodulo -fvect -fgcse -ffast optimisations.
3.) Used -03 for Clang compile
4.) Added ARM64 CRC32 hw accelerated module
5.) BOOSTED CRYPTO WITH -O3
6.) zram: increase max compression streams to 4
7.) Removed some more logging & created some more wq efficient drivers
8.) Merged Latest F2FS drivers from jaeguek/f2fs-stable
9.) More cpu_interactive updates
10.) Added Blu_Active CPUfreq Governor
11.) Added Intelliactive CPUfreq Governor
12.) Updated state_notifier driver
13.) Rewrite & Optimized Finger Print driver
14.) Fixed CPUFreq not dropping to lowest after input Boost
15.) Memory: swap only 1 page at a time
16.) Always perform a regular reboot upon panic
17.) cpuidle: lpm-levels: Remove sleep_disabled switch
18.) add ARM64-specific support for flatmen
19.) Added ChaCha20, ChaCha20POLY, ChaCha20_NEON algorithms
20.) SOUND: Allow clients to get small buffers (1ms) for lowest latency.
21.) SOUND: Add mutex protection for rtac cal apis
22.) SOUND: wcd9335: rebalance headphone gain if imbalance detected
23.) SOUND: Add simple API to check if a voice call is active
24.) SOUND: Increase HPH bias current to improve fidelity
25.) SOUND: Increase current to 165mA to update fidelity a little bit more
26.) SOUND: wcd9335: enable HeadPHone impedence detection
27.) SOUND: WCD9335: Enhance SLimbus CLK Gear
28.) SOUND: codec: improve impedance sense accuracy and change debounce time
29.) SOUND: sound:soc: Increase tasha wcd9335 sido_voltage
30.) SOUND: wcd9335: disable core collapse power gating
31.) SOUND: Propagate dolby set_license status
32.) SOUND: qdsp6v2: dynamic perf mode control
33.) SOUND: ASoC: wcd9330: correct HPH PA enable/disable setting
34.) SOUND: ASoC: wcd9330: Update HPH class-h enables based on mbhc status
35.) SOUND: ASoC: wcd9330: Update MCLK Frequency select for 12.288MHz clock
36.) SOUND: ASoC: wcd9330: Update the codec MAD dai for 24 bit support
37.) SOUND: ASoC: audio: fix audio drops issue in HPH for loud clips
38.) SOUND: ASoC: wcd9330: add support for packed 24 bit.
39.) SOUND: wcd9330 adapted lazerl0rd's zest kernel's driver
40.) Display: synaptics - Fix slow wakeup issue
[/List][/Hide]
IMMENSITY KERNEL ENDGAME RELEASE [05-04]
Code:
[ ENDGAME ] RELEASE:-
-> Merged latest linux version 3.18.138
-> UNIFIED BUILD
-> improved deep sleep enter time
-> Changed GPU idle-timeout 64ms
-> Locked GPU initial frequency to 133Mhz.
-> updated cpu_input_boost
• marked it workqueue bound.
• lower down the max boost duration on top-app.
• Fixed input boost dont getting triggered while screen_off
• Boost when memory pressure becomes high
• dont boost CPU when duration is 0
-> Limit the rate of CPUfreq clock-rate changes.[we dont want it to change freq every 50ms].
-> cpu_input_boost : simplify screen-awake check.
-> devfreq_boost : simplify screen-awake check.
-> Massive update to Anxiety I/O scheduler
-> cpufreq: interactive: Skip timer when policy->min == policy->max
-> Stopped Log | dmesg spam from some drivers.
-> Properly fix use of uninitialized variables.
[/HIDE][/LIST]
IMMENSITY KERNEL PETRICHOR release [24-03]
Code:
[PETRICHOR ] RELEASE:-
# Changelog
->More Smoother & Faster
-> Compiled with aarch64-linux-gnu-9.0 + clang-9.0.0
-> Upstreamed to linux version 3.18.137.
-> Fixed dts_Ultra support
-> Readded Maple i/O
-> Removed old & poor i/o schedulers
-> added Ultra Kernel Samepage merging for devices with less RAM [Only for 2/3 gb varients]
-> Updated cpu_input_boost
-> made the cpu_input_boost less aggressive.
-> Boost FingerPrint sensor on Wake.
-> increased boost duration while using camera.
-> added app launch boost [boost the min cpu freq to boost freq when a app becomes a "top-app"].
-> Added Simple MSM themal Monitor [Really awesome]
-> Fixed Direct references to HZ on many drivers.
-> improved Virtual Memory's Performance.
-> ULPS on all Display panels
-> Some underthehood cleanups & optimizations
IMMENSITY KERNEL initial release
Code:
~~IMMENSITY • KERNEL~~
FASTER, SMOOTHER & SMARTER
-> Compiled with Linaro-7
-> Up to date with the latest stable Linux version (3.18.136)
-> Patches from Code Aurora Forum targeting GPU, touchscreen/video, storage, and sound
-> Kernel hardening from CopperheadOS
-> Mainline Linux patches for CFQ and media memory allocation.
-> Several subsystems converted to use power efficient workqueues.
-> Westwood as the default congestion algorithm
-> TCP_Westwood optimizations for better speeds
-> Added Anxiety I/O scheduler [default]
-> KCAL color control v2
-> Minimum/maximum backlight control
-> Vibration control
-> Wake gestures (thanks to [user=4684315]@flar2[/user])
-> Boeffla Wakelock Blocker
-> Available to flash with AnyKernel2 (thanks to [user=4544860]@osm0sis[/user])
-> basically some crypto stuff that you won't understand
-> some entropy tweaks that you will not understand
-> page/slub sanitization ;_;
-> fsync on/off [default -off]
-> DTS_Eagle hardware/software processing
-> some Audio Improvemts for you AudioPhiles
-> arm32 vDSO support
-> Fix QCOM mismerges
-> msm_performance improvements
-> cpufreq - interactive optimizations
-> Memory Improvements [a Lot]
-> CPU_input_boost, Devfreq_boost from <Sultan>
-> FP Wakeup, Display Wakeup improvements
-> kgsl,devfreq increase workerthread priority
-> some arm64 up streams from mainline
-> enabled ULPS on display
-> Remove Debugging from LowMemoryKiller.
-> updated & optimized haptic driver
-> increased haptic voltage [a lil]
-> increased max charge capacity to 85
-> State Notifier Support
-> Simple GPU Algorithm
-> Added Adreno Boost
-> Added Adreno Idler
-> Enabled High Performance Audio by default
-> added I/O Swicher driver
-> Added Ultra Kernel Same page Merging
-> and many miscellaneous stuff just stalk at my git.
-> Yes FocusFix is there
Release v4.0 March-4
Code:
• Some Major Cleanups
• Removed UC
• Removed Slimbus OC
• Removed Audio Codec OC
• Removed All Hotplugs [People don't use it ]
• Removed Conservative, Userspace & Ondedmand CPU governors
• Replaced with Intelliactive, BioShock, Darkness, Impulse .
• Added Westwood TCP congestion algorithm [Default]
• Added Anxiety & Tripndroid I/O [CFQ Default]
• Lower The Input Boost Perf Freq to 1401600 & Increase Devfreq boost freq to 1401600 [Save little power]
• msm: kgsl: Increase worker thread priority from 2 -> 16
• Update RT priority
• always perform warm reboot
• swap pages one at a time
• optimize interactive gov for battery efficiency.
• Misc Speed / Memory Improvements.
• Added Voltage Control [ported from 8996].
• Added Simple GPU Algorithm
• Added AdrenoBoost
• Disabled GFS.
• qdsp6v2: Set decoder output to 24 bit
• wcd9335 - Added laster k's drivers
• wcd9335 - enabled power gating.
[/LIST][/HIDE]
Release v3.0 Feb-24
Code:
-> Upstream to v3.18.136
-> Removed all Custom CPU Governors Expect blu_active.
-> Removed FP-Boost instead Optimized the FP driver
-> Removed Intellithermal Driver
-> Increased Charging Limit from 70% to 80%
-> Added Mainline Bfq I/O updates
-> Memory Optimizations
-> Faster Camera Focus
-> Focus Fix Added
-> Added Custom Hotplug Drivers
• LazyPlug
• Blu_Plug
• Intelli_Hotplug
• AutoSMP_Hotplug
• AiO Hotplug
• MSM_Hotplug
• ThunderPlug
• Alucard Hotplug
-> Add an Api to check if Voice Call is active.
-> Enhanced Slimbus CLK Gear.
-> Increased Slimbus Frequency.
-> Sound - Added Dynamic Perf Control.
-> wcd tunings
-> Added Adreno Boost
-> Set GPU idle-timeout to 64ms.
-> I/O Changed to CFQ
-> Custom Hotplugs is disabled by Default
-> misc updates and improvements
[/LIST][/HIDE]
=> OLD Stable OC Builds are on SF
-> GPU OC till 700Mhz
-> CPU/OC till 2208Mhz
Don't forget to Leave A Thanks : )
Reserved 2
Best kernel I've tried recently. Great job, thanks.
What a çunt?!, excellent work
So, Utsav The Çunt is here, at XDA.
Great work!
After flashing this. Do I need to flash convert2HMP I am on aex pie. What is HMP
saurabh0291 said:
After flashing this. Do I need to flash convert2HMP I am on aex pie. What is HMP
Click to expand...
Click to collapse
Before flashing this
Would flashing the latest file named unified and dated 20/02 be good enough or would any other zip be needed as well?
This has been tyev awesome kernel made for potter
aki_007 said:
This has been tyev awesome kernel made for potter
Click to expand...
Click to collapse
Thanks you.
Review after using for more than month .
1. Battery drain - minimal or say best .
2. Speed - snappy as required .
3. Sound - has slimbus OC , so default audio is so good , even on high volume , sound doesn't get distorted .
4. snappy Fingerprint .
5. Has best OnScreen drain , as low as 11/hr , usually 12-13/hr .
6. Online streaming is so good , just because of tweaked performance .
7. Has latest DTS-EAGLE support from Asus Zenfone Z5.
Something about dev : He constantly updates , He is very open to bug reports , You'll get the right answer with right question asked .
aki_007 said:
Review after using for more than month .
1. Battery drain - minimal or say best .
2. Speed - snappy as required .
3. Sound - has slimbus OC , so default audio is so good , even on high volume , sound doesn't get distorted .
4. snappy Fingerprint .
5. Has best OnScreen drain , as low as 11/hr , usually 12-13/hr .
6. Online streaming is so good , just because of tweaked performance .
7. Has latest DTS-EAGLE support from Asus Zenfone Z5.
Something about dev : He constantly updates , He is very open to bug reports , You'll get the right answer with right question asked .
Click to expand...
Click to collapse
This Means A Lot to me thanks
Great job man:good:
Has an abundance of cool features!
Awesome kernel
It's the best kernel for Potter getting great battery life, amazing work on the kernel Utsav .Guys just try it :good:
New Update is now on SourceForge
Change Log on Post 2
Leave a Thanks for More Updates
This is the best kernel i ever used.
Battery life and performance both are just amazing.
It gives you all the options you ever gonna need.
Stand by drain is not existance.
I am easily getting close to 9H on my two year old device on LTE all day. I didnt think it was possible before.
Thank you so much...
UtsavTheGreat said:
New Update is now on SourceForge
Change Log on Post 2
Leave a Thanks for More Updates
Click to expand...
Click to collapse
Awesome as always , especially those audio tweaks , couldn't ask for more .
Make a build compatible with CAF roms too , which has most goodies .

Categories

Resources