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

Status
Not open for further replies.
Search This thread

aygross1929

Senior Member
May 2, 2018
149
82
hi askermk2000
i have lg v20 h910 at&t.
now i am on h910 20h oreo.
i have crash kernel with green screen that must press vol down and restart phone.
i use from any kernel mk2000 that you make for oreo but no fix this crash kernel.
plz fix this crash kernel for oreo h910.
thanks
Same It's Watchdog EEROR Happening Very Frequently Now On BETa 26 onwards on h910
 

askermk2000

Senior Member
Jul 9, 2015
1,197
2,634
Moto G
LG G5
I started getting them as well with beta 24, but happened more frequently with beta 33. Once it happened with 34 as well I decided to roll back to 22 which it never happened with before. But I got another one within 24 hours anyway.

Do I even have a BETA22? Don't see it in my folder.

In this thread people like to "report" things, without logs or almost any clue really.
So I fallback to a sort of "elimination game" when debugging V20. But when those who are excused for being
computer illiterate can't even manage to get "dumbed down" bug reporting straight, what am I left with?

And you're the only one who says you had crashes on BETA24, unless you actually meant 34. Which doesn't seem unlikely so far in this "gaming session".

In this case, even if it's a panic, log from before could also be helpful (or a picture from the on-screen crash log). There is nothing preventing anyone here
from simply dumping dmesg, logcat etc with an app like SysLog, EXKM or SmartPack. Yet, it never happens.

All that said; it seems the likely cause is, again what has been discussed recently (in my last post above). So this is likely a problem with an LG kernel update
which is not compatible with older firmware/roms. So I should re-enable the code I disabled in BETA34, and simply require that this kernel be used with the
latest available firmware and rom, as it seems now that most variants have been updated.
 

askermk2000

Senior Member
Jul 9, 2015
1,197
2,634
Moto G
LG G5
@xoose
Sorry if I put too much on you for the above situation. It was mostly a generalization.
You may also be correct about there being something causing crash on beta24 or around that mark. Though the thing is, I have not myself, but then again I'm sure I don't use my phone 5% of what most of you do.
So with that in mind, it could be something, like with one of the patches from sultanxda. He put out a fix hours ago, so I'll put out another beta later with that.

I think, unless PIE magically get released by LG, that version 2.2 will be the final STOCK mk2k kernel. Linux 3.18 has been dropped from support now as well, 3.18.140 being the final release.
Let's hope we can get 2.2 stable for all the relevant LG devices. In the meantime I'll stop picking experimental patches from sultan, though I'm almost finished with 2.2 I think anyway.
 

stingbandel

Senior Member
Nov 23, 2005
403
42
how do I update from the previous build? I go to TWRP then install this new kernel then magisk then wipe dalvik and cache?

so the step I mention is wrong? thanks
 

harysviewty

Senior Member
Oct 19, 2016
483
143
Just installed the latest beta38 for h990ds (cleared dalvik cache)
It's the worse experience ever
App load times is so slow, worst ram management ever (it always reload each app every single time), it's laggy and buggy
It's so hard to even type on this phone, keyboard takes forever to register
 
Last edited:

jl10101

Senior Member
Jan 16, 2012
1,311
833
Samsung Galaxy S10+
beta38 running like a dream on my H990SS. Battery seems far better. Super fluid. Will keep an eye for anything else.
Just wondering - do you think the H990 sources need to be updated on the kernel side (20b)?
I know you mentioned these sources, but not sure if they are of any help / significance to the compatibility with a 20b Oreo ROM...
Thanks @askermk2000 !
 

askermk2000

Senior Member
Jul 9, 2015
1,197
2,634
Moto G
LG G5
beta38 running like a dream on my H990SS. Battery seems far better. Super fluid. Will keep an eye for anything else.
Just wondering - do you think the H990 sources need to be updated on the kernel side (20b)?
I know you mentioned these sources, but not sure if they are of any help / significance to the compatibility with a 20b Oreo ROM...

Hey
You're right. I found CFQ (with the LG enhancements, not sure without) to be bloated batteryhogging mess. So I disabled the scheduler, and also
removed that code from the kernel since it affected other stuff as well. In addition to that there are some additions to reduce latency for block devices.
SQLite scores have gone up as a result.

Other things; Added back "POPP" to the KGSL driver. This was removed long time ago. It was a sultan enhancement, although it seems it actually contributed
to more heat/battery drain during gaming. I didn't do any testing on this (as it's sultan...doh - and because I don't mobile game) but someone else did.
It could be that the patch was not appropriate for all devices though.

Some other small changes here and there. I enabled something which should make ramoops log available. In '/sys/fs/pstore', the file in this directory should
store the log after a panic/crash and subsequent warm-reboot. I'm not sure if it was working before, but should now.

Also a TCP security fix for what seems to be a newly discovered CVE.

Edit: Here's the link: https://www.androidfilehost.com/?w=files&flid=294331
 
Last edited:

askermk2000

Senior Member
Jul 9, 2015
1,197
2,634
Moto G
LG G5

jl10101

Senior Member
Jan 16, 2012
1,311
833
Samsung Galaxy S10+
Hey
You're right. I found CFQ (with the LG enhancements, not sure without) to be bloated batteryhogging mess. So I disabled the scheduler, and also
removed that code from the kernel since it affected other stuff as well. In addition to that there are some additions to reduce latency for block devices.
SQLite scores have gone up as a result.

Well this combination seems to be working really well for me on 20B. It's very smooth and there are no stutters. The device also feels much cooler to the touch (although, it's freezing cold here), especially when using Gcam. You must be right that there are some things going on with the firmware and the kernel. For sure.

Thanks for keeping this kernel updated, and for the latest security patch and other various tweaks. It's much appreciated, especially since you don't even have the device!
 
  • Like
Reactions: serpent android
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.