[VS995,H990,H918,H910,US996,LS997,H915,F800K/L/S] mk2000 Kernel [STOCK]

Status
Not open for further replies.
Search This thread

askermk2000

Senior Member
Jul 9, 2015
1,209
2,643
Moto G
LG G5
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.4

Linux 3.18.85
KCAL - Screen panel control
ElementalX and Zzmoove CPU governors
Modules signed and secure, as in stock rom
Disable software CRC checking of SD Card - More performance
Fix by emdroidle for eng-bootloader (US996Santa, H990 & H910)
CRC32 and CHACHA20 HW ACC, CRNG based on CHACHA20
Static screen fixed (US996Santa, H990 & H910)
Many patches that improves or fixes things
Maple I/O scheduler
LZ4 compression
RCTD removed

1.5

Linux 3.18.92
KCAL - Screen panel control
Alucard, and blue_active (by eng.stk) Governors
Fix by emdroidle for eng-bootloader (US996Santa, VS995, H990 & H910)
Integrated Virtual Memory tweaks (war_mod) and Blu_active settings into ramdisk
Many work-queues converted to *system_power_efficient_wq*
Static screen fixed (US996Santa, VS995, H990 & H910)
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


1.5.6 BETA

Linux 3.18.102
KCAL - Screen panel control
blu_active (by eng.stk) cpu governor
Integrated memory tweaks (war_mod), and blu_active settings into ramdisk
Many threads converted to *system_power_efficient_wq*
Toggle USB2 900mA Fast-Charge on/off
Support for UAC2 external DAC
Static screen and modem fix
Maple I/O scheduler
Toggle Fsync on/off
Adreno Boost
Adreno Idler
WireGuard


BTTF (Rebased kernel exclusively for V20, closer to stock)

KCAL - Screen panel control
blu_active (by eng.stk) cpu governor
Integrated blu_active settings into ramdisk
Alucard, Nightmare & Darkness cpu governors
Toggle USB2 900mA Fast-Charge
Boeffla Dynamic Sync Control
Boeffla Wake-Lock Blocker
Engineering ABOOT fixes
RCTD/Triton disabled
Maple I/O scheduler
DriveDroid support
WireGuard


Download: Nougat V20
Download: Nougat V20 (BETA)
Download NEW! "Back To The Future" Minimal build (Recommended): BTTF (Nougat)
Download NEW! "Back To The Future" Minimal build: BTTF (BETA)

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


[2.1] Features:

Linux 3.18.134
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
Engineering ABOOT fixes
RCTD/Triton disabled
Maple I/O scheduler
DriveDroid support
Modules disabled
WireGuard


Download: Oreo V20 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

Notice: I don't own a V20, thus I can't guarantee it will be a sane and bug-free kernel for V20 users.

Sources:
https://github.com/stendro/msm8996_lge_kernel
LGH830SV_LGH830TN_Android_Oreo_v30c.zip - From http://opensource.lge.com
 
Last edited:

askermk2000

Senior Member
Jul 9, 2015
1,209
2,643
Moto G
LG G5
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: I have US996, what version do I use?
A: If you unlocked officially through LG then use "US996", otherwise use "US996Santa".

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: If you are on an older bootloader then that is likely why. 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.
 
Last edited:

storm68

Senior Member
Sep 8, 2010
1,881
551
Orlando
You say you added TCP and schedulers. Mine are all still the same basic on my h918

Thanks for your time in getting this together for us.
 

askermk2000

Senior Member
Jul 9, 2015
1,209
2,643
Moto G
LG G5
You say you added TCP and schedulers. Mine are all still the same basic on my h918

Thanks for your time in getting this together for us.

Hey there
It's enjoyable for me too to be doing this, at least for now :) Learning new stuff, and I can use the result for my G5 as well :good:

You must choose your settings with Kernel Adiutor or similar program. The defaults are the same as stock I believe.
 

Silentwidow

Senior Member
Apr 24, 2013
226
51
Kannapolis
Seems to work OK on US996, seems to be running a little warm, but that could be from installing Color Control and aduiator in addition to some updates as soon as it booted. I'm letting it sit now and see how it runs normally.

Color Control is working great.

Got 151170 in Antutu

Oh, and it does have static on boot on the US996 non UCL.
 
Last edited:
Dec 28, 2014
12
4
Hey! Does this work on H918, on software version 10q? I have root and TWRP on it but I've heard that because of the anti-rollback thing the older kernel's won't work
 

runningnak3d

Recognized Developer
Nov 10, 2010
2,649
7,220
Largo
@askermk2000 unlocked US996 can use either root method (unlock bin from LG or DirtyCow / eng. aboot).

I am guessing most use the eng. aboot since LG makes you "sign" a click through that says your warranty is void.

@MysteriousAnon ARB has nothing to do with the kernel (boot image). However, most newer kernels won't boot on older firmware, and vice-versa, older kernels won't boot on newer firmware. Nonetheless, if you DO boot a newer kernel on older firmware, it doesn't increment ARB. ARB is incremented by the bootloader...

EDIT: tagged the wrong person. Sorry...

-- Brian
 

Silentwidow

Senior Member
Apr 24, 2013
226
51
Kannapolis
@askermk2000 I am not sure to be honest, I don't know about aboot lol, I unlocked using the LG tool.

---------- Post added at 09:54 AM ---------- Previous post was at 09:54 AM ----------

Hey
I don't benchmark, is that a good score?

I have received report about that problem with static on US996.
I must have misunderstood. So users with Unlocked version still use the engineering aboot ?

If so it's an easy fix.

For what I've gotten in the past on this phone, it's a great score, I normally get around 141k.
 

askermk2000

Senior Member
Jul 9, 2015
1,209
2,643
Moto G
LG G5
I am not sure to be honest, I don't know about aboot lol, I unlocked using the LG tool.

Ok then, you did as I expected, and in theory (that I've gathered) the US996 non UCL should be the one for you. But since you get static with that, then that can only mean one thing: The engineering US996 bootloader, and production bootloader is the same with regards to how it initializes the LCD panel.

Well then, I guess I only need to support one US996 model.
How is the ucl version working for you; all right?
 
Last edited:
  • Like
Reactions: Rodoo

Silentwidow

Senior Member
Apr 24, 2013
226
51
Kannapolis
Ok then, you did as I expected, and in theory (that I've gathered) the US996 non UCL should be the one for you. But since you get static with that, then that can only mean one thing: The engineering US996 bootloader, and production bootloader is the same with regards to how it initializes the LCD panel.

Well then, I guess I only need to support one US996 model.
How is the ucl version working for you; all right?

I haven't tried it, am I able to use the UCL version on the non UCL?
 

askermk2000

Senior Member
Jul 9, 2015
1,209
2,643
Moto G
LG G5
I haven't tried it, am I able to use the UCL version on the non UCL?

I think so, that way you will not have static boot.
Next release I'll make it so that both version's won't have static boot.

The only difference between them is static fix (both will have next time) and changes to cmdline, which is not necessary if you simply have officially unlocked US996.
 
  • Like
Reactions: Rodoo

gavilan2010

Senior Member
Mar 14, 2011
686
217
The only way to have root on 10q is to have rooted an 10j or below, then update to 10q with only the correct partitions so you don't lose root. If you are on full blown 10q out of the box or updated a stock phone to it, then there is no root for it.
Thanks yes i just gat this phone brand new and the firmware is 10q and they say u cant downgrade to early one right thanks for u anwser

Sent from my LG-H918 using XDA-Developers Legacy app
 

texascbx

Senior Member
Oct 19, 2009
128
14
Exactly how do you flash this. I'm running NATF Megarom V20 v4.0 ATT on h910. Software version H91010l? Thanks. I would love to not have the static at boot. Just flash in TWRP and would I then flash SuperSU again/ ?
 

eroneko

Senior Member
Oct 3, 2013
70
10
I flashed the UCL version and the static is gone.
Awesome!
PS. I'm using the eng. aboot. and 10k stock firmware
 

askermk2000

Senior Member
Jul 9, 2015
1,209
2,643
Moto G
LG G5
unlocked US996 can use either root method (unlock bin from LG or DirtyCow / eng. aboot).

I am guessing most use the eng. aboot since LG makes you "sign" a click through that says your warranty is void.

-- Brian

Ah yes, makes sense.
Probably no point in maintaining two versions. Unless there's been some very confusing misunderstanding - Both US996 versions should use the *static fix*. Good! Makes it easier to maintain this thread :good:
 
  • Like
Reactions: runningnak3d
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 110
    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.4

    Linux 3.18.85
    KCAL - Screen panel control
    ElementalX and Zzmoove CPU governors
    Modules signed and secure, as in stock rom
    Disable software CRC checking of SD Card - More performance
    Fix by emdroidle for eng-bootloader (US996Santa, H990 & H910)
    CRC32 and CHACHA20 HW ACC, CRNG based on CHACHA20
    Static screen fixed (US996Santa, H990 & H910)
    Many patches that improves or fixes things
    Maple I/O scheduler
    LZ4 compression
    RCTD removed

    1.5

    Linux 3.18.92
    KCAL - Screen panel control
    Alucard, and blue_active (by eng.stk) Governors
    Fix by emdroidle for eng-bootloader (US996Santa, VS995, H990 & H910)
    Integrated Virtual Memory tweaks (war_mod) and Blu_active settings into ramdisk
    Many work-queues converted to *system_power_efficient_wq*
    Static screen fixed (US996Santa, VS995, H990 & H910)
    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


    1.5.6 BETA

    Linux 3.18.102
    KCAL - Screen panel control
    blu_active (by eng.stk) cpu governor
    Integrated memory tweaks (war_mod), and blu_active settings into ramdisk
    Many threads converted to *system_power_efficient_wq*
    Toggle USB2 900mA Fast-Charge on/off
    Support for UAC2 external DAC
    Static screen and modem fix
    Maple I/O scheduler
    Toggle Fsync on/off
    Adreno Boost
    Adreno Idler
    WireGuard


    BTTF (Rebased kernel exclusively for V20, closer to stock)

    KCAL - Screen panel control
    blu_active (by eng.stk) cpu governor
    Integrated blu_active settings into ramdisk
    Alucard, Nightmare & Darkness cpu governors
    Toggle USB2 900mA Fast-Charge
    Boeffla Dynamic Sync Control
    Boeffla Wake-Lock Blocker
    Engineering ABOOT fixes
    RCTD/Triton disabled
    Maple I/O scheduler
    DriveDroid support
    WireGuard


    Download: Nougat V20
    Download: Nougat V20 (BETA)
    Download NEW! "Back To The Future" Minimal build (Recommended): BTTF (Nougat)
    Download NEW! "Back To The Future" Minimal build: BTTF (BETA)

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


    [2.1] Features:

    Linux 3.18.134
    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
    Engineering ABOOT fixes
    RCTD/Triton disabled
    Maple I/O scheduler
    DriveDroid support
    Modules disabled
    WireGuard


    Download: Oreo V20 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

    Notice: I don't own a V20, thus I can't guarantee it will be a sane and bug-free kernel for V20 users.

    Sources:
    https://github.com/stendro/msm8996_lge_kernel
    LGH830SV_LGH830TN_Android_Oreo_v30c.zip - From http://opensource.lge.com
    29
    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
    27
    Hey
    I updated first post with Oreo release info, and with (I hope to be) v1.0 stable release.
    This time every supported variant is there, even if they don't have oreo yet.
    24
    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: I have US996, what version do I use?
    A: If you unlocked officially through LG then use "US996", otherwise use "US996Santa".

    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: If you are on an older bootloader then that is likely why. 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.
    23
    Version 1.5.5 BETA

    UPDATE: Added 1.5.5 BETA16 (With WireGuard)
    BETA16 can be found HERE

    NB: If going back to 1.4 after this, restore boot backup first to a point before installing 1.5.5 (or preferably start with fresh stock boot).

    Notice: As this is AnyKernel, it uses your existing ramdisk, so if you come from a different custom kernel you should probably restore a backup to stock boot before flashing my kernel. In that case don't forget to flash Magisk if your backup doesn't include that.

    External DAC: You likely must use a USB hub between your phone and dac for it to work.