[CLOSED][KERNEL][MIDO][VOLTE++] Weeb kernel r0.16 [26/4] - Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re

Hi everyone. I have returned to the land of volte and oreo memes.
MOD EDIT: Outside site releases not allowed. Must be on XDA
Download:
MOD Edit: Removed for failure to post source
Changelog in post #2
Release 0.16 Inlined Summary
- Linux 3.18.106 Upstream
- 500Hz Kernel
- Spectrum Support
- LA.UM.6.6.r1-07200-89xx.0 CAF
- And More Changes Under The Hood
All of my builds is using GCC 8.0.1 that normally will upstreamed weeklies, Nightlies will released in Telegram
This kernel only has support for oreo for now, the tweaks and hacks will be backported to nougat ASAP
Notes (READ ME):
1. Spectrum and Oreo 8.x supported
2. No Nougat and MIUI Support for now
3. No CPUQuiet Support
4. For Treble Release, I don't recommend you to using Custom settings in Aroma if you want to use other kernel as you'll need to reflashing your Vendor image as I do some changes there for Custom Setting, I will change this behavior by writing it to ramdisk later
I have sacrificed countless of hours on my projects, such as chewy kernel and gib updater. If you truly appreciate my work please pledge your support here:
https://www.patreon.com/alamo18
Thank you @deletescape, @aldanopolis and tsimonq2 (Simon Quigley, https://wiki.ubuntu.com/tsimonq2 ) for your generous support
Thanks @raphielscape for the help and gcc stuff. Raphiel currently has access to my account and is actively maintaining this kernel.

r0.16 Inlined Codename Tanya-chan
700+ commits sice previous release :
- 3.18.106
- Regular CAF Upstream
- Optimized Kernel for Performance
- Fine tuned sched
- Miscellanous Compiler Optimizations
- Fallback to GCC 7.2 for now until GCC 9 Come
- More changes that too long to explained again
r15 Codename Kaede Akamatsu and tr00.1 Codename Rem
200+ commits since prev release:
- 3.18.103-rc1 (r15 Non-Treble)
- 3.18.102 (tr00.1 Treble)
- CAF 67
- Added Xiaomi changes
- Misc. Compiler Optimizations
- Added Zen Tune
- Added Treble Support (Treble Release)
- Added Adreno Idler
- More Changes that too long to documented here
r12.1:
400+ commits since prev release
It's leap-ahead release
r8.2:
300+ commits since prev release:
- 3.18.90
- Caf 53
- Correct voltage supplied to nominal clock speeds
- Added electron governor
- Support usb keyboard
- Port lmk from sammy
- Enable generic sram driver
- Enable zswap
- Enable rcu boost
- Slimbus OC
- Added intelli thermal v3.0
- Power efficiency improvements
- Wireguard support
- Crypto performance improvements
- Update frandom
- Nuke gentle fair sleepers sysfs
- Random backport from 4.2 (random as in /dev/urandom)
- Misc backports
- Misc improvements, enhancements, corrections and fixes
<Archives>
r8.1:
350+ commits since prev release:
- 3.18.89
- caf + camera_v2 caf
- Arch power
- Gentle fair sleepers sysfs
- Optimized memcmp
- 3x faster integer sqrt
- chacha20 crypto algo
- frandom
- Optimize for a53
- Optimize state notifier
- Use 300HZ
- Allow 320k ACC encoding
- Add snappy compression library
- Boost crypto performance
- Update csnappy
- Fingerprint boost cpufreq on unlock
- Governor + scheduler updates
- powersuspend
- advanced tcp
- default westwood
- TTL support
- Add simple_ondemand
- lz4 default zram compression
- Configurable home button
- Fix power calc in topology
- Undervolt 15mv globally
- Reduced cpu average load
- Add adrenoboost (NOT ADRENO IDLER BOI)
- Try to reduce power usage
- Forced usb fast charge sysfs toggle
- Charge current capped at 2400mv (initial 2000mv)
- Use power efficient workqueues
- Compile out cpu hogging contradictory temp polling
- Hacks, fixes (like mem leaks) and other misc optimizations && improvements
r8.0
100+ commits since prev release:
- 3.18.88
- KCAL support
- exFAT support
- added sound control
- added bfq i/o sched
- added maple i/o sched as default
- increase TCP window size
- tune max freq
- fallbacks
- disable crc checks (faster io)
- fsync sysfs
- forced fast charge usb kek
- thermal sysfs
- faster vmstat
- enable crc43 && sha256
- wakelockblocker sysfs (gotta set the defaults :3)
- cache tunables
- enable state notifier
- add sio, zen and fiops
- hacks and other misc improvements

Welcome back! Looking forward to a sick kernel. Flashing now.

Idiosyncratinom said:
Welcome back! Looking forward to a sick kernel. Flashing now.
Click to expand...
Click to collapse
Thanks ;_;
Please report volte status

does this kernel support Android 8.0 ore0?

boanhdaytien2 said:
does this kernel support Android 8.0 ore0?
Click to expand...
Click to collapse
Here's the funny part:
It only supports oreo

dude, knock it off -_0

boanhdaytien2 said:
dude, knock it off -_0
Click to expand...
Click to collapse
I'm being serious boi theres no nougat support
Only oreo and bholte++

Any kernel with over 9000 memes, I'm flashing it right away.

ala_mo said:
Hi everyone. I have returned to the land of volte and oreo memes.
If you have telegram, join https://t.me/chewykernel . Test builts released there.
Download:
https://transfer.sh/13H4Xj/chewy-oreo-mido-20171222-1331.zip
Changelog in post #2
r8.1 summary:
r8.1 gears highly towards powersavings and efficiency while not compromising performance
This kernel only has support for oreo for now, the tweaks and hacks will be backported to nougat asap
If you wanna donate to me to:
1. Fund my server
2. Buy me new ram to build roms in peace
3. Appreciate my hard work, time and effort
https://paypal.me/alamo18
Seriously why do i have to key in the uri for it to be a hyperlink
Click to expand...
Click to collapse
Thx n00b :silly:

Support Android OREO 8.1

support spectrum?

nogee said:
support spectrum?
Click to expand...
Click to collapse
Spectrum and oreo 8.x supported
No nougat or miui support
No idler or cpuquiet support

Great, eventually you made a thread for chewy dude.
Sent from my Redmi Note 4 using Tapatalk

Spectrum support?

Pro , kernel is good!

Finally. A new kernel :good::good:

zzWinD said:
Spectrum support?
Click to expand...
Click to collapse
Give it a shot.
Sent from my Redmi Note 4 using Tapatalk

No eta plz

For the questions about spectrum and compatibility, it's IN THE OP
I purposefully made it short to keep the important shi..t, i even put a READ ME next to the notes, so please stop spamming the place with questions that are answered in the OP. Kthxbye

Related

[KERNEL] [2.6.32.24] [HAVS] [BFS] [BFQ] KiNgxKernel #11/#11 "Con is an Artist"

[KERNEL] [2.6.32.24] [HAVS] [BFS] [BFQ] KiNgxKernel #11/#11 "Con is an Artist"
I DO NOT have an HTC Evo, but would LOVE to have one for development, and am saving for one. Bear with me until then I just wanted to say thank you to the few who have donated. I am almost there, any help is appreciated!!! I plan to have my HTC Evo fairly soon
DO NOT FORGET TO READ THE ENTIRE POST ON MY SITE, THERE IS IMPORTANT INFO
So, just as the name implies, this is an Evo kernel with SVS (Static Voltage Scaling) & HAVS (Hybrid Adaptive Voltage Scaling.) A huge thanks to estes for the havs code and raven for being the first to implement it into the nexus kernel. What this does is provide SUPERIOR BATTERY life with stability to boot. Just flash the .zip in your favorite recovery image. Enjoy and post any bugs with a logcat please.
This is compatible with any 2.2 Sense ROM
Code:
Also, a little info on HAVS and AVS:
The purpose of HAVS is to minimize the power used by the CPU by determining
and setting the optimal voltage. At the same time, the maximum voltage by
which HAVS can scale to is fixed to a specified voltage depending on the
CPU frequency in order to prevent scaling to a higher voltage than what is
normally used at a specified voltage. The optimal voltage is actively determined
for each frequency and temperature. HAVS actively adjusts the CPU voltage as the
CPU frequency and temperature changes.
Code:
While we are at it, some info on BFS:
What is BFS(Brain **** Scheduler):http://ck.kolivas.org/patches/bfs/sched-BFS.txt
FAQS about BFS:http://ck.kolivas.org/patches/bfs/bfs-faq.txt
nugzo said:
I have full adb. I didnt have it when i upgraded from previous king kernels. Had to do a full wipe. Reinstalled rom and installed kernel before rebooting. adb works perfect. full access.
Click to expand...
Click to collapse
ENJOY!
Credits: Cyanogen, Netarchy (epson fps panel fix), toastcfh, ffolkes - all for bits of their code (see changelog), Koush for his any kernel .zip, AssasinsLaminent (nova fix), and most importantly, HTC for their kernel source
Download: CFS Kernel #11 & BFS Kernel #11[/URL] Date: 10/28/10 9:40 PM PST
If you Like my work follow me on twitter:
All my code is on github:
I am not responsible for anything that happens to your device
ChEeRs
BFS Changelog
Kernel #11
- HAVS is now OUT. We are not currently using it
- Using SVS for voltage regulation at the moment
- Battery life should be great now
- I forgot about an awful lot of longs and ints that will overflow on 32 bit now with u64 deadlines. Fix them.
- Add some macro tidiness
- Make sched_clock sanity checking robust and standardised, using jiffy
difference as upper limit, and use nominal 1us when difference cannot be
trusted.
- In layman's terms these are all MAJOR fixes to his BFS scheduler
- These fixes will provide a performance and stability boost
- Higher clockspeeds are more stable!
- More I will add
Kernel #10
- Performance boost!
- More stable due to BFS overhaul
- Patched up BFS scheduler to BFS 330
- Patched in *NEW* BFS TEST patch that applies over 330 (from CKolivas himself)
* Major overhaul of queued changes
* Micooptimise multiplications/divisions to be shifts where suitable
* Drop the "skip_clock_update" concept as we update the niffies each time we
update the rq clocks, thus we want to update it more often
* Add a local last_task variable to each runqueue which keeps a copy of the
last non-idle task that ran on this CPU. Use this value to determine that a
task is still cache warm on this CPU even if it has run elsewhere in the
meantime. This improves throughput on relatively idle systems with >2 logical
CPUs
* Change SCHED_BATCH tasks to refill timeslices and reset deadline every time
they're descheduled as they've been flagged as latency insensitive, likely
fully CPU bound tasks. This should decrease the impact running batch tasks
has on other tasks
* Bypass rechecking deadline when we know that prev will run again in schedule
* Change all deadline accounting to use nanosecond values
* Rework try_preempt
* MUCH MUCH more check my patch code if you please
- Voltage tweaks for stability
- Compiled with toolchain optimizations
- Neon optimizations this time around
Kernel #9
- Finally released
- Board files fixed to allow lower undervolt
- Undervolted to 825Mhz for safe frequencies
- Higher clockspeeds WILL be more stable now
- Compiled CIFS module per request
- Regulator tweaks
- Removed some bloat
- Now using ondemand governor by default, feel free to change it
- Battery charging tweaks (like my inc kernel)
- You guys are going to like this one
Kernel #8
- Reverted BFS Scheduler to 318
- Reverted GPU changes causing stutters
- Other minor fixes
Kernel #7
- Updated BFS Scheduler all the way up to 330
- MANY fixes to HAVS code *thanks for some of them netarchy*
- Regulator being properly used now
- Usleep fixes for sleep mode *via nnode*
- Longer battery life as a result of these major changes
- Volume boost tweaks
- Torture test disabled
- Torture test support disabled
- More I will add
Kernel #6
- Minor code cleanup
- Now undervolted to 825Mv! *Longer batter life*
- Ksgl tweaks for performance
- Higher clock speeds should now be more stable
- Wifi module tweaks
- Other things I will add
Kernel #5
- Rpc changes/tweaks
- V4L2 code disabled now for media interface
- Vmalloced tweaks via @cyanogen *PERFORMANCE BOOST*
- Tweaks for stability
- More I will add
Kernel #4
- BIG update
- Code cleanup
- Undervolted even more (Battery life is LONG)
- Compiled with neon optimizations
- Conservative governor threshold tweaked (via netarchy)
- Conservative Governor sampling rate tweaked per user request
- GPU edits for performance
- 5MB of memory reserved for the Adreno GPU
- Kernel will boot faster as a result of "set read ahead" changes
- Various wifi module tweaks
- Packet Filtering set to turn off after 1s
- Bluetooth sleep bug fixed *via kmobs via kernelzilla*
- More I will add
Kernel #3
- Added BFQ I/O Scheduler
- Default scheduler is bfq
- Fixed atomic functions in bfq *thanks cyanogen and co*
- Cleaned up/removed unneeded code
- HAVS is still included and functioning
Kernel #2
- Updated BFS Scheduler all the way up to 318
- Manual patches made by me to successfully get it working 100%
- Minor bug fixes
- Things I'll add
Kernel #1
- Fresh sources
- FAST
- Based off of CFS Kernel #7
- Applied BFS 313 (Brain **** Scheduler by Con Kolivas)
- HAVS implemented
- Minor bug fixes
CFS Changelog
Kernel #11
- Kernel now patched up to 2.6.32.24
- Bug fix causing battery drain
- Reverted some UV levels causing instability
- CFS updates
* Implement different treatment for idle shares
* Fix CFS 'Over-scheduling' bug
* sched: Fix granularity of task_u/stime()
* sched, cputime: Introduce thread_group_times()
* sched: Fix select_idle_sibling()
* sched: cpuacct: Use bigger percpu counter batch values for stats counters
* sched: fix racy fair sched*trq
* sched: Cleanup select_task_rq_fair()
- EXT4 support now!
- EXT4 compiled as a module
- EXT4 filesystem bug fixes
* ext4: Fix potential quota deadlock
* ext4: Fix BUG_ON at fs/buffer.c:652 in no journal mode
* ext4: fix memory leaks in error path handling of ext4_ext_zeroout()
* ext4: Prevent creation of files larger than RLIMIT_FSIZE using fallocate
* ext4: Ensure zeroout blocks have no dirty metadata
* ext4: Consolidate inlign pages
- CIFS bug fixes for stability and security
* cifs: Fix a malicious redirect problem in the DNS lookup code
* cifs: don't attempt busy-file rename unless it's in same directory
* cifs: remove bogus first_time check in NTLMv2 session setup code
- Netfilter IPv6 bug fixes
- Memory leak fixed in firmware
- CPU Governor fixes
- Mutex bug fix
* mutex: Don't spin when the owner CPU is offline or other weird cases
- Using xen_clocksource_read now for scheduler (part of 2.6.32.18 patchset)
- vmscan: raise the bar to PAGEOUT_IO_SYNC stalls
- SLAB fixes
- drm: Only decouple the old_fb from the crtc is we call mode_set*
- arm fixes: arm: fix really nasty sigreturn bug
- RDS memory leak fixed
- mm: page allocator: update free page counters after pages are placed on the free list
- mm: page allocator: calculate a better estimate of NR_FREE_PAGES when memory is low and kswapd is awake
- So much more, check my code if you please
Kernel #10
- Patched up to Linux Kernel version 2.6.32.17 (all commits an android kernel would need, no extra bloat) *All credit goes to the linux project, check my github for authors please*
- CFS updates
* Implement different treatment for idle shares
* Fix CFS 'Over-scheduling' bug
- EXT4 support now!
- EXT4 compiled as a module
- EXT4 filesystem bug fixes
* ext4: Fix potential quota deadlock
* ext4: Fix BUG_ON at fs/buffer.c:652 in no journal mode
* ext4: fix memory leaks in error path handling of ext4_ext_zeroout()
* ext4: Prevent creation of files larger than RLIMIT_FSIZE using fallocate
* ext4: Ensure zeroout blocks have no dirty metadata
- CIFS bug fixes for stability and security
* cifs: Fix a malicious redirect problem in the DNS lookup code
* cifs: don't attempt busy-file rename unless it's in same directory
* cifs: remove bogus first_time check in NTLMv2 session setup code
- Netfilter IPv6 bug fixes
- Memory leak fixed in firmware
- CPU Governor fixes
- Mutex bug fix
- Using xen_clocksource_read now for scheduler (part of 2.6.32.18 patchset)
- Much more I will add
Kernel #9
- Board files fixed to allow lower undervolt
- Undervolted to 825Mhz for safe frequencies
- Higher clockspeeds WILL be more stable now
- Compiled CIFS module per request
- Regulator tweaks
- Removed some bloat
- Now using ondemand governor by default, feel free to change it
- Battery charging tweaks (like my inc kernel)
- MANY fixes to HAVS code *thanks for some of them netarchy*
- Regulator being properly used now
- Usleep fixes for sleep mode *via nnode*
- Longer battery life as a result of these major changes
- Volume boost tweaks
- Torture test disabled
- Torture test support disabled
- Ksgl tweaks for performance
- Higher clock speeds should now be more stable
- Wifi module tweaks
- More I will add
Kernel #8
- Added BFQ I/O Scheduler
- Default scheduler is bfq
- Fixed atomic functions in bfq *thanks cyanogen and co*
- Cleaned up/removed unneeded code
- HAVS is still included and functioning
- Code cleanup
- Undervolted even more (Battery life is LONG)
- Compiled with neon optimizations
- Conservative governor threshold tweaked (via netarchy)
- Conservative Governor sampling rate tweaked per user request
- GPU edits for performance
- 5MB of memory reserved for the Adreno GPU
- Kernel will boot faster as a result of "set read ahead" changes
- Various wifi module tweaks
- Packet Filtering set to turn off after 1s
- Bluetooth sleep bug fixed *via kmobs via kernelzilla*
- Rpc changes/tweaks
- V4L2 code disabled now for media interface
- Vmalloced tweaks via @cyanogen *PERFORMANCE BOOST*
- Tweaks for stability
- Now undervolted to 825Mv! *Longer batter life*
- Ksgl tweaks for performance
- Higher clock speeds should now be more stable
- Wifi module tweaks
- More I will add
Kernel #7
- Added new CPU Governor - 'Interactive Governor' thanks Mike Chan @google
- Still using Conservative Governor
- Now overclockable to speeds up to 1.26Ghz (Not all phones can run 1.26, if your phone locks up, OC lower)
- Bluetooth tweaks (double check that bluetooth works for me please)
- Even more undervolted
- Wireless 'n' support
- Switched to 'cfq' scheduler
- Open VPN Modules
- Other things I will add
Kernel #6
- Overclocking should be 100% functioning
- SetCPU works now
- Overclockable up to 1.113 (Will raise this number soon )
- Added CPU Governor "OnDemand"
- Added CPU Governor "UserSpace"
- Added CPU Governor "Performance"
- Added CPU Governor "Conservative"
- Default CPU governor changed to "Conservative"
Kernel #5
- Five point multitouch (thanks for the code ffolkes)
- ADB working for most.... (wierd)
- Speed tweaks
- CPU Governors updated
- CPU tables updated
- Code is live
Kernel #4
- Much faster
- Much smaller kernel, removed all bloat
- ADB should work now, let me know
- Overclocking should work, let me know
- Switched scheduler to deadline
- More audio tweaks (per request, I forget who asked)
- Included a slew of modules, should cover any module you'd need
- More I will add
Kernel #3
- OC capability should work via terminal
- Netfilter (Wifi tether) built into the kernel
- Added OnDemand CPU governor
- Added UserSpace CPU governor
- Added Conservative CPU governor
- Default governor is currently OnDemand
Kernel #2
- Speed boost
- Five point multi touch support (believe this was ffolkes, thank you)
- FPS unlocked now! (thanks toast)
- Audio Boost Tweaks (LOUD)
- Integrated code to use 3 point for sensors that do not support 5 (thank you ffolkes)
- Kernel should work on CM6 now (let me know)
- Kernel should now detect screen arch on boot (thanks cyanogen)
- Should support both epson and n
- OC Capable now - up to 1.26 Ghz!
- Voltages lowered significantly for even better battery life
- Changed default scheduler to cfq
- Cleaned up unneeded code
- More I will add
Kernel #1
- First kernel for the HTC Evo
- Based off of the HTC source code - 2.6.32.12
- Added drivers for Static Voltage Scaling (SVS)
- Added drivers for Hybrid Adaptive Voltage Scaling (HAVS)
- Using CFS
- No OC capabilities as of now
- Cameras should work fine
- WiFI should work fine
- Bluetooth should work fine
- All things you would expect to work should be working, let me know
Any chance we could see some of the Desire's audio values in this kernel?
neckface said:
Any chance we could see some of the Desire's audio values in this kernel?
Click to expand...
Click to collapse
if I can find the code for it, yes.
You evo users have no idea what HAVS is like
I can't wait to see the feedback
kingklick said:
You evo users have no idea what HAVS is like
Click to expand...
Click to collapse
Well, for me, I have no idea what it is at all lol
Mind explaining what it does plz? =P
kingklick said:
if I can find the code for it, yes.
You evo users have no idea what HAVS is like
I can't wait to see the feedback
Click to expand...
Click to collapse
If you don't find it before I get home, I'll pm the directory to you.
And yeah, I haven't a clue what that is. Lol
This is interesting... any more details?
- Sent via my EVO 2.2 (Fresh 3.1.0.1) from the back seat of your Momma's car.
What on Earth is HAVS?
after a little googling...
Hybrid Adaptive Voltage Scaling (HAVS)
david279 said:
after a little googling...
Hybrid Adaptive Voltage Scaling (HAVS)
Click to expand...
Click to collapse
MMhhh can't wait to try this one out
Is FPS unlocked on this?
Does this work for all 2.2 roms?
bigant262 said:
Is FPS unlocked on this?
Click to expand...
Click to collapse
as of now, most likely not. It can easily be implemented
jaysmi32 said:
Does this work for all 2.2 roms?
Click to expand...
Click to collapse
YUP! should have no issues
If one was to push this to their device on top of whatever custom kernel/rom running.. would things start to get messy?
whats the best recommendation ?
kingklick said:
as of now, most likely not. It can easily be implemented
YUP! should have no issues
Click to expand...
Click to collapse
Thanks for the quick reply. I'll wait until you put it in. Will look forward to updates on this.
ok guys kernel is live =)
let me know if you have any other questions
I'm done playing for the day but I'm def keeping an eye on this thread. I can't wait to see some real world test results. I have a feeling this thread is going to blow up by the time I get up in the morning.
While I would absolutely love HAVS, I also don't want to lose the modifications in netarchy's kernel with the FPS cap unlocked. Any way you could possibly integrate that into your kernel?
An update.zip would be grand, too.
I have netarchy kernel 4.0.3a with Fresh 3.1.0.1... can i simply flash this over it?
- Sent via my EVO 2.2 (Fresh 3.1.0.1) from the back seat of your Momma's car.
cosine83 said:
While I would absolutely love HAVS, I also don't want to lose the modifications in netarchy's kernel with the FPS cap unlocked. Any way you could possibly integrate that into your kernel?
An update.zip would be grand, too.
Click to expand...
Click to collapse
Yup, if he sends me his code
HondaCop said:
I have netarchy kernel 4.0.3a with Fresh 3.1.0.1... can i simply flash this over it?
- Sent via my EVO 2.2 (Fresh 3.1.0.1) from the back seat of your Momma's car.
Click to expand...
Click to collapse
yes, use fastboot to flash the kernel itself, then adb push the modules

[KERNEL][3.4.107][AOSP/CM][GCC-5.0]Spirit.Kernel r1

Spirit Kernel
This kernel is ONLY for AOSP based ROMs. This will NOT work on the stock Moto roms.
I will update this regularly as I have time and will add new features and fixes as well.
If you have any feature requests or ideas that haven't been seen before, don't hesitate to post it here!!​
PLEASE READ
How to report a bug?
Include the following in your bug report:
The ROM you are currently using + a link to the ROM's thread
A log, preferably dmesgs or kmsgs (use Google to find out how to pull these from your device)
The version of SpiritKernel you use (=rx, e.g.r3)
Bug reports not meeting these requirements will be ignored.
NO BUG REPORTS ON EXPERIMENTAL BUILDS!​
Features
This Hybrid kernel contains features from great kernel devs with like faux,franco and neobuddy,optimized for thea to make it work.Initially there are less features but I will add much more soon
[*]Based on the Latest CyanogenMod sources
[*]Patched 3.4.106 kernel
[*]Governors: ondemand/userspace/powersave/performance/interactive/IntelliMM/inteliidemand/intelliactive/smartmax/pegasusQ
[*]Hotplug: MPDecision/MSM Hotplug/Intelliplug(default)
[*]Intellithermal v2
[*]DT2W/S2W/S2S Wake controls
[*]CPU Underclocking 192Mhz
[*]GPU OC 533Mhz | UC 100Mhz
[*]Add MSM Hotplug Driver
[*]Asynchronous Fsync extracted from HTC
[*]Sweep2Sleep driver
[*]Dynamic management of timer slack
[*]Slimbus OC thanks to neeobuddy89 and poondog
[*]increase Torch power 20mA
[*]Dynamic management of dirty page writebacks
[*]IO: BFQv7r7/FIFO/SIO/FIOPS/ZEN/VR IO Schedulers
[*]Faux Sound Control 3.2
[*]KCAL v2 by @savoca
[*]USB forced fast charge
[*]Stereo call recording support by skvalex
[*]Powersuspend from Faux and yank555-lu *updated to 1.8 after r8*
[*]Kernel Compression: XZ
[*]psx2usb controller
[*]Use Android device as USB keyboard/mouse
[*]optimized ARM RWSEM algorithm.
[*]Ultra Kernel Samepage Merging {UKSM}
[*]FRandom
[*]Dynamic FSync Control
[*]Added Simple GPU Algorithm
[*]WQ_POWER_EFFICIENT for bettery battery life. Hello Battery!!
[*]ANY Kernel
[*]Kexec hardboot patch for Multirom support
[*]TCP: HTCP/HSTCP/HYBLA/VEGAS/SCALABLE/LP/VENO/YEAH/ILLINOIS/WESTWOOD
Optimizations
[*]Compiled Using UBER 5.0.1 SaberMod 4.8 Optimized toolchain for better performance | UBER 4.9 Toolchain after r4
[*]Added optimized ARM RWSEM algorithm.
[*]Disable add_random
[*]Pocketmode and deepsleep for dt2w/s2w
[*]Optimized VFP Module
[*]FIx integer-overflow in veno,vegas
[*]Add sysinterface for GENTLE_FAIR_SLEEPERS
[*]NOATIME and NODIRATIME as default
[*]New 99LMK script by @pizza_Dox
[*]Nvidia Patches to enhance power efficiency.
[*]Sched optimizations
[*]Increase battery level check interval
[*]writeback: increase bdi_min_ratio to 5
[*]block: cfq: merge tweaked tunables.
[*]Wait just 1 second for other CPU to halt
[*]net: combat buffer bloat
[*]PM: Introduce suspend state PM_SUSPEND_FREEZE
[*]Disable -fconserve-stack on ARM v2
[*]Enable power efficient workqueues by default
[*]do not use msm_run_queue_stats
[*]enable/disable cpu-boost via sysfs
[*]softirq: reduce latencies
[*]Built with Ofast flags
[*]Force SELinux permissive
[*]LowMemoryKiller management of non killable processes
[*]Headset High Performance Mode
[*]Allow CPU-supported unaligned accesses
[*]Enable UNALIGNED_ACCESS
[*]enable ARCH_POWER
[*]lower swappiness
[*]vfp: remove double entries
[*]Disable disable crc check for 30% extra performance in IO
[*]Optimized SLUB memory allocator
[*]Optimize Sfck Compression
[*]set sched_mc_power_savings to 2 (moar powarrrrrrr! saving)
[*]readahead to 256
[*]Built with Graphite flags
[*] Enabled Pipe Flag
TO-Do List
IntelliMM-intelliminmax
New Govs and I/Os
Intelliplug 4.0
GPU OC and UC
* Recommended app for tweaking the kernel: FauxControl,Kernel Auditor or TricksterMod
Recommended settings :
Governor: Intelliactive
I/O Scheduler: Fiops or row
TCP Congestion : Westwood
GPU Governor : Simple Ondemand Or Msm-adreno-tz
Hotplug : Intelliplug ( Keep screen off frequency to 787 MHz )
Powersuspend : Hybrid
Simple GPU Algorithm : On​
How DO I flash this?
Reboot to recovery.
Install zip from SD Card.
Choose the SpiritKernel-Rx-thea.zip
Insatll and Reboot.
Changelog:
Click Me
Downloads:
Basketbuild
Source:
Github(branch:spirit)
Wiki containing changelogs,settings and more
Antutu Score: http://forum.xda-developers.com/showpost.php?p=59736983&postcount=136
Credits (In no specific order)
@faux123
@Cl3Kener
 @slukk
 @luca020400
 @savoca
@Anas Karbila
@hurtsky
 @YoshiShaPow
@Flashhhh
@flar2
And more
Works on Official CM12.1! Thank u DC
No update?
just tried this kernel and seems great (much snappier than stock cm)... only issue is cam does not work
Great work OP, but same here, camera FC all the time, even with different cameras =(
Hey, very nice kernel with lots of options and features! However, like the others above, the camera says it is busy and closes (motorola app, but should be the same with other camera apps). The torch (flashlight/flash) also does not work, probably same problem as with the camera. Could it be because of your modification of torch power by 20ma?
Tested on cm12.1
Cheers
Camera doesn't work. Torch is completely removed. Are you actually going to update this?
Locking this one, until I make a fully working zip.
Links will remain and users who want to give a try can go ahead.
YOU"VE BEEN WARNED

[KERNEL][MIDO][8.1.0-11] Ethereal Kernel for Redmi Note 4 - Mar 27

{
"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"
}
Compatibility​
All Oreo, Pie , Android 10 and 11 Custom ROMS. Official MIUI based on Nougat is not supported. However, it may work on MIUI GSIs. This kernel is only for ROMs shipping with 3.18 kernels.
Features​
L̶e̶g̶e̶n̶d̶a̶r̶y̶ Pretty Good™ Battery life
Flash and Forget
Minimal in ZIP Size; Only Around 10 MB
Compiled Using Clang 13 with Cortex-A53 Optimizations
CPU Overclocked Up to 2.2 Ghz
GPU Overclocked Up to 725 Mhz (Not on by Default)
CPU Governors: Interactive, Powersave, Performance
I/O Scheduler: CFQ
TCP Congestion Algorithms: Westwood, Reno
The Absolute Best F2FS Support [Inline with Linux 3.18 + Backports from up to Mainline | Rapid GC | Default to nobarrier FSync Mode | Optimization of F2FS' "extension list" to be specific to Android's usecases]
Super Low Screen-wake Latency
KCAL Control
Vibration Strength Control
Ability to Choose Between Stock and Stronger Modified Vibration Patterns (See installation instructions for more info)
Kill Haptics while Camera is in Use
ElementalX Sound Control
Faster Fingerprint Verification
CPU Input Boost (User Configurable)
TTL Target / IP Mangle Support
Optimized Audio Codec for Better Audio Output Through Earphones and Speakers [ Louder | Cleaner | Less Hissy ]
USB Fast Charge Up To 900mA
Disabled a lot of Debugging Bloat for Less User Overhead
NEON Accelerated ChaCha20 Crypto Algorithm for Faster Random Data Generation
SafetyNet Flag Bypass
ZRAM Backports and Additional Swap Improvements
Supports Franco Kernel Manager Performance Profiles
Supports Spectrum Profiles
Installation Instructions​
If you're updating from previous versions of Ethereal kernel or flashing a custom kernel for the first time
❯ Flash kernel ZIP -> Reboot
If you've flashed a different custom kernel before but would like to migrate to Ethereal
❯ Flash boot.img of your ROM (located in root of ROM ZIP) -> Flash kernel ZIP -> Magisk (optional) -> Reboot
The kernel ships with stock vibration patterns by default. If you'd like to switch to the modified one, simply add the keyword modvib to the file name before flashing (e.g. EtherealXO-30.0~Deity-GCC930-Mido-20200825-modvib.zip). Once this is done the ZIP MUST be flashed from recovery instead of through other means such as FKM's flasher.
Download
Download the Latest Version of the Kernel from Here
Telegram Release Channel
Ethereal Kernel セヅ易​
If you like the kernel then consider donating on my PayPal Here
XDA:DevDB Information
Ethereal Kernel, Kernel for the Xiaomi Redmi Note 4
Contributors
SJD Ayy, englezos, Everyone
Source Code: https://github.com/obscenelyvague/ethereal_mido/
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: FinalAF
Stable Release Date: 2018-11-19
Created 2018-11-19
Last Updated 2020-11-17
Changelogs:
07-09-2020
Merged ACK
Reevaluated Selinux State Related Changes
Miscellaneous FiX0rZ
25-08-2020
Selectively Merged ACK
F2FS Fixups from 4.14
Unified Stock & Modified Vibration Pattern Variants in One ZIP
Kill Haptics while Camera is in Use. Bzzt-Bzzt? NO.
Switched to Software Deboucing for Power Key
Updated WiFi Regulatory Database
Back to Reporting True Selinux State to System and Spoofing it Only for GMS
25-07-2020
Merged kernel_common
Latest F2FS Fixups from 4.14
Optimized 4 More Instances of Frequent Memory Allocations in the Kernel
Improved Touchscreen Suspend/Resume Routines
Updated WLAN Stack from a Diverging CAF Tag
02-06-2020
Merged Common Kernel Changes
F2FS Fixups from 4.14
Sped-up Magisk Preservation Process
Updated Wireguard
Reverted LOS' MAC Address Override
May or May Not Have Slightly Improved Battery Life
24-04-2020
Selectively Merged Android Common Kernel Changes
F2FS Fixups from 4.14
Updated GCC to Version 9.3.0
Brought Back Wireguard Support
Increased Swap Space to 2 GB
Ditched Module Blocker. You do you, buddy!
Started Honoring Thermal Engine's Restrictions Again
09-03-2020
Backported Scheduler Changes Agennnnnnn! Yeah, I think I'm okay with where it's at now ツ
Overhauled Flasher Interface
Optimize F2FS Extension List to be Specific to Android Usecases, For Storage Longevity
Default to nobarrier FSync Mode on F2FS
Went Back to CFQ I/O Scheduler Again; But Now with I/O Group Weights Set Up
Made Boosting Kinda Aggressive Doe
Improved LMK to Kill Less; Alongside Other Memory Management Improvements
04-02-2020
Selectively Merged Android Common Kernel Changes
Selectively Backported F2FS Changes from k4.9
Finally Went Back to Enforcing Selinux Again
Re-enabled Accurate Task Stats Accounting
Enabled Support for Alternative Bluetooth MACs and PHYs
EVeN mOAR SchED fIxuPS
Makes Usage of Various (((Optimizer))) Magisk Modules Completely Useless and Redundant
13-01-2020
Merged kernel_common Changes
Backported Select F2FS Patches from Mainline
Replaced Samsung's SdFat Driver with arter97's Newer Modified Version of It
Nuked Custom CPU Governors and Unused I/O Schedulers
Experimental: Blocked Thermal Engine from Capping off CPU Frequency
Made Miscellaneous Performance Improvements from Upstream & CAF
07-12-2019
Merged Common Kernel Changes
Backported F2FS Changes from Mainline (Read More)
Ported over kerneltoast's Stable Rewritten ION & IOMMU Drivers (Credits: Zile995)
Imported Newest WLAN Stack from CAF (Enables Some Features Introduced with the WPA3 Standard)
Moar Sched Fixups
Inlined Mutex with k4.4
08-11-2019
Completely Overhauled Scheduler from the Ground Up
Merged Android Common Kernel Changes
Fixed ADB Over USB
Backported Latest F2FS Patches from 4.9 & Mainline
Optimized and Sped-up Entropy Pool
Experimental: Brought Over Select Additions from Pixel 4 Kernels
15-10-2019
Obligatory kernel_common Merge
Backported LowMemoryKiller from 4.9 Alongside Motorola's Optimizations for it
Fixed 1 More Memleak
Reverted Recent Rapid GC Changes; Not *really* Needed to Keep Core Functionality
Brought Over Select Fixes From Pie and Android 10 CAF Tags
19-09-2019
Merged in Latest Google Common Kernel Changes
Merged in Changes from the Latest Appropriate CAF Tag for the SoC
Tuned Vibration Settings Once Again but Slightly Differently this Time Around
Cleaned-up Ramdisk to be Less Cluttered
Fixed 2 Memleaks
Various Minor Improvements in the NET Subsystem and ProcFS
+ Some Other Stuff Not Really Worth Writing Out
23-08-2019
Compiled Using GCC 9.2.0
Merged in Latest Google Common Kernel Changes
Sped-up More Cache Allocations (15 New Instances)
Merged in Latest F2FS Changes (+Sped-up Cache Allocations | Updated Rapid GC)
Back to Stock Vibration Settings and Patterns
Brought Back Anxiety I/O Sched.
Refactored Input Boosting [Tunables for it May No Longer be Visible on Some Kernel Managers]
+ A Whole Lot More I Wont Go Through on This One
12-07-2019
Compiled using Bare-Metal GCC 9.1.1 (Wasn't the root cause of any problem in the past)
Merged in Changes from Google Common Kernel
Merged in Changes from Appropriate CAF Tags
Don't Let the Kernel Dynamically Allocate Memory for Various Kernel Subsystems; Allocate Fixed Amounts Instead. This Improves Performance to a Certain Extent
Don't Let GCAM and the Settings App Hog Memory in the Background
Re-enabled Devfreq Memory Latency Governors
Experimental: Backported eMMC Patches from Mainline Linux
Experimental: Put SDcards in a 'Hibernated' State When Not in Use to Save Power
Improved Idle Drain (*Relaxed* Workqueues, Wakelocks and Alarmtimers Sent in by Apps)
Ditched BFQ I/O Scheduler
Tuned Boosting
Fixed Orangefox Recovery Not Being Able to Mount cust Partition at the End of the Flashing Procedure
[Insert Obligatory Line about Other Miscellaneous Under-the-Hood Changes Here]
20-06-2019
Fixed Random Screen Freezing for Certain People
19-06-2019
Merged in Latest Google Common Kernel Changes
Merged in Latest F2FS Changes
Updated Prima WLAN Driver
Optimized Android Binder and Shared Memory Allocator
Micro-Optimized Process Information Pseudo-Filesytem
Backported Changes for Various Kernel Libraries
Updated LZ4 Compression Algorithm
Temporarily Removed Anxiety I/O Scheduler
Updated AK3
07-06-2019
Switched back to Clang 'cuz GCC 9.1.1 no stable 〴⋋_⋌〵
Fixed Random Sudden Display Anomalies
Removed Electron CPU Governor
Updated AK3
06-06-2019
Compiled Using Bare-Metal GCC 9.1.1
AK3 Fam Squad
Merged the Latest CAF Tag
Improved GPU Power Efficiency
Back to Using CFQ as the Default I/O Scheduler
Removed zstd from the Supported List of Compression Algorithms
Turned on File Synchronization
Additional Camera Fixups from CAF
Miscellaneous Under-the-Hood Changes
26-05-2019
Fixed Splashloop
Stopped Verbose Logging when Booting
TCP/Net Improvements
Minor Memory Management Improvements
Miscellaneous Under-the-Hood Changes
23-05-2019
Actually Upstreamed to Linux 3.18.140
Back to Using Intelliactive as the Default CPU Governor
Enabled Dynamic FPS on All Display Panels
Updated Anxiety I/O Sched.
Reduced Dirty Writeback Frequency as per Google's Recommendation
Fixed Kernel Panics, Hopefully
17-05-2019
U̶p̶s̶t̶r̶e̶a̶m̶e̶d̶ ̶t̶o̶ ̶L̶i̶n̶u̶x̶ ̶3̶.̶1̶8̶.̶1̶4̶0̶ (Edit: Linux Upstream Changes were accidentally left out on this release)
Merged in Latest F2FS Changes
Tuned Vibration Motor Again [Actually Differentiable this Time Around]
Made Boosting Less Aggressive
Removed Devfreq Boost Driver
Removed Maple I/O Scheduler
Added Back LZ4 for ZRAM and Use it as the Default Compression Algorithm [zstd Still Available as an Option]
Bumped Up Swappiness to 100 and Increase ZRAM DiskSize to a Gig Again
Fixed USB OTG
Disabled Support for Ancient Filesystem which Hopefully Nobody still Uses
28-04-2019
Upstreamed to Linux 3.18.139
"""Fix""" the Wake-up Delay on Pie ROMs; Omit the Previous Hack
Reworked the GPU Freq Table; Max Freq is Now 725 Mhz Instead of 700
Added Compat VDSO for Faster Syscalls on 32-bit Applications
Updated sdFAT Driver to the Latest Version
Changed Display Dimming Method
Nuked IPA_WS Wakelock
Nuked WireGuard
Minor Adjustments to Both Of the Fingerprint Drivers
Experimental: Updated Anxiety; Set it as Default I/O Scheduler
Experimental: Backported Memory Manangement and Multi-Queue Block IO Changes From 4.x Kernels
Experimental: Backported ZRAM From Linux 4.9
Experimental: Use zstd Compression Algorithm for ZRAM
Experimental: Tuned Vibration Motor
05-04-2019
Upstreamed to Linux 3.18.138
Merged CAF Tag "LA.UM.6.6.r1-11000-89xx.0"
Change Up Default CPU Settings
Restore ZRAM Stuff to How they were Before
Prevent Init from Changing I/O Scheduler on Boot (Some ROMs set it to BFQ; We Don't Want that)
Removed Deadline and NOOP I/O Scheds. (Gone for Good this Time)
Boost Frequencies on Camera Auto-Focus
Fixes and Whatnot
28-03-2019
Upstreamed to Linux 3.18.137
Fall back to ALMK, Disabled SLMK (Turns out this isn't as stable as I had initially thought)
Replaced State Notifier with a Simple Display State Tracker
Allocate 1 gig of ZRAM with 2x the Compression Streams; Bumped Up Swappiness to 100
Don't Hotplug Half the Cores When Battery Goes Below 15%
Updated Anxiety I/O Sched.
Couple of Upstreams from Google Common Tree
Removed Unused Devfreq Governors
Removed LiveDisplay Driver
Enabled OOM Kill Allocating Task
Fixed(?) Issues Introduced with Release 10
16-03-2019
Compiled Using DragonTC/Clang 9.0.0 with Polyhedral Optimizations
Upstreamed to Linux 3.18.136
Merged in Latest F2FS Changes
Dropped Non-Treble Support // Updated the Flasher as well
Stop Shipping Modified Thermal Config (Temps Skyrocket Because of It)
Removed Darkness CPU Governor
Removed Boeffla Wakelock Blocker (Does Nothing Significant. If Anything, Having it Only Makes Idle Drain Worse)
Added Devfreq Boost Driver
Tune Default Boost Parameters
Bump Up Swappiness to 20
Completely Disable I/O Stats Accounting
Experimental: Replaced Android LMK with Simple LMK
NEON Accelerated ChaCha20 Crypto Algorithm for Random Data Generation
Switch to 300 Hz Kernel Timer Tick Rate
We /LightAF/ Now, ZIP Size Down to Only 10 MiB
Updated Spectrum and FKM Profiles
A lot More Under-the-hood Changes
20-02-2019
Compiled using ARM's Bare-Metal Toolchain
Upstreamed to Linux 3.18.135
Removed Dyn Fsync; Wasn't Working as Intended
Started relying on Input Boost Again
Boost DDR Bus to MaxFreq on Screen Wake
Kanged Thermal Config; Will be Placed upon Installation
07-02-2019
Removed Undervolts
Minor Fixes
06-02-2019
Upstreamed to Linux 3.18.134
Uv'd by 100 mV Instead Just to be Safe from Any Panics
Brought back Deadline and NOOP I/O Scheds
Disabled SECCOMP
Added in Kernel-sided Stuff Needed to Ensure Ultra and HPH:X Compatibility
Made sure proper Bootparams get Applied on All ROMs
A lot of Under-the-hood Changes I Won't Go Through
26-01-2019
Upstreamed to Linux 3.18.133
Up-to-Date with Latest CAF/Prima Tag
Back to Old CPU Settings with Intelliactive
Undervolt the CPU by 150mV
Merged in Latest F2FS Changes Along with arter97's GC Patches
Introduce Dynamic FSync 2.1
Imported Latest DTS Driver from X00QD
Removed Generic FP Boost Driver; Emulating It's Boost Behavior Straight from Our Own FP Drivers Now
Added USB HID Gadget Support
Removed Unused TCP Algos and I/O Scheds
Enable ULPS, Partial Update and High Speed DSI Mode for All Display Panels
Fixed an Issue Where Spectrum Profiles weren't Getting Applied on Selinux Enforcing ROMs
Few Upstreams from Google Common Tree and Other Miscellaneous Under-the-Hood Changes
04-01-2019
Haxx: Fix Wakeup Delay on Pie ROMs (@lilblinx)
Removed ElementalX and Conservative. Added Electron (Set as Default Now)
Start Relying on Input Boost to Avoid Micro-Stutters
Enabled TTL Target / IP Mangle Support
Omit Auditing from Selinux and Other Places
Omit A LOT more Debugging Stuff End-Users Won't Ever Utilize
Omit Some GPU Thermal Limits
Added Live Printk Toggle Interface
Anxiety Upstreams
Enable Support for TCP FastOpen on All Listeners
Tweak the Slimbus Just a Lil'
Refresh the Spectrum and FKM Profiles According to New Changes
22-12-2018
Upstreamed to Linux 3.18.131
Multiple CAF Upstreams
Multiple Prima Upstreams
Android Binder Updates
Pull Missing USB, MMC Changes
Remove unneeded SMP2P Test Support
13-12-2018
Compiled using UberTC 8
Upstreamed to Linux 3.18.129
Back to Stock I/O Settings
Fixed App Opening Delays for Certain People (((Hopefully)))
Added State Notifier
Minor Changes in Goodix FP Driver Again
Slight Spectrum Profile Tune-Ups
Bring Back KCAL Color Inversion
Some Under-the-hood Improvements that aren't worth mentioning
03-12-2018
We're Now Compiling with Linaro GCC 7.2 with Cortex-A53 & Graphite Optimization Flags
Upstreamed to Linux 3.18.128
Reworked Spectrum and FKM Profiles
Now Using SultanXDA's Simplified CPU Input Boost Instead of Traditional CPU Boost
Replaced Barry_Allen with ElementalX Governor
Tuned-up Westwood TCP Algorithm for Slightly Better Latency (Ping)
Minor Changes in FP Sensor and Touchscreen Drivers
Reduced GPU Idle and Deepnap Timeout; Now in-sync with MDSS
Some MDSS & KGSL Additions for Power Efficiency
23-11-2018
Upstreamed to Linux 3.18.126
Removed Logging Lines from Both Goodix and FPC Fingerprint Drivers. Unlocking and Fingerprint Operations should be a Few Milliseconds Faster Now
Removed Arch Power and Gentle Fair Sleepers SySInterface and Disable Fair Sleepers from Source
Temporarily Disable Frandom
Do Final Bits of Audio Codec Tuning
Overclock Crypto Engine Driver from 100Mhz to 160Mhz
Disable some Miscellaneous Debugging Stuff
Some GPU Tune-Ups and Improvements for Power Efficiency
18-11-2018
Initial Release
Kindly include your kernel source code
long time support to mido?
Highly interested. I think I may have a kernel fetish.
Loved the kernel, the features, observed significant improvement in sound.
Waiting another overclock kernel and its come,,try right now,,thanks dev
i wish it also has a version for miui 10 nougat
Nikhil said:
Loved the kernel, the features, observed significant improvement in sound.
Click to expand...
Click to collapse
Come back pixel mido please. We miss you
This kernel have alot future funcition,but scrolling in apps get little lags,not smooth
Very smoooooooooooth ....!!! :good:
Niceee!!!
Woww
Using with miui 10 8.1 sgsi. Good Performance:Battery backup.
---------- Post added at 12:15 PM ---------- Previous post was at 12:14 PM ----------
mad jebon said:
Niceee!!!
Click to expand...
Click to collapse
Which rom? Balanced or Performance profile?
So far so good. Thank you Dev.
xcongc said:
Using with miui 10 8.1 sgsi. Good Performance:Battery backup.
---------- Post added at 12:15 PM ---------- Previous post was at 12:14 PM ----------
Which rom? Balanced or Performance profile?
Click to expand...
Click to collapse
Rom Aosp extended 8.1,i dont use profile,just tweaks using ex kernal manager
Ohh a new kernel, have to try this haha!
Doesn't 900mA sounds too low for fast charge or is it just mistyped.
Edesh Kumar said:
Doesn't 900mA sounds too low for fast charge or is it just mistyped.
Click to expand...
Click to collapse
Normal USB charging current is 500mA. This is increased to 900mA.
This is not related to Quick Charge.
ferow2k said:
Normal USB charging current is 500mA. This is increased to 900mA.
This is not related to Quick Charge.
Click to expand...
Click to collapse
No, I mean when I am plugging my charger I can't see current above 900mA but in other roms it goes upto 1750mA.

[O/P][KERNEL]Revvz Kernel[3.18/4.9]

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now probably void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Works only on AOSP OREO/PIE roms.Do not try to install on MIUI.
This kernel is derived from @rama982's kernel sources,with a lot of modifications.Inspired in part by @RevanthTolety because he released the first kernel for the device,so I got motivated lol
Compiled using Clang 9.0.0
It is recommended to use the SmartPack Kernel Manager to use and control this kernel.
WARNING:TAKE A BACKUP OF YOUR BOOT.IMG AND THEN FLASH THIS KERNEL.I WILL NOT BE RESPONSIBLE IF YOU BRICK YOUR DEVICE.
Latest Updates will be announced here.
(+) 4.9 Kernel v3 Released!
What's new:
-New compiler: Clang 9.0.0
-System-As-Root support (Alpha release,check NOTES)
-Backported patches from mainline 5.4 kernel sources
-Improved sound output
-Some more AUDIT fixes
-Forced systemwide powersaving workqueues
-Fixed various issues
Check the CHANGELOG and NOTES below for more details
Click to expand...
Click to collapse
FEATURES:
3.18 kernel:
*CPU Governors:Lionfish,Chill,Relaxed,Electron,ZZMoove
*Hotplugs:Thunderplug,Lazyplug
*Power saving workqueues
*GPU Governors:Simple_ondemand
*Simple GPU Algorithm
*Adreno Idler
*I/O schedulers:sio,zen,maple
*Dynamic fsync 2.0
*Screen:KCAL v2,Backlight dimmer
*TCP Congestion Algorithm:westwood,reno,cubic,cdg
*Custom crypto algorithms:Chacha20*,ZSTD algorithms
*SCH_CAKE net scheduler
*Optimized ZRAM
*Various optimizations and fixes
4.9 kernel:
*CPU Governors:Schedutil,Blu_Schedutil,Pwrutilx,Pixutil
*Undervolt support (read NOTES)
*Thermal issues mitigation (read NOTES)
*Power saving workqueues
*Flar2 Sound control
*GPU Governors:Simple_ondemand
*I/O schedulers:sio,zen,fiops,anxiety,bfq
*Dynamic fsync 2.0
*Screen:KCAL,Backlight dimmer
*TCP Congestion Algorithm:westwood,reno,cubic,cdg,agile,scalable,tsunami
*Custom crypto algorithms:Chacha20*,ZSTD algorithms
*SCH_CAKE net scheduler
*Optimized ZRAM
*ZSWAP added with Z3FOLD mechanism
*Printk logging switch added
*Various optimizations and fixes
Click to expand...
Click to collapse
INSTALLATION:
Make sure you have a proper recovery. TWRP 3.2.x is recommended
*Backup your boot.img.
*Press INSTALL,locate and flash the zip.
*Reboot.
NOTE:If you want to reinstall the kernel,restore stock boot image and flash
Click to expand...
Click to collapse
DOWNLOADS:
Mediafire:
3.18 kernel (v6):
REVVZ Kernel 3.18 v6
4.9 kernel (v3):
[Without System-As-Root(SAR) for Android 9(Pie) roms]:
REVVZ Kernel 4.9 v3 NO_SAR
[With System-As-Root(SAR) for Android 10(Q) roms ]:
REVVZ Kernel 4.9 v3 SAR
Click to expand...
Click to collapse
PROFILES:
Will be provided in the next update.
@ananxd has provided an excellent KCAL config at the moment which is posted as a screenshot.Feel free to test it!
Click to expand...
Click to collapse
CREDITS:
@rama982,
@RevanthTolety,
The Android Project for the Clang toolchain,
and all other kernel devs whom I cherry-picked sources from.
Special thanks to my testers @ananxd and @NaYaB786 for the detailed information,help and extensive testing,
especially on the thermal issues.Their input was invaluable.
Please PM me for proper credits if not given.Thanks.
Click to expand...
Click to collapse
CHANGELOG:
3.18 kernel
v6:
#Fully renewed and rebased 3.18 sources (thanks to @RevanthTolety)
#Major update.
-- Imported ZSTD algorithm
-- Imported ChaCha20 crypto algorithm
-- Imported net scheduler SCH_CAKE
-- Improved TCP CDG algorithm
-- Improved RANDOM to use ChaCha20
-- Improved notifier hooks
-- Defaulted to original MSM Thermal
-- Default ZRAM compression alg. put as ZSTD
-- Disabled MSM_PERFORMANCE
-- Disabled AUDITSYSCALL
-- cfq-iosched improvements
-- TCP fastopen changes
-- Restored POPP
-- Removed the following (Requires investigation/testing):
___ MSM Limiter
___ Intellithermal v3
___ All sound mods
___ Auto-drop caches on suspend (too much overhead)
___ Frandom
___ ZSWAP,ZPOOL,Z3FOLD
___ AutoSMP
___ Adrenoboost
___ UKSM (Battery life affected?)
v5:
-- Added governors:Electron,Darkness,ZZMovve
-- Added hotplug:AutoSMP and tuned for device
-- Adler Idler tuned for device
-- KGSL:Removed POPP (Legacy power saving mechanism for msm-adreno-tz GPU governor)
-- Updated Intellithermal to v3 with more controls
-- Sched and ION optimizations
-- Eliminate fuelgauge overhead
-- Added UKSM v0.1.2.3 and fixed/optimized for device
-- Fixed MDSS notifier hooks
-- IOMMU changes/optimizations
-- Disabled 'drop cache on suspend feature' by default.Check the Notes below for more details.
-- Very small fixes
v4:
#Some more changes and optimizations.Not many major features in this release.
-- Auto drop cache on suspend (Will ensure more ram free on screen on)
-- Sync on suspend made optional
-- Backlight Dimmer feature (Ensures a much smoother and gradual transition in brightness.For people who fiddle with brightness all the time,like me :laugh: .Instructions to control available in notes below.)
-- FRandom support (Much faster and optimized than urandom or other entropy generators)
-- Reduced latencies for the fair scheduler
-- Crypto optimizations for sha and aes algorithms
-- MDSS changes
-- Zram optimizations
-- Removed WLAN_FEATURE_HOLD_RX_WAKELOCK wakelock from prima
-- Disabled debugging at many levels (More free memory available)
-- Removed SafetyNet and dm-verity flags (For example,you can use your banking apps with root and xposed without magisk hide even,if you prefer not to have magisk)
-- Extended charge time (Reduces charging cycles so much more longer battery health)
-- More very small fixes
v3:
#Sound Tweaks!This update focuses on sound output quality.
-- Qdsp changes
-- Laster K's drivers
-- Optimized audio codecs
-- Slimbus OC
-- Increased current output.
-- DTS Eagle initial version
v2:
#This version focuses on optimization of many routines/functions and also adds an
#extra layer of stability.
-- TCP:Added CDG congestion algorithm
-- GPU:Add conservative,conservative2 governors
-- Improve headphone detection speed
-- Optimized arm64 functions added
-- DIsabled some more logging
-- Optimized readahead divide/multiply by power of 2 using L/R shift
-- MDSS changes/optimizations
-- Faster and smoother boot
-- oom_kill optimizations
-- lowmemorykiller optimizations
-- genirq fixes
-- Added Z3FOLD
-- Adreno:Increased data limit to 700
-- Adrenoboost
v1:
#Initial release,so the changelog is in the features list.
-- Initial release.
4.9 kernel
v3:
#This release mainly has backported fixes and mitigations
#from mainline Linux 5.2-5.4
-- Turned on TTWU_QUEUE feature (beneficial to WALT)
-- Optimized the regulator for better performance
-- Forced systemwide powersaving workqueues only (commit)
-- Balanced sound output with increased quality (commit)
-- Lower OOM dump burst
-- Improved (incorrect) custom thermal configuration
-- Various patches/fixes from Linux 5.4
__ Improved memory accounting for sl[aou]b
__ Fixed high throttling with low CPU usage
__ Other small fixes (see 6802cde to top)
-- Removed GPU mempool to save memory
-- Removed HQSYSFS dependency
-- Removed some more AUDIT instances and disabled it
-- Various small fixes to EAS
v2:
#Major release.Includes fixes and new changes.
-- Upstreamed to 4.9.190
-- Arm64 improvements
-- Disabled much more debug options
-- Ainur DTS enabled
-- More ZRAM and ZSMALLOC optimizations
-- Added CPU_ASSIST and STUNE_ASSIST for better app task boosting
-- Added power saving features to display panel
___ ULPS
___ Tear checking
___ Dynamic Bitclock
-- Updated zstd to 1.40
-- Set some sysctl values as default for improved memory situation
-- Merged some optimizations from POCO F1
-- Migration Hysterisis Filter feature from Hisilicon EAS
-- Backported various features and patches from mainline linux 4.12 to 5.2 kernel sources
___ UCLAMP support
___ CPUIDLE governor TEO added
___ RNG(Entropy) generation from bootloader
___ Improved and tuned scheduler and memory management
___ Various small optimizations (check from fbf2bf66312e to top)
-- Optimized builds of various drivers,and the kernel as a whole. (appropriate compiler options)
-- Fixed energy model, it now operates on correct values
-- Fix readahead issue
v1:
#Initial release
-- Upstreamed to Linux 4.9.179
-- Added Flar2 Sound Control
-- Added Voltage control
-- Added KCAL
-- Added Undervolting support
-- Added CAKE net scheduler for faster network packets processing
-- Fixed Audit debugging
-- Fixed Thermal issues (Experimental.Read NOTES below)
-- Removed unstable Adreno Idler
-- Defaulted to Simple_Ondemand Governor for better smoothness and cooling
-- Added ZEN,BFQ,FIOPS I/O schedulers
-- Added FRandom RNG driver
-- Disabled AUDIT
-- Disables CRC check
-- Modified CPU/GPU frequencies,powerlevels to save power
-- Added blu_schedutil,pwrutilx governors
-- Added Adreno Idler
-- Added Chacha20* and zstd algorithm
-- Zram more optimized with zstd
-- Added sio,fiops,anxiety io schedulers
-- Added CDG,Agile,Scalable,Tsunami TCP algorithms
Click to expand...
Click to collapse
NOTES:
*This kernel has been designed with stability and performance enough to get you a
good battery life.It has been specifically designed for normal app usage and multitasking.
System-As-Root support:This has been provided so that the kernel is compatible with Android 10 roms that
require System-As-Root to function properly.Use the NO_SAR version if you are on a Pie rom, or use the SAR version
if you are on a Q rom.
*Thermal issues have been somewhat mitigated.Note that the values present in thermal-engine.conf and the dtsi
files are marked EXPERIMENTAL.According to tests performed,temperature on daily usage has been reduced.
But due to reduced values,GAMING will partially suffer due to little/random FPS drops.
In my testing,playing games like Crazy Taxi,various indie games,Rebuplique,GTA SA etc. was smooth,but a *gradual* (not sudden)
rise in heat was noticed.Others complained that games like PUBG had FPS drops and bit of a performance decrease.
WARNING:This also modifies your thermal-engine.conf file.
*Undervolting is an experimental feature.In case you do want to modify voltage values,open Smartpack/Kernel Aduitor Kernel Manager,go to the CPU Voltage Tab,and modify only the values labelled as "perfcl_Vmin".Reducing the values by 5 is recommended.
If during undervolting,the device freezes,simply long-press the POWER button until the device reboots.
*This kernel is not for heavy gaming.Please be aware while playing games/using heavy apps.
*RAM usage,battery life,performance etc. can vary with usage.Please dont complain about any problem if you apps
are wildly running in the background or you dont maintain your device properly.Sometimes it is not the fault of the kernel.
.Please provide proper bugreports(/proc/last_kmsg,dmesg output,/sys/fs/pstore/console-ramoops files can be provided)
otherwise your bugfix request will be ignored.
*Profiles are provided above.If you do have the time,do tell me how these profiles work out for you.
*This kernel gives me a maximum of a one-and-a-half days on a single charge.I use lots of apps and multitasking is smooth.Obviously,don't take these claims for real,test test test and apply settings that are perfect for you.
Everything depends on how you use it.
Click to expand...
Click to collapse
A Huge Thanks to you people for downloading my kernel.If you like it,leave a Thanks!
XDA:DevDB Information
REVVZ Kernel, Kernel for the Xiaomi Redmi 6 Pro
Contributors
darkhzy_kh, RevanthTolety
Source Code: https://github.com/darkhz/revvz_sakura
Kernel Special Features:
Version Information
Status: Stable
Current Beta Version: 3.18-v6 / 4.9-v2
Beta Release Date: 2019-11-01
Created 2019-04-20
Last Updated 2019-12-05
thanks for your work. awesome
Where links to download?
Welcome on Board! Nice to See People Working on the Device
How is it compared to thunderstorm kernel ?
Guys i will post the link today or tomorrow i have to make some final changes.This is my first thread,please dont be harsh.Sorry for the inconvienience.
Yeah guys link updated.Sorry for the delay.
Ayush_sh said:
How is it compared to thunderstorm kernel ?
Click to expand...
Click to collapse
I really haven't tried THUNDERSTORM kernel since I have been busy with this kernel,but for sure I will install it since I know
 @RevanthTolety provides quality roms/kernels
RevanthTolety said:
Welcome on Board! Nice to See People Working on the Device
Click to expand...
Click to collapse
Thanks.Hope I get to work with you someday
darkhzy_kh said:
Thanks.Hope I get to work with you someday
Click to expand...
Click to collapse
We have massive battery life.. so can you work with overclock cpu or gpu ? Please )
ananxd said:
We have massive battery life.. so can you work with overclock cpu or gpu ? Please )
Click to expand...
Click to collapse
Will try to add overclock cpu/gpu support in the next release.No promises.
darkhzy_kh said:
Will try to add overclock cpu/gpu support in the next release.No promises.
Click to expand...
Click to collapse
Thanks man ♡♡
ananxd said:
Thanks man ♡♡
Click to expand...
Click to collapse
How is the kernel?Have you installed it?Also,I did mention that this was not a gaming kernel,but it would be interesting to support OC.
Reviews guys.And post your setups if you want.
Works
Installed on DoT OS, with gapps nano.
darkhzy_kh said:
How is the kernel?Have you installed it?Also,I did mention that this was not a gaming kernel,but it would be interesting to support OC.
Click to expand...
Click to collapse
Hi. My dad bought this device from another country.( he doesnt come yet) I want check xda threads. so im very happy to see with these roms / kernels. Thanks for all work. SURE i will test.
ananxd said:
Hi. My dad bought this device from another country.( he doesnt come yet) I want check xda threads. so im very happy to see with these roms / kernels. Thanks for all work. SURE i will test.
Click to expand...
Click to collapse
Good to know.Thanks.
darkhzy_kh said:
Guys i will post the link today or tomorrow i have to make some final changes.This is my first thread,please dont be harsh.Sorry for the inconvienience.
Click to expand...
Click to collapse
Dont worry bro... U r working for us... So we will wait for ur work bro
Imthi Az said:
Dont worry bro... U r working for us... So we will wait for ur work bro
Click to expand...
Click to collapse
Bro Link updated in first post,go ahead download and flash the kernel.
Guys I would really appreciate it if you all gave your honest reviews about the kernel.I want to further improve the kernel,and it doesn't help when you people dont tell anything and keep the thread silent.

[KERNEL][4.4.187] VisionZ Kernel for Pixel 4/XL [11/R BETA]

Welcome to VisionZ Kernel for Pixel 4/XL
..: Let my VisionZ come true :..
Overall
Upstream to Linux Kernel 4.14.y
Built for Android 11/R BETA
compiled with latest CLANG and -O3 optimizations
much debugging and logging removed
CPU
CPUmask for all cluster
TouchDebooster
Schedutil tweaked
EAS enabled
GPU
GPU steps: 156-675MHz
AdrenoBoost
FS
fsync on/off
skip fsync on suspend
ExFAT support
RWsem tweaked
patched filesystems
I/O
more scheduler like mapple, zen, sio, fiops
zRam tweaked
Display
BacklightDimmer
high brightness mode
KCAL
Ultra Low Power State
Gamma Tweak / Degreenify
90Hz support
Net
Enhanced TCP CONG like BBR
Power
Powerhal tuning
Wakelock Blocker
power efficient workqueue
Misc
reduced some voltages
Devfreq booster
Gesture control
Vibration control
Nintendo/Xbox controler support
AnyKernel installer
Flash
Flash it with EX/EK Kernel Manager or TWRP
Changelog
2020-07-01
Linux Upstream to 4.14.187
reworked gpu freq table and busclocks
bring back the smoothness
2020-06-30
CPU is going down to 300MHz at silver cluster
GPU step 156MHz -> 177MHz because of a bit laggy scrolling
backport binder from 4.19
more optimized sched logic
speedup network
accelerated NEON
more battery savings
more RCU patchwork
added NTFS and MSDOS Filesystems
removed more debug and logging
compiler optimizations
removed wireguard - don't need/use it
2020-06-28
fixed gpu clock setting at boot
added new gpu freq step (156MHz) for batterysaving as idle
set lower cpu cluster min freq as default
unlock the max cpu freq steps from SD855
some voltages reduced and busrates fixed (more batterysaving)
optimized memcmp
bring back touchboost
added multiple little patches
2020-06-27
Linux Upstream to 4.14.186
wireguard update
disable touchboost at boot - can be enabled in Kernel Manager (we don't need this, our p4 is fast enough)
faster wakeup
better deepsleep
reworked rcu
patched sched
removed FRAME POINTER
removed AUDIT
removed some log spam
some patches from other SD855 device
2020-06-25
multiple little fixes all around
2020-06-24
brings back 90hz panel
clean build after rebase - only 1 version to match batterylife and performance
clang update
2020-06-22
Linux Upstream to 4.14.185
multiple fixes and patches
removed some logging, tracing and debug
magisk update
2020-06-20
Initial release
Download
Github
Thanks to
@tbalden for his base & his contributions
@Freak07 for his contributions
@KuranKaname for his contributions
@dabug123 for his contributions
@flar2 for his contributions
@kingbri for his contributions
@Sultanxda for his contributions
@kdrag0n for his contributions
@arter97 for his contributions
@osm0sis for AnyKernel
Reserved
Does it work on R?
keaheng said:
Does it work on R?
Click to expand...
Click to collapse
it is designed for R
So far so good. Thank you.
Is it rooted ?
-> it is
AuxXxilium said:
Welcome to VisionZ Kernel for Pixel 4/XL
Can you feel the difference? You can choose between: ExtremeEdition (for performance) and LongLife (for Batterylife).
.: ExtremeEdition :.
Optimized for Performance
GPU overclock to 675MHz form 855+
Devfreq booster
300HZ timer
.: LongLife :.
Optmized for Batterylife
100HZ timer
Overall
Upstream to Linux Kernel 4.14.184
Built for Android R
Memory leak fixes
Wireguard support
Touch Debooster and Powerhal tuning inside
Vibration control
Gesture control
Wakelock control
Always On Display dimmer
AdrenoBoost option
Fsync Toggle
CPUmask for all cluster
Simple LMK
More I/O Sheduler like maple, sio, fiops
BBR tcp cong
ExFAT support
Optimized F2FS
Gamma Tweak
AnyKernel installer
Much more optimizations, fixes and tweak
Flash
Flash it with EX/EK Kernel Manager
Changelog
Initial release
Download
Github
Thanks to
@tbalden for making CleanSlate available & his contributions
@Freak07 for for his contributions
@KuranKaname for his contributions
@dabug123 for his contributions
@flar2 for his contributions
@kingbri for his contributions
@Sultanxda for his contributions
@kdrag0n for his contributions
@arter97 for his contributions
@osm0sis for AnyKernel
Click to expand...
Click to collapse
Q compatible?
Sent from my Google Pixel 4 XL using XDA Labs
chaostrodamis said:
Q compatible?
Sent from my Google Pixel 4 XL using XDA Labs
Click to expand...
Click to collapse
you have to try. it should because of anykernel installer but it isn't tested right now
Nice to see new kernel, thanks for contributing. What tweaks would you suggest for a balanced profile between performance and [emoji367]?
Sent from my Pixel 4 XL using Tapatalk
Finally a kernel with latest Linux updates for Android 11 ??
bigknowz said:
Nice to see new kernel, thanks for contributing. What tweaks would you suggest for a balanced profile between performance and [emoji367]?
Click to expand...
Click to collapse
I was curious about this too. I typically don't care for only battery life, nor only performance, but a good balance.
Sorry guys, i use it out of the box. it's enough for me actually.
maple is a good io scheduler and touchboost brings a bit better reactiontime.
it's all that i can say for now.
NEW Version online:
- Linux Upstream to 4.14.185
- multiple fixes and patches
- removed some logging, tracing and debug
- magisk update
Download
AuxXxilium said:
NEW Version online:
- Linux Upstream to 4.14.185
- multiple fixes and patches
- removed some logging, tracing and debug
- magisk update
Download
Click to expand...
Click to collapse
First version was and giving me problems. It would lock up and I would have to force restart my phone. Overall this is a great kernel.
i42o said:
First version was and giving me problems. It would lock up and I would have to force restart my phone. Overall this is a great kernel.
Click to expand...
Click to collapse
Same here (using long life zip) hopefully new update fixes these random lockups/freezes. Battery life is okay too but I think that's the Android 11 beta os's fault lol
i42o said:
First version was and giving me problems. It would lock up and I would have to force restart my phone. Overall this is a great kernel.
Click to expand...
Click to collapse
the update from 06-22 or the 06-20?
AuxXxilium said:
the update from 06-22 or the 06-20?
Click to expand...
Click to collapse
6/20
NEW Version online:
brings back 90hz panel
clean build after rebase - only 1 version to match batterylife and performance
clang update
Download
If I'm not rooted and I flash this in twrp I will be rooted after?
zaacc said:
If I'm not rooted and I flash this in twrp I will be rooted after?
Click to expand...
Click to collapse
There's no Twrp for Android 11 yet

Categories

Resources