[Kernel][ProtonClang] XDKernel | SnowCone S-1.6 for beryllium | POCO F1 [2021-11-03] - Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other

XDKernel | SnowCone
{
"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"
}
​Features & Changelog:
Changes in XDKernel SnowCone S-1.6
- Merge Linux tag v4.9.289
Changes in XDKernel SnowCone S-1.5
- Merge CAF tag 'LA.UM.10.3.r1-00300-sdm845.0'
- Merge Linux tag v4.9.288
Changes in XDKernel SnowCone S-1.4
- Merge Linux tag v4.9.287
- Fix for Bluetooth error on Android S
Changes in XDKernel SnowCone S-1.2
- Implemented support for Android S
- Changes from lineage-18.1
- Upstream to latest Linux tag v4.9.286
- Upstream to latest CAF tag
- cpufreq_schedutil changes
- Many under the hood improvements (Say hello to new bugs lol)
Changes in XDKernel SMOL R-1.1
- Rebased with latest LOS changes
- Upstream to latest linux tag v4.9.269
- Update WireGuard version to 1.0.20210424
- Update touchscreen drivers from CAF (tsoft) 4.19
- Updated touchscreen configs
- Introduce UClamp and UClamp Assist
- Introduce CPUSet Assist
- Introduce GPU AdrenoBoost (disabled by default)
- Introduce USB FastCharge (enabled by default)
- Introduce Exposure Adjustment
- Introduce Support for DTS X: Eagle
- Introduce DriveDroid Support
- Introduce SimpleLMK
- Add USB HID Support
- Add FSync On/Off Toggle
- Add Tripandroid, BFQ, Anxiety IO schedulers
- Add Boeffla Wakelock Blocker V1.1.0
- Add vibration control
- Add Sound Control
- Add K-Lapse 5.0
- Add Kcal
- Add frandom
- Underclock GPU to 170mhz
- Affine hwcomposer to big CPUs
- Disabled Gentle Fair Sleepers
- Enable kernelspace battery saver
- F2FS Gapid GC Support
- ZRAM optimizations
- Tuned westwood and added sociopath, vegas, htcp, hybla, dctcp, cdg, bic TCP Congestion Algorithms
DOWNLOAD | TELEGRAM GROUP | CHANNEL
​Contributors
XtremeOrnob
Source: https://github.com/XtremeOrnob/XDKernel
Version Information
Status: Stable
Current Version: S-1.6
Created: 22-05-2021
Last Updated: 03-11-2021

Nice work. Thanks a lot. How enable adreno boost?

NYGGAZ said:
Nice work. Thanks a lot. How enable adreno boost?
Click to expand...
Click to collapse
You'll find it in any kernel manager. Under GPU section.

Hi is this kernal support for pixel experience may update?

imcoolsj said:
Hi is this kernal support for pixel experience may update?
Click to expand...
Click to collapse
It technically should.

Xtreme.Ornob said:
It technically should.
Click to expand...
Click to collapse
Thank you .. PE dev metion about supporting pixel termals ? Is this ok with that

@Xtreme.Ornob Hi sir pls can u tell me about some powerful commits for the kernel???and pls can u tell me how to switch from linux 3.18 to 4.9 kernel??Pls pointwise tell me just short points .I still don't know how to to sudden upgrade to complete different version
BTW ur kernel is wonderful .My friend has poco f1 and he used it .He found it pretty stable and speedy

Devthor1487 said:
@Xtreme.Ornob Hi sir pls can u tell me about some powerful commits for the kernel???and pls can u tell me how to switch from linux 3.18 to 4.9 kernel??Pls pointwise tell me just short points .I still don't know how to to sudden upgrade to complete different version
BTW ur kernel is wonderful .My friend has poco f1 and he used it .He found it pretty stable and speedy
Click to expand...
Click to collapse
Bro I'm not really a pro in this game. And i don't think you can just simply upgrade from 3.18 to 4.x
Commits are device wise, SoC wise. So..

Thread Updated!! New Update!!
Here are the changes in XDKernel SnowCone S-1.2
- Implemented support for Android S
- Changes from lineage-18.1
- Upstream to latest Linux tag v4.9.286
- Upstream to latest CAF tag
- cpufreq_schedutil changes
- Many under the hood improvements (Say hello to new bugs lol)

Is it possible to achieve low (0.1-0.3%/h) idle drain in any kernel in F1? Had tried a fair few earlier like arter, OD, NGK, SC and a few others but on average it's around 0.5-0.8%/h (2G only with data off, WiFi/GPS/BT off). I did get low idle drain occasionally but they were few and far in between.

amn1987 said:
Is it possible to achieve low (0.1-0.3%/h) idle drain in any kernel in F1? Had tried a fair few earlier like arter, OD, NGK, SC and a few others but on average it's around 0.5-0.8%/h (2G only with data off, WiFi/GPS/BT off). I did get low idle drain occasionally but they were few and far in between.
Click to expand...
Click to collapse
Hello sir.
Yes it is possible if you have a very good freshly baked (fairly new) battery and can tune your Doze parameters so your device enters deep sleep and stays there.
I can suggest a few apps if you really wanna push it to deep sleep.
Currently, our beloved SDM845 device does not very much like to enter deep sleep. We can make it tho, but that would be like turning your phone into a mid-range SoC low-memory Android Go, Android One phone.

@amn1987 Sir, there are apps like Naptime, Servicely, Greenify, HEBF, Hibernator and the list goes on.
Do trial and error kind of a thing and you’ll achieve 0.00000000000001% idle drain. (Yes this was sarcasm and the rest is good stuff)

Xtreme.Ornob said:
Hello sir.
Yes it is possible if you have a very good freshly baked (fairly new) battery and can tune your Doze parameters so your device enters deep sleep and stays there.
I can suggest a few apps if you really wanna push it to deep sleep.
Currently, our beloved SDM845 device does not very much like to enter deep sleep. We can make it tho, but that would be like turning your phone into a mid-range SoC low-memory Android Go, Android One phone.
Click to expand...
Click to collapse
Deep Sleep doesn't seem to be an issue as it's regularly over 99%. Naptime, Servicely, Greeenify etc. didn't result in any noticeable improvement. Even when brand new idle drain was no better. I have experiented with Airplane mode, freezing most of the pesky apps but to no avail. If I don't block wakelocks like qcom-step-chg etc. idle drain is almost 3x.
I have an old SD650 device and that gets regularly 0.1-0.2%/h idle drain even 4+ years later. Overnight drain is frequently zero!
So I was wondering if in high performance SoCs if it's kinda the norm?

amn1987 said:
Deep Sleep doesn't seem to be an issue as it's regularly over 99%. Naptime, Servicely, Greeenify etc. didn't result in any noticeable improvement. Even when brand new idle drain was no better. I have experiented with Airplane mode, freezing most of the pesky apps but to no avail. If I don't block wakelocks like qcom-step-chg etc. idle drain is almost 3x.
I have an old SD650 device and that gets regularly 0.1-0.2%/h idle drain even 4+ years later. Overnight drain is frequently zero!
So I was wondering if in high performance SoCs if it's kinda the norm?
Click to expand...
Click to collapse
Yes sire. Also join t.me/xosden to continue the discussion.

THREAD UPDATED!!
Changes in XDKernel SnowCone S-1.4
- Merge Linux tag v4.9.287
- Fix for Bluetooth error on Android S

THREAD UPDATED!!
Changes in XDKernel SnowCone S-1.5
- Merge CAF tag 'LA.UM.10.3.r1-00300-sdm845.0'
- Merge Linux tag v4.9.288

THREAD UPDATED!!
Changes in XDKernel SnowCone S-1.6
- Merge Linux tag v4.9.289

Related

[ROM][Oct 14][5.1.1] Spring

{
"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"
}
2015-10-14
New:
Hi guys. First I want to thank you all, both current and former users, for being here in this thread with me. It's been a pleasure for me, you are all awesome.
This release is the final update of Spring. It'd took a bit longer as I wanted this one to be the most throughout tested release to date. It's rock stable for me, probably the best rom version I've released.
Now I'm moving to another project, which is different to this project, and it feels super exciting. So I'll hope to see you around.
Thanks again,
Per
Rom no longer forces encryption, meaning there's no need to flash a different kernel to stay decrypted.
The main goal with this project is to provide an optimized ROM with a handful of useful features added, on top of a heavily improved base (kernel) to improve speed, network and battery life.
This is my personal preference of how a ROM should be. I will never add features just for the sake of it, I pick those which makes sense for me. This is a one man ROM, which is good as I got control over every little bit of the process. The base of Spring is CyanogenMod 12.1 and I will always try to keep this as close to CM as possible, but at the same time improve the experience for me and you.
Except for the great features CM provides, the following additions are made (changelog in second post):
Rom additions:
Disabled forced encryption
- Added a quick setting tile to toggle expanded desktop.
- Built with latest 4.9 linaro
- Patches and optimizations from linaro.
- Added a setting to force expanded notifications (Settings -> Notification drawer -> Force expanded notification). This feature is nice when you have a big device as ours. Credits to jmztaylor.
- Settings: addded development animation transition mode 0.9. I find 0.75 too fast, and some stutter may occur. 0.9 makes no sacrifice of the lollipop fluidity and speeds the animations up 10%.
- Added LCD Density changer. Credits to Tom Marshall (Source 1) (Source 2). I very much recommend to set the DPI to 480. This will give you more screen real estate and improve your android experience. Try it, play around, and evaluate after a couple of days.
- Fixed some graphics to go with a wider range of densities.
Click to expand...
Click to collapse
Kernel additions:
- M-Preview kernel.
- Kernel compressed with LZ4 (see https://lwn.net/Articles/534168/ for info).
- Optimized VMA caching (see this for info)
- Byte-sized index for the freelist of a slab (see this for reference).
- Updated idle driver and suspend (deep sleep) code.
- MSG_FASTOPEN is now enabled by default. You can try it in your chrome browser. Enable the "TCP Fast Open" flag.
TCP Fast Open is an optimization to the process of stablishing a TCP connection that allows the elimination of one round time trip from certain kinds of TCP conversation, which can improve the load speed of web pages. In Linux 3.6 and Linux 3.7, support was added for this feature, which requires userspace support. This release enables TCP Fast Open by default.
Click to expand...
Click to collapse
- TCP auto corking.
When applications do consecutive small write()/sendmsg() system calls, the Linux kernel will try to coalesce these small writes as much as possible, to lower total amount of sent packets - this feature is called "automatic corking". Automatic corking is done if at least one prior packet for the flow is waiting in Qdisc queues or device transmit queue. Applications can still use TCP_CORK for optimal behavior when they know how/when to uncork their sockets. A new sysctl (/proc/sys/net/ipv4/tcp_autocorking) has been added to control this feature, which defaults to enabled. For benchmarks and more details see the commit link. For benchmarks see this commit.
Click to expand...
Click to collapse
- Multiboot compatible.
- Completely ditched the interactive governor from 3.10 kernel and replaced it with the one from the 3.18 kernel.
- Added a quickwake patch from Motorola.
The purpose of this feature is to drastically reduce the suspend/resume time for device driver which needs to do periodic job. In our use case (android smartphone), the system is most of the time in suspend to RAM, and needs to send a low level command every 30s. With current framework it takes about 500ms on omap3430 to resume the full system, and then suspend again. With quickwakup feature, in the resume process after resuming sysdev and re-enabling irq, the driver handler is executed, and then it suspends again. This new path takes 20ms for us, which leads to good power-saving.
Click to expand...
Click to collapse
- Added SCHED_DEADLINE, a new scheduling class for resource-reservation real-time CPU scheduler in the kernel.
Quoted from: https://lwn.net/Articles/575497/: "Deadline scheduling does away with the concept of process priorities that has been at the core of most CPU scheduler algorithms. Instead, each process provides three parameters to the scheduler: a "worst-case execution time" describing a maximum amount of CPU time needed to accomplish its task, a period describing how often the task must be performed, and a deadline specifying when the task must first be completed. The actual scheduling algorithm is then relatively simple: the task whose deadline is closest runs first. If the scheduler takes care to not allow the creation of deadline tasks when the sum of the worst-case execution times would exceed the amount of available CPU time, it can guarantee that every task will be able to finish by its deadline. Deadline scheduling is thus useful for realtime tasks, where completion by a deadline is a key requirement. It is also applicable to periodic tasks like streaming media processing."
Click to expand...
Click to collapse
- Added Heavy-Hitter Filter (HHF) qdisc.
This is a first size-based qdisc that attempts to differentiate between small flows and heavy-hitters. The goal is to catch the heavy-hitters and move them to a separate queue with less priority so that bulk traffic does not affect the latency of critical traffic. Currently "less priority" means less weight (2:1 in particular) in a Weighted Deficit Round Robin (WDRR) scheduler. In essence, this patch addresses the "delay-bloat" problem due to bloated buffers. In some systems, large queues may be necessary for obtaining CPU efficiency, or due to the presence of unresponsive traffic like UDP, or just a large number of connections with each having a small amount of outstanding traffic. In these circumstances, HHF aims to reduce the HoL blocking for latency sensitive traffic, while not impacting the queues built up by bulk traffic.
Click to expand...
Click to collapse
- Added PIE AQM scheme
This is a Proportional Integral controller Enhanced (PIE) scheduler to address the bufferbloat problem. Bufferbloat is a phenomenon where excess buffers in the network cause high latency and jitter. As more and more interactive applications (e.g. voice over IP, real time video streaming and financial transactions) run in the Internet, high latency and jitter degrade application performance. There is a pressing need to design intelligent queue management schemes that can control latency and jitter; and hence provide desirable quality of service to users. We present here a lightweight design, PIE(Proportional Integral controller Enhanced) that can effectively control the average queueing latency to a target value. Simulation results, theoretical analysis and Linux testbed results have shown that PIE can ensure low latency and achieve high link utilization under various congestion situations.
Click to expand...
Click to collapse
- Many updates to the interactive cpu governor.
What is an interactive CPU governor? Quoted from https://android.googlesource.com/ke...aebe08b/Documentation/cpu-freq/governors.txt: "The CPUfreq governor "interactive" is designed for latency-sensitive,interactive workloads. This governor sets the CPU speed depending onusage, similar to "ondemand" and "conservative" governors. However,the governor is more aggressive about scaling the CPU speed up inresponse to CPU-intensive activity."
Click to expand...
Click to collapse
- Many updates to cpuidle.
What is cpuidle? Quoted from www.fsl.cs.stonybrook.edu/docs/cpuidle/cpuidle-from-userspace.pdf: Cpuidle is a module in the Linux kernel which is respon- sible for running some power saving routines on a core when the core does not have any task in its run queue . The power saving routines try to put the core into a low power state or an idle state."
Click to expand...
Click to collapse
- Added frandom module. The following is quoted from Eli Billauer at (source):
Frandom is a Linux kernel random number generator, which is 10-50 times faster than what you get from Linux' built-in /dev/urandom. And it uses very little (/dev/frandom) or none (/dev/erandom) of the kernel's entropy pool, so it is very useful for applications that require a handy source for lots of random data.
Click to expand...
Click to collapse
- mm: Increase MIN and MAX default readahead sizes for performance reasons, and we've got enough RAM to handle it.
- Built with latest a15 optimized 4.9 linaro toolchain. See this thread (source) for info.
- Updated kernel from 3.10.40 to latest 3.10.79.
Click to expand...
Click to collapse
Download ROM: https://www.androidfilehost.com/?w=files&flid=28963
Download Gapps (Updated!): https://github.com/cgapps/vendor_google/raw/builds/arm/gapps-5.1-2015-07-03-13-41.zip
Want root? Flash SuperSU in recovery. Download it here: https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip
Credits:
- CyanogenMod
- jakew02
- bbedward
- Imoseyon
- Altaf-Mahdi
- Chainfire
Kernel source (branch "new"): https://github.com/PerLycke/android_kernel_moto_shamu
XDA:DevDB Information
Spring, ROM for the Nexus 6
Contributors
pemell
Source Code: https://github.com/PerLycke
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.10.x
Based On: CyanogenMod
Version Information
Status: Beta
Created 2015-04-06
Last Updated 2015-10-14
Changelog
2015-10-14
Hi guys. First I want to thank you all, both current and former users, for being here in this thread with me. It's been a pleasure for me, you are all awesome.
This release is the final update of Spring. It'd took a bit longer as I wanted this one to be the most throughout tested release to date. It's rock stable for me, probably the best rom version I've released.
Now I'm moving to another project, which is different to this project, and it feels super exciting. So I'll hope to see you around.
Thanks again,
Per
2015-09-29
- Kernel update. Added BFQ-v7r8 I/O scheduler which cyanogen himself states as SUPERBUTTER. Let's see if we all agrees with him.
- All the ordinary upstream changes.
2015-09-22
- Kernel update to 3.10.89.
- Updates to wireless driver.
- Upstream updates.
2015-09-16
This update is all about power saving behavior. I don't like the stock behavior, it throttles the CPU as soon as you hit 40% and unplug a CPU as soon as you hit 15%. As long as we have the battery saver feature and the fast charging, let us stay in control, and don't force a worst performance on us. I've changed it so the CPU will throttle at 20% and unplug a CPU at 10% (and never unplug a second one).
I've also enabled a low memory kill optimization option, to have LMK select task to kill from rbtree.
Older changelogs:
2015-09-10
- Kernel update and wireless driver update.
- ROM upstream updates.
2015-09-01
Big kernel update:
- Up to par with M-kernel
- Updated to Linux 3.10.87
- Updated wireless driver
- Rom: Upstream changes
2015-08-29
- Fixed mms issue
- Updated wireless drivers
- Upstream changes
2015-08-15
- I was not pleased with the slow USB charging rate. With USB the charging current is around 160-170 mA. So the charging output is slightly increased over USB (up to about 300-400mA, courtsey of imoseyon).
- Upstream changes, a lot of them
2015-08-11
- Big kernel update (Now on Linux 3.10.86)
- Upstream changes, a lot of them.
2015-07-27
- Updated wireless driver. Should improve wireless stability and improve battery performance.
- Fixes and improvements here and there. Trying to squash the few bugs still there (which I don't experience). It's very hard to fix an issue I don't have but I'm trying so please bear with me.
- A lot of CM upstream changes.
2015-07-20
This is quite a big update. There's a bunch of kernel commits from the latest m-preview which I implemented in Spring kernel. There's also many upstream CM-changes implemented.
2015-07-13
- Updated Gapps. Download here: https://www.androidfilehost.com/?fid=24052804347773064
- The updated Gapps fixes Google Play Services battery drain and the Google Search FC issue.
- Kernel update to 3.10.84.
- CM upstream changes.
2015-07-06
- Kernel update to version 3.10.83.
- Wireless driver update.
- Fixed livedisplay tile, will now show outdoor mode if available.
- CM upstream changes.
- Updated Gapps. Download link: https://github.com/cgapps/vendor_google/raw/builds/arm/gapps-5.1-2015-07-03-13-41.zip
2015-07-01
- Kernel update to version 3.10.82.
- CM upstream changes.
2015-06-27
- Updated kernel to 3.10.81.
- A lot of google upstream updates of the wireless driver.
- Updated boot animation.
- New default wallpaper.
- Some more small updates here and there.
- Added a power menu qs-tile.
- Fixed some games not opening and Kindle not being able to download books.
- Fixed kexec implementation.
2015-06-21
- Freshly synced upstream.
- New bootanimation.
2015-06-10
- Bug fixes
- Kernel update to 3.10.80
- CM upstream
2015-06-04
- Misc fixes, updates and improvements. If you want to know in detail please see my github for reference.
- Updated Gapps at https://github.com/cgapps/vendor_google/tree/builds/arm. Make sure to flash this version.
2015-06-03
ROM
- Squashed some memory leaks with fixes from Android M-release.
- A few optimizations from the Android M-release.
CM upstream with the following changes to WiFi-calling and Enhanced 4G LTE Mode:
- IMSEnabler: Application to toggle the Enhanced 4G LTE Mode setting
Somewhere in the changes made by caf to IMS the AOSP ims.apk is not
reading that Enhanced 4G LTE Mode is enabled at boot, or possibly its
a race condition. IMS works fine if it is toggled off and back on
after network data is established. So we set up a reciever for network
change events and do the toggle when mobile data is activated.
Click to expand...
Click to collapse
KERNEL
- Memory enhancements.
- Updated CPU interactive governor to follow aosp-common/android-3.18 repo.
- CM upstream with a big update to the f2fs file system.
2015-05-31
- Android M kernel base. Kernel is now up to par with the kernel coming with Android M. I've redone my whole kernel (again lol) so every single commit from Android M preview is implemented cleanly without a single conflict. I've implemented all my improvements, and CM improvements, from the past on top of the Android M kernel, thus you don't miss out on the features from past releases. Also, the kernel base is updated to 3.10.79 so it's on par with Linux mainstream. This means it's up to date with both AOSP and Linux and in whole provides a cutting edge kernel.
- ROM-wise there's a lot of updates to AOSP repositories.
- CM upstream
- VoLTE now kind of works. It will soon fully work but in the meantime see this post: http://forum.xda-developers.com/showpost.php?p=61028937&postcount=76
2015-05-28
- Merged in Android 5.1.1 release 4: https://github.com/PerLycke/android...mmit/943467249627a91eee4bf2fbed7750226c8c5d72
- Kernel update from AOSP: https://github.com/PerLycke/android...mmit/6647622c39e00d981b8bdeeaeda55eeb6251c55d
- Shamu vendor blobs updated to LYZ28E: https://github.com/TheMuppets/propr...mmit/cf5ddd2b15b53d2dfaa01e3a42772926283cd688
2015-05-27
- Fixed Google Play Services FC. Thanks to arter97 for pinning down the issue and to squid267 for pointing me to it.
- Updated cpu interactive governor. The governor in it's updated state seems to work just wonderful, makes things smoother. IMO It's worth upgrading to this release just for this.
- Upstream CM changes. There's been some important changes, e.g. some bug fixes related to custom densities.
2015-05-24
- Added a screenshot tile to quick settings.
- Updated wireless drivers from android repo. This should improve your wireless connection and could save you some power.
- Added FauxSound support. Use FauxSound app or any other app with FauxSound compatibility to control it.
- Merged in Android 5.1.1_r3.
- CM upstream changes.
2015-05-21
- Improved scrolling fluidity
- Upstream CM changes
2015-05-17
- Updates to memory management to avoid random reboots and improve multitasking.
2015-05-16
- Bugfixes
- CM upstream
2015-05-14
- Implemented some linaro optimizations (reference) and (reference).
- Removed some CM stuff (e.g. the updater).
- Kernel is now compressed with LZ4 (info).
2015-05-13
- Fixed some compatibility issues and vastly improved battery-life. Please upgrade to this build if you are on the 20150507 or 20150510 (or older) build.
2015-05-10
- Cleaned up the kernel repository and moved to branch master.
- Updated the kernel to 3.10.77.
- Implemented a couple of new memory management features.
- CM upstream changes.
2015-05-07
- Added a quick setting tile to toggle expanded desktop. It's nice when reading articles or pdf's.
- Several updates to kernel memory management.
- CM upstream changes.
2015-05-04
- Updated idle driver and suspend (deep sleep) code.
- MSG_FASTOPEN is now enabled by default. You can try it in your chrome browser. Enable the "TCP Fast Open" flag. TCP Fast Open is an optimization to the process of stablishing a TCP connection that allows the elimination of one round time trip from certain kinds of TCP conversation, which can improve the load speed of web pages. In Linux 3.6 and Linux 3.7, support was added for this feature, which requires userspace support. This release enables TCP Fast Open by default.
- TCP auto corking. When applications do consecutive small write()/sendmsg() system calls, the Linux kernel will try to coalesce these small writes as much as possible, to lower total amount of sent packets - this feature is called "automatic corking". Automatic corking is done if at least one prior packet for the flow is waiting in Qdisc queues or device transmit queue. Applications can still use TCP_CORK for optimal behavior when they know how/when to uncork their sockets. A new sysctl (/proc/sys/net/ipv4/tcp_autocorking) has been added to control this feature, which defaults to enabled. For benchmarks and more details see the commit link. For benchmarks see this commit.
- CM upstream changes.
- Reverted adaptive-tick mode for scheduling-clock ticks handling.
2015-04-30
- Multiboot compatibility
- Disabled housekeeping ticker when a CPU handles a single task and improved timerless multitasking: allow timekeeping CPU go idle.
- CM upstream changes
2015-04-29
- Kernel updated from mainline to 3.10.76
- Upstream CM changes
2015-04-28
New: It's time for an update, and this time I'm bringing you something special. I've never been satisfied about how the CPU behaves on the interactive governor, the scaling behavior and jumping between cores and frequencies sometimes doesn't seem logical. After monitoring the CPU in different situations, especially when idling, made me want to improve the governor.
So, in today's release the interactive governor from 3.10 kernel is ditched completely. Rm'd.
Instead you'll find a completely updated interactive governor, implemented straight from the 3.18 kernel. This version of the interactive governor is implemented in a much cleaner way. It's more simple, more clean, and the the result is satisfying to say the least.
I've been running this one for 24 hours now. The way it deep sleeps, the way it idles and the way it scales up under heavy load seems great. So it should be more gentle to your battery and suite you well when you need to do some heavy work.
On a last note. This wasn't complicated. Sometimes you miss the most obvious things and opportunities, which are right there in front of you to grab.
Enjoy folks,
Per
2015-04-25
- CM upstream (including bump to Android 5.1.1).
- Disabled forced encryption by default.
2015-04-21
- More updates to the kernel. Implemented a quickwake patch from Motorola. Some minor layout updates to framework. CM upstream changes.
And I've updated the link to official CM 12.1 gapps (use this from now on).
The no encryption kernel is also updated.
2015-04-20
- You'll find a flashable kernel zip here with forced encryption disabled. If you are decrypted, flash it after you flash my ROM (before booting) and you'll stay decrypted. The ROM itself still forces encryption so flash this zip if you want to stay decrypted.
- Introducing SCHED_DEADLINE, a new scheduling class for resource-reservation real-time CPU scheduler in the kernel.
Quoted from: https://lwn.net/Articles/575497/: "Deadline scheduling does away with the concept of process priorities that has been at the core of most CPU scheduler algorithms. Instead, each process provides three parameters to the scheduler: a "worst-case execution time" describing a maximum amount of CPU time needed to accomplish its task, a period describing how often the task must be performed, and a deadline specifying when the task must first be completed. The actual scheduling algorithm is then relatively simple: the task whose deadline is closest runs first. If the scheduler takes care to not allow the creation of deadline tasks when the sum of the worst-case execution times would exceed the amount of available CPU time, it can guarantee that every task will be able to finish by its deadline. Deadline scheduling is thus useful for realtime tasks, where completion by a deadline is a key requirement. It is also applicable to periodic tasks like streaming media processing."
Click to expand...
Click to collapse
- Introducing Heavy-Hitter Filter (HHF) qdisc.
This is a first size-based qdisc that attempts to differentiate between small flows and heavy-hitters. The goal is to catch the heavy-hitters and move them to a separate queue with less priority so that bulk traffic does not affect the latency of critical traffic. Currently "less priority" means less weight (2:1 in particular) in a Weighted Deficit Round Robin (WDRR) scheduler. In essence, this patch addresses the "delay-bloat" problem due to bloated buffers. In some systems, large queues may be necessary for obtaining CPU efficiency, or due to the presence of unresponsive traffic like UDP, or just a large number of connections with each having a small amount of outstanding traffic. In these circumstances, HHF aims to reduce the HoL blocking for latency sensitive traffic, while not impacting the queues built up by bulk traffic.
Click to expand...
Click to collapse
- Introducing PIE AQM scheme
This is a Proportional Integral controller Enhanced (PIE) scheduler to address the bufferbloat problem. Bufferbloat is a phenomenon where excess buffers in the network cause high latency and jitter. As more and more interactive applications (e.g. voice over IP, real time video streaming and financial transactions) run in the Internet, high latency and jitter degrade application performance. There is a pressing need to design intelligent queue management schemes that can control latency and jitter; and hence provide desirable quality of service to users. We present here a lightweight design, PIE(Proportional Integral controller Enhanced) that can effectively control the average queueing latency to a target value. Simulation results, theoretical analysis and Linux testbed results have shown that PIE can ensure low latency and achieve high link utilization under various congestion situations.
Click to expand...
Click to collapse
- Many updates to the interactive cpu governor.
What is an interactive CPU governor? Quoted from https://android.googlesource.com/ke...aebe08b/Documentation/cpu-freq/governors.txt: "The CPUfreq governor "interactive" is designed for latency-sensitive,interactive workloads. This governor sets the CPU speed depending onusage, similar to "ondemand" and "conservative" governors. However,the governor is more aggressive about scaling the CPU speed up inresponse to CPU-intensive activity."
Click to expand...
Click to collapse
- mm: Increase MIN and MAX default readahead sizes for performance reasons, and we've got enough RAM to handle it.
- Many updates to cpuidle.
What is cpuidle? Quoted from www.fsl.cs.stonybrook.edu/docs/cpuidle/cpuidle-from-userspace.pdf: Cpuidle is a module in the Linux kernel which is respon- sible for running some power saving routines on a core when the core does not have any task in its run queue . The power saving routines try to put the core into a low power state or an idle state."
Click to expand...
Click to collapse
- Updated kernel to 3.14.75.
- Rom-wise some fixes are done to the DPI changer and upstream CM changes.
2015-04-17
- Several fixes and improvements. (It fixes a lot of things so please upgrade to this one if you are on 2015-04-16.)
2015-04-16
- Added a setting to force expanded notifications (Settings -> Notification drawer -> Force expanded notification). This feature is nice when you have a big device as ours. Credits to jmztaylor.
- Upstream kernel changes, bumped to 3.10.74.
- A lot of upstrem CM changes.
2015-04-10
- Added density changer. Changes in density have no impact on play store compatibility (Settings -> Display and lights -> LCD Density)
- Updated kernel from 3.10.40 to 3.10.73.
- Removed CM updater to stop confusing users.
- Changed navbar layout overlay to make it look better on more densities.
- Reverted BFS to CFS.
2015-04-09
- Fixed dialer layout when using 480 dpi
- Upstream CM changes
2015-04-05
- Initial release
Sweet May give this a try
Wooorrdddd
Super excited to try this! Flashing now. OP sounds very thorough. Love the idea of simple and stable.
Cool to see another BFS adopter
Double-tap to wake working nicely. Returned DPI to default (560), but Appstore still doesn't recognize it as a Nexus 6. I can download "Amazon for Tablets", but not the regular Amazon app.
Good job. This ROM flies.. Optimizations make a huge difference.
How do I change DPI back to the 560 I can't download anything from play store.
kingskidd268 said:
How do I change DPI back to the 560 I can't download anything from play store.
Click to expand...
Click to collapse
You can't even get TexDroider from the store? If not.. Google search it and you'll find the apk.
Or you can edit the build prop back to 560 or whatever you like with Root Browser / Editor.
Sounds cool. Wish it was earlier. Be back to try this tomorrow. Thanks
hijax2001 said:
Double-tap to wake working nicely. Returned DPI to default (560), but Appstore still doesn't recognize it as a Nexus 6. I can download "Amazon for Tablets", but not the regular Amazon app.
Click to expand...
Click to collapse
Edit: I see now that you are trying to use amazon app store. I've got no knowledge about that store and how it handles different densities. I will take a look at it. Cheers / Per
Edit 2: I'm tired, now I get it you are trying to download amazon app store from Google play. All my 100+ apps are treated as phone apps so I don't know why this one isn't. Will try to find out. Cheers again / Per
kingskidd268 said:
How do I change DPI back to the 560 I can't download anything from play store.
Click to expand...
Click to collapse
About DPI and Play Store: The density of your rom, like 480, will be registered within Google apps. If you change the density it needs to get re-registered. You could let it sit for a while or try to clear Googla Play Services, Google Services Framework and Play Store cache followed by a reboot. You would probably have to wait some time after this for the new density to get registered.
The reason I changed the density within the source is that if you do a clean install (format system and data before flashing) the only density which will be registered to Google apps upon first boot is 480 and you will have no problem installing apps in Play Store. I've installed 100+ apps without no issues whatsoever when following those instructions.
480 is the "native" density for Shamu and it was actually used by google some time before releasing. It gives you more screen real estate and I highly recommend using it and take advantage of the big beautiful screen we have.
Some odd apps, like Amazon app store, chooses the tablet layout resources when on 480 DPI. Not many apps behaves like this and it's not that big of a drawback IMHO. If you feel it is you can always sideload the Amazon app store phone layout app using http://apps.evozi.com/apk-downloader/. Don't use that link to try and download paid apps (It won't even work).
Thanks...I was indeed referring to downloading the Amazon Store app from Google Play.
Nice and smooth so far ! Thanks for sharing !
Rom updated to 20150409, changelog in second post.
Cheers,
Per
Solid ROM, very fluid. Just wish you had, or plan to add, LCD Density. :good:
Andromjb said:
Solid ROM, very fluid. Just wish you had, or plan to add, LCD Density. :good:
Click to expand...
Click to collapse
Just use romtoolbox.
Well, i have now an encrypted phone!!!
You should update the thread...
niyazidk said:
Well, i have now an encrypted phone!!!
You should update the thread...
Click to expand...
Click to collapse
Sorry for that mate but I haven't said I've disabled encryption by default. This is based on CM kernel and CM kernel is encrypted by default. You can't assume a non default feature is there if not stated by me.
I guess you can back up your data, flash a kernel with default encryption disabled, wipe userdata with fastboot and restore your data.
Can I ask why you want it decrypted? I can't find a good reason

[PIE][Kernel][28.11.2020][4.9.246] Kirisakura_NEXT 1.2.0 for HTC U12+ aka Imagine

Kirisakura-Kernel for HTC U12+
Hello everyone,
Kirisakura kernel is designed to bring a handful of beneficial features to the device, while ensuring excellent performance and smoothness to get you safely through the day!
This includes upstreaming to latest linux stable for enhanced security and stability. As well as bringing in important new CAF patches, as soon as CAF releases the sources for the SD 845!
Revisiting the stock EAS implementation for further efficiency enhancements is also on my current roadmap for future development. I´m sure there is potential!
To have a read about our scheduler, which is called EAS, take a look here:
https://developer.arm.com/open-source/energy-aware-scheduling
Main Features:
- Based on latest kernel sources from HTC for the HTC U12+ (2.45)
- Upstreamed to latest 4.9.246
- CAF-Upstream merged
- Pixel 3/XL EAS ported over
- Cleanslate features from @tbalden included! (big thanks to him!)
CPU related features:
- Dynamic schedtune boost from @joshous
- CPU Input boost from @Sultanxda
- Disclaimer: please take a look at post 2 on how to set them up!
- Power saving workingqueues enabled by default (toogleable in EXKM)
have a read here: https://lwn.net/Articles/731052/
this complements EAS in general
- DDR bandwidth boost from @Sultanxda
Graphic related features:
- KCAL to control the display
- Adreno Boost
- Enabled NAP power saving state of Adreno 630
Network related features:
- Wireguard Support
Misc Features:
IO-Schedulers:
- cfq
- bfq
- maple
- deadline
- noop
- tripndroid
- fiops
- zen
TCP Congestion Algorithms:
- advanced algorithms enabled
- includes new bbr and sociopath tcps
Wakelock Blocker:
- advanced wakelock blocker with the ability to block any wakelocks (dangerous, use with caution)
- common wakelocks that are safe to be blocked are blocked by default
Feature section for the "non visible" but perceptible improvements:
- mark certain IRQ and kthreads as performance critical
- updated schedutil governor
- updated binder section (responsible for interprocess communication)
- updated sdcardfs (have a read about it here: https://www.xda-developers.com/divi...les-fuse-replacement-will-reduce-io-overhead/ )
- Speculative Page Faults (1. 2)
- Memory allocation overflow protection (kernel hardening feature)
- proc gate vulnerability fixed
Requirements
- unlocked Bootloader
- USB-Debugging in developer options enabled
- latest adb and fastboot binaries
- working adb and fastboot environment
How to flash the Kernel:
1. Download the kernel.zip to your device
2. Reboot to TWRP
3. Flash the kernel.zip in TWRP
4. The kernel zip will detect if you´re rooted and keep root in that case!
5. Reboot and Profit
IMPORTANT NOTICES
1. After rooting, the option to enable face unlock from htc may be greyed out.
How to fix:
a. Open Magisk Manager
b. Open the side menu and tap on magisk hide
c. Tick faceunlock to be hidden
DOWNLOAD:
Download is located always in this folder:
https://www.androidfilehost.com/?w=files&flid=278195
Important: Read after Download
Please take a look at the second post after flashing the kernel!
Changelog:
0.1 Initial Release
0.2 https://forum.xda-developers.com/showpost.php?p=77002100&postcount=32
0.5 https://forum.xda-developers.com/showpost.php?p=77092842&postcount=46
1.0 https://forum.xda-developers.com/showpost.php?p=77131607&postcount=61
1.1 https://forum.xda-developers.com/showpost.php?p=77187557&postcount=82
1.3 https://forum.xda-developers.com/showpost.php?p=77228675&postcount=85
1.4 https://forum.xda-developers.com/showpost.php?p=77234128&postcount=88
1.7 https://forum.xda-developers.com/showpost.php?p=77255692&postcount=90
2.0.3 https://forum.xda-developers.com/showpost.php?p=77515446&postcount=115
2.1.1 https://forum.xda-developers.com/showpost.php?p=77585106&postcount=136
2.2.0 https://forum.xda-developers.com/showpost.php?p=77663581&postcount=167
2.2.3 https://forum.xda-developers.com/showpost.php?p=77757758&postcount=181
2.3.4 https://forum.xda-developers.com/showpost.php?p=77856442&postcount=195
3.0.2 https://forum.xda-developers.com/showpost.php?p=78204561&postcount=244
4.1.1 https://forum.xda-developers.com/showpost.php?p=78315932&postcount=261
5.0.0 https://forum.xda-developers.com/showpost.php?p=78767277&postcount=301
5.2.1 https://forum.xda-developers.com/showpost.php?p=78856374&postcount=321
7.0.0 https://forum.xda-developers.com/showpost.php?p=79353529&postcount=337
9.1.0 https://forum.xda-developers.com/showpost.php?p=79696218&postcount=355
10.0.0/1 https://forum.xda-developers.com/showpost.php?p=79973617&postcount=364
Pie and forward (please not this release is a hacked base OREO-base to work on Android Pie):
10.7.0 https://forum.xda-developers.com/showpost.php?p=81035393&postcount=378
Pie:
1.2.0_NEXT https://forum.xda-developers.com/showpost.php?p=84014357&postcount=388
Donations:
Donations are not mandatory but very welcome if you want to support development or just buy me a coffee
If you like my work: http://paypal.me/freak07
Credits:
@osm0sis for all his work, including the ak2 installer!
@tbalden for being the best HTC wingman!
@LeeDroid for his awesome roms!
@Captain_Throwback for all the mentoring and guidance!
@Eliminater74 for bringing me into the game and the Inspiration
@nathanchance for his upstream guidance and assistance
@RenderBroken for helping me out
@flar2 for all his work
@joshuous for all the help he provided to me
XDA:DevDB Information
Kirisakura-Kernel , Kernel for the HTC U12+
Contributors
Freak07
Source Code: https://github.com/freak07/Kirisakura_Imagine/commits/master_bluecross_eas
Kernel Special Features: Linux Upstream, KCAL, CAF, Cleanslate Features, Pixel 3 EAS
Version Information
Status: Stable
Created 2018-06-28
Last Updated 2020-11-28
How to set up the kernel
as with release 4.1.1 it’s advised to change no boost settings at all! It’s all flash and forget
This is a short guide on how to set up the kernel. This is currently required because TWRP is not yet ready and therefore I have no ak2 zip to set that all up.
The following is deprecated as with 0.5 Release!
Basically I decided to disable pnpmgr. This is htc’s daemon for controlling the CPU boosts.
I integrated a few other boosts to the kernel that work way better to replace HTC´s mechanism.
The phone is more smooth and more efficient now.
This is not a requirement at all. It´s entirely optional in case you aren´t satisfied with the current state of things!
1. With a root explorer go to /system/vendor/etc and rename pnp.xml to pnp.xml.bak
That will disable pnpmgr on the next reboot.
2. In EXKM navigate to CPU -> Boost Settings
3. Set the values like on the attached screenshot! and toogle the arrows to set it on reboot
4. cpu input boost currently has no interface in EXKM. The predefined values are fine. But if you navigate to Tools -> User Settings, you can call any file and change the values exactly to your liking.
Just hit the + and add the following paths:
sys/module/cpu_input_boost/parameters/input_boost_freq_lp boost freq of the little cluster
sys/module/cpu_input_boost/parameters/input_boost_freq_hp boost freq of the big cluster
sys/module/cpu_input_boost/parameters/input_boost_duration boost freq duration
5. Reboot and profit
The following is advised as with the Release of 0.5!
1. If you previously renamed pnp.xml found in /system/vendor/etc, to pnp.xml.bak, rename it back to pnp.xml!
Now reboot!
2. Here is a screenshot of the optional boost settings I´m currently running. These are a bit more aggressive than stock, provide more smoothness but cost a tiny bit of battery. In the end I still achieve way better battery results on 0.5 than on 0.2 even with additional boosts enabled. That is due to the energy saving commits I mentioned in the changelog of 0.5.
Here is the screenshot!
{
"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"
}
also mine
and mine
woo-hooo!
Thank's so much for you work mate....wich app could use to get advanced color control ??...is there able to get more bright on the screen ? because this is dim as u11+, i can't see any difference in brightness...very frustrating
neofrost37 said:
Thank's so much for you work mate....wich app could use to get advanced color control ??...is there able to get more bright on the screen ? because this is dim as u11+, i can't see any difference in brightness...very frustrating
Click to expand...
Click to collapse
You can control kcal with exkm app.
But you can just control srg, saturation, contrast etc.
With Kcal nothing can be done about the brightness. Sorry for that!
I forgot to add Wireguard as a supported feature. I corrected this in the OP.
neofrost37 said:
Thank's so much for you work mate....wich app could use to get advanced color control ??...is there able to get more bright on the screen ? because this is dim as u11+, i can't see any difference in brightness...very frustrating
Click to expand...
Click to collapse
There is absolutely nothing wrong with the brightest on this phone. Slightly dimmer than U11. Currently have auto brightness off and set just under half way. In the sun it visible at 3/4 brightness.
schmeggy929 said:
There is absolutely nothing wrong with the brightest on this phone. Slightly dimmer than U11. Currently have auto brightness off and set just under half way. In the sun it visible at 3/4 brightness.
Click to expand...
Click to collapse
so would you post a picture to compare both phone's with max bright ??....mine is just a little bit more bright than u11+ , maybe i just have bad luck with my 2 last htc's
neofrost37 said:
so would you post a picture to compare both phone's with max bright ??....mine is just a little bit more bright than u11+ , maybe i just have bad luck with my 2 last htc's
Click to expand...
Click to collapse
Just did a side by side pic and to me the U12+ seems brighter probably due ether cooler color.
schmeggy929 said:
Just did a side by side pic and to me the U12+ seems brighter probably due ether cooler color.
Click to expand...
Click to collapse
Thank's mate, but left side phone's not seems htc, because u12+ dont have rounded corners i the screen !
neofrost37 said:
Thank's mate, but left side phone's not seems htc, because u12+ dont have rounded corners i the screen !
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.leedroid.shortcutter&hl=en there's an easy overlay setting by @LeeDroid
tbalden said:
https://play.google.com/store/apps/details?id=com.leedroid.shortcutter&hl=en there's an easy overlay setting by @LeeDroid
Click to expand...
Click to collapse
wow, didn't know it !, you make my day , great app....sad with my display bright, awesome device i ever had....just hope update with a 20% more bright ..thank's everyone for answer
neofrost37 said:
wow, didn't know it !, you make my day , great app....sad with my display bright, awesome device i ever had....just hope update with a 20% more bright ..thank's everyone for answer
Click to expand...
Click to collapse
Did you turn off auto brightness and tried full manual brightness? For me it is absolutely fine, even with auto
Sent from my HTC U12+ using XDA Labs
DeeZZ_NuuZZ said:
Did you turn off auto brightness and tried full manual brightness? For me it is absolutely fine, even with auto
Sent from my HTC U12+ using XDA Labs
Click to expand...
Click to collapse
I'll try mate, thank's
neofrost37 said:
Thank's mate, but left side phone's not seems htc, because u12+ dont have rounded corners i the screen !
Click to expand...
Click to collapse
Leedroid's shortcutter App (Rounded Corners)
Whoot-whoot. Great job mate.
Sent from my HTC U12+ using XDA Labs
neofrost37 said:
I'll try mate, thank's
Click to expand...
Click to collapse
Nothing mate, it's really dim even a cloudy day
neofrost37 said:
Nothing mate, it's really dim even a cloudy day
Click to expand...
Click to collapse
No problems here. Yesterday I was looking at the phone in the sun and had no problems
Sent from my HTC U12+ using XDA Labs

[Kernel][Overclocked] No Gravity [2023-04-30] [ProtonClang]

NoGravityKernel
{
"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"
}
No Gravity Kernel 1.0.0 + 4.3 App Trailer
Hey, NoGravity Kernel dev coming from the good old OnePlus 2 here! I'm a graduating student in computer science and I actually work as a programmer. I made a pretty solid kernel for that old Oneplus device and even added Energy Aware Scheduling (EAS) support to it backporting new features like Dynamic Schedtune Boosting to this old 3.10 kernel. With it being pretty much at its apogee, I need a new challenge on a newer kernel (4.9+) while keeping NGK's mindset of Performance/smoothness while getting decent battery life due to added battery oriented features.
For those who want a to know more about my work here is the link to NoGravity Kernel for OnePlus 2.
The Kernel will boot using stock (Pocophone F1) CPU & GPU frequencies that correspond to the Balance Profile when Magisk is present. Overclocked frequencies can be selected in any kernel manager app. Other profiles for battery, performance and gaming can be switched to in my app.
To tweak the kernel easily, here's my No Gravity app! featuring custom profiles (Battery, Balanced, Performance and Gaming). My app offers some features that cant be found in other kernel tweaking apps. You can find them lower in the thread.)
-No Gravity app! support
-Android T (13) ready
-Rebased to full CAF
-Enforcing SELinux
-KernelSU support
-OxygenOS Ports support Please read compatibility section
-9.1.24 & 10.3.7 Novatech Touchscreen Firmware
-Updated, Cleaned up & Optimized NVT/FTS Touchscreen drivers for latency and responsiveness and reduced touch issues
-The two CPUs (Silver and Gold) can be configured completely separate in terms of min/max frequencies and governors
-Unlocked PUBG HDR+Extreme options (Disabled by default, enable it in app)
-CPU Next frequency selection tunable (linear/expnential)
-GPU Overclocked to 835 MHz (GPU overclock/underclock is possible)
-GPU Underclocked to 160 MHz on idle
-Adrenoboost
-Updated energy model
-Pixel Thermals support
-Using Evaluation Thermals
-Own Thermal Suspend API
-Own Thermal Locking Mecanism (Mostly for using NGK thermals on MIUI)
-NAP power saving state for Adreno 630 GPU
-Dynamic Stune Boost
-Devfreq boost and Cpu Boosting drivers
-Disabled ZRAM by default
-FSync Control (ON/OFF)
-Faster Applications Opening speed
-Slimbus Overclock
-Added Fingerprint boost
-Added WakeBoost module
-Added and Using ZEN I/O Scheduler as default for app opening speed && overall Smoothness
-Added Maple, SIO, FIOPS, BFQ, ANXIETY I/O Scheduler
-Westwood(Default) & BBR TCP Algorithms
-DTS Headphone X Software Drivers
-Sound Control support
-Vibration Control
-Charging throttling removed
-Maximum charge rate over USB 3.0
-WireGuard support
-USB Ethernet support
-Controller support
-DriveDroid support
-HDR Video Playback support
-KCAL support
-K-Lapse 5.0 support
-Network Guru app support
-Blocked and tweaked wakelocks (Boeffla & more)
-Fingerprint improvements
-Caches optimisations
-Compilation optimisations
-Debloated
-F2FS Support with GC
-Compile with Proton Clang + Polly + Thin LTO
-Latest CAF Tags merged in
-Always upstreamed to latest! (4.9.337)
-And many more under the hood changes...
-Injected sepolicies to work on Enforcing SELinux
-Per-App Tweaks page to apply tweaks to specific apps
-Kernel & App update checker (Direct install of kernel and app on Pocophone) + Selection between touch firmware versions
-Balance(Default),Performance,Battery,Gaming & Gaming+ Profiles (QSTile available)
-Custom Profile Creator Page that let's you create and share profiles with the NGK community (/SDCARD/NGK/PROFILES/)
-Precise CPU temperature for both Clusters separately
-CPU Page with following tunables:
-CPU Governor
-CPU Frequency Selection Algorithm (Linear/Exponential)
-CPU Min/Max Frequencies
-NGK Smart Throttling
-NGK Stats Page showing last gaming session FPS+ Chart, throttling, battery drain, avg CPU temps & avg Battery temps, toggle for enabling NGK Stats Overlay displaying FPS and following optional features:
-CPU Temps/Freqs
-GPU Temps/Freqs
-Battery Temps/Percentage
-RAM usage
-Kernel Page to let you control:
-App optimization (ART) Button
-Thermals:
NoGravity (NGK’s default) || Battery || Stock one
-PUBG HDR+Extreme config unlocker
-ZRAM
Battery Page to let you control:
-Adaptive Charging
-Charging rate limiter
-Battery Thermal Throttling Removal:
ON (NGK’s default) || OFF
-GPU Page:
-GPU Stats
-Min/Max GPU Freq Selector
-Adrenoboost
-KLapse (Brightness and Daytime modes)
-Backlight Dimmer
-HDR ON/OFF toggle
-Proximity Gestures Switch to pulse ambient dispay on Hand Wave
-Pick-Up Gesture Switch to pulse ambient display when device is taken
-Pixel 3 Flip to Shhh feature
-DTS Eagle (Sound) Info Page
-More will be added...
-More features...
-Let me know what you want and those may be added!
This kernel should work on any ROM/Ports! Since I love OnePlus and I'm myself a OnePlus 2 user, I will do my best to fully support OOS ports.
Reported to work on: OnePlus 6 Holi Edition, OnePlus 7 OB8 & OB8 Quince, Quarantine Edition. OxygenOS devs do not support custom kernels so if you face any issues with NGK don't post in their groups, post here instead. Latest OOS may have calling issues as reported by some users.
-I recommend before coming to conclusion, give it at least 2 complete charge cycles and then raise any issue.
-I recommend to use my app, franco app or EX Kernel Manager if you need to tweak the kernel further
-CPUs since Snapdragon 845 can't be overclocked from kernel this is why it is removed
-Flash No_Gravity_Kernel-vX.X.zip file in TWRP (Latest TWRP Recovery Recommanded)
-(Optional) - Clear cache and Dalvik => if you do so, Use App Optimization button in NGK App.
Download No gravity Kernel / Download No Gravity App
Donate me! / Telegram Group /
No Gravity App Changelog / No Gravity Kernel Changelog
-The android community and to all my testers for using my kernel and your precious feedbacks and ideas!.
-thanasxda for his experience/knowledge on the Pocophone
- @[COLOR=#00b5d3]_undead[/COLOR] & @[COLOR=#00b5d3]Wmbruckner[/COLOR] for the crowdfunding
-Followings for their donations!
@[COLOR=#00b5d3]Wmbruckner[/COLOR]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]​
Contributors
Pierre2324
Source: https://github.com/Pierre2324/NGK_android_kernel_xiaomi_sdm845
Version Information
Status: Stable
Current Version: 4.4.0
Created: 2019-11-16
Last Updated: 2023-04-30
Changelog
NoGravity Kernel v4.4.0 & App 6.4.0
Previous Changelogs:
NoGravity Kernel v4.3.1[/B]
NoGravity Kernel v4.3.0 & App 6.3.0[/B]
NoGravity Kernel v4.2.0 & App 6.2.0
NoGravity Kernel v4.1.0 & App 6.1.0[/B]
NoGravity Kernel v4.0.0 & App 6.0.0
NoGravity Kernel v3.3.0 & App 5.3.0
NoGravity Kernel v3.2.1 & App 5.2.1
NoGravity Kernel v3.2.0 & App 5.2.0
NoGravity Kernel v3.1.0 & App 5.1.0
NoGravity Kernel v3.0.0 & App 5.0.0
NoGravity Kernel v2.4.1
-Pixel thermal fix
-Upstreamed to 4.9.281
NoGravity Kernel v2.4.0
NoGravity Kernel v2.3.1
NoGravity Kernel v2.3
NoGravity Kernel v2.2:
NoGravity Kernel App v4.2:
NoGravity Kernel v2.1 / App v4.1:
NoGravity Kernel v2.0:
NoGravity Kernel App v4.0:
NoGravity Kernel v1.5.5:
NoGravity Kernel App v3.5.5:
NoGravity Kernel App v3.5.1:
NoGravity Kernel App v3.5:
NoGravity Kernel v1.5:
​
NoGravity Kernel App v3.4.2:
General:
Changelog/Update page is now scrollable in case of big changelogs to see download buttons
App now checks for update when app is resumed also (not just when app is launched)
Pocophone F1-Mi8:
Fixed an issue where frequencies were shown over CPU and GPU labels when turning off respective temps in NGK Stats Overlay
OnePlus 2:
Nothing specific to OP2 added
NoGravity Kernel App v3.4.1:
General:
Changed text of update checker button 'View changelog' to 'Download!' when an update is present
Other small fixes
Pocophone F1-Mi8:
Updated NGK Stats Overlay UI
NGK Stats Overlay doesn't block input touches anymore
Better FPS Idling algorithm to prevent bad user's FPS stats when display isn't refreshed (e.g just looking at launcher)
Last session average FPS now updates right after toggling off the switch when in NGK app
OnePlus 2:
Nothing specific to OP2 added
1.4 Build:
NoGravity Kernel App v3.4:
General:
Updated Profiles
New App & Kernel Update checker
Small fixes
Pocophone-Mi8:
Modified NGK Thermals to fit NGK thermal locking mecanism
DT2W Toggle added to Kernel Page (mainly for OOS)
Updated Backlight Dimmer
New NGK stats page
-Shows last session average FPS
-NGK overlay service toggle to show FPS,CPU & GPU stats in real time on screen
OnePlus 2:
nothing specific for oneplus 2 has been added
Kernel 1.4:
NoGravity Thermal locking mecanism
OxygenOS Crack*
Add DT2W node for OxygenOS and enabled by default
Input boost driver cleanup
Touch drivers tweaks
GPU max stable overclock dropped to 800MHz (835MHz still available)
Rebased Techpack Drivers (Fixes Mi8 sound issue)
Updated profiles
Brought back updated Wireguard
Added back HDR playback feature
Removed old CPU governors
Network GURU app can now be opened
Merged latest CAF tag
Updated to latest Anykernel
Always upstreamed to latest (4.9.215)
And many more under the hood changes/optimisations
Notes:
Now Kernel comes in Pie and Q versions only, if you are still on Pie blobs simply use Pie kernel
Kernel and app updates will now show up when they are released on main page of NoGravityKernel App along with device specific changelog and download buttons
NGK Thermal Locking Mecanism prevents ROMs from overriding a thermal selection (Mainly MIUI) (when NGK Thermals are ON only, when they're OFF, ROM will have it's default behavior)
NGK now boots on OxygenOS, OOS developers do not support custom kernels so if there are any issues do not report in their groups.
1.3 Build: Welcome to Mi 8!
NoGravity Kernel App v3.3:
General:
Updated Profiles
Lowered Magisk Toast Messages*
Max GPU Freq Selector
Added an option to refresh GPU Stats
Updated descriptions
Pocophone-Mi8:
New GPU Page:
-GPU Stats
-KLapse (Brightness and Daytime modes)
-Backlight Dimmer
OnePlus 2:
DDR Input Boost Toggle
Kernel 1.3:
Fixed Screen Freezes
Updated Profiles
GPU min 160MHz, GPU max 835MHz
GPU optimisations (Governor, Latency)
Better CPU idling
Optimised Schedutil Governor
Changes to EAS Energy model
Updated schedtune,devfreq boosts
Better app opening speed
Exposed a Dynamic Stune Boost Duration tunable to userspace (Now independent to input boost duration) -Small changes to input boost
Sched cleanup
Added FIOPS,BFQ,ANXIETY I/O Schedulers
Updated thermals
Brought back RCU 4.14 backport
Vibration Control
Compiled with DragonTC
Huge compilation optimisations for performance
POLLY Optimisations
Debloated even more
Now Permissive by default, Android 10 Q blobs don't seem ready yet
Always upstreamed to latest! (4.9.212)
And many more under the hood changes...
Notes:
Max GPU frequency of 835MHz is only reachable manually as I don't consider it fully stable. On the other side, 820MHz Overclock is stable and is used in my profiles.
I wanted to use relatively longer dynamic schedtune boost duration compared to input boosts so made them separate in terms of length.
I would recommend turning off No Gravity app toast notifications from Magisk Manager app.
1.2 Build:
NoGravity Kernel App v3.2:
General:
Updated Profiles
Auto-dismiss Apply on boot notification
Updated descriptions
Pocophone:
New Kernel Page to let you control:
-Thermals:
Stock one || Evaluation (NGK’s default)
-Thermal Suspend API:
OFF || ON (NGK's default)
-Battery Thermal Throttling Removal:
OFF || ON (NGK’s default)
-SELinux Switch:
Enforcing (NGK’s default) || Permissive
New DTS Eagle (Sound) Page
OnePlus 2:
Fixed App opening on AGK
Fixed EAS Dynamic Schedtune Bug
Kernel 1.2:
Updated to latest Touch Firmware
Updated with Xiaomi Q Kernel Source (Touch,Sound,PSU,WLAN,GPU,etc)
Silver cluster will now ramp all the way down to 300MHz for better idle drain
Removed some GPU latency
Underclocked GPU on idle to 170MHz (from 180MHz)
820MHz GPU frequncy step added between 710MHz & 835MHz
New Thermal Suspend API
FSync Control (ON/OFF)
DTS Eagle Software Driver
Bluetooth changes
Optimisations, Removed some bloat
Bluetooth Fixed
Wifi Speed Meter Fixed
Random Reboot Fixed
Blackscreen issue Fixed
SmartPack/Kernel Adiutor issue Fixed
Camera Fix for MIUI Q and ROMs with Q-Blobs (see separate build)
Updated AnyKernel3 changes (No Need to flash magisk after updating!)
Always upstreamed to latest! (4.9.210)
And many more under the hood changes...
Notes:
Thermal Suspend API : This is a small API I’ve written in the kernel directly (to make sure no background services are running for it) that unsets NGK thermals when screen turns off and enables them back when screen is turned back on. (This fixes some issues on some specific ROMs where screen wouldn’t turn on or phone would random reboot while device sleeps or is charging)
There is now a camera fix version to fix camera on ROMs with Q-Blobs like MIUI Q, so if your camera isn't working flash this one.
Kernel 1.1 Pie Edition:
NoGravity Kernel v1.1 now working on Pie ROMs
Using v1.0 Base
Notes:
This kernel uses v1.0 base so will work on both Android Pie and Q ROMs/Ports/MIUI
From now on releases will be separate in 2 builds: [9] and [10]. People on Android 10 should use [10] builds since it is rebased to Full Q CAF sources even tho [9] build would still work.
1.1 Build: Welcome to No Gravity Kernel App for Pocophone!
NoGravity Kernel App v3.1:
Pocophone F1 support added
Balance(Default),Performance,Battery & Gaming Profiles*
Precise CPU temperature for both Clusters separately
Kernel 1.1:
Rebased completely to full Q CAF (LineageOS Staging)
Removed CPU overclock*
Removed charging throttling*
Many Optimisations
F2FS updated with GC and changes
Debloated the Kernel
Westwood(Default) & BBR TCP Algorithms added
Using 2048kb read ahead
Fixed ZEN I/O Scheduler initialisation
Picked port of RCU's taken from 4.14
Updated SDFAT to EXFAT
Removed a CPU boosting driver that could conflict with another
Battery oriented tweaks
Tried to fix random reboots and other issues some people were getting
Always upstreamed to latest! (4.9.206)
And many more under the hood changes...
Notes:
Profiles also have a QSTile for fast switching
If you didn’t already know it was only placebo/performance wouldn’t change, but don’t worry there are other ways to make performance better
If you want charging throttling, you can set it back on here by setting the value to N instead of Y: sys/modules//sys/module/smb_lib/parameters/skip_thermal
MIUI ROM/Port variants may have some issues but I didn't have much testers on those so please send logs if you have issues
1.0 Build: Welcome to Android 10 & Pocophone!
Kernel:
Overclocked CPU (Silver 1.76->2.0Ghz, Gold 2.8-> 3.0Ghz) (Will boot with stock clocks)
Energy model modifications to fit NGK overclocked frequencies
GPU Overclocked to 835 MHz
GPU Underclocked to 180 MHz on idle
Using Evaluation Thermals (For now..)
NAP power saving state for Adreno 630 GPU
Added Adreno Idler
AdrenoBoost
Dynamic Stune Boost
Devfreq boost and Cpu Boosting drivers
Disabled ZRAM
Faster Applications Opening speed
Slimbus Overclock
Added Fingerprint boost
Added WakeBoost module
Added and Using ZEN I/O Scheduler as default for app opening speed && overall Smoothness
Added Maple, SIO and FIOPS I/O Scheduler
Power Efficient Workqueues
Sound Control support
Maximum charge rate over USB 3.0
WireGuard Support
KCAL Support
K-Lapse 5.0 Support
Blocked wakelock (Boeffla & more)
Fingerprint improvements
Caches optimisations
Compilation optimisations
Novatek touch firmware from 10.3.7.0
Always upstreamed to latest! (4.9.201)
Using Anykernel3
And many more under the hood changes...
Useful stuffs
Clean flashing a kernel:
1. Boot into recovery
2. Wipe dalvik/art cache, cache, system and vendor(if recovery have this option)
3. Reboot into recovery (only needed on some recoveries)
4. Flash latest ROM zip
(Optional) Flash other zips like GApps, DFE, etc depending on ROM and your preference
5. Flash latest Magisk zip
6. Reboot into system (yes boot with stock kernel first)
7. Reboot into recovery
8. Flash latest NGK Kernel zip
9. Reboot and enjoy
Not to be confused with a ROM clean flash!
Do not wipe data or internal storage!
Encryption fix
For the ones who uses an encrypted device, those steps needs to be done to worl properly with NGK:
To those who are facing screen flicker/bootloop upon flashing NGK on an encrypted device.
1. Dirty flash your current ROM and boot into system.
2. change your password to whatever you want then click on "No" when it shows "Secure Start-up".
3. Boot into recovery then flash NGK. You will notice that it will not ask for a password even though you are encrypted.
Taking logs
Screen Freezes:
-Connect phone to PC
-Run following commands in terminal:
[*]adb shell
[*]dmesg
Random Reboots:
-When the random reboot occurs press the TWRP button combo to got straight into TWRP
-Send the pstore folder as a .zip file located in /sys/fs/
Any runtime kernel/app related crashes that doesnt make the device reboot or freeze:
-Use Matlog app on play store
-Start recording before the issue
-Stop recording after the issue
-Send the .zip file created
Charging:
Okay lets break it down for yall.
Every kernel on every device has WARM_TEMP and HOT_TEMP values which are usually always 45 and 50 respectively.
When device reaches 40-42C charging rate will decrease more and more until it reaches about 45C where device will stop charging even if its plugged in for safety reasons. Battery must not charge when they are this hot.
Battery thermal removal: this will prevent throttling before battery reaches about WARM_TEMP. Once battery reaches about 45C there is nothing in the world you can do. So yea battery thermal removal is still safe, just a matter of preference because if charging throttles before reaching 45C it will heat less then continue charging but if charging doesnt throttle yea it will charge charge faster under 45C but may heat more so you may hit 45C faster. So as in every other tweaks it depends on user.
As per my tests I would get about those but that may vary for you:
Battery temp (°C) - Charging rate (mA) tuples
46-1800
45-1800
44-2000
43-2600
42-2800
What else? oh yea here are some tips for you to lower temps (cause yes some of you charge while playing pubg..)
Tips for lowering temps:
-Turn off NGK thermals from NGK APP
Right you all need to understand thermals first.. A lot of users are just asking best thermals, best this, best that.. there is no universal bests..
Thermals will throttle performance depending on heat generated.. so yes there is a gain in performance when using NGK thermals because performance will throttle at higher temperatures. Why do I say it depends? Well someone living in a hot place and is getting high temps and throttling will use NGK thermals so he gets more performance for the same temperature point but there is always throttling else a phone would heat too much in the end and be really unsecure and all. That being said, if your device throttle with stock thermals then you go ngk thermals it will throttle at higher temps but in the end may still throttle and if you hit too high temps it will throttle even harder to keep temps low. For those people using normal thermals would be best since yea performance will throttle but it will prevent the phone from getting higher temps which could lead to more intense throttling. (Can also read about charging above you may want more aggressive thermals that will throttling performance to reduce heat so you can charge phone)
So next tip:
-Reduce Big cluster max frequency as this cluster is a hest generator
-Use another profile than Gaming! (Performance for me is best because its less aggressive, some people prefer balance for gaming)
All in all, try stuffs by yourself I think I did my part guiding you through all this, the best things you can do is the best things for yourself not necessarily the best for others.
Touchscreen Tests (NGK v1.5.5):
Spent a whole week with testers to just sit down and find the firmware to choose and then rebuild the drivers from the groud up.. but first here's an intro
Intro:
Small intro for everyone cause many people confuse many things..
-Panels: We have 3 main panels:
FTS, NVT REV1 & NVT REV2
-Touch firmware: comes in kernel and also in ROMs but kernel will flash its inbuilt firmware if the kernel firmware checksum is different to the one already present in ROM
-Touch Drivers: comes in kernel and those dont have numbers/versions its up to the kernel dev to make changes it those so stop asking for driver version no one can answer that precisely compared to firmware
Tests:
Alright now enough talking, the tests and results.
-Panels:
For FTS panels, using stock xiaomi drivers was fine no touch issues seem to happen since those went out.
For NVT panels, some had touch issues on rev1 and rev2 depending on firmware used while keeping xiaomi stock drivers so below tests were focusing on NVT mostly
-Firmware:
We tried 3 firmware and the ones who remained are 9.1.24 and 10.3.7 since other one gave issues
So I did incremental test builds modifying drivers for both firmware
-Drivers:
For drivers, as said before I reverted all changes to xiaomi stock drivers from their source. Some issues were present for some on both firmware version and different issues on both panel revisions (rev1 and rev2)
-Latency:
some issues was only related to latency and I knew latency was going to be better by optimizing the drivers later on
-Touch issues:
So based on that, I only took account of the issues present between firmware for each driver changes
Part 1:
Part 1 was updating novatech drivers from a CAF source that can be seen in my kernel source. So did that, compiled 2 versions again fixed some small issues here and there like firmware flashing wasnt working, touch didn't work at first and some bootup issues, anyway main thing is that novatech driver were updated a bit with less variable locking and such coding changes making the driver faster. Results after that were good it fixed some people's issues but latency wasnt perfect.
-Part2:
Now was time to optimize the drivers and did for both NVT and FTS (most of those optimizations were seen in previous ngk versions) but needed to add them again and add some more and see how they impact (cause not every optimizations means better results, some optimizations introduced issues)
Conclusion:
So in the end if TLDR
The conclusion was that issues were fixed after some driver changes as some optimizations made them worst, 9.1.24 firmware gave better touch (mostly under load or heat a.k.a for gamers) and didnt impact day to day users hence why NGK uses now 9.1.24 drivers.
BUT that is based on the fact that I reviewed the drivers from official xiaomi source, then updating them, then doing specific optimizations, other kernels may have different results or different ways of doing tests, thats just how I did it.
So yea for people who wont like touch, I will send this cause I did work on it to give better touch to most users and limiting the touch issues. I still dont think its possible to have perfect latency and perfect touch due to our phone but here's what has been done..
Great work as always, glad to see you here! NGK was one of the best kernels for OnePlus 2, I'm excited to see what NGK brings in for Poco. You deserve much more appreciation for your work, I am doing my bit. For whosoever appreciates his work, following is a crowdfunding link that we created for getting Pierre a Pocophone, as he does not own one. Just to be clear, he isn't involved with this anyway, we, the OnePlus 2 family has done this on our own will, as a token of appreciation of all the work he has done for the community.
https://bit.ly/34b406p
Congrats on the kernel.
Best kernel in the west is out for poco
can it be used in PIE ?
add some screen overclock pls
and also, can i use it to one plus rom? thank you
Hutabarat said:
can it be used in PIE ?
Click to expand...
Click to collapse
Yea can be used ! Thanks for giving it a go
lucyr03 said:
Best kernel in the west is out for poco
Click to expand...
Click to collapse
Hehe hell yea!
_undead said:
MOD EDIT: quote removed
Click to expand...
Click to collapse
Thanks to yall for it, its appreciated and makes me want to make the best kernel I can Cool stuff coming!
cloudzzz00 said:
add some screen overclock pls
and also, can i use it to one plus rom? thank you
Click to expand...
Click to collapse
Havent been tested on Oxygen OS port yet.. Let me know how it goes! I'm not really into screen overclocking unless you want your screen to be damaged in a year... :cyclops:
Nice Work
Will Post it in Poco Official Channel:highfive:
Thanks for the effort! Although it's weird that almost every kernel devs are saying that CPU OC is not possible/necessary in recent SoCs anymore.
Will the source code be available? Can you create a script to easily run the build process for the kernel so that we can mess around with it?
Congratulations bro
Flashed the kernel, but the no gravity app doesn't detect the kernel.
Edit- My bad, it says coming soon in OP.
Legend is now working on poco. So lucky to have you bro.
quick question, if i have drunk optimus installed, how do i change it to this kernel?
and how to update it?
thanks!
Awesome bro... keep it up..
---------- Post added at 10:11 PM ---------- Previous post was at 10:10 PM ----------
Gysenok said:
quick question, if i have drunk optimus installed, how do i change it to this kernel?
and how to update it?
thanks!
Click to expand...
Click to collapse
flash stock boot or dirty flash you rom. then NGK.
This kernel only for android 10?
youngAvJ said:
Awesome bro... keep it up..
---------- Post added at 10:11 PM ---------- Previous post was at 10:10 PM ----------
flash stock boot or dirty flash you rom. then NGK.
Click to expand...
Click to collapse
how to dirty flash? and what is ngk? and how to update?

[ROM][10.0][OFFICIAL] ArrowOS 10.0 STABLE [VoLTE][WEEKLY][A6020][DISCONTINUED]

{
"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"
}
ArrowOS​
ABOUT
ArrowOS is an AOSP based open source project started with the aim of keeping things simple, clean and neat, both for the Android system and users. We understand the pain of unnecessary and sometimes rarely used mods/features being shipped with custom roms nowadays which may end up causing battery drains and/or memory leaks & crashes. This is being strictly avoided on our side keeping everything to a bare minimum, delivering stable performance all the time without destroying the AOSP interface. With users getting more used to tweaks and features, we added just the right features and customisations that will be actually USEFUL at the end of the day.
Website: https://arrowos.net
Telegram: Channel | TG Portal/Links
Github: https://github.com/ArrowOS
Code Review: review.arrowos.net
E-mail: arrowos.contact
PayPal: Click here (read more on our website)
Checkout more documentation at (maintainership/contributing): Click here
WHAT WORKS?
Almost everything
WHAT DOESN'T WORK?
OTA Updater app
You tell me
Be sure to include a log: check how to
Additional Features:
Dirac™ audio enhancer
DT2W support
SafetyNet passing (magisk)
VoLTE in both slots (one at a time)
WiFi display (Miracast)
Includes QuicksilveR kernel with features such as:
- power efficient workqueues
- upstreamed binder driver
- adreno idler
- optimized interactive governor
- optimized HMP scheduler
- unlocked 1.65GHz big cluster cpu freq in sd616 variants
- dynamic refresh rate and ULPS mode for display power savings
- westwood TCP congestion control
- tuned cfq i/o scheduler
- KSM and UKSM for better ram management
- USB fast charge
- KCAL colour control
- wakelock blocker
- mild CPU undervolt
- BT power management
- core_control hotplugging
- compiler optimizations for msm8916/a53
- etc.
SCREENSHOTS
https://imgur.com/a/zEfEmFn
DOWNLOADS
ROM: Click Here for ROM
There are 2 versions available for each build, GApps and vanilla version. GApps version includes minimal GApps - Google Play Services, Play Store and Setup Wizard built into the ROM, while vanilla version does not include GApps. For more information, click here.
GApps for vanilla version: BiTGApps | FlameGapps
Magisk (for root): https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445/
SOURCES
ROM Source: https://github.com/ArrowOS
Kernel source: https://github.com/ArrowOS-Devices/android_kernel_lenovo_msm8916/
Device sources: https://github.com/ArrowOS-Devices
Changelogs
Code:
[B]20191207:[/B]
- Initial stable build
[B]Next 2 months:[/B]
- Only ROM source changes
[B]20200229:[/B]
- unlocked 1.65GHz big cluster cpu freq in sd616
- improved responsiveness and reduced jank
- overall ui should be smoother now
- now big cluster cores turn on more often
- updated kernel, fixed some dmesg spam
- added ksm and uksm for better ram management
- enabled ro.config.lowram prop in 2gb variants
- attempted to fix high mic gain in volte (HD) calls
[B]20200323:[/B]
- fixed network breakage after exiting airplane mode
- fixed random reboots in sd 415 variants
- enabled hw keys customization and proximity check on wake
- switched to new pixel offline charging animation
- used postboot script from caf
- added well tested vsync offsets
- enabled gl backpressure
- switched to userspace lmkd
- rom should be way smoother now
[B]20200330:[/B]
- fully fixed wifi and bt mac address
- attempted to fix data corruption on unexpected shutdown
- fixed power off alarm (in built-in clock app only)
- enabled 1gb zram for better multitasking
- added ambient display
- android go can be disabled by editing build.prop now
- added cpusets for better process management
- updated sound effects, media, omx and time services blobs
- updated drm, qsee and graphics (adreno) blobs
- lot of code updates in the kernel
- misc ux improvements
[B]20200415:[/B]
- fixed encryption/decryption
- enabled ulps mode for all panels
- enabled dynamic refresh rate (48 to 60Hz) for more power savings
- unlocked 1.1GHz in sd415 little cluster
- gps is now more accurate and locks much faster
- upgraded camera blobs from stock 6.0
- much better hdr, autofocus, image/video quality and processing
- disabled android go fully (no need of flashing disabler)
- fixed random wifi speed drops
- improved in-call audio and mic volume
- updated audio/adsp blobs to 10.0
- added display post processing blobs with CABL
- misc performance and ux improvements
- Merged AOSP r33 tag
- Lawnchair is now the default launcher
- notch-city is back - Immersive, hide notch etc features for supported devices
- Add FaceUnlock feature
- Add Navigation bar toggle for HWkey devices
- Upstream changes and fixes
- Translations merged from community
FAQs
Q: VoLTE icon is missing! How can I enable it?
A: Settings -> Display -> Statusbar icons -> Enable VoLTE icon
Q: No dark mode in Phone and SMS apps!
A: Either install Google Dialer and Messaging from the Play Store, or enable "Override force-dark" in Developer settings
Q: Where is Dirac audio enhancer and how can I enable it?
A: Go to Settings -> Sound -> scroll to the bottom
Q: 2 Big cluster CPUs are always offline! Not able to turn them on!
A: When CPU load is low, these cores are turned off to save power. They will turn on automatically when CPU load increases. If you still want to turn on cpus disable core control in EX Kernel manager or a similar app.
Q: HELP! everything was fine until today but suddenly my screen stopped responding to touch and I had to reboot!
A: It turns out that k5/plus units with certain display panels have some issues with DT2W (double tap-to-wake) enabled. You can go ahead and disable it in display settings, the issue should disappear after that.
How to download this ROM?
I keep failing
Hi adityhya rom I use the way you say performance has increased really good rom now I wish you more success and new privatization plenty of roms waiting for you to meet us
I used this rom for a short time (I'm still used) It is very stable at the same time and curious item, the front speaker played ringing sound (too useful because my rear speaker is rusty)
Launchair bug does not open after reboot
And the battery consumption is very high, consumes a lot and it takes a long time to charge.
Other than that, great rom.
V smooth so far, it's the third day i m using this rom, no issue at all, the enhanced sound is v nice feature,
The battery consumption is a bit high, even in deep sleep
Thanks so much ,Good job ??
Dev kind request can you add rotate settings for rotating screen 270* because lower half of my screen doesn't respond so i have to use it in reverse
Please help
CPU core release does not work. After performing the procedure, the cores are momentarily unlocked but after a short time lock again.
Can i update it dirty ? Or it has to be clean flash ?
Is it possible to pass safetynet with this ROM and microg?
Thanks for the rom.
How can I turn up the volume on my headphone?
And the call recording option isn't working, you can't hear what the other person says
The phone freezes randomly from time to time and it goes to lock screen where I have to enter the password to unlock the phone
How can this be fixed
What causes it ?
Cast screen restarts the phone suddenly
Im using the last update 19-1-2020
It used to work with the previous updates
Thanks for still keeping alive this outdated device !!!!!
But i am missing Dolby Atmos that bassy speakers ....
I tried installing dolby from magisk module but the rom crashed. can anyone give me link for the dolby Atmos which can suppprt this rom...... Thanks for the rom
Poor call quality reported by person on other end of the line - A6020, Q, Arrow OS
Hi,
First - When I call or someone calls me, the voice of the person on the other end is loud and clear. But the person reports that nothing of what I say is audible. There is too much of noise, or a howling voice is heard from my side. The issue normally occurs when there's HD calling b/w me and any other user (And both have Volte active).
Second - Google voice typing, WhatsApp voice messages and voice recorder does not record anything from the microphone.
Third - Pls add a tweak for mapping hardware buttons in settings.
Fourth (And of very little need from my side)- Pixel Launcher crashes with full gesture navigation activated. Up to 2 button navigation, everything is fine except that from 2 button navigation, the Google app seems to stop working, often executing after a minute from being tapped on the icon and Google assistant doesn't activate.
Encryption worked for me, many thank!
First, thanks for extending the life of this model , second I have noticed that the battery consumption during use is high, I have activated the minimum, no application that works in the background, the only thing that installed extra was the magisk
JoZ3 said:
First, thanks for extending the life of this model , second I have noticed that the battery consumption during use is high, I have activated the minimum, no application that works in the background, the only thing that installed extra was the magisk
Click to expand...
Click to collapse
download the magisk module LSpeed, set it to balanced or power save
Hello Everyone !!
I need help I bricked my phone , I was just going back to my stock rom then I am facing two problems ..
( I am not blaming this thread developer , I appreciate him for his work as I also used his ROMs )
Now my problems are :
1)-When I flashed stock rom using Qfil tool ,its showing baseband version unknown and I don't have any backup file for this ... So can I restore my baseband version.(does again flashing stock rom will fix it?)
2)-this is my main issue that my device is boot only when connected to charging. If I disconnect charger it suddenly turn off and won't turn on without charger...
And my battery is at good condition so I don't think its a battery problem.
Thanks for reading !!!
I hope anyone wil help me ...!!!
Mohit Bhatt said:
Hello Everyone !!
I need help I bricked my phone , I was just going back to my stock rom then I am facing two problems ..
( I am not blaming this thread developer , I appreciate him for his work as I also used his ROMs )
Thanks for reading !!!
I hope anyone wil help me ...!!!
Click to expand...
Click to collapse
hi there
search google for this thread on xda
[Guide] How To Fix Unknown Baseband & Unknown IMEI Issue In MTK Devices

[KERNEL][AOSP-11/MIUI-STABLE] Quantic Kernel [19/07/21][4.19.197]

Welcome to Quantic a Kernel built specially for Redmi k30 PRO/ POCO F2 Pro codename: lmi
One of the most used kernel on Custom ROMS on Cepheus chosen by developers and one of the most battery friendly on Redmi k20 Pro community​
/* I'm not responsable for any damage on your device, for X or Y reason, also I'm not responsable if you loose your alarm and got fired and also the thermonuclear war, anything like that, installing this kernel you renounce to make me responsable of any unwanted behavior of your device */
/*Compatible ONLY with Android 11 (Excluding MIUI)*/
Hi everyone, I want to introduce you my new kernel named Quantic-Kernel, this is my personal build kernel with my prefered features. Hope everyone enjoy it and I'll be maintaining it so people can used it with their preferred AOSP ROM(See details below)
FEATURES
Fixed Camera not working on AOSP ROMs
Reduced logging events
Deleted Focaltech touch testing driver
Swapped scheduler from WALT to Pure PELT (No google implementation)
Enabled ZRAM up to 2GB with lz4 compressor
Upstreamed lz4 compressor
Removed log events on drm by XiaoMi
Android Binder tweaks
ion and iommu rewrittes by kerneltoast
Using new efficient minimum CPU Frequencies
Deactivated CAF CPU Boost following MIUI stock kernel parameters
Deactivated MSM_Performance
FIX CPU Capacity issues
Frame commit, touch request, display rendering and drm are processed using big cores to achieve performance at the lowest energy consumption
Cleaned up XiaoMi code from Android 10
WARNING: This kernel is a forward port of the old MiCode release from Xiaomi (from sm8250.0 tag to SMxx50.0 tag) with some missing stuff reversed by custom code, which can lead into unwanted and NOT reported bugs, be careful, this kernel is a release for people that wan't to test new and distinct development stuff and to have a little preview of what we could achieve with a newer source from XiaoMi, PLEASE KINDLY REVIEW BUGS SECTION.
INSTALLATION PROCEDURE
Make a TWRP backup of BOOT and DTBO partitions
Flash Quantic-Kernel_rX.zip
Reboot to system
Enjoy it
BUGS:
WiFi broken
Some people may experience that mic is not working on CALLS (only happens on dialer app)
NOT WORKING ON MIUI A11 ?
DOWNLOAD HERE: https://github.com/Official-Ayrton990/android_kernel_xiaomi_sm8250/releases/tag/r3.1
TELEGRAM CONTACT
https://t.me/aicplmi <-- Discussion group for support
Thanks List
To kdrag0n
To kerneltoast
To alk3p
To @TeamMex
To Dynescape
SCREENSHOTS ATTACHED BELOW
XDA:DevDB Information
Quantic Kernel, Kernel for the Redmi K30 Pro
Contributors
Ayrton990
Source Code: https://github.com/Official-Ayrton990/android_kernel_xiaomi_sm8250 (branch QK-eleven)
Kernel Special Features:
Version Information
Status: Alpha
Current Beta Version: r1
Beta Release Date: 2021-02-26
Created 2021-02-26
Last Updated 2021-07-19
You like my work? gift me a coffee by PayPal
Or you can simply hit the like (thanks) button to promote me on XDA Forums
Reserved 2
@ poster
Great Work, been awaiting a custom kernel to calm my itch abit, looking forward to seeing this progress, installing it on Octavi OS rn, ill check back with a review
efinityy said:
@ poster
Great Work, been awaiting a custom kernel to calm my itch abit, looking forward to seeing this progress, installing it on Octavi OS rn, ill check back with a review
Click to expand...
Click to collapse
Didn't boot on Octavi OS, Didnt have time to pull a kmesg, I'll get to it this evening
Great work, hope it will be completely finished soon. Thanks
OnT: works great on latest derpfest rom, except for wifi ofcourse. UX feels alot smoother and battery drain on standby is notably reduced.
efinityy said:
OnT: works great on latest derpfest rom, except for wifi ofcourse. UX feels alot smoother and battery drain on standby is notably reduced.
Click to expand...
Click to collapse
Thanks for feedback, mate
THREAD CLEANED
@dhaern @efinityy I read the messages and while I understand what you both were trying to say and where you guys are coming from, but please make sure that you're mindful of words you use to make sure they're not coming off as demanding, offensive, hateful, mocking.. well, you get the drift. I implore you both to re-read Rule 2 of the Forum Rules.
This is just a friendly reminder to keep it civil, on-topic and refrain from putting fuel to fire by responding to posts that you think don't belong in the thread. Just report if you feel something isn't right and let us take care of it for you, so that we can make your experience on the forum better.
Now let's all take a deep breath, and get back on topic, shall we? Thanks guys!
Regards,
shadowstep
Forum Moderator
realy want to try this kernel but will be wifi fixed soon?
Thanks fot your effort dev.
You are only one who keep developing kernel for poco f2 pro
I have request I don't if it could be done or not
Many users complain green tint and black crush display and I figured out it may be something to be edited in display refresh rate and total pixels (like CRC app for overclocking refresh rate for windows)
when aggressive refresh rate is done or excess of total pixels added the screen turns to defects like tints and color crush
So if you can decrease total pixels untill reached it is minimum limit it will solve these defects for poco f2 pro displays
magaedy said:
Thanks fot your effort dev.
You are only one who keep developing kernel for poco f2 pro
I have request I don't if it could be done or not
Many users complain green tint and black crush display and I figured out it may be something to be edited in display refresh rate and total pixels (like CRC app for overclocking refresh rate for windows)
when aggressive refresh rate is done or excess of total pixels added the screen turns to defects like tints and color crush
So if you can decrease total pixels untill reached it is minimum limit it will solve these defects for poco f2 pro displays
Click to expand...
Click to collapse
This sounds interesting, as this is an issue i have alot, especially with DC dim turned on, spotify for example has a green hue from top to bottom, fading the further down you go
EDIT; upon looking through the commits i can see some fiddling is done with the screen, hopes are high
efinityy said:
This sounds interesting, as this is an issue i have alot, especially with DC dim turned on, spotify for example has a green hue from top to bottom, fading the further down you go
EDIT; upon looking through the commits i can see some fiddling is done with the screen, hopes are high
Click to expand...
Click to collapse
Where this fiddling is done and by whom ?
magaedy said:
Where this fiddling is done and by whom ?
Click to expand...
Click to collapse
in the OPs source github link.
efinityy said:
in the OPs source github link.
Click to expand...
Click to collapse
guide us, master, and show directly path for our dream
Commits · Official-Ayrton990/android_kernel_xiaomi_sm8250
CAFest Kernel for Xiaomi-SM8250 based on LA.UM.9.12.r1-08000-SMxx50.0 Tag - Commits · Official-Ayrton990/android_kernel_xiaomi_sm8250
github.com
there you go
{
"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"
}
efinityy said:
Commits · Official-Ayrton990/android_kernel_xiaomi_sm8250
CAFest Kernel for Xiaomi-SM8250 based on LA.UM.9.12.r1-08000-SMxx50.0 Tag - Commits · Official-Ayrton990/android_kernel_xiaomi_sm8250
github.com
there you go
View attachment 5251009
Click to expand...
Click to collapse
and with uat help?
New Quantic Kernel Update is out with bugfixes:
Changelog
- Fixed broken WiFi
- Fixed mic on audio calls
- Upstreamed LTS to 4.19.188 (Learn why is important to merge LTS to Linux Kernel: https://source.android.com/devices/architecture/kernel/releases?hl=en#long-term-stable-kernels)
- Upstreamed CAF Tag to: LA.UM.9.12.r1-11000-SMxx50.0
- Latency improvements on UI
- f2fs substantial speed improvements
- Support for TTL data fixation
- Added FOD command fixation on dtbo. FOD now should be reliable than before.
- WALT Scheduler tweaked to reduce latency through tasks
- Affine touchscreen IRQs to the prime CPU cluster
- Optimize interrupt dispatcher by assigning pm_qos as low latency and to avoid cpu idle on interrupts requests.
- Set BBR as default algorithm for TCP Congestion
- Drop some non-eficient and unused defconfigs
- Fix some dynamic allocations
- Swtiched to SLMK to avoid apps closing from the background
- Fix battery drain present when locking device with LTE only enabled by fixing an unbounded workqueue
- Use LZ4 algorithm for ZRAM and set by default 2GB instead of 3GB
- Fix a Important race condition on DRM to avoid security exploits
- Disabled AUDIT as selinux is no more dependent of it.
- Using SD865+ GPU Max frequency
- Reduced logs to the minimum to reduce performance overhead
- Imrpoved UFS performance by optimizing current driver and scrapping out XiaoMi's jank code.
Download here: https://github.com/Official-Ayrton990/android_kernel_xiaomi_sm8250/releases/tag/r1
Donate here: paypal.me/ayrton990
Telegram group for support: t.me/aicp_lmi
Regards, Ayrton!
Doesn't work with hentai os. Doesn't boot.
wifi work now? sombody on shapeshift 2.4 ? work?

Categories

Resources