• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[EOL][KERNEL][TISSOT][TREBLE][3.18.124][CLANG] ProjectK-r24 [26/10/2018]

Search This thread

wadhah1000

Senior Member
Feb 29, 2016
250
48
After 100% the device seems to be charging , is it normal or kernel bug ?
- AEX 5.8
- flashed over void
 

Attachments

  • Screenshot_Ampere_20180814-124038.png
    Screenshot_Ampere_20180814-124038.png
    179.4 KB · Views: 392

AleeexDK

Senior Member
Jun 20, 2018
50
13
How I can calibrate the battery? Last night I flash this kernel in Liquid Remix, this is the first full charge but I have a several drain (ProjectK v17)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 64
    4BH7zmt.png
    ProjectK is a kernel based on CAF 3.18 kernel source with linux-stable merged in comingout with bunch of a features.

    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.
     */

    wSa3zfv.png
    Only for Custom ROM 8.1.0 & 9.0.0
    Treble/Non-Treble Support
    Linux version 3.18.124
    CAF Tag LA.UM.7.6.r1-03100-89xx.0
    Build with CLANG 344434 optimized for arm64 compiled with build-tools-clang
    Kernel Hardening from Copperhead OS
    CPU Governors: elementalx, relaxed, chill, electron, impulse, zzmoove, alucard, darkness, nightmare, yankactive, intelliactive, blu_active, interactive, clarity, conservative, ondemand, powersave, performance, userspace
    I/O Schedulers: noop, deadline, row, cfq, zen, fiops, sio, maple, bfq
    Live Display Driver
    Compat vDSO from Pixel kernel
    Native DT2W support
    WireGuard VPN support (Current version: 0.0.20180925)
    KCAL colour control
    Sound Control
    Vibration Intensity Control
    Boeffla wakelock blocker
    sdFAT, exFAT and NTFS Support
    Better performance
    CRC & SHA256 crypto algorithms
    UKSM
    Blocked many wakelocks
    Removed safetynet flags (no need of magisk to bypass safteynet)
    Improved zRAM with lz4 compression
    Tweaked Westwood TCP Congestion set as default
    CPU Boost
    Support PowerSuspend
    Adreno idler
    Spectrum Kernel Manager
    for more info check my commits

    WPWfsIi.png

    Required TWRP

    FRESH INSTALLATION
    1. Download latest kernel version
    2. Boot to recovery
    3. Flash kernel.zip
    4. wipe cache
    5. reboot to system

    IF YOU COME FROM KERNEL WHICH HAS EXTRA RAMDISK CONFIG
    1. Download latest version of ProjectK
    2. Go to TWRP
    3. Wipe System both Partition A & B
    4. Reboot to TWRP
    5. Flash your rom
    6. Flash TWRP
    7. Reboot to TWRP
    8. Flash kernel.zip
    9. Done


    lRyEolp.png

    cALQOef.png

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

    Contributors
    K_TECH
    Source Code: https://github.com/khusika/projectk_kernel_xiaomi_msm8953/

    Kernel Special Features:

    Version Information
    Status: Stable
    Current Stable Version: r-23
    Stable Release Date: 2018-10-13

    Created 2018-04-01
    Last Updated 2018-10-26
    25
    Release 20

    New build is up, enjoy it :fingers-crossed:

    Release-20 [06/09/2018]
    -Bump version to release 20
    -Rebuild kernel with CLANG 8.0.341477 optimized for arm64
    -Rebase source with kernel.lnx.3.18.r34-rel from CAF with LA.UM.7.6.r1-02000-89xx.0 as initial tag version
    -Upstream linux kernel version to 3.18.121
    -Re-Add back system mount partition for A/B
    -Update Wireguard to 0.0.20180904
    -Remove LCD Notifier
    -Cleanup AutoSMP (Never used since it was removed)
    -Masuk pak eko
    -For more info see release notes r20 here
    24
    EOL for projectk not for 3.18, I'll build another one with another look (And still with 3.18). Just stay tuned and let projectk die :p
    21
    Changelogs

    vqUZemF.png

    Code:
    [B]Release-24 [26/10/2018][/B]
    -END OF LIFE :)
    -Merge CAF tag LA.UM.7.6.r1-03100-89xx.0
    -Various Upstream From Google common 3.18
    -Add more missing patch caused by CAF
    -DIsable Voltage Control
    -Enable f2fs for tissot
    -arch: arm: dts: tissot: Remove system mount partition
    -Ramdisk: Fix Zram Config
    -Ramdisk: Update Battery Mode
    
    [B]Release-23 [13/10/2018][/B]
    -Bump version to release 23
    -Rebuild kernel with CLANG 8.0.344434 optimized for arm64
    -Merge tag 3.18.124 into projectk
    -Merge tag LA.UM.7.6.r1-02800-89xx.0 into projectk
    -drivers: prima: Update to CAF Tag LA.UM.7.6.r1-02800-89xx.0
    -Synced F2FS changes with Linux v4.19-rc1
    -Update WireGuard to 0.0.20181007
    -Add Voltage Control
    -Add Compact vDSO from  Google Pixel Kernel
    -prima: Use powersuspend instead of early_suspend
    -Improve ION cache accounting
    -Improve camera_v2 from kernel.lnx.3.18.r33-rel
    -Fix Gcame Issues
    -Ramdisk: Reduce LMK minfree
    -For more info see release notes r23 [URL="https://github.com/khusika/tissot_projectk/releases/tag/r23"][B][I][U]here[/U][/I][/B][/URL]
    
    [B]Release-22 [26/09/2018][/B]
    -Bump version to release 22
    -Rebuild kernel with CLANG 8.0.342345 optimized for arm64
    -Merge tag 3.18.123 into projectk
    -Merge tag LA.UM.7.6.r1-02500-89xx.0 into projectk
    -drivers: prima: Update to CAF Tag LA.UM.7.6.r1-02500-89xx.0
    -Add stuff from google common
    -Update Wireguard to 0.0.20180925
    -Fix some derp
    -For more info see release notes r22 [URL="https://github.com/khusika/tissot_projectk/releases/tag/r22"][B][I][U]here[/U][/I][/B][/URL]
    
    [B]Release-21 [10/09/2018][/B]
    -Bump version to release 21
    -Rebuild kernel with CLANG 8.0.341759 optimized for arm64
    -Merge tag 3.18.122 into projectk
    -Update powersuspend to 1.8
    -Add UKSM 0.1.2.3 (Disable by default)
    -For more info see release notes r21 [URL="https://github.com/khusika/tissot_projectk/releases/tag/r21"][B][I][U]here[/U][/I][/B][/URL]
    
    [B]Release-20 [06/09/2018][/B]
    -Bump version to release 20
    -Rebuild kernel with CLANG 8.0.341477 optimized for arm64
    -Rebase source with kernel.lnx.3.18.r34-rel from CAF with LA.UM.7.6.r1-02000-89xx.0 as initial tag version
    -Upstream linux kernel version to 3.18.121
    -Re-Add back system mount partition for A/B
    -Update Wireguard to 0.0.20180904
    -Remove LCD Notifier
    -Cleanup AutoSMP (Never used since it was removed)
    -For more info see release notes r20 [URL="https://github.com/khusika/tissot_projectk/releases/tag/r20"][B][I][U]here[/U][/I][/B][/URL]
    
    [B]Release-19 [28/08/2018][/B]
    -Bump version to release 19
    -Rebuild kernel with CLANG 8.0.340596 optimized for arm64
    -Some minor changes for Clang & Gcc warn
    -Merge tag 3.18.120 into projectk
    -Merge tag LA.UM.6.6.r1-09600-89xx.0 into projectk
    -drivers: prima: Update to CAF Tag LA.UM.6.6.r1-09600-89xx.0
    -Add [URL="https://copperhead.co/android/docs/technical_overview#kernel-hardening"]Kernel Hardening from Copperhead OS[/URL]
    -Reset uid_sys_stats to google-common
    -Revert some stuff
    -Improve Zram
    -ramdisk: spectrum: Set idle gpu to 133 Mhz for Balance mode
    -Improve Spectrum Profiles
    -For more info see release notes r19 [URL="https://github.com/khusika/tissot_projectk/releases/tag/r19"][B][I][U]here[/U][/I][/B][/URL]
    
    [B]Release-18 [18/08/2018][/B]
    -Bump version to release 18
    -Rebuild kernel with CLANG 8.0.339515 optimized for arm64
    -Merge tag 3.18.119 into projectk
    -Enable local-init sanitizer
    -Enable RFKILL_INPUT: Mitigate BT and WiFi multiexistence in P
    -Update Wireguard to 0.0.20180809
    -Improve Clarity Governor
    -Set default max readahead size to 2048
    -Add Ability to Set CRC Check (disable by Default)
    -Fix battery drain in the deep sleep mode when wifi is turn off
    -Remove log spam in some driver
    -Fix spectrum not supported
    -Fix spectrum on boot
    -Improve Spectrum Profiles
    -For more info see release notes r18 [URL="https://github.com/khusika/tissot_projectk/releases/tag/r18"][B][I][U]here[/U][/I][/B][/URL]
    
    [B]Release-17 [09/08/2018][/B]
    -Bump version to release 17
    -Rebuild kernel with CLANG 8.0.339147 optimized for arm64
    -Some minor changes for Clang
    -Merge tag 3.18.118 into projectk
    -Merge tag LA.UM.6.6.r1-09500-89xx.0 into projectk
    -drivers: prima: Update to CAF Tag LA.UM.6.6.r1-09500-89xx.0
    -Add Support for Android P GSI
    -Upstream f2fs-stable (Disable by default in tissot)
    -Update Wireguard to 0.0.20180802
    -Remove IntelliThermal Driver
    -Remove Fast Charge Driver
    -Remove QNovo Charging Driver
    -Fix full charging  (Caused by too much delay)
    -Improve sdfat driver
    -Fix various memory leaks
    -For more info see release notes r17 [URL="https://github.com/khusika/tissot_projectk/releases/tag/r17"][B][I][U]here[/U][/I][/B][/URL]
    
    [B]Release-16 [29/07/2018][/B]
    -Bump version to release 16
    -Rebuild kernel with CLANG 7.0.338213 optimized for arm64
    -Some minor changes for Clang
    -Merge tag 3.18.117 into projectk
    -Merge tag LA.UM.6.6.r1-09400-89xx.0 into projectk
    -drivers: prima: Update to CAF Tag LA.UM.6.6.r1-09400-89xx.0
    -Minor changes from LineageOS
    -Minor changes from Google Common
    -(Actually) Fix unbalance IRQ 72
    -Fix unsupported rbbmtimer_clk
    -For more info see release notes r16 [URL="https://github.com/khusika/tissot_projectk/releases/tag/r16"][B][I][U]here[/U][/I][/B][/URL]
    
    [B]Release-15 [23/07/2018][/B]
    -Bump version to release 15
    -Rebuild kernel with CLANG 7.0.337657 optimized for arm64
    -Some minor changes for Clang
    -Merge tag 3.18.116 into projectk
    -Merge tag LA.UM.6.6.r1-09200-89xx.0 into projectk
    -drivers: prima: Update to CAF Tag LA.UM.6.6.r1-09200-89xx.0
    -Remove Mifs & HQ Sysfs
    -For more info see release notes r15 [URL="https://github.com/khusika/tissot_projectk/releases/tag/r15"][B][I][U]here[/U][/I][/B][/URL]
    
    [B]Release-14 [17/07/2018][/B]
    -Bump version to release 14
    -Rebuild kernel with CLANG 7.0.337252 optimized for arm64
    -Some minor changes for Clang
    -Merge tag 3.18.115 into projectk
    -Improve CFQ Scheduler
    -Silenced a logspam
    -spectrum: Enable power_efficient in balance mode
    -spectrum: Use bfq for performance
    -For more info see release notes r14 [URL="https://github.com/khusika/tissot_projectk/releases/tag/r14"][B][I][U]here[/U][/I][/B][/URL]
    
    [B]Release-13 [10/07/2018][/B]
    -Bump version to release 13
    -Merge tag 3.18.114 into projectk
    -Rebuild kernel with CLANG 7.0.336550 optimized for arm64
    -block/bfq: Reset to BFQ-v7r8
    -Enable support for sdFAT filesystem
    -Some minor changes from LineageOS
    -For more info see release notes r13 [URL="https://github.com/khusika/tissot_projectk/releases/tag/r13"][B][I][U]here[/U][/I][/B][/URL]
    
    [B]Release-12 [01/07/2018][/B]
    -Bump version to release 12
    -Rebuild kernel with CLANG 7.0.336050 optimized for arm64
    -Some minor changes for Clang
    -Merge tag LA.UM.6.6.r1-09000-89xx.0 into projectk
    -drivers: prima: Update to CAF Tag LA.UM.6.6.r1-09000-89xx.0
    -Improve sdcardfs
    -Improve Clarity CPU Governor
    -Merge BFQ Scheduler v8r12
    -Improve Maple scheduler
    -Improve Wireguard importer version
    -Remove Dynamic SchedTune Boost
    -Remove all related wake boost driver
    -For more info see release notes r12 [URL="https://github.com/khusika/tissot_projectk/releases/tag/r12"][B][I][U]here[/U][/I][/B][/URL]
    
    [B]Release-11 [15/06/2018][/B]
    -Bump version to release 11
    -Rebuild kernel with CLANG 7.0.334241 optimized for arm64
    -Some minor changes for Clang
    -Merge tag 3.18.113 into projectk
    -Merge tag LA.UM.6.6.r1-08900-89xx.0 into projectk
    -drivers: prima: Update to CAF Tag LA.UM.6.6.r1-08900-89xx.0
    -Remove custom frequencies (No OC and UC nor UV and let it stock as CAF and Xiaomi do)
    -Remove CPU Hotplug drivers (This thing are too old, and let Governor do it self)
    -Improve CFQ Scheduler
    -Improve BFQ Scheduler
    -Improve CPU Boost
    -Implement Dynamic SchedTune Boost
    -For more info see release notes r11 [URL="https://github.com/khusika/tissot_projectk/releases/tag/r11"][B][I][U]here[/U][/I][/B][/URL]
    
    [B]Release-10 [01/06/2018][/B]
    -Bump version to release 10
    -Rebuild kernel with CLANG 7.0.333716 optimized for arm64 
    -Linux kernel version 3.18.112
    -Merge tag 'LA.UM.6.6.r1-08600-89xx.0'
    -drivers: prima: Update to CAF Tag LA.UM.6.6.r1-08600-89xx.0
    -Improve boot times
    -Boost "soc:qcom,cpubw" on screen wake
    -For more info see release notes r10 [URL="https://github.com/khusika/tissot_projectk/releases/tag/r10"][B][I][U]here[/U][/I][/B][/URL]
    
    [B]Release-9 [30/05/2018][/B]
    -Bump version to release 9
    -Rebuild kernel with CLANG 7.0.3
    -Linux kernel version 3.18.110
    -Treble/Non Treble support
    -Add ElementalX CPU Governor
    -Add CPU Wake Boost
    -Remove Frandom
    -Remove Touch Boost
    -Remove Fingerprint Boost
    -Minor changes for CLANG
    -For more info see release notes r9 [URL="https://github.com/khusika/tissot_projectk/releases/tag/r9"][B][I][U]here[/U][/I][/B][/URL]
    
    [B]Release-8 [20/05/2018][/B]
    -Bump version to release 8
    -Linux kernel version 3.18.109
    -Add Clarity CPU Governor
    -Drop GPU overclockable (USELESS)
    -Minor changes for sdcardfs
    -Minor changes for CLANG
    -spectrum: Inline balance mode with CAF
    -For more info see release notes r8 [URL="https://github.com/khusika/tissot_projectk/releases/tag/r8"][B][I][U]here[/U][/I][/B][/URL]
    
    [B]Release-7 [14/05/2018][/B]
    -Bump version to release 7
    -Rebuild kernel with CLANG 7.0.1
    -Merge tag 'LA.UM.6.6.r1-08500-89xx.0'
    -drivers: prima: Update to CAF Tag LA.UM.6.6.r1-08500-89xx.0
    -prima: overwrite mac address if config file exists
    -blu_plug: Update default values
    -For more info see release notes r7 [URL="https://github.com/khusika/tissot_projectk/releases/tag/r7"][B][I][U]here[/U][/I][/B][/URL]
    
    [B]Release-6 [06/05/2018][/B]
    -Bump version to release 6
    -Linux kernel version 3.18.108
    -Bring back row scheduler from 3.10.y
    -Overclockable GPU Frequency to 700 Mhz
    -Overclockable CPU Frequency to 2150 & 2208 Mhz
    -Underclockable CPU Frequency to 307 & 480 Mhz
    -specturm: Disable CPU Boost and Touch Boost for Battery and Balance mode
    -spectrum: Enable adreno idler for Battery and Balance Mode
    -spectrum: Make gaming as hell
    -spectrum: battery: use lowest freq
    -For more info see release notes r6 [URL="https://github.com/khusika/tissot_projectk/releases/tag/r6"][B][I][U]here[/U][/I][/B][/URL]
    
    [B]Release-5 [29/04/2018][/B]
    -Bump version to release 5
    -Rebuild with Linaro GCC 7.3.1 released April
    -Linux kernel version 3.18.107
    -Merge tag 'LA.UM.6.6.r1-08300-89xx.0'
    -drivers: prima: Update to CAF Tag LA.UM.6.6.r1-08300-89xx.0
    -Enable cpu boost
    -[B][I]ramdisk: Add more tweak [/I][/B]
    -For more info see release notes r5 [URL="https://github.com/khusika/tissot_projectk/releases/tag/r5"][B][I][U]here[/U][/I][/B][/URL]
    
    [B]Release-4 [25/04/2018][/B]
    -Bump version to release 4
    -Linux kernel version 3.18.106
    -Merge tag 'LA.UM.6.6.r1-07400-89xx.0'
    -drivers: prima: Update to CAF Tag LA.UM.6.6.r1-07400-89xx.0
    -DROP SLIMBUS OC
    -Revert back to cfq I/O Scheduler
    -Hotplug: disable it by default (Feel free to use which plug you like)
    -[B][I]ramdisk: Add support for [URL="https://forum.xda-developers.com/android/apps-games/app-spectrum-kernel-manager-users-t3601542"]Spectrum Kernel Manager[/URL][/I][/B]
    -For more info see release notes r4 [URL="https://github.com/khusika/tissot_projectk/releases/tag/r4"][B][I][U]here[/U][/I][/B][/URL]
    
    [B]Release-3 [14/04/2018][/B]
    -Bump version to release 3
    -Compiled with Linaro Toolchain 7.3.1
    -Linux kernel version 3.18.105
    -FIX OTG Issues
    -Fix double tap to wake when system sleeps
    -Add frandom
    -Force fast charge: revert back to the original charge
    -Set maple as default I/O Scheduler
    -For more info see release notes r3 [URL="https://github.com/khusika/tissot_projectk/releases/tag/r3"][B][I][U]here[/U][/I][/B][/URL]
    
    [B]Release-2 [05/04/2018][/B]
    -Add more CPU Governors: Intelliactive, Yankactive, Alucard, Darkness and Nightmare, Chill, Relaxed, Zzmoove
    -Add more CPU Hotplugs: Lazyplug, Alucard, Thunderplug, Intelli, Blu
    -Tweaked Interactive CPU Governors
    -Import mi_fs and hqsysfs drivers from XIAOMI
    -Reduce the number of recharging times
    -Force fast charge to 2500ma
    -For more info see release notes r2 [URL="https://github.com/khusika/tissot_projectk/releases/tag/r2"][B][I][U]here[/U][/I][/B][/URL]
    
    
    [B]Release-1 [01/04/2018][/B]
    -Initial release version
    19
    Release 23

    New build is up, enjoy it ;)

    Release-23 [13/10/2018]
    -Bump version to release 23
    -Rebuild kernel with CLANG 8.0.344434 optimized for arm64
    -Merge tag 3.18.124 into projectk
    -Merge tag LA.UM.7.6.r1-02800-89xx.0 into projectk
    -drivers: prima: Update to CAF Tag LA.UM.7.6.r1-02800-89xx.0
    -Synced F2FS changes with Linux v4.19-rc1
    -Update WireGuard to 0.0.20181007
    -Add Voltage Control
    -Add Compact vDSO from Google Pixel Kernel
    -prima: Use powersuspend instead of early_suspend
    -Improve ION cache accounting
    -Improve camera_v2 from kernel.lnx.3.18.r33-rel
    -Fix Gcame Issues
    -Ramdisk: Reduce LMK minfree
    -For more info see release notes r23 here

    NOTE:
    As of this post, i won't apply it with the latest version, actually it was one of the hotplug driver which is used by sony developer to maintenance their cpu & thermal usages (cpuquiet). But, for several days i applied it battery usages get 1-5% better than without this patch, but sometimes it reduce the performance too. As i mentioned before, all of hotplug drivers will interupt the cpu governor and thermal control which is damage the both those function (printed in the dmesg). About battery life, it's normal as before you will get 50 to 70 minutes of screen usages for 10% battery usages in balance mode (watching youtube, social media, and the other daily usages).