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

kolpomanob

Senior Member
Sep 9, 2014
60
6
dhaka
Have you found a fix to the video problem? Not wanting to pressure you or anything, came here to report a possible clue about the issue. This appears whenever the problem is present and I try to play a video with the Relay reddit app.
have you flashed the latest r8
can you share your custom ekm config as u posted earlier?.your earlier modification was great.
 

gougous3

Senior Member
Jan 11, 2013
339
98
have you flashed the latest r8
can you share your custom ekm config as u posted earlier?.your earlier modification was great.
Yeah I am. Twitter is one of the apps that can quickly trigger the issue.

About my EXKM config, here you go. Still under testing but it should do good. There weren't much things that changed apart from the hotplug driver and IO scheduler. The new IO scheduler (Zen) should give you slightly lower benchmark scores with the benefit of a lower latency and overhead (fiops can make the device sluggish when under high IO load). Lazyplug should improve the battery life with its chilled down/relaxed mechanics of working. Performance shouldn't really be much affected as it is also very quick at waking up all CPU cores when needed.

As a side note, you may want to max out the GPU OC to 855Mhz if you're willing to take the risk as there is a considerable performance boost. I'm not doing it myself because there hasn't been put much investigation and reaserch into it and I'm afraid it is using a too high voltage to achieve that frequency. Circuits, processors, gpus degrade over time and that process gets exponentially faster with out of spec voltages. There will be no clear evidence of prejudice at first sign/first months of usage but at long term, say 1 year, problems may show up (as it speeds the aging of the device).


OP could you please be more transparent and give us the relative voltages for both CPU and GPU OC? Say, in stock, at the max frequency of 2016Mhz the voltage is 1. How's the relative voltage for 2400? 1.15? 1.25? Same goes for the GPU.
 

kdrag0n

Senior Member
Feb 19, 2016
612
1,632
kdrag0n.dev
Hi can someone help me?i flash this kernel.. And when i play game.. Fps drop alwys.. Can some one help me config for gaming performance.. Im using kernel auditor..

Ps: i notes in kernel auditor, some cores is offline.. Its that oki?sorry im just newbie.. Please help me.

Btw thank for this beautiful kernel. I got good sot.. Just the tht fps dropping is my problem


Select the Gaming profile in Spectrum.
 

kdrag0n

Senior Member
Feb 19, 2016
612
1,632
kdrag0n.dev
Yeah I am. Twitter is one of the apps that can quickly trigger the issue.

About my EXKM config, here you go. Still under testing but it should do good. There weren't much things that changed apart from the hotplug driver and IO scheduler. The new IO scheduler (Zen) should give you slightly lower benchmark scores with the benefit of a lower latency and overhead (fiops can make the device sluggish when under high IO load). Lazyplug should improve the battery life with its chilled down/relaxed mechanics of working. Performance shouldn't really be much affected as it is also very quick at waking up all CPU cores when needed.

As a side note, you may want to max out the GPU OC to 855Mhz if you're willing to take the risk as there is a considerable performance boost. I'm not doing it myself because there hasn't been put much investigation and reaserch into it and I'm afraid it is using a too high voltage to achieve that frequency. Circuits, processors, gpus degrade over time and that process gets exponentially faster with out of spec voltages. There will be no clear evidence of prejudice at first sign/first months of usage but at long term, say 1 year, problems may show up (as it speeds the aging of the device).


OP could you please be more transparent and give us the relative voltages for both CPU and GPU OC? Say, in stock, at the max frequency of 2016Mhz the voltage is 1. How's the relative voltage for 2400? 1.15? 1.25? Same goes for the GPU.

Looks like it's about 1.3 relative to stock max for the CPU, and the GPU isn't overvolted. I may be wrong though, as these overclocking settings are very messy.
 
Last edited:

gougous3

Senior Member
Jan 11, 2013
339
98
We decreased gain, enabled high performance audio, and bumped the output quality of the DSP.
Which gain? The digital one or the one from the amplifier? And (sorry for these intrusive questions) what does high performance audio and bumped output quality exactly mean?
edit: nevermind, found the commits

Looks like it's about 1.3 relative to stock max for the GPU, and the GPU isn't overclocked. I may be wrong though, as these overclocking settings are very messy.

Wow that's not a small increase. Also is that a typo? Did you want to say CPU?

By the way, why do you disable the CLKFLAG_NO_RATE_CACHE?

Again, thanks for the support and feedback, definitely one of the most interactive devs on this community.
 
Last edited:

kdrag0n

Senior Member
Feb 19, 2016
612
1,632
kdrag0n.dev
Which gain? The digital one or the one from the amplifier? And (sorry for these intrusive questions) what does high performance audio and bumped output quality exactly mean?
edit: nevermind, found the commits



Wow that's not a small increase. Also is that a typo? Did you want to say CPU?

By the way, why do you disable the CLKFLAG_NO_RATE_CACHE?

Again, thanks for the support and feedback, definitely one of the most interactive devs on this community.

Yeah, I meant CPU. Fixed.

We didn't mean to disable that, it slipped part our guard. It's enabled now.
 

kdrag0n

Senior Member
Feb 19, 2016
612
1,632
kdrag0n.dev
We're considering adding support for Kali NetHunter, a portable penetration testing distribution accessible via an app. To provide full NetHunter support, we will need to add drivers for various USB Wi-Fi and Bluetooth dongles. This will slow down boot very slightly (approximately half a second).



To express your opinion, vote on the poll on the thread.
 

darkpegasus

Senior Member
Dec 21, 2016
88
33
We're considering adding support for Kali NetHunter, a portable penetration testing distribution accessible via an app. To provide full NetHunter support, we will need to add drivers for various USB Wi-Fi and Bluetooth dongles. This will slow down boot very slightly (approximately half a second).



To express your opinion, vote on the poll on the thread.
That'd be really awesome! I've voted yes
 
  • Like
Reactions: tytydraco

sandeep chauhan 2722

Senior Member
Mar 4, 2014
73
13
Silvassa
How To over clock to 2400 in my kernal manager there is only 2016 max frequency....
 

Attachments

  • Screenshot_Kernel_Toolkit_20180717-183432.png
    Screenshot_Kernel_Toolkit_20180717-183432.png
    90.4 KB · Views: 283

dvishalkhatri

Senior Member
Mar 3, 2018
413
319
chennai
We're considering adding support for Kali NetHunter, a portable penetration testing distribution accessible via an app. To provide full NetHunter support, we will need to add drivers for various USB Wi-Fi and Bluetooth dongles. This will slow down boot very slightly (approximately half a second).



To express your opinion, vote on the poll on the thread.

Will there security flaws when we use Kali nethunter ?
 

cheewaca

Senior Member
Oct 14, 2010
363
172
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.
 
Last edited:

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