Velocity Kernel • Mi 5X Installer Port
by kdragon and tytydraco
Introduction
Velocity Kernel was made to provide the best possible experience on all devices. We strive to provide the perfect balance of performance and battery life. Features are also plentiful, but features that nobody uses will not be included. We also completely debloat all our kernels and aim for small sizes relative to other kernels. Due to the small size and careful debloating, boot time is also improved.
Compatibility
This kernel ZIP supports only Mi A1 ported custom ROMs. Simply flash the kernel after flashing your Mi A1 ported ROM like my [PORT][OFFICIAL][ROM][8.1][Pixel Experience][07/06/18]
Features
• Latest upstream Linux LTS 3.18.112
• CPU underclock to 307 MHz to save battery
• CPU overclock to 2208 MHz for a good performance + battery balance
• Max performance overclock: 2400 MHz
• GPU overclock to 855 MHz
• Undervolted CPU on lower frequencies
• Optimized GPU governor
• Improved 3.5mm jack output
• Energy Aware Scheduling
• CPU governors: elementalx, zzmoove, yankactive, relaxed, alucard, nightmare, chill, blu_active, darkness, intelliactive, bioshock, impulse
• EAS CPU governors: electroutil, schedutil, pwrutilx, sched, helix_schedutil, energy-dcfc, alucardsched, darknesssched
• IO schedulers: fiops, zen, sioplus, row, tripndroid, maple, cfq, noop, deadline, bfq
• Updated ExFAT drivers that support TRIM (faster long-term performance)
• Compiled with latest DragonTC Clang 7.0
• Polly optimizations
• Full flashable zip is only 9.4 MB, compared to other kernels at 14+ MB
• Faster boot due to removing unnecessary drivers and boosting CPU speed
• Higher touchscreen scanning frequency
• Quick wakeup and input boost for faster wake
• Fingerprint boost for faster fingerprint wake
• Updated timer subsystem
• 100 Hz timer to maximize performance
• Ultra Kernel Samepage Merging (UKSM)
• ZRAM compressors: lzo, lz4, lz4hc, zstd (higher compressing)
• Reduced pop when plugging headphones in
• Intellithermal 3.0
• KCAL advanced color control
• Wakelock blocker with predefined list
• Customizable CRC check and Fsync
• Hotpluggers: autosmp, thunderplug, blu_plug, intelliplug, thunderplug, lazy_plug, msm_hotplug
• Adreno Idler
• Backlight dimmer (extremely low brightness)
• Adreno Boost
• Sound output control
• Forced USB fast charge
• Westwood TCP congestion control
• High performance audio
• Improved scrolling performance
• Various optimizations from Google Pixel kernels
• ChaCha20 crypto algorithm, NEON accelerated
• Good battery life
• Fast and cryptographically secure random data source based on NEON ChaCha20 (faster than frandom)
• Tuned interactive governor
• Works on stock and custom ROMs
• Vibration intensity control
• Wakelocks blocked by default
• Double tap to wake
• Qnovo charging driver for temperature regulation
• Latest WireGuard VPN snapshot
• Updated crypto algorithms
• Removed legacy drivers
• Improved boot time
• Optimized and updated touchscreen driver
• Ext4 optimizations
• Transparent hugepages
• Updated zsmalloc
• Sweep2wake, sweep2sleep, and doubletap2wake gestures
• Updated memory management, mutex, locking
• Updated Wi-Fi drivers
• Explicit prefetch instructions
• Optimized memory page copying
• Countless other improvements and optimizations
• Transparent Project Treble: one kernel zip supports all
• Flash and forget - sensible defaults are set
Downloads
Google Drive
How to install:
- Unlock your bootloader
- [Optional] Flash A1 Oreo Firmware
- Flash Oreo TWRP modded
- Flash Mi A1 ported ROM zip through TWRP (my [PORT][OFFICIAL][ROM][8.1][Pixel Experience][07/06/18])
- Flash port Velocity Kernel from Download section
- In TWRP go to Advanced->File Manager to replace a1oreo.dtb in /sbin/a1oreo.dtb with this one
- In TWRP go to Advanced->Terminal->File Manager to check mode 777 for a1oreo.dtb
- In TWRP go to Advanced -> Terminal -> Write "a1to5x" -> press Enter
- Reboot to System
[Optional] Install Spectrum and select predefined profile
Credits
Without the help and contributions of these people, this kernel would not exist:
• nathanchance: upstreaming, kbuild commits, Flash kernel, many other commits
• ghpranav: MetaPhoenix kernel, wake gestures on kernel_tissot (savoca, showp1984, ryan-andri), EAS, help, and more
• franciscofranco: config options, fsync control, many other commits
• Flex1911: Void kernel, base commits
• flar2: old wake gestures, many other commits that shaped the kernel
• frap129: Maple I/O scheduler (base for Marrow), Electron kernel, many other commits
• Alek Dev: overclocking values for CPU and GPU, undervolting and overvolting values
• nine7nine: EAS governors, EAS commits, optimized ext4 fsync, many other commits
• gougous3: help with tuning Spectrum profiles, helix_schedutil tunables
• Everyone else mentioned in Git history
Enjoy!
Contributors
kdragon, tytydraco
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: r7
Stable Release Date: 2018-06-06
Looks great
Can I flash it to unofficial lineageos15?
Like I said in OP, you can flash if you use rom ported from Mi A1.
How i can disable DoubleTap2Wake??
Edit:
A lot of UI lag... Battery life is really bad. I think the ported Franco Kernel is better.
Sorry...
Squadalah said:
How i can disable DoubleTap2Wake??
Edit:
A lot of UI lag... Battery life is really bad. I think the ported Franco Kernel is better.
Sorry...
Click to expand...
Click to collapse
1. DoubleTap2Wake: use KernelAuditor or similar tool to enable/disable it
2. You install Spectrum app to set kernel developer's pre-tuned profile. I currently use "Balance" profile and it's good for my daily use :laugh:
3. Franco Kernel port has led notification bug. Check my attachment to try at your own risk
How is it SOT with Balance Profile?
Becouse with FK i can easily reach 8h SOT.
(LED Notification Bug isn't a problem for me)
@bragon01, how to install this in an existing ROM?
adioph said:
@bragon01, how to install this in an existing ROM?
Click to expand...
Click to collapse
If you install any MiA1 ported ROM, so you can do following:
1. Do dirty flash the ported ROM again (do not wipe anything)
2. Flash the kernel
3. Write "a1to5x" command with Aex12's modded TWRP and reboot
I've never really used a modified rom. I have currently installed the rom cover of oreo in my 5X. Is it really worth it? Are the improvements implemented to the detriment of other things such as unexpected failures or errors?
Greetings and thanks for the post
I'm using A1 ported rom. ?
https://forum.xda-developers.com/mi-5x/development/rom-android-one-mi5x-t3760048
I flashed A1 oreo firmware (Fastboot) before that rom. After I have flashed the kernel and tried a1to5x terminal command, it gave me the following error;
Installed rom is not from A1 ( something like that ) always staying at the first logo during boot.
Anything I'm doing wrong?
ninenine2009 said:
I'm using A1 ported rom.
https://forum.xda-developers.com/mi-5x/development/rom-android-one-mi5x-t3760048
I flashed A1 oreo firmware (Fastboot) before that rom. After I have flashed the kernel and tried a1to5x terminal command, it gave me the following error;
Installed rom is not from A1 ( something like that ) always staying at the first logo during boot.
Anything I'm doing wrong?
Click to expand...
Click to collapse
Flash ROM zip --> flash kernel --> write "a1to5x"
Led bugs and ui lag is caused from dts from aex recovery.
I fixed this bugs using original moded dts from velocity.
And i have 0 bugs
xemisxu said:
Led bugs and ui lag is caused from dts from aex recovery.
I fixed this bugs using original moded dts from velocity.
And i have 0 bugs
Click to expand...
Click to collapse
Great to hear this. I have just modded base.dtb and it works well!
bragon01 said:
1. DoubleTap2Wake: use KernelAuditor or similar tool to enable/disable it
2. You install Spectrum app to set kernel developer's pre-tuned profile. I currently use "Balance" profile and it's good for my daily use :laugh:
3. Franco Kernel port has led notification bug. Check my attachment to try at your own risk
Click to expand...
Click to collapse
Hi
When I installed spectrum an error syas that spectrum doesn't
support the kernel.... Could you tell me how did you activate it?!
Thanks in advance
bragon01 said:
Great to hear this. I have just modded base.dtb and it works well!
Click to expand...
Click to collapse
What is it dtb? How i can mod base.dtb?
jdki666 said:
Hi
When I installed spectrum an error syas that spectrum doesn't
support the kernel.... Could you tell me how did you activate it?!
Thanks in advance
Click to expand...
Click to collapse
It's strange to me at r7. Please go to the OP and flash again cause I updated the port
Squadalah said:
What is it dtb? How i can mod base.dtb?
Click to expand...
Click to collapse
Please go to OP for updated port as requested
can I use this kernel with AEX Asop 5.7 rom?
Great kernel
I followed the op
Chmod the a1oreo.dtb etc
Flash everything .
Work great, no bug at all atm
Perfect for dialy use
Currently using battery mode on spectrum
I checked the kernel auction , there are lots of settings to play with . Thanks for this awesome ports , hopefully you will port more custom rom and stuffs later soon:good:
t y
hi. kernel is perfect. and it works with spectrom. but how i can control frequency of cpu and gpu manually?
pls answer
Related
ALIZE KERNEL FOR OREO
/*
* Your warranty is... Still valid??.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this 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.
*/
WON'T WORK ON 32BIT BASED ROM
OTHER ALIZE KERNELS ALIZE KERNEL FOR POTTER :good:
Introduction:
The main objective of the kernel is to give to any user, a kernel with some tweaks like new CPU govenor focused on battery, performance and both of them, I/O scheduler, ...
Click to expand...
Click to collapse
Features:
Boeffla Wl Blocker
Maple I/O sched
Frandom for random number
Wakeup boosted (time in milliseconds instead of seconds)
CRC check disabled (Performance boosted)
Vibration control
Sound control
Kcal support
Backlight dimmer
Fsync support on and off switch
Safetynet patch
Wireguard support
All features of sohams kernel
Underclock and Fixed BCL hotplug
Many other tweaks (check github)
Click to expand...
Click to collapse
Download (ARM64)
**Oreo(V4 - 64 bits)**
Download: Click Here
Changelog: Latest Commits
Click to expand...
Click to collapse
How to flash:
1. Download Alize for Cedric
2. Reboot to recovery
3. Flash kernel's zip
4. Reboot and tweak with proper app (Kernel auditor, Ex kernel manager, ...)
Click to expand...
Click to collapse
TELEGRAM GROUP:
https://t.me/joinchat/EWMwLkNn0rIRNNctA75U3A
Credits:
Lineage Team
Soham - For source and Oreo, and so many things)
@Martichou - Alize Owner and developer
XDA:DevDB Information
alize kernel for cedric, Kernel for the Moto G5
Contributors
infixremix, Martichou
Source Code: https://github.com/AlizeKernel/alize_cedric
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: vFour
Created 2017-12-30
Last Updated 2018-01-27
Tested and it's working. Thank you.
Thread Reopened Bring On ALIZE !
Alize - vTwo! (64bits Oreo only!)
What's new?
- Zen, Fiops & Sioplus iosched
- Blu_active cpu governor
- iosched switcher for better idle
- check GitHub for more..
vTwo 64Bits
https://sourceforge.net/projects/alize/files/Cedric/Alize-8.x_vTwo-64bit_CEDRIC.zip/download
Cheers to @Martichou
delet this
zefyx said:
delet this
Click to expand...
Click to collapse
What you tryna say ?
infixremix said:
Alize - vTwo! (64bits Oreo only!)
What's new?
- Zen, Fiops & Sioplus iosched
- Blu_active cpu governor
- iosched switcher for better idle
- check GitHub for more..
vTwo 64Bits
https://sourceforge.net/projects/alize/files/Cedric/Alize-8.x_vTwo-64bit_CEDRIC.zip/download
Cheers to @Martichou
Click to expand...
Click to collapse
Kernel is working fine, thank you.
DavidKirsch said:
Kernel is working fine, thank you.
Click to expand...
Click to collapse
Your welcome
Alize - vThree! (64bits Oreo only!)
What's new?
- Impulse,Elementalx,Alucard and blue_active Governors
- Updated Frandom
- iosched switcher updated
- Sio Plus and zen Io Scheds added
vThree 64Bits
https://sourceforge.net/projects/alize/files/Cedric/Alize-8.x_vThree-64bit_CEDRIC.zip/download
Cheers to @Martichou
infixremix said:
Alize - vThree! (64bits Oreo only!)
What's new?
- Impulse,Elementalx,Alucard and blue_active Governors
- Updated Frandom
- iosched switcher updated
- Sio Plus and zen Io Scheds added
vThree 64Bits
https://sourceforge.net/projects/alize/files/Cedric/Alize-8.x_vThree-64bit_CEDRIC.zip/download
Cheers to @Martichou
Click to expand...
Click to collapse
v3 is working fine too
DavidKirsch said:
v3 is working fine too
Click to expand...
Click to collapse
Good to here it
Alize - Cedric - vFour! (64bits Oreo only! )ENFORCING ONLY
What's new?
- Linux 3.18.92 (lastest)
- Update boeffla . WakeLocks Blocked By default
- No useless features.
- Selinux Enforcing
/!\ WARNING /!\
Your rom must be updated with lastest commits (Enforcing)
If you're not sure, ask the rom developer. They should add it for every upcoming build. (All builds from 27/01 at the moment only aex) Happy flashing!
https://sourceforge.net/projects/al...nly/Alize-8.x_vFour-64bit_CEDRIC.zip/download
There is a bug that when I play in the music and I lock the screen the cell phone starts the fiber and it blinks the screen.
Sorry, my english is using google translator
BatatinhaDoce said:
There is a bug that when I play in the music and I lock the screen the cell phone starts the fiber and it blinks the screen.
Sorry, my english is using google translator
Click to expand...
Click to collapse
Not my issue , I don't think my kernel could cause that
The bug I reported was wrong the bug is from the rom I'm using, sorry for my mistake.
Alize - CEDRIC - vFive! (64bits Oreo only!)
What's new?
- CPU boost Tweaks
- Added Adreno idler
- Interactive Optimisation
- Upstreamed to .93
- Fixed some memory leaks
Link :
https://www.androidfilehost.com/?w=files&flid=246581
geekbenk
Hello I try this kernel on moto g5 with crdroid 8.1 android gapps 8.1 arm64 and work well but geekbenk is lowered than the stock..why?? Thanks
infixremix said:
Alize - CEDRIC - vFive! (64bits Oreo only!)
What's new?
- CPU boost Tweaks
- Added Adreno idler
- Interactive Optimisation
- Upstreamed to .93
- Fixed some memory leaks
Link :
https://www.androidfilehost.com/?w=files&flid=246581
Click to expand...
Click to collapse
vFive causes boot loop for me with Lineage 64bit last version. I do have magisk and xposed.
DavidKirsch said:
vFive causes boot loop for me with Lineage 64bit last version. I do have magisk and xposed.
Click to expand...
Click to collapse
Hi sorry about this I should have mentioned , it only boots on aex and any roms that are Selinux enforcing . It does work on some permissive roms but only the latest builds ! Thanks in advance
A simple question, I made the same request in the LineageOs trend 15.1 and I repeat it here too. I do not know if the kernel can in any way affect the quality of the calls, if so please check the phone part because the audio in call is really bad on all the buildings here on the forum from the first LineageOs on then thanks .
Inviato dal mio Moto G (5) utilizzando Tapatalk
Velocity Kernel • Galaxy S8/+
by kdrag0n
This kernel has been abandoned.
Unfortunately, due to a lack of time, I have decided to abandon this kernel. Thanks to everyone who supported this project while it was alive.
kdrag0n said:
As I'm sure you've all seen, updates for this kernel have been slowing down recently. This is because I've moved onto the Pixel 3 XL as my primary device. The experience is just miles ahead of the S8 in nearly all aspects, leading me to basically ditch the S8 entirely. Instead of making do with unstable updates with several months between each update, I've decided to just abandon all development for this device. I may still push commits from time to time on GitHub for personal use, but there will never be another public release.
It's been a great journey and learning experience along the way as the second kernel I've ever worked on, but I'm afraid it has to come to an end like all good things do eventually. For your next kernel, I'd suggest trying out RZ Kernel which seems to be quite promising so far with the first EAS implementation for our device. Sorry for any inconveniences this may have caused.
You can still donate to support my future projects and other endeavors if you wish.
Farewell.
Click to expand...
Click to collapse
The original post is available below for reference.
Flash at your own risk.
Introduction
Velocity Kernel was made to provide the best possible experience on all devices. We strive to provide the perfect balance of performance and battery life. Features are also plentiful, but features that nobody uses will not be included. We also completely debloat all our kernels and aim for small sizes relative to other kernels. Due to the small size and careful debloating, boot time is also improved.
Compatibility
All Oreo ROMs are supported. Magisk is automatically reinstalled if you already have it installed. Deodexed ROMs should be supported. SELinux Permissive and Enforcing states are available for you to choose.
Features
• Latest upstream Linux 4.4.170
• Latest Samsung G955FXXU4CRK1 kernel base
• CPU Governors: impulse, cultivation, darkness, blu_active, interactive, conservative, ondemand, bioshock, schedutil
• I/O schedulers: noop, deadline, cfq, bfq, anxiety, fiops, sio, fifo, sioplus, tripndroid, vr, zen, maple
• TCP congestion control algorithms: westwood, reno, bic, cdg, cubic, dctcp, highspeed, hybla, htcp, vegas, veno, scalable, lp, yeah, illinois, lia, olia, wvegas, balia
• Legendary battery life and performance
• Reduced network latency
• Improved input latency and jitter
• Faster and lower latency I/O
• RGB color control (thanks to flar2) - conflicts with Blue Light Filter
• Fading notification LED
• Wake gestures
• Latest WireGuard VPN module
• Optional input boost
• ZRAM compression algorithms: lz4, lz4hc, zstd
• Fsync control
• Wakelock blocker with built-in list
• Various updated components
• Optimized internal routines
• Flicker free AMOLED screen at lower brightness
• Small size: 12 MB zip including Magisk
• Samsung DeX with all HDMI adapters (no dock needed)
• Latest F2FS
• Newer CFQ I/O scheduler
• All debugging, legacy, and useless features removed
• Logging disabled by default
• Smooth overall experience
• ... and many more!
Click to expand...
Click to collapse
Downloads
Downloads can be found here on GitHub. The topmost release is the latest, currently v11.
Make sure you download the "VelocityKernel-s8-v11.zip" file, not "Source code". Downloads are in the Releases section, not Tags.
XDA:DevDB Information
Velocity Kernel, Kernel for the Samsung Galaxy S8
Contributors
kdragon
Source Code: https://github.com/kdrag0n/velocity_dream
Kernel Special Features:
Version Information
Status: Abandoned
Current Stable Version: v11
Stable Release Date: 2019-01-14
Created 2018-06-09
Last Updated 2019-02-13
Changelogs
v11 • January 14, 2019
• Upstreamed to Linux 4.4.170
• Updated Magisk to v18.0
• Updated to Samsung CRK1 kernel source
• Improved performance by using in-kernel input boosting (@kerneltoast)
• Optimized I/O settings and TCP buffer (from Pixel 3)
• Switched to updated CFQ as default I/O scheduler (better balanced performance; Pixel 3)
• Improved battery and performance with IRQ cluster affinity (@kerneltoast, @Noxxxious)
• Disabled debugfs for security and less bloat (@Noxxxious)
• Improved battery life: re-enabled some debugging, reverted idle loop changes
• Switched to 300 Hz timer for better battery
• Switched to z3fold for faster zRAM over time
• Replaced ticket spinlocks with optimized queued spinlocks (faster)
• Reduced touch latency
• Removed UKSM (useless)
• Reverted realtime mutex modifications
• Enabled protected FIFOs and files for security
• Enabled gentle fair sleepers for battery
• Disabled support for obscure USB input devices
• Disabled wakelock GC to fix some issues with wakelocks breaking
• Improved kernel install speed
• Switched to CAKE network scheduler with TCP ACK filter
• Enabled TCP Fast Open for servers
• Switched to queued read-write locks instead of simple ones
• Reduced memory fragmentation via compaction (with trigger on screen-off)
• Disabled unused Unix IPC support
• Enabled support for dm-verity
• Fixed some potential media.codec issues (@Noxxxious)
• Enabled task statistics
• Updated LZ4 to latest mainline state
• Optimized CPUSets
• Disabled I/O stats for reduced overhead
• Reverted I/O affinity and scheduler migration changes
• Reverted entropy threshold tuning
• Tuned schedutil based on Pixel 3 values
Click to expand...
Click to collapse
Older versions:
r10 • October 28, 2018
• Upstreamed to Linux 4.4.162
• Updated to Samsung CRJ5 kernel
• Updated Android drivers from Google
• Fixed reboots during sleep
• Reduced jitter
• Reduced kernel memory usage
• Improved CFQ I/O scheduler
• Improved battery life
• Improved network latency
• Improved smoothness and responsiveness
• Added GoogleWiz ROM support
• Added Westwood TCP congestion control tunables
• Backported improvements from newer kernels
• Removed Ultra Kernel Samepage Merging
• Removed useless and legacy features
• Removed intelliactive and yankactive governors
• Removed NetHunter support
Click to expand...
Click to collapse
r9 • September 26, 2018
• Linux 4.4.158
• Update to Samsung G955FXXU4CRI5 kernel
• Update device trees to CRI5
• Switch to GCC 8.2.0 toolchain for performance
• Add custom Anxiety I/O scheduler as default (made by me and @tytydraco)
• Update camera firmware
• Update Magisk to v17.2
• Undervolt CPU by 100 mV
• Enabled strong stack protector (improved security)
• Disabled additional debugging and bloat
• Faster boot
• Add proper GoogleWiz ROM support
• Lower temperatures after boot (don't use performance governor)
• Lower I/O latency
• Improved Spectrum profiles (especially Battery, thanks to Telegram testers)
• Improved ZRAM swapping speed
• Disabled gentle fair sleepers (more responsive)
• Removed realtime patches (more jitter, worse performance)
• Removed Zen interactive tuning (worse latency)
Click to expand...
Click to collapse
r8 • July 25, 2018
• Linux 4.4.144
• Switched to GCC 8.1.1 as Clang companion
• Fixed booting on CRGB firmware
Click to expand...
Click to collapse
r7 • July 24, 2018
• Updated to Linux 4.4.143
• Updated to CRGB ramdisk
• Switched to deadline I/O scheduler
• Improved boot speeds
• Improved app opening speed
• Enabled efficient 128-bit numbers
• Disabled more debugging
• Improved security:
◦ Add memory sanitization and verification
◦ Added additional methods of gathering randomness during early boot
◦ Enabled protected links
◦ Marked some data as read-only after boot
◦ Added checks to memory allocator
◦ Added basic encryption for an internal structure
◦ Added overflow "cookies" to allocator
◦ Restricted access to memory contents
◦ Restricted usage of performance counters
◦ Removed ability to view process stacks
◦ Removed tracing
◦ Restricted processes' ability to use ptrace (Termux still works)
• Switched to clang for smoothness
• Added writeback throttling (should improve performance under disk load, such as updating apps)
• Increased timer frequency to custom 500 Hz for responsiveness
• Switched to FQ CoDel network scheduler for better performance and latency on Wi-Fi, data, USB ethernet, etc
• Tuned scheduler migration
• Fully multithreaded disk IO
• Removed debug stack tracing (5-10% overhead)
• Reduced kernel size dramatically
• Removed old Wi-Fi fix (improves Wi-Fi stability)
• Added DriveDroid support (CD-ROM and RO/RW USB)
• Fixed reboots after removing USB storage device or microSD card
• Optimizations all over
Click to expand...
Click to collapse
r6 • June 29, 2018
• Fixed wake gestures on regular S8 (thanks to Vaughnellope)
• Disabled MAC address randomization by default (enable via /proc/sys/dev/cnss/randomize_mac)
• Added CD-ROM emulation
• Added SELinux chooser via Volume up/down
• Fixed sharing issues on Sac23 S9 port ROM
• Simpler LED control to fix purple LED
• Added Magisk 16.3, only installs if Magisk was previously installed
• Enabled quotas only if using modified TWRP, available in the release downloads
• Added all Kali NetHunter features except HID emulation (packet injection, Wi-Fi dongles, SDRs, IPC)
• Fixed multitasking and memory usage
Click to expand...
Click to collapse
r5 • June 19, 2018
• Linux 4.4.138
• Switched to GCC 7.3 for a much smoother kernel
• Increased ZRAM size and swappiness to fix low memory
• Fixed SafetyNet on ROMs with permissive SELinux
• Added automatic log collector script for debugging
• Disabled unnecessary CPU bug workarounds (not applicable to Exynos 8895)
Click to expand...
Click to collapse
r4 • June 16, 2018
• Linux 4.4.137
• Improved battery life
• Updated to CREF ramdisk
• Enabled ZRAM to fix lag and crashing
• Enabled emulation of deprecated instructions to fix crashing
• Newer, more stable LED control
• Tuned LED fading parameters
Click to expand...
Click to collapse
r3 • June 11, 2018
• Fixed Wi-Fi
• Fixed flashing over other kernels (especially NX)
• Fixed low amount of apps in memory
Click to expand...
Click to collapse
r2 • June 9, 2018
• Fixed bootloop after installation over stock kernel
Click to expand...
Click to collapse
r1 • June 9, 2018
• Initial release
• Linux 4.4.136
Click to expand...
Click to collapse
??
Bootloop on S8 logo
Not working for me... flashed kernel, wiped dalvik but stuck on boot logo. Running S8+ with ambasadii v3.7
Very laggy for me on s8 ambasadii
Post SoT if you're trying it everyone.
I just released r2 to fix bootloops for those previously using a stock kernel. Get it here on GitHub.
Changelog:
• Fixed bootloop after installation over stock kernel
Click to expand...
Click to collapse
Is this for Snapdragon or Exynos?
Do i need to wipe cache after flashing?
Sent from my [device_name] using XDA-Developers Legacy app
Mangtas_666 said:
Do i need to wipe cache after flashing?
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
No.
Kizoky said:
Is this for Snapdragon or Exynos?
Click to expand...
Click to collapse
Exynos, clarified in the OP.
lag rom bro not work wifi temperature high =??
Has_anDroid said:
lag rom bro not work wifi temperature high =??
Click to expand...
Click to collapse
I don't understand what you're saying. Wi-Fi doesn't work?
Is this kernel for touchwiz rom?
---------- Post added at 07:44 AM ---------- Previous post was at 07:35 AM ----------
Wifi not working for me!!! Im on renovate v135 oreo CRD7 bases
Problema wi-fi and very high laggy
Please provide telegram group. Does this kernel supports s9+ ported roms?
Kernel laggy for me too Ambasadii.... has a lot of potential this one though so hoping the OP sticks on for the ride
Come from Renovate Ice with Nx kernel
After install bootloop
Flashed it over Nox Kernel and bootloops
Proton Kernel • Pixel 3/XL
by kdrag0n
This kernel has been discontinued as I no longer own my Pixel 3 XL and have moved on. The original post has been retained below for transparency, but I would strongly recommend using another kernel.
I am not liable if your phone explodes, stops functioning, or turns into scrap metal. I have no obligation to publish this kernel. However, if you provide an accurate description of your issue accompanied with logs, it is likely that I will at least look into your issue. By flashing this kernel, you acknowledge the potential risks it brings.
Introduction
Proton Kernel strives to provide the perfect balance of performance and battery life in order to create the best possible experience for your phone. Features are welcome if they are useful, within reason. The kernel has been debloated to reduce size and improve performance.
Compatibility
Stock and custom Pie ROMs are supported. Both the Pixel 3 and Pixel 3 XL are supported in the same package. Wiping cache isn't necessary. Magisk is retained, so there is no need to reflash it afterwards. The kernel may be flashed from TWRP or your app of choice.
Android Q is NOT supported, nor will it ever be.
Features
• Latest upstream Linux 4.9.191
• Latest Google August updates
• Compiled with bare-metal GCC 9.1.0
• Heavily tuned Spectrum and FKM performance profiles
• Numerous configuration changes for performance, size, and battery
• Heavily debloated for faster boot, enhanced security, and smaller download
• Fast and versatile installer (modified version of @osm0sis' AnyKernel2)
• Sound control (microphone and speakers only; @flar2)
• Latest WireGuard VPN snapshot
• KCAL advanced color control
• A wide variety of battery and performance improvements from the Qualcomm, Pixel 3a, Snapdragon 855, and more kernels
• CPU governors: performance, powersave, schedutil, userspace, ondemand, conservative
• I/O schedulers: noop, deadline, cfq, anxiety, bfq
• Various improvements from @Sultanxda, @arter97, @ab123321, @Freak07, etc
• Vibration control (@flar2)
• TCP congestion control algorithms: westwood, reno, bbr, bic, cdg, cubic, dctcp, highspeed, hybla, htcp, vegas, nv, veno, scalable, lp, yeah, illinois
• Xbox and DualShock USB controller support
• Simple LMK for improved memory management and reduced camera opening lag (@Sultanxda)
• Assorted scheduler patches to improve battery and performance
• Speculative page fault for faster app opening
• Support for forcing fast charging (500 mA limit bumped to 900 mA for USB, 5V limit bumped to 9V for wireless)
• Simple GPU Algorithm
• AVB 2.0 and dm-verity fully disabled (allows custom boot animation on stock ROM)
• Display tweaks
• Speaker gain control and backlight dimmer
• Efficient in-kernel CPU and memory boosting solution (modified version of @Sultanxda's work)
• Improved overall performance and battery life compared to stock
• Faster lock implementations backported from mainline
• Lots of backports from the mainline kernel
• Scheduler improvements and fixes from Qualcomm's Snapdragon 855 kernel
• Support for common Realtek RTL815x USB Ethernet adapters
• A few F2FS tweaks (namely Rapid GC) by @arter97
• I/O prioritization by app groups (background, foreground, etc) when using CFQ (ported from Pixel 3a) for better UX during background app updates and other I/O-heavy scenarios
• Countless other features and optimizations to enhance the overall experience
Click to expand...
Click to collapse
Think twice before enabling fast wireless charging because cheap chargers can cause your phone to heat up significantly more than usual, which damages the battery permanently. They may also cause temporary issues with your phone (such as ticking sounds) or irreversible damage to internal circuits. However, if used properly with a high-quality charger, there should not be any issues. Enable at your own risk. I am not responsible for any damage to you or your phone caused by this feature.
Downloads
Downloads and changelogs can be found here on GitHub. The topmost release is the latest. Alternatively, you can simply download the latest version here.
Join the Telegram group for beta builds and support
Donate to support development
XDA:DevDB Information
Proton Kernel, Kernel for the Google Pixel 3
Contributors
kdrag0n
Source Code: https://github.com/kdrag0n/proton_bluecross
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v19
Stable Release Date: 2019-09-08
Created 2018-11-24
Last Updated 2019-09-09
FAQ
Q: Is my phone not secure anymore? You said you disabled security features for performance.
A: Not really. Kernel features such as CFI, stack protector, etc protect against potential attacks in a way where if an attack is detected, the phone will forcibly reboot. It doesn't prevent the attack in the first place. This kernel simply disables such features because they have a performance impact. Preventative security features such as SELinux are not disabled, nor will they ever be.
Some speculative execution mitigations such as SSBD have also been disabled. That's because these have quite an impact on performance. How many times have you heard of L1TF, Spectre, Meltdown, or anything of the like exploited in the wild?
Q: Why GCC instead of Clang? Isn't Clang better? Google switched to it.
A: No. I benchmarked Clang 8 with LTO, Clang 8, and GCC 8. Here are the full results.
Q: Do I need to flash Magisk after the kernel?
A: No. The kernel will keep Magisk if it's already installed.
Q: My phone randomly rebooted or locked up. / Apps are crashing.
A: Describe your issue accurately with detail and provide logs. It's easy to do with apps like Syslog or MatLog. If it's an unexpected reboot, grab all the files from /sys/fs/pstore for the log. For reboots the current logs (dmesg, logcat, etc) are useless - I need the logs from the previous boot, which are in pstore.
Q: How do I see what version I'm running?
A: Settings → System → About → Android version → Kernel version
Proton Kernel v5 "The Cherry on Top" has been released to improve performance further. Get it here on GitHub.
Full changelog:
• Upstreamed to Linux 4.9.140
• Switched to Simple LMK (@Sultanxda)
• Micro-optimized memory routines
• Tuned SLUB page order
• Switched to z3fold allocator for zRAM to reduce stuttering and lag when loading old apps (@ab123321)
• Miscellaneous zRAM optimizations
• Reduced logging
• Removed fsync control (nobody should use this)
• Disabled some useless drivers
• Tuned PowerHAL foreground app boost
• Added some memory leak fixes from CAF (@Freak07)
• Disabled auditing for better performance
Click to expand...
Click to collapse
Direct download link
Enjoy!
sorry
if I flash other kernel but I want try ur kernel now.
Can I direct flash your kernel?
or I have to flash original factory first?
and if I want back to Original factory kernel, just flash google os?
Edemilorhea said:
sorry
if I flash other kernel but I want try ur kernel now.
Can I direct flash your kernel?
or I have to flash original factory first?
and if I want back to Original factory kernel, just flash google os?
Click to expand...
Click to collapse
I usually have no problems going from kernel to kernel
But to be on the safe side it is reccomended to go to stock first
Use ex kernel manager as you can make a backup of the original one in it and restore in between
Proton Kernel v6 has been released to fix bugs and add a few touches. Get it here on GitHub.
Full changelog:
• Upstreamed to Linux 4.9.141
• Re-added fsync control (strongly recommended to keep enabled)
• Fixed cellular data lockups
• Removed Simple LMK (back to Android Kernel LMK)
• Fixed performance regressions
• Re-added blu_schedutil governor
• Disabled VESA DSC 1.1 display compression for Pixel 3 XL (supposedly visually lossless, but it's still compression)
• Disabled dm-verity and FEC
Click to expand...
Click to collapse
Direct download link
Please vote on the poll if you haven't already. It lets me know what people want the most for this kernel.
Enjoy!
kdrag0n said:
Proton Kernel v6 has been released to fix bugs and add a few touches. Get it here on GitHub.
Full changelog:
Direct download link
Please vote on the poll if you haven't already. It lets me know what people want the most for this kernel.
Enjoy!
Click to expand...
Click to collapse
Hi
I use ex kernel now, can I use ex kernel manager flash ur kernel now?
Or I flash stock boot.img first?
Edemilorhea said:
Hi
I use ex kernel now, can I use ex kernel manager flash ur kernel now?
Or I flash stock boot.img first?
Click to expand...
Click to collapse
Simply flashing it is fine.
Works great on Pixel 3 with Magisk.
How about the battery life with this kernel ? is better than stock fabric kernel ??
What are the differences between schedutil and blu_schedutil?
Great kernel BTW!
tim.smart said:
What are the differences between schedutil and blu_schedutil?
Great kernel BTW!
Click to expand...
Click to collapse
Blu seems less power hungry to me but some say it stutters on default launcher
I hear it is a resource heavy monster but I never used it ?*
I did notice some gentle slow down doing other recourse intense stuff on Blu though
Help, I can't Install the december update, I just got TWRP and this kernel instaled on the phone. and I'm not root
I think I must to unistall the kernel, so I can install the update.
I don't know what to do, help please..
Raul Fresh said:
How about the battery life with this kernel ? is better than stock fabric kernel ??
Click to expand...
Click to collapse
In theory it should definitely be better, but I haven't actually done a direct comparison between my kernel and stock so I'm not sure. Why not try it yourself?
Proton Kernel v7 has been released. Get it here on GitHub.
Full changelog:
• Upstreamed to Linux 4.9.142
• Merged Google December updates
• Reduced touch latency on Pixel 3 XL
• Increased touch sensitivity for Pixel 3 XL
• Reduced logging
• Removed LZO zRAM compressor (makes no sense with lz4 and zstd)
• Reduced logging
• Glove mode for Pixel 3 XL touchscreen
• Miscellaneous internal fixes (@kerneltoast, @nathanchance)
• Removed LZO zRAM compressor
• IRQ cluster mappings (@kerneltoast)
• Added and enabled force fast charge (500 mA bumped to 900 mA limit)
• Added memory boost to LMK (less lag when opening new apps)
• Disabled dm-verity
• Added Proton version to kernel version
Click to expand...
Click to collapse
Direct download link
Enjoy!
kdrag0n said:
Proton Kernel v7 has been released. Get it here on GitHub.
Full changelog:
Direct download link
Enjoy!
Click to expand...
Click to collapse
A lot of cool xl features. Since we have different screens that doesn't carry over for us p3 users I presume?
frewys said:
A lot of cool xl features. Since we have different screens that doesn't carry over for us p3 users I presume?
Click to expand...
Click to collapse
Yeah, it's separate. I'll do some stuff with the regular model soon once there's enough testers to confirm everything works on Telegram.
kdrag0n said:
Yeah, it's separate. I'll do some stuff with the regular model soon once there's enough testers to confirm everything works on Telegram.
Click to expand...
Click to collapse
Keep us mortal xda users posted on any success
Looking forward ?
Performance with the latest version of this kernel + December update is pretty impressive:
https://i.imgur.com/cTJle67.png
kdrag0n said:
Q: Why GCC instead of Clang? Isn't Clang better? Google switched to it.
A: No. I benchmarked Clang 8 with LTO, Clang 8, and GCC 8. Here are the full results.
Click to expand...
Click to collapse
Beware of dragons though (referring to -ffast-math -funsafe-math-optimizations)
A story about -ffast-math
How exactly do you get qdisc cake set up anyway ?
How do you make it the default and check that it's really active ?
https://www.bufferbloat.net/projects/codel/wiki/Cake/
Great kernel btw :good:
INTRODUCTION
Canting is a kernel based on Google Common 4.9 merged over CAF-kernel.lnx.4.9.r25-rel. Built to provide security and stability improvement
Code:
/*
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
*/
FEATURES----------------------------------------------
• NOTE: Don't flash this kernel over MEMEUI.
• Linux version 4.9.280
• CAF Tag LA.UM.8.3.c25-03100-sdm845.0
• Build with Clang-12
• CPU Governors: schedutil, powersave
• I/O Schedulers: noop, cfq
• Compat vDSO from Pixel kernel
• TCP Congestion Algorithm: bbr, westwood, reno, cubic
• WireGuard VPN support (Current version: 1.0.20210424)
• Boeffla wakelock blocker (Nothing is blocked by default)
• Simple Low Memory Killer
• Sound Control: Speaker, Microphone, Headphone (Per-channel control)
• KCAL & KLapse Interface
• Vibration Intensity Control
• backlight min option
• Removed safetynet flags (no need of magisk to bypass safteynet)
• F2FS & NTFS Support
• for more info check my commits
INSTALLATION INSTRUCTIONS
Download latest kernel version
Boot to recovery
Flash kernel.zip
reboot to system
DOWNLOAD LINK
Github Latest Release
CREDITS
• nathanchance
• bgcngm
• abhishek987
• fransiscofranco
• flex1911
• All of contributors from my git history
XDA:DevDB Information
Canting, Kernel for the Xiaomi Poco F1
Contributors
khusika
Source Code: https://github.com/khusika/canting_kernel_xiaomi_sdm845
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 3.6
Stable Release Date: 2021-08-22
Created 2019-03-05
Last Updated 2021-08-22
Reserved
Reserved
Nice will test it out
Vibration Intensity Control - anymore details on this? My biggest complaint on this phone is the weak vibration.
veekay said:
Vibration Intensity Control - anymore details on this? My biggest complaint on this phone is the weak vibration.
Click to expand...
Click to collapse
You can change that "strength" in any kernel manager app if this enabled by kernel. I am sure that's it. I am using FK Manager app for these.
About kernel, looks and sounds cool, give it a try.
Handle this phone too now? I know you on Mia1 forum.
Sent from my Poco F1 using Tapatalk
Hi. If u remember me from mi a1 canting thread. I asked u about F2FS and somethings there
Is there any telegram ID I can msg u?
Good job, smooth and also CPU temp does not rise much.
Parthalucky said:
Hi. If u remember me from mi a1 canting thread. I asked u about F2FS and somethings there
Is there any telegram ID I can msg u?
Click to expand...
Click to collapse
Better to discuss it here
Release 0.2
New build is up
Changelogs :
Merge 4.9.163
Upstream with Lineage tree
Upstream with Google Common 4.9
Fix various clang warn
Add power saving flags to the panels
Introducing KLapse - A kernel level livedisplay module v4.3
clk: qcom: clk-cpu-osm: Use CLK_GET_RATE_NOCACHE
Download link in the OP, enjoy it
I love this kernel
Using it with the latest PE CAF release and it's butter smooth and gives a good SOT
Release 0.3
New build is up
Changelogs :
Merge 4.9.164
Download link in the OP, enjoy it
Release 0.2
New build is up
Changelogs :
Merge 4.9.164
Download link in the OP, enjoy it
Can you please add Adreno Boost V2.2 to your kernel?
Does this kernel work in miui global beta or stable release??
Pronabesh said:
Does this kernel work in miui global beta or stable release??
Click to expand...
Click to collapse
Read OP
abid52 said:
Read OP
Click to expand...
Click to collapse
Sorry bro...but cant able to find what i am seeking in OP.
Pronabesh said:
Sorry bro...but cant able to find what i am seeking in OP.
Click to expand...
Click to collapse
No not supported
Release 0.4
New build is up
Changelogs :
Merge 4.9.165
Upstream with Lineage tree
Upstream with Google Common 4.9
Merge upstream f2fs-stable/linux-4.9.y
Download link in the OP, enjoy it
BEETLE KERNEL
"Best out of the Rest"
Click to expand...
Click to collapse
FEATURES && CHANGELOG
-Compiled with latest GCC
-sdcardfs support
-CPU boost driver
-advanced TCP congestion
- Fingerprint boost driver
-add additional GPU tweaks
-enable wireguard
-add additional power drivers
- enable idling to 180mhz GPU frequency (better battery management)
-some other UnderTheHood tweaks
Flashing Guide
- Reboot to recovery
- Backup your current kernel(boot.img)
- Go to install
- Flash kernel zip
- Reboot
- Enjoy!!
Credit:
@TheImpulson1 (Aayush Gupta)
Contributors
@TheGlitchh
For support and bug report join our telegram group
https://t.me/beetlekernel
Kernel Source
https://github.com/TheGlitchh/kernel_beetle
Version Information
Status: Stable
Download
SourceForge
Current Stable Version v1.0
stable release :- 16/05/2019
First release :- 16/05/2019
Good to see the developments for our beloved Nokia 6.1
GalacticRogue said:
-enable wireguard
Click to expand...
Click to collapse
Can you confirm this? It still seems to use the GoBackend.
What version of linux is this kernel using?(I.E what does uname -a output)