• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[Linux 4.9.162] WhitePugKernel for the Xiaomi Mi 8

Search This thread

joe2k01

Senior Member
Dec 13, 2015
1,306
819
19
Cagliari (Sardinia)
B71tSSc.png
Code:
/*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 */

WhitePugKernel by joe2k01

This kernel is only for AOSP based ROMs

How to install:
  • Download the flashable zip
  • Boot in TWRP
  • Flash the zip
  • Reboot and you're done

Feautures:
  • Linux 4.9.162
  • Based on latest LineageOS 16.0 kernel
  • Better CPU boosting
  • DevFreq Boosting
  • Boeffla wakelock blocker
  • Fixed various memory leaks
  • Passes SafetyNet without Magisk
  • Dynamic SchedTune Boost
  • Compiled with GCC 8.2.0 and Clang 6.0.2
  • Working OIS
  • Various optimizations

More detailed features list: Github

Downloads:
V1: Download
V1.1: Download
V1.2: Download
V2: Download
V2.1: Download
V2.2: Download
V2.3: Download

ChangeLog:
  • V1
    • Initial Release
  • V1.1
    • Disabled useless cpu boosting driver. CPU input boost is in use
  • V1.2
    • Upstream to Linux 4.9.154
  • V2
    • Fixed OIS
    • Upstream to Linux 4.9.155
  • V2.1
    • Upstream to Linux 4.9.158
    • Merged in latest LineageOS changes
  • V2.2
    • Upstream to Linux 4.9.159
    • Introduced Simple Low Memory Killer
  • V2.3
    • Upstream to Linux 4.9.162
    • Removed Simple Low Memory Killer
    • Sched/schedutil changes
    • Fixed rendering regression

XDA:DevDB Information
WhitePugKernel, Kernel for the Xiaomi Mi 8

Contributors
joe2k01
Source Code: https://github.com/joe2k01/WhitePugKernel-xiaomi_sdm845

Kernel Special Features:

Version Information
Status: Stable

Created 2019-01-27
Last Updated 2019-03-12
 

joe2k01

Senior Member
Dec 13, 2015
1,306
819
19
Cagliari (Sardinia)
As I could check in the sources @joe2k01 didn't checkout the camera driver from Xiaomi OpenSource Kernel Source to get the OIS working. (BTW, I don't even know if that's a proper fix, but for now it's the better solution that me and @milouk could found out actually)

Checking out camera to dipper-p-oss is the solution, but it's not the best one
 

milouk

Recognized Developer
Nov 7, 2013
1,879
4,978
Athens
milouk.me
As I could check in the sources @joe2k01 didn't checkout the camera driver from Xiaomi OpenSource Kernel Source to get the OIS working. (BTW, I don't even know if that's a proper fix, but for now it's the better solution that me and @milouk could found out actually)


Checking out camera to dipper-p-oss is the solution, but it's not the best one


The proper fix has been identified. Actually it was too loops missing. Its already commited on Los waiting for it to be merged.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 13
    B71tSSc.png
    Code:
    /*
     * Your warranty is now void.
     *
     * I am not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at me for messing up your device, I will laugh at you.
     */

    WhitePugKernel by joe2k01

    This kernel is only for AOSP based ROMs

    How to install:
    • Download the flashable zip
    • Boot in TWRP
    • Flash the zip
    • Reboot and you're done

    Feautures:
    • Linux 4.9.162
    • Based on latest LineageOS 16.0 kernel
    • Better CPU boosting
    • DevFreq Boosting
    • Boeffla wakelock blocker
    • Fixed various memory leaks
    • Passes SafetyNet without Magisk
    • Dynamic SchedTune Boost
    • Compiled with GCC 8.2.0 and Clang 6.0.2
    • Working OIS
    • Various optimizations

    More detailed features list: Github

    Downloads:
    V1: Download
    V1.1: Download
    V1.2: Download
    V2: Download
    V2.1: Download
    V2.2: Download
    V2.3: Download

    ChangeLog:
    • V1
      • Initial Release
    • V1.1
      • Disabled useless cpu boosting driver. CPU input boost is in use
    • V1.2
      • Upstream to Linux 4.9.154
    • V2
      • Fixed OIS
      • Upstream to Linux 4.9.155
    • V2.1
      • Upstream to Linux 4.9.158
      • Merged in latest LineageOS changes
    • V2.2
      • Upstream to Linux 4.9.159
      • Introduced Simple Low Memory Killer
    • V2.3
      • Upstream to Linux 4.9.162
      • Removed Simple Low Memory Killer
      • Sched/schedutil changes
      • Fixed rendering regression

    XDA:DevDB Information
    WhitePugKernel, Kernel for the Xiaomi Mi 8

    Contributors
    joe2k01
    Source Code: https://github.com/joe2k01/WhitePugKernel-xiaomi_sdm845

    Kernel Special Features:

    Version Information
    Status: Stable

    Created 2019-01-27
    Last Updated 2019-03-12
    6
    V2 released:
    • Fixed OIS
    • Upstream to Linux 4.9.155
    6
    V2.3 released :
    • Upstream to Linux 4.9.162
    • Removed Simple Low Memory Killer
    • Sched/schedutil changes
    • Fixed rendering regression
    5
    V2.2 released:
    • Upstream to Linux 4.9.159
    • Introduced Simple Low Memory Killer
    5
    V2.1 released:
    • Upstream to Linux 4.9.158
    • Merged in latest LineageOS changes