[KERNEL][TISSOT][4.9.y] Canting 4.6 [29/10/2019]

Search This thread

khusika

Recognized Developer / Recognized Contributor
Feb 14, 2013
1,609
5,271
Malang
khusika.com
Xiaomi Mi A1
Xiaomi Mi 8
INTRODUCTION
Canting is a kernel based on Google Common 4.9 merged over CAF-kernel.lnx.4.9.r27-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: This kernel only supported for rom which is already build with kernel 4.9.
Treble/Non-Treble Support
Linux version 4.9.198
CAF Tag LA.UM.8.6.2.r1-04700-89xx.0
Build with Clang 9.0.1 based on r372188
CPU Governors: schedutil, powersave, performance
I/O Schedulers: noop, cfq, bfq
Compat vDSO from Pixel kernel
TCP Congestion Algorithm: westwood, reno, cubic
WireGuard VPN support (Current version: 0.0.20191012)
Boeffla wakelock blocker (Nothing is blocked by default)
Sound Control: Speaker, Microphone, Headphone (Per-channel control)
KCAL 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

  1. Download latest kernel version
  2. Boot to recovery
  3. Flash kernel.zip
  4. reboot to system


DOWNLOAD LINK
-
CREDITS

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

Contributors
khusika
Source Code: https://github.com/khusika/canting_kernel_xiaomi_msm8953/

Kernel Special Features:

Version Information
Status: Stable
Current Stable Version: 4.6
Stable Release Date: 2019-10-29

Created 2018-11-24
Last Updated 2019-10-29
 

khusika

Recognized Developer / Recognized Contributor
Feb 14, 2013
1,609
5,271
Malang
khusika.com
Xiaomi Mi A1
Xiaomi Mi 8
Changelogs

Code:
[B]Release-4.3 [06/10/2019][/B]
[LIST]
[*]Linux 4.9.195
[*]Upstream with Google Common 4.9-q
[*]Merge tag 'LA.UM.8.6.2.r1-04500-89xx.0' into canting-4.9-q
[*]Allow owner & qtaguid to co-exist for Android
[*]Hard-code initial device count based on Android version
[/LIST]

[B]Release-4.2 [24/09/2019][/B]
[LIST]
[*]Re-build with Clang 9.0.0-rc6 based on [URL="https://github.com/llvm/llvm-project/commits/12f174e98c3514755b21db2f040544c0b2ed5f67"]r371969[/URL]
[*]Re-based with the CAF releases for Q [URL="https://source.codeaurora.org/quic/la/kernel/msm-4.9/tree/?h=kernel.lnx.4.9.r27-rel"]kernel.lnx.4.9.r27-rel[/URL]
[*]Linux 4.9.194
[*]Update Wireguard to 0.0.20190913
[*]Cleanup harmful patch
[*]Drop Copperhead patchset
[*]Drop DynamicSchedtune boost
[/LIST]

[B]Release-4.1 [10/09/2019][/B]
[LIST]
[*]Linux 4.9.192
[*]Upstream with Google Common 4.9
[*]Update Wireguard to 0.0.20190905
[*]AnyKernel3: 98b1ac6
[/LIST]

[B]Release-4.0 [25/08/2019][/B]
[LIST]
[*]Linux 4.9.190
[*]Upstream with Google Common 4.9
[*]Merge tag 'LA.UM.7.6.2.r1-09500-89xx.0' into canting-4.9
[*]Upstream with f2fs-stable/linux-4.9.y
[*]Add firmware upgrade support for tissot
[*]Add more kernel hardening from GrapheneOS
[*]AnyKernel3: abc56fc
[/LIST]

[B]Release-3.9 [21/07/2019][/B]
[LIST]
[*]Linux 4.9.186
[*]Upstream with Google Common 4.9
[*]AnyKernel3: 958b2c8
[/LIST]

[B]Release-3.8 [10/07/2019][/B]
[LIST]
[*]Rebuild with Clang 9.0.5 based on [URL="https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/2f31740889462f12be2d9d7d2ebebe0598362a71"]Google r353983e[/URL]
[*]Linux 4.9.185
[*]Upstream with Google Common 4.9
[*]Uptream with LineageOS
[*]Merge CAF tag LA.UM.7.6.2.r1-09200-89xx.0
[*]Update Wireguard to 0.0.20190702
[*]Drop ULPS patch
[*]Revert back GPU initial-pwrlevel to 320Mhz *This should be applied in 2.6
[/LIST]

[B]Release-3.7 [25/06/2019][/B]
[LIST]
[*]Rebuild with Clang 9.0.4 based on [URL="https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/013c6d07d4d70c5cb1bf3ed92fd2ed9840bb7cd2"]Google r353983d[/URL]
[*]Linux 4.9.183
[*]Upstream with Google Common 4.9
[*]Improve Clang fixup
[*]Enable zram writeback
[*]Enable both BFQ & CFQ GROUP_IOSCHED
[/LIST]

[B]Release-3.6 [12/06/2019][/B]
[LIST]
[*]Linux 4.9.181
[*]Upstream with Google Common 4.9
[*]Merge tag 'LA.UM.7.6.2.r1-08800-89xx.0' into canting-4.9
[*]Update Wireguard to 0.0.20190601
[/LIST]

[B]Release-3.5 [01/06/2019][/B]
[LIST]
[*]Linux 4.9.180
[*]Upstream with Google Common 4.9
[*]Upstream with f2fs-stable/linux-4.9.y
[*]Upstream with Lineage-16.0
[*]Update Wireguard to 0.0.20190531
[*]Cleanup ramdisk
[*]Set BFQ as default I/O Scheduler in the first boot, then replace it with CFQ after boot completed
[/LIST]

[B]Release-3.4 [26/05/2019][/B]
[LIST]
[*]Linux 4.9.179
[*]Merge tag LA.UM.7.6.2.r1-08700-89xx.0
[*]Upstream with Google Common 4.9
[*]Set readahead back to 128KB
[/LIST]

[B]Release-3.3 [22/05/2019][/B]
[LIST]
[*]Rebuild with Clang 9.0.3 based on [URL="https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/a5997243363f4bb96f795fa9e0937bc9b1883d33"]Google r353983c[/URL]
[*]Linux 4.9.178
[*]Turn on VCT access from 32-bit applications
[/LIST]

[B]Release-3.2 [19/05/2019][/B]
[LIST]
[*]Minor fixup with network problems
[*]Fix f2fs-stable mismerge
[/LIST]

[B]Release-3.1 [17/05/2019][/B]
[LIST]
[*]Linux 4.9.177
[*]Upstream with Google Common 4.9
[*]Upstream with f2fs-stable/linux-4.9.y
[/LIST]

[B]Release-3.0 [11/05/2019][/B]
[LIST]
[*]Linux 4.9.175
[*]Merge tag LA.UM.7.6.2.r1-08500-89xx.0
[*]Upstream with Google Common 4.9
[*]Fix treble detection?
[/LIST]

[B]Release-2.9 [08/05/2019][/B]
[LIST]
[*]Linux 4.9.174
[*]Upstream with f2fs-stable/linux-4.9.y
[/LIST]

[B]Release-2.8 [04/05/2019][/B]
[LIST]
[*]Linux 4.9.173
[*]Upstream with Google Common 4.9
[/LIST]

[B]Release-2.7 [27/04/2019][/B]
[LIST]
[*]Linux 4.9.171
[*]Merge tag 'LA.UM.7.6.2.r1-08300-89xx.0'
[*]Add kernel hardening from GrapheneOS
[/LIST]

[B]Release-2.6 [22/04/2019][/B]
[LIST]
[*]Rebase with Lineage source code
[*]Linux 4.9.170
[*]Merge tag 'LA.UM.7.6.2.r1-08100-89xx.0'
[*]Upstream with Google Common 4.9
[*]Merge upstream f2fs-stable/linux-4.9.y
[*]Add support for Treble/Non-Treble
[*]Revert back to initial gpu power level to 320Mhz
[*]Update wireguard to 0.0.20190406
[/LIST]

[B]Release-2.5 [24/03/2019][/B]
[LIST]
[*]Merge 4.9.165
[*]Upstream with Lineage tree
[*]Upstream with Google Common 4.9
[*]Merge upstream f2fs-stable/linux-4.9.y
[/LIST]

[B]Release-2.4 [21/03/2019][/B]
[LIST]
[*]Merge 4.9.164
[*]Merge tag 'LA.UM.7.6.2.r1-07300-89xx.0'
[/LIST]

[B]Release-2.3 [14/03/2019][/B]
[LIST]
[*]Merge 4.9.163
[*]Upstream with Lineage tree
[*]Upstream with Google Common 4.9
[*]dts: tissot: Add more power saving flags to the panels
[/LIST]

[B]Release-2.2 [06/03/2019][/B]
[LIST]
[*]Merge 4.9.162
[*]Upstream with Lineage tree
[*]Merge CAF tag LA.UM.7.6.2.r1-07100-89xx.0
[*]Update wireguard to 0.0.20190227
[/LIST]

[B]Release-2.1 [27/02/2019][/B]
[LIST]
[*]Merge 4.9.161 into lineage-16.0-4.9
[/LIST]

[B]Release-2.0 [23/02/2019][/B]
[LIST]
[*]Merge 4.9.160 into lineage-16.0-4.9
[/LIST]

[B]Release-1.9 [22/02/2019][/B]
[LIST]
[*]Merge 4.9.159 into lineage-16.0-4.9
[/LIST]

[B]Release-1.8 [15/02/2019][/B]
[LIST]
[*]Merge 4.9.158 into lineage-16.0-4.9
[*]Upstream with Lineage tree
[*]Upstream with Google common 4.9
[*]Merge CAF tag LA.UM.7.6.2.r1-06900-89xx.0
[*]Fix camera frame drop after taking some photos with hdr+
[/LIST]

[B]Release-1.7 [13/02/2019][/B]
[LIST]
[*]Linux 4.9.156
[*]Use the stock config for /proc/config.gz
[*]Fix safety net patch? not tested yet, but let me know
[/LIST]

[B]Release-1.6 [07/02/2019][/B]
[LIST]
[*]Linux 4.9.155
[*]Upstream from Google common 4.9
[*]Merge tag LA.UM.7.6.2.r1-06500-89xx.0
[*]Merge upstream-f2fs-stable-linux-4.9.y
[*]Enable support for Ultra Low Power State for tissot
[*]sched/fair: Skip frequency updates if CPU about to idle
[*]Set GPU idle timeout to 64 ms for msm8953
[*]Add Dynamic Schedtune Boost
[*]Disable common cpu governor : userspace, ondemand, conservative 
[*]Remove I/O Sched Switcher
[*]Remove State Notifier
[*]Remove Adreno Idler
[/LIST]

[B]Release-1.5 [31/01/2019][/B]
[LIST]
[*]Linux 4.9.154
[/LIST]

[B]Release-1.4 [26/01/2019][/B]
[LIST]
[*]Linux 4.9.153
[*]Upstream From Google common 4.9
[*]Update wireguard to 0.0.20190123
[/LIST]

[B]Release-1.3 [23/01/2019][/B]
[LIST]
[*]Rebuild with Clang 9.0
[*]Linux 4.9.152
[*]Upstream with Lineage tree
[*]Upstream From Google common 4.9
[*]Merge CAF tag LA.UM.7.6.2.r1-05700-89xx.0
[/LIST]

[B]Release-1.2 [17/01/2019][/B]
[LIST]
[*]Linux 4.9.151
[*]Upstream From Google common 4.9
[/LIST]

[B]Release-1.1 [13/01/2019][/B]
[LIST]
[*]Linux 4.9.150
[*]Upstream From Google common 4.9
[*]Merge f2fs-stable-5.0-rc1
[*]Enable NTFS_RW
[/LIST]

[B]Release-1.0 [09/01/2019][/B]
[LIST]
[*]Linux 4.9.149
[*]Upstream with Lineage tree
[*]Upstream From Google common 4.9
[*]Merge CAF tag LA.UM.7.6.2.r1-04800-89xx.0
[*]Add BFQ-v8r12
[*]Enable NTFS
[*]Update sdfat to 2.1.8
[*]Set Readahead to 2048kb
[*]Expose iowait_boost to userspace
[*]Memory optimization
[*]dts: msm8953: initial GPU freq to 133Mhz
[*]Improve wireguard scripts
[*]irq: Silence IRQ CPU migration message
[*]Upstream with AK2
[*]Initial stub of khusika's ramdisk
[*]Properly enable zRam from ramdisk
[/LIST]

[B]Release-0.9 [29/12/2018][/B]
[LIST]
[*]Linux 4.9.148
[*]Rebuild with CLANG 350154
[*]Upstream with Lineage tree
[*]Disable network testing
[*]Disable QCOM_DLOAD_MODE to avoid getting to edl on panics
[*]Set timer frequency to 300 Hz
[*]Enable JUMP_LABEL
[*]Disable debugfs write for regmap
[/LIST]

[B]Release-0.8 [22/12/2018][/B]
[LIST]
[*]Linux 4.9.147
[*]Upstream with Lineage tree
[*]Update WireGuard to 0.0.20181218
[*]boeffla_wl_blocker: Don't block wakelocks by default
[/LIST]

[B]Release-0.7 [17/12/2018][/B]
[LIST]
[*]Linux 4.9.146
[*]Merge CAF tag LA.UM.7.6.2.r1-04600-89xx.0
[*]Add Sound Control (per-channel headphone, mic, and speakers)
[*]Add Vibration Control
[*]Block More Wakelocks
[/LIST]

[B]Release-0.6 [13/12/2018][/B]
[LIST]
[*]Linux 4.9.145
[*]Upstream From Google common 4.9
[*]Upstream with Lineage tree (Fix D2TW in deepsleep)
[/LIST]

[B]Release-0.5 [08/12/2018][/B]
[LIST]
[*]Linux 4.9.144
[*]Upstream with Lineage tree
[/LIST]

[B]Release-0.4 [06/12/2018][/B]
[LIST]
[*]Rebuild with CLANG 348197
[*]Linux 4.9.143
[*]Upstream From Google common 4.9
[*]Upstream with Lineage tree
[/LIST]

[B]Release-0.3 [02/12/2018][/B]
[LIST]
[*]Linux 4.9.142
[*]Upstream From Google common 4.9
[*]Merge LA.UM.7.6.2.r1-04300-89xx.0 into lineage-16.0-4.9 (included audio & wifi driver)
[*]Add Compact vDSO from  Google Pixel Kernel
[/LIST]

[B]Release-0.2 [28/11/2018][/B]
[LIST]
[*]Linux 4.9.141
[*]Upstream From Google common 4.9
[*]Add State Notifier Driver
[*]Add Adreno Idler (Enable by default) based on State Notifier
[*]Add I/O Scheduler Switcher (Default to Noop)
[*]Add KCAL Control
[*]Use CLKFLAG_NO_RATE_CACHE for a53ssmux_perf/pwr
[*]Silences some log spam
[/LIST]
 
Last edited:

khusika

Recognized Developer / Recognized Contributor
Feb 14, 2013
1,609
5,271
Malang
khusika.com
Xiaomi Mi A1
Xiaomi Mi 8
  • Like
Reactions: jigs4wkiller

AG14795

Senior Member
Feb 14, 2014
60
16
Bengaluru
Flashed the kernel on top of the latest LineageOS 16 with your reference kernel v4.9.140... Getting nice battery backup when in usage but facing a little battery drain when in idle... This battery drain when in idle wasn't this visible when I was using the reference kernel over the same build... Currently midway through a charge, will share the same when it gets complete...
 

khusika

Recognized Developer / Recognized Contributor
Feb 14, 2013
1,609
5,271
Malang
khusika.com
Xiaomi Mi A1
Xiaomi Mi 8

Top Liked Posts

  • There are no posts matching your filters.
  • 65
    INTRODUCTION
    Canting is a kernel based on Google Common 4.9 merged over CAF-kernel.lnx.4.9.r27-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: This kernel only supported for rom which is already build with kernel 4.9.
    Treble/Non-Treble Support
    Linux version 4.9.198
    CAF Tag LA.UM.8.6.2.r1-04700-89xx.0
    Build with Clang 9.0.1 based on r372188
    CPU Governors: schedutil, powersave, performance
    I/O Schedulers: noop, cfq, bfq
    Compat vDSO from Pixel kernel
    TCP Congestion Algorithm: westwood, reno, cubic
    WireGuard VPN support (Current version: 0.0.20191012)
    Boeffla wakelock blocker (Nothing is blocked by default)
    Sound Control: Speaker, Microphone, Headphone (Per-channel control)
    KCAL 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

    1. Download latest kernel version
    2. Boot to recovery
    3. Flash kernel.zip
    4. reboot to system


    DOWNLOAD LINK
    -
    CREDITS

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

    Contributors
    khusika
    Source Code: https://github.com/khusika/canting_kernel_xiaomi_msm8953/

    Kernel Special Features:

    Version Information
    Status: Stable
    Current Stable Version: 4.6
    Stable Release Date: 2019-10-29

    Created 2018-11-24
    Last Updated 2019-10-29
    28
    Release 1.0

    New build is up

    Changelogs :
    • Linux 4.9.149
    • Upstream with Lineage tree
    • Upstream From Google common 4.9
    • Merge CAF tag LA.UM.7.6.2.r1-04800-89xx.0
    • Add BFQ-v8r12
    • Enable NTFS
    • Update sdfat to 2.1.8
    • Set Readahead to 2048kb
    • Expose iowait_boost to userspace
    • Memory optimization
    • dts: msm8953: initial GPU freq to 133Mhz
    • Improve wireguard scripts
    • irq: Silence IRQ CPU migration message
    • Upstream with AK2
    • Initial stub of khusika's ramdisk
    • Properly enable zRam from ramdisk

    Download link in the OP, enjoy it :) #macqueenyaqueen
    24
    Release 1.4

    New build is up

    Changelogs :
    • Linux 4.9.153
    • Upstream From Google common 4.9
    • Update wireguard to 0.0.20190123

    Download link in the OP, enjoy it :)
    23
    Release 0.9

    New build is up

    Changelogs :
    • Linux 4.9.148
    • Rebuild with CLANG 350154
    • Upstream with Lineage tree
    • Disable network testing
    • Disable QCOM_DLOAD_MODE to avoid getting to edl on panics
    • Set timer frequency to 300 Hz
    • Enable JUMP_LABEL
    • Disable debugfs write for regmap

    Download link in the OP, enjoy it :)
    22
    Release 2.6

    Hi, i'm back!

    Changelogs :
    • Rebase with Lineage source code
    • Linux 4.9.170
    • Merge tag 'LA.UM.7.6.2.r1-08100-89xx.0'
    • Upstream with Google Common 4.9
    • Merge upstream f2fs-stable/linux-4.9.y
    • Add support for Treble/Non-Treble
    • Revert back to initial gpu power level to 320Mhz
    • Update wireguard to 0.0.20190406

    I'm not sure with the previous audio issues is still exist or not, just try it out and let me know.
    Download link in the OP, enjoy it :)