[US997,H870,H872] mk2000 Kernel [STOCK]

Search This thread

askermk2000

Senior Member
Jul 9, 2015
1,229
2,670
Moto G
LG G5
Hello
I have now made one kernel for all LG msm8996 devices. Meaning G5, V20 and G6 (12 device variants in total).
Therefore the next version of this kernel will be 1.5.5 since that is where I'm at currently on the other models.

I have here for anyone interested in testing, a beta.
There are some significant changes that should make the phone faster but, with a small downside:
Boeffla WL Blocker doesn't work now, so I've disabled it. Some of you mentioned problems with WiFi wakelock on G6. I have already hardcoded a reduction of those, so hopefully a wl-blocker will not be necessary.

WireGuard is integrated.
USB2 900mA max current. Toggle on/off switch.
Also I disabled the "virtual memory tweaks" on G6. I'm not sure they where appropriate here.

Shall we try this again ? :)
For those interested: Androidfilehost

  • Now compiled with Linaro GCC 7.2.1
  • Various fixes
  • I think I solved the problem with not booting on G6
 

askermk2000

Senior Member
Jul 9, 2015
1,229
2,670
Moto G
LG G5
I made a thread for tweaking and having better performance in game and scrolling using your kernel:good:

Ok, nice.

I'm working on an updated version already because of the V20, it had some problems I did not encounter on my G5.

Here's beta for v1.5.6

There are a few changes;
Linux 3.18.98, and reverted something that potentially has a negative performance impact.
 

ZinX09

Senior Member
Jan 2, 2018
77
2
Hi, I would love to try this out but I'm just asking if this kernel support the Fulmics Rom V10T bootloader? Sorry for my noobie question.

Thanks in advance!
 
Last edited:

askermk2000

Senior Member
Jul 9, 2015
1,229
2,670
Moto G
LG G5
Hmm is the reflash of Magisk recommended?

I never reinstalled it and works

That's right, you don't need to.

That was in the past when you flashed a *boot.img* when flashing a kernel.
Nowadays we use Anykernel or similar method to first dump the existing boot, then modify it and re-flash.
That way Magisk or other stuff in the ramdisk will remain.

This I have mentioned in the *questions* section (post #2) also.
 

Sergykm

Senior Member
Nov 1, 2012
558
196
36
Rivne
The latest beta (v3) for H870 is very good for performance and battery life on the latest fulmics v4.2.
I'm using the default settings.
Nice work @askermk2000. Thank you.
 
Last edited:

basicreece

Senior Member
Oct 17, 2012
608
177
Kent
You should put the latest version in the title, I was still on v1.2! Great work btw, only kernel that works for me and works well!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 30
    THANKS:
    shminer: For his repository
    eoghan2t7: For his repository
    Mentalmuso: For his repository
    savoca: For the invaluable KCAL
    USA-RedDragon: For his repository
    nathanchance: For his pre-merged sources
    TheCrazyLex: And developers of AOSPA, grabbed lots from there
    emdroidle: For his work with rooting, and kernel patches
    eng.stk: For his blu_active governor, and inspiration
    frap129: For his Maple scheduler, and repository
    alucard_24: For his governor, and G5 repository
    franciscofranco: For his many kernel patches
    Lord Boeffla: For his Wakelock Blocker etc
    sultanxda: For his many kernel patches
    warBeard_actual: For his VM tweaks
    neobuddy89: State notifier etc
    arter97: Adreno idler etc
    flar2: Adreno boost etc
    And other's I probably forgot

    Previous Versions:
    Features:
    1.2 Nougat

    Linux 3.18.93
    KCAL - Screen panel control
    Alucard, and blue_active (by eng.stk) Governors
    Integrated Virtual Memory tweaks (war_mod) and Blu_active settings into ramdisk
    Many work-queues converted to *system_power_efficient_wq*
    Patches from CAF mostly, to various subsystems
    Support for UAC2 external DAC
    Boeffla Wakelock Blocker
    Maple I/O scheduler
    Adrenoboost
    On/Off Fsync
    Adreno Idler
    WireGuard


    1.5.5 Nougat

    Linux 3.18.97
    KCAL - Screen panel control
    blu_active (by eng.stk) cpu governor
    Integrated blu_active settings into ramdisk
    Many threads converted to *system_power_efficient_wq*
    Toggle USB2 900mA Fast-Charge
    Support for UAC2 external DAC
    Various patches and fixes
    Maple I/O scheduler
    Toggle Fsync on/off
    Adreno Boost
    Adreno Idler
    WireGuard


    Download: AndroidFileHost
    Download: AndroidFileHost (BETA)

    Anyone is free to include it in their ROM as they like
    Compiled with GCC 9.1.1


    [2.2] Features:

    Linux 3.18.140
    SultanXDA's CPU Boost
    KCAL - Screen panel control
    Backported kernel improvements
    Toggle USB2 900mA Fast-Charge
    Boeffla Dynamic Sync Control
    Boeffla Wake-Lock Blocker
    Various patches and fixes
    RCTD/Triton disabled
    Maple I/O scheduler
    DriveDroid support
    Modules disabled
    WireGuard
    K-Lapse


    Download: Oreo G6 Folder
    The (AnyKernel2) flashable zip will flash kernel as well as /system/lib/modules. If you want to go back you should backup modules as well

    Sources:
    https://github.com/stendro/msm8996_lge_kernel
    LGH830SV_LGH830TN_Android_Oreo_v30c.zip - From http://opensource.lge.com
    21
    Oreo mk2000 v2.0 BETA
    ^This is the link^


    * Linux 3.18.126 (latest)
    * Many interesting commits from sultan's and nathanchance's Pixel 2 kernels.
    * Replaced Input Boost with Pixel2 version. Now boosts on app launch (and on waking).
    * Also I've disabled normal boosting on touch input. No user configuration to be done.
    * Removal of deprecated code from KGSL (adreno) driver, by Sultanxda.
    * Various stuff...


    Ok so I've gone back to the beginning and refreshed the whole kernel. Starting with CAF base and
    merging in Android stable 3.18.126
    Then extracting (almost) all of the non-LG commits applied - separating them as individual commits, and
    finally applying LG's own modifications.
    After this I picked in from previous mk2000-oreo branch, condensing commits and omitting questionable ones.
    Of course upstreaming from 3.18.71 to 126 has brought a whole bunch of updates and fixes treewide.

    I removed sultan's irq and kthread management as that seems to not be plug'n play with the 3.18 kernel.

    I have been testing a bit myself and seems alright so far.

    Source: mko-v2
    10
    Oreo mk2000 v1.2

    * Code fixes/updates.
    * Enabled power efficient workqueues.
    * Added SultanXDA's Input Boost driver (disabled by default).
    * Patched some Qualcomm drivers with power efficient workqueues.

    Source: mk2000-oreo
    10
    Oreo mk2000 v1.3

    * Minor changes.

    I had to do an update here. Yet again a bug sneaked into what was supposed to be a stable release.
    "PowerManagerService" wakelock was going rampage. It was caused by a last minute addition I didn't test for v1.2
    I didn't think I had to as it was a fairly common patch for improving power consumption.
    Anyway now it's gone, and hopefully no other annoying surprises left.

    Source: mk2000-oreo
    9
    Questions

    Q: Will this work on newer bootloaders?
    A: It should. The kernel is based on the most recent of LG sources.

    Q: What control app do you suggest using?
    A: I suggest using SmartPack, or EX Kernel Manager.

    Q: Where can I donate? I want to donate!!
    A: I don't accept donations because of two reasons. One: I don't really need it. Two: I like the idea of this being totally free, it adds to the enjoyability of the kernel.

    Q: I'm having some problems with kernel not working or booting?
    A: Make sure you have a recent bootloader. My kernel works on new firmware, not exactly sure how far back the compatibility goes.

    Q: I flashed this zip in recovery, but it didn't seem to work, I'm still on my old kernel. What can I do?
    A: With AnyKernel you shouldn't need to re-flash ROOT after flashing kernel (if already installed, if not, do it before flashing kernel). SuperSu has been known to revert the kernel install if you do so.

    Q: OK so I just rooted my phone and installed this, and OMGOSH! so excited, now what do I do - do I tweake-dy freak out huh huh? How do I do it??
    A: Put simply, don't do anything. I don't know how things where in the past, but now you don't need to do anything. Not with this kernel anyhow. Such thing are better discussed in a separate thread anyway.