KERNEL ❯ MI A1 ❯❯❯ Velocity Kernel • r9 • August 15

Do you want Kali NetHunter (portable pentesting) support?

  • Yes (Wi-Fi & Bluetooth dongle drivers)

    Votes: 7 87.5%
  • No

    Votes: 1 12.5%

  • Total voters
    8
  • Poll closed .
Search This thread

kdrag0n

Senior Member
Feb 19, 2016
612
1,632
kdrag0n.dev
How To over clock to 2400 in my kernal manager there is only 2016 max frequency....

Try a different kernel manager. If you're using this on a Mi 5X, overclock and underclock will not work or show up - that is normal.

How to install in resurrection remix rom? I'm in a moun kernel. I hope someone can help me

Flash the zip in TWRP.

I get error 1 when i try to flash it and it says that it failed to extract raw disk or smth like that. Please help.

What ROM are you on? Which TWRP are you using? Which kernel are you coming from?

Great work! I'm trying It since first version and i think that is one of the best kernel.

I think that kali nethunter support is useless. How many people use it in daily use?. I prefer a light "velocity kernel" with the fastest boot.

Waiting for stock rom support to try.

Thanks for this magnific kernel.

NetHunter is useful for some users, and the impact is small. We might make it optional though.

Stock is coming in r9, we're just trying to get the implementation working the same for both custom and stock.


Sorry for the late replies, everyone!
 

tansanrao

Member
Jan 2, 2017
17
10
Belgaum
Try a different kernel manager. If you're using this on a Mi 5X, overclock and underclock will not work or show up - that is normal.



Flash the zip in TWRP.



What ROM are you on? Which TWRP are you using? Which kernel are you coming from?



NetHunter is useful for some users, and the impact is small. We might make it optional though.

Stock is coming in r9, we're just trying to get the implementation working the same for both custom and stock.


Sorry for the late replies, everyone!

Same problem here, getting error 1, unable to extract ramdisk, something about gzip being used for compression.
Rom : firehound 4.7 (no treble)
Magisk 16.0
Twrp with TissotManager
 

kal4metal

Senior Member
Dec 28, 2014
126
84
Kamatero
Same problem here, getting error 1, unable to extract ramdisk, something about gzip being used for compression.
Rom : firehound 4.7 (no treble)
Magisk 16.0
Twrp with TissotManager

I had the exact problem. I was getting error 1 in twrp and couldn't install the kernel but I found a workaround. Flash Magisk uninstaller zip. Flash kernel. Reinstall Magisk.... Profit! :)
 

justboryata

Senior Member
Error: 1

Same problem here, getting error 1, unable to extract ramdisk, something about gzip being used for compression.
Rom : firehound 4.7 (no treble)
Magisk 16.0
Twrp with TissotManager

Had the same issue coming from VoidKernel on DotOS 2.4. Flashed MounKernel 5.3 first then Velocity after that and it worked fine. Give it a go.
 
  • Like
Reactions: kal4metal

gougous3

Senior Member
Jan 11, 2013
339
98
I was somehow banned on the telegram channel.
I sent some messages which later realized I should've wroten them in another way and resent them (after deleting the ones I already sent). I think one of the admin bots or such (if there's one) identified it as spam and banned me.
 
Last edited:

Shaunlia22

Senior Member
Mar 6, 2018
311
57
I was somehow banned on the telegram channel.
I sent some messages which later realized I should've wroten them in another way and resent them (after deleting the ones I already sent). I think one of the admin bots or such (if there's one) identified it as spam and banned me.
Bye
 

gougous3

Senior Member
Jan 11, 2013
339
98
Too bad the project died. The only kernel with EAS support. Very promising
The project didn't die, it's on a beta schedule on the telegram channel. They're trying to fix the major video issue.

And by the way, you probably should forget about EAS, it will probably get removed on the next versions as it isn't working properly with our SoC and there's practically no ROMs out there with EAS patches.
 

kdrag0n

Senior Member
Feb 19, 2016
612
1,632
kdrag0n.dev
r9 has been released with improved security, smoothness, latency, and battery. Get it here on GitHub.

Kali NetHunter support is now available. Bluetooth and Wi-Fi dongles are supported. If there is enough demand, we can also add support for SDRs that can capture the full RF spectrum.

Full changelog:
​ ​ ​ ​ • Linux 3.18.118
​ ​ ​ ​ • CAF LA.UM.6.6.r1-09200-89xx.0
​ ​ ​ ​ • Updated Wi-Fi drivers
​ ​ ​ ​ • Compiled with Clang 8 revision 339049
​ ​ ​ ​ • Significant increases in security
​ ​ ​ ​ • Faster app opening
​ ​ ​ ​ • Smoother UI
​ ​ ​ ​ • Faster wakeup (power + fingerprint)
​ ​ ​ ​ • Lower latency
​ ​ ​ ​ • Balanced custom 500 Hz timer
​ ​ ​ ​ • Improved battery life
​ ​ ​ ​ • Optimized low memory killer
​ ​ ​ ​ • Disabled unnecessary CPU bug workarounds (overhead)
​ ​ ​ ​ • Disabled useless drivers
​ ​ ​ ​ • Fixed USB OTG (flash drivers, etc)
​ ​ ​ ​ • Optimized default settings
​ ​ ​ ​ • Improved reliability of default settings
​ ​ ​ ​ • Removed 307 MHz CPU underclock (detrimental to battery due to no undervolt)
​ ​ ​ ​ • Turned CPU overclock down to 2208 MHz for stability and battery
​ ​ ​ ​ • Turned GPU overclock down to 700 MHz for stability and battery
​ ​ ​ ​ • Enabled TCP ECN for slightly faster speeds on congested networks
​ ​ ​ ​ • Reduced chance of videos not playing
​ ​ ​ ​ • Added sdFAT driver for SD cards on some ROMs
​ ​ ​ ​ • Undervolted CPU by 150 mV
​ ​ ​ ​ • Added Kali NetHunter support (IPC, Bluetooth, Wi-Fi)
​ ​ ​ ​ • Improved audio jack quality
​ ​ ​ ​ • Added DTS-Eagle (DTS Headphone-X) support
​ ​ ​ ​ • Improved overall smoothness
​ ​ ​ ​ • Removed UKSM (additional overhead even when not in use)
​ ​ ​ ​ • Enabled fully multi-threaded IO
​ ​ ​ ​ • Improved boot speed
​ ​ ​ ​ • Removed hotplugs (this has been proven to actually be *detrimental* to battery, as well as performance)
​ ​ ​ ​ • Added ironactive and ondemandplus CPU governors
​ ​ ​ ​ • Fixed simple_ondemand GPU governor
​ ​ ​ ​ • Tuned Spectrum GPU settings
​ ​ ​ ​ • Fixed `There's an internal problem with your device` message on Treble ROMs
​ ​ ​ ​ • Fixed many more bugs
​ ​ ​ ​ • Removed non-functional Intellithermal
​ ​ ​ ​ • Fixed Bluetooth Low Energy + Wi-Fi co-existence on Pie

We haven't fully fixed the video playback issue but we're close. It happens less often now.

Sorry for how long it took us to do this release. We've been trying to fix the video issue. Updates will be much more frequent in the future.

Enjoy!
 

IdrisMC

Senior Member
Jan 27, 2018
140
6
Is it correct that my max freq CPU is: 2208 and min is: 652
and for gpu max: 700 and min: 133? Or is the kernel not correctly installed?
 

IdrisMC

Senior Member
Jan 27, 2018
140
6
If you read the changelog, we turned it down because of stability and battery life. We'll look into bumping it to 2400 MHz and 922 MHz without the power issues again.

Okay cool, did you also remove the fast charging toggle in kernel adiutor? Because i want to toggle it off because its bad for your battery and your phone gets really hot
 

Top Liked Posts

  • There are no posts matching your filters.
  • 42
    KERNEL ❯ MI A1 ❯❯❯ Velocity Kernel • r9 • August 15

    Velocity Kernel • Mi A1
    by kdragon and tytydraco

    Flash at your own risk.

    This kernel is abandoned. I suggest using other kernels such as Canting. Sorry for the inconvenience.

    The original post follows.

    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 single kernel ZIP supports both custom ROMs and Treble custom ROMs (GSIs). Simply flash the kernel after flashing your ROM of and it should work. Pie is fully supported.
    The stock ROM is not supported.

    Features

    ​ ​ ​ ​ • Latest upstream Linux LTS 3.18.118
    ​ ​ ​ ​ • CPU overclock to 2208 MHz for a good performance + battery balance
    ​ ​ ​ ​ • GPU overclock to 700 MHz
    ​ ​ ​ ​ • Undervolted CPU by 150 mV
    ​ ​ ​ ​ • Improved 3.5mm jack output
    ​ ​ ​ ​ • Energy Aware Scheduling
    ​ ​ ​ ​ • CPU governors: elementalx, zzmoove, yankactive, relaxed, alucard, nightmare, chill, blu_active, darkness, intelliactive, bioshock, impulse, ironactive, ondemandplus
    ​ ​ ​ ​ • 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, fifo
    ​ ​ ​ ​ • Updated ExFAT drivers that support TRIM (faster long-term performance)
    ​ ​ ​ ​ • Compiled with latest Clang 8 revision 339049
    ​ ​ ​ ​ • Small size
    ​ ​ ​ ​ • Faster boot
    ​ ​ ​ ​ • Fast wakeup
    ​ ​ ​ ​ • Low latency
    ​ ​ ​ ​ • 500 Hz for maximum performance-latency-battery balance
    ​ ​ ​ ​ • ZRAM compressors: lzo, lz4, lz4hc, zstd (higher compressing)
    ​ ​ ​ ​ • Reduced pop when plugging headphones in
    ​ ​ ​ ​ • KCAL advanced color control
    ​ ​ ​ ​ • Wakelock blocker
    ​ ​ ​ ​ • Customizable CRC check and Fsync
    ​ ​ ​ ​ • Adreno Idler
    ​ ​ ​ ​ • Backlight dimmer (extremely low brightness)
    ​ ​ ​ ​ • Adreno Boost
    ​ ​ ​ ​ • Sound output control
    ​ ​ ​ ​ • Forced USB fast charge
    ​ ​ ​ ​ • Westwood TCP congestion control
    ​ ​ ​ ​ • Improved output on 3.5mm jack
    ​ ​ ​ ​ • Improved scrolling performance
    ​ ​ ​ ​ • Various optimizations from Google Pixel kernels
    ​ ​ ​ ​ • Faster NEON accelerated random data generator
    ​ ​ ​ ​ • Good battery life
    ​ ​ ​ ​ • Vibration intensity control
    ​ ​ ​ ​ • Double tap to wake
    ​ ​ ​ ​ • Latest WireGuard VPN snapshot
    ​ ​ ​ ​ • Removed legacy drivers
    ​ ​ ​ ​ • Sweep2wake, sweep2sleep, and doubletap2wake gestures
    ​ ​ ​ ​ • Updated Wi-Fi drivers
    ​ ​ ​ ​ • Optimized memory page copying
    ​ ​ ​ ​ • TCP ECN for faster internet on busy networks
    ​ ​ ​ ​ • DTS-Eagle support
    ​ ​ ​ ​ • Improved security
    ​ ​ ​ ​ • Full Kali NetHunter support (Bluetooth & Wi-Fi dongles)
    ​ ​ ​ ​ • Countless other improvements and optimizations
    ​ ​ ​ ​ • Flash and forget


    Downloads
    Downloads can be found here on GitHub.
    The first release listed is the latest version.

    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, ideas
    ​ ​ ​ ​ • Everyone else mentioned in Git history

    Join our Telegram group here for betas

    Enjoy!


    Donate to support future development

    XDA:DevDB Information
    Velocity Kernel, Kernel for the Xiaomi Mi A1

    Contributors
    kdragon, tytydraco
    Source Code: https://github.com/kdrag0n/velocity_tissot

    Kernel Special Features:

    Version Information
    Status: Abandoned
    Current Stable Version: r9
    Stable Release Date: 2018-08-15

    Created 2018-05-25
    Last Updated 2019-01-23
    22
    r9 has been released with improved security, smoothness, latency, and battery. Get it here on GitHub.

    Kali NetHunter support is now available. Bluetooth and Wi-Fi dongles are supported. If there is enough demand, we can also add support for SDRs that can capture the full RF spectrum.

    Full changelog:
    ​ ​ ​ ​ • Linux 3.18.118
    ​ ​ ​ ​ • CAF LA.UM.6.6.r1-09200-89xx.0
    ​ ​ ​ ​ • Updated Wi-Fi drivers
    ​ ​ ​ ​ • Compiled with Clang 8 revision 339049
    ​ ​ ​ ​ • Significant increases in security
    ​ ​ ​ ​ • Faster app opening
    ​ ​ ​ ​ • Smoother UI
    ​ ​ ​ ​ • Faster wakeup (power + fingerprint)
    ​ ​ ​ ​ • Lower latency
    ​ ​ ​ ​ • Balanced custom 500 Hz timer
    ​ ​ ​ ​ • Improved battery life
    ​ ​ ​ ​ • Optimized low memory killer
    ​ ​ ​ ​ • Disabled unnecessary CPU bug workarounds (overhead)
    ​ ​ ​ ​ • Disabled useless drivers
    ​ ​ ​ ​ • Fixed USB OTG (flash drivers, etc)
    ​ ​ ​ ​ • Optimized default settings
    ​ ​ ​ ​ • Improved reliability of default settings
    ​ ​ ​ ​ • Removed 307 MHz CPU underclock (detrimental to battery due to no undervolt)
    ​ ​ ​ ​ • Turned CPU overclock down to 2208 MHz for stability and battery
    ​ ​ ​ ​ • Turned GPU overclock down to 700 MHz for stability and battery
    ​ ​ ​ ​ • Enabled TCP ECN for slightly faster speeds on congested networks
    ​ ​ ​ ​ • Reduced chance of videos not playing
    ​ ​ ​ ​ • Added sdFAT driver for SD cards on some ROMs
    ​ ​ ​ ​ • Undervolted CPU by 150 mV
    ​ ​ ​ ​ • Added Kali NetHunter support (IPC, Bluetooth, Wi-Fi)
    ​ ​ ​ ​ • Improved audio jack quality
    ​ ​ ​ ​ • Added DTS-Eagle (DTS Headphone-X) support
    ​ ​ ​ ​ • Improved overall smoothness
    ​ ​ ​ ​ • Removed UKSM (additional overhead even when not in use)
    ​ ​ ​ ​ • Enabled fully multi-threaded IO
    ​ ​ ​ ​ • Improved boot speed
    ​ ​ ​ ​ • Removed hotplugs (this has been proven to actually be *detrimental* to battery, as well as performance)
    ​ ​ ​ ​ • Added ironactive and ondemandplus CPU governors
    ​ ​ ​ ​ • Fixed simple_ondemand GPU governor
    ​ ​ ​ ​ • Tuned Spectrum GPU settings
    ​ ​ ​ ​ • Fixed `There's an internal problem with your device` message on Treble ROMs
    ​ ​ ​ ​ • Fixed many more bugs
    ​ ​ ​ ​ • Removed non-functional Intellithermal
    ​ ​ ​ ​ • Fixed Bluetooth Low Energy + Wi-Fi co-existence on Pie

    We haven't fully fixed the video playback issue but we're close. It happens less often now.

    Sorry for how long it took us to do this release. We've been trying to fix the video issue. Updates will be much more frequent in the future.

    Enjoy!
    16
    Fu** You ***** my phone bricked fu***** disabled treble!! in the roms that are not treble after flash kernel change the partition data to the slot B and system leaves it in slot A

    Please be polite in your responses. Even if someone didn't explain something properly and it resulted in a brick, you definitely should not insult him.
    11
    We just released r6 to fix random reboots and also further improved the performance and battery life. Get it here: https://github.com/kdrag0n/velocity_tissot/releases/tag/r6

    Changelog:
    ​ ​ ​ ​ • Reverted to 100 Hz for maximum performance
    ​ ​ ​ ​ • Removed unused module support (0.2 MB smaller)
    ​ ​ ​ ​ • Microfreq GPU governor made more aggressive
    ​ ​ ​ ​ • Aggessively tuned helix_schedutil and autosmp on Balanced profile
    ​ ​ ​ ​ • Fixed almost all random reboots (hopefully)
    ​ ​ ​ ​ • Extra compiler optimizations
    ​ ​ ​ ​ • Switched back to clang as it seems to be smoother
    ​ ​ ​ ​ • Other Spectrum profiles tuned
    ​ ​ ​ ​ • Completely fixed Wi-Fi MAC address
    10
    We just released r8 to improve performance and idle battery life. Get it here on GitHub.

    Changelog:
    ​ ​ ​ ​ • ​Linux 3.18.113
    ​ ​ ​ ​ • Updated Qualcomm code to latest CAF LA.UM.6.6.r1-08900-899xx.0
    ​ ​ ​ ​ • Enabled Large Receive Offload
    ​ ​ ​ ​ • Improved idle battery life
    ​ ​ ​ ​ • Fixed lazyplug
    ​ ​ ​ ​ • New hotplugging settings using msm_hotplug
    ​ ​ ​ ​ • Added fingerprint boost
    ​ ​ ​ ​ • Improved wakeup times
    ​ ​ ​ ​ • Improved CFQ and BFQ performance
    ​ ​ ​ ​ • Added dynamic schedtune input boost
    ​ ​ ​ ​ • Disabled unnecessary CPU bug workarounds (not applicable to Snapdragon 625)
    ​ ​ ​ ​ • Switched to AOSP clang 7.0.2
    ​ ​ ​ ​ • Reduced 3.5mm jack background noise
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone