[KERNEL][UPSTREAM][CAF][EAS] Hex Kernel

Search This thread

tytydraco

Recognized Developer
Mar 22, 2017
755
1,773
19
Devices
Hex supports the following devices:
- Jasmine (Mi A2)
- Wayne (Mi 6X)
Additionally, Hex supports converted devices, i.e. A2 --> 6X.

Features
- Insanely debloated
- No random backports
- CAF upstream
- ALS upstream
- Most debugging disabled
- Innovative changes (minimal cherry-picks)
- 100 Hz tick
- Low touchscreen latency
- Always pass DM Verity
- I/O improvements
- Less eMMC freezing
- EAS highly accurate model
- 27W USB C PD charging
- Tons more technical stuff.

Downloads:
https://github.com/tytydraco/kernel_xiaomi_jasmine/releases

Telegram:
Releases: https://t.me/hexreleases
Betas: https://t.me/hexkernel

Enjoy!

Meta
- Toolchain: Clang r365631c (subject to updates)
- Toolchain (companion): GCC 4.9
- Main branch: pie

XDA:DevDB Information
[KERNEL][UPSTREAM][CAF][EAS] Hex Kernel, Kernel for the Xiaomi Mi A2

Contributors
tytydraco
Source Code: https://github.com/tytydraco/hex_jasmine/

Kernel Special Features:

Version Information
Status: Stable
Current Stable Version: 700
Stable Release Date: 2018-10-18

Created 2018-10-18
Last Updated 2019-06-22
 
Last edited:

balazs312

Senior Member
Dec 6, 2014
456
158
Congrats! ??
Looking forward to your great work on this device!
 
Last edited:

Harald.T

Senior Member
Jan 10, 2015
99
8
I've never flashed a custom kernel. What's the procedure? If I flash a custom Rom (AOSP Extended) when should I flash the kernel? After, before, during? Or does it not matter. Also. I would have to use the hex_a because the AOSP Extended Rom IS for the 6x?
 

oscar1823

Senior Member
Jul 26, 2017
117
8
Would this work on the Mi A2 Global on the new October Patch? Oh and is there a tutorial on how to install this Kernel?
 

johnsci911

Senior Member
Aug 22, 2016
234
10
How to flash it using fastboot since it's a zip file?

Sorry Noob question I never flashed kernels before
 

Top Liked Posts

  • There are no posts matching your filters.
  • 73
    Devices
    Hex supports the following devices:
    - Jasmine (Mi A2)
    - Wayne (Mi 6X)
    Additionally, Hex supports converted devices, i.e. A2 --> 6X.

    Features
    - Insanely debloated
    - No random backports
    - CAF upstream
    - ALS upstream
    - Most debugging disabled
    - Innovative changes (minimal cherry-picks)
    - 100 Hz tick
    - Low touchscreen latency
    - Always pass DM Verity
    - I/O improvements
    - Less eMMC freezing
    - EAS highly accurate model
    - 27W USB C PD charging
    - Tons more technical stuff.

    Downloads:
    https://github.com/tytydraco/kernel_xiaomi_jasmine/releases

    Telegram:
    Releases: https://t.me/hexreleases
    Betas: https://t.me/hexkernel

    Enjoy!

    Meta
    - Toolchain: Clang r365631c (subject to updates)
    - Toolchain (companion): GCC 4.9
    - Main branch: pie

    XDA:DevDB Information
    [KERNEL][UPSTREAM][CAF][EAS] Hex Kernel, Kernel for the Xiaomi Mi A2

    Contributors
    tytydraco
    Source Code: https://github.com/tytydraco/hex_jasmine/

    Kernel Special Features:

    Version Information
    Status: Stable
    Current Stable Version: 700
    Stable Release Date: 2018-10-18

    Created 2018-10-18
    Last Updated 2019-06-22
    13
    UPDATE:
    I added the file downloads in the proper place. Enjoy!
    11
    Release out after rebase

    - Rebased from the ground up
    - Fixed MMC bug
    - 300hz (scheduler becomes faster to respond to realtime tasks)
    - Disable RCU Boost (this causes overhead and jitter for realtime tasks)
    - Disable Audit
    - CPU Input Boost
    - Remove Watchdog
    - Increase KGSL thread priority
    - Wakelock blocking
    - Adrenoboost
    - Disable MASSIVE amounts of logging
    - Merged latest CAF tags
    - Disable network filesystems
    - Disable DEBUGFS
    - Extreme binder modification (removed debugging, cleaned up)
    - Use flat memory model (@kdrag0n)
    - Add brightness flooring interface (use true min brightness)
    - Performance critical IRQs for fingerprint, mdss, kgsl, touchscreen, etc
    - Display hacks for better latency
    - Improve LED animation (kanged from Onyx)
    - Net hacks for better latency
    - Spoof verity and bootloader unlock status (green/locked)
    - Wireguard VPN (latest)
    - Anxiety I/O scheduler (written by me) (optimized for mobile latency)
    - Disable stack protector
    - Disable printk by default
    - Chacha20 random
    - Optimized nr_requests for latency
    - Reduced dirty ratios
    - Disable CABC (don't auto adjust brightness)
    - Analog dimming
    - NTFS R/W
    - KCAL
    - -Ofast
    - GCC 8.2 with Graphite Optimization
    - Experimental Makefile flags
    - Randomize MAC address
    - Omit almost all debugging from the kernel
    - GCMA
    - Tuned vibration motor (haptic and quieter)
    - General boosting for better battery
    - Force Fast Charging
    - MSM8998 Frequency Table
    - Undervolt
    - 32-Bit VDSOs
    - Simple GPU Algorithm
    - Adreno Idler
    - Audio Gain Control
    - SIO / ANXIETY / ZEN / CFQ / FIOPS / DEADLINE / NOOP / BFQ
    - SCHED / SCHEDUTIL / INTERACTIVE / ONDEMAND / ETC
    - Probably other stuff I'm forgetting

    ENJOY!!!
    9
    NEW UPDATE:
    - Omit debugfs drivers that snuck their way in
    - Debloat config a little
    - Tune dirty ratios for performance
    - Set defaults for net
    - Fix some drivers using HZ instead of jiffies
    - Tons of picks for mdss and LPM
    - Adreno idler
    - Simple GPU
    - Fix mutex lock inconsistencies
    - Async vibration
    - Hack up and optimize LPM
    - 1000hz instead of NO_HZ (testing proves that it's better)
    - Revert EAS (caused jitter and jank due to bad energy model)
    - Reduce boost values to 600mhz
    - Revert all rt_mutex stuff (never saw any results)
    - Convert to @uvera's new SDM660 freq table based on MSM8998
    - Compile with AOSP Clang 8 (testing)
    9
    New Build!

    - Don't compile useless adreno drivers
    - Align linker sections (Sultan)
    - Don't compile Frame Pointer (less debugging) (Sultan)
    - Disable Autogrouping
    - Schedutil realtime priority
    - Omit E7S dtb
    - Add & enable simple lmk (Sultan)
    - Use raw spinlocks for cpufreq_stats
    - JUMP_LABELS: use realtime mutex
    - Tune net for better throughput while maintaining jitter
    - Improve ION cache accounting
    - Low latency tweaks in FAIR

    Downloads are in the OP. Enjoy!

    Edit: the download for A is broken. I'll fix it in a sec.
    Edit2: fixed