[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,229
2,670
Moto G
LG G5
An Update to BTTF

Hello,
Somebody asked about getting an updated nougat kernel.
I wasn't sure about doing it, but I looked at the mk2k-elsa branch
(which I hadn't touched since november 2018) and there I noticed
a bug!
Something I did wrong and later fixed in my other kernel, but forgot
about here. Well, I guess that's why when those few hardcore Nougat
tweakers mention BTTF, they say "BTTF-BETA1" and not "BTTF" as in the
final release. Because that's where the bug was introduced... darn.

Ok then, that prompted me to fix it, but couldn't simply fix that little
thing and nothing else, so I did all this:

* K-Lapse 5.0
* WireGuard updated
* Supports more variants. F800K/L/S H990DS/SS
* Enhance I/O latency - drop CFQ and LG scheduler code
* Drop blu_active, update interactive and use new settings
* Compile with GCC 9 - updates and fixes to make it compile
* Enabled Darkness and Nightmare governors (forgot previously)
* Disabled a little extra bloat without being too much off of stock

LINK: BTTF-BETA2
It's called beta2 just to be safe, not expecting any problems. Probably will be final release.
 
Last edited:

BadToThePhone

Senior Member
Dec 26, 2011
436
43
Hello,
Somebody asked about getting an updated nougat kernel.
I wasn't sure about doing it, but I looked at the mk2k-elsa branch
(which I hadn't touched since november 2018) and there I noticed
a bug!
Something I did wrong and later fixed in my other kernel, but forgot
about here. Well, I guess that's why when those few hardcore Nougat
tweakers mention BTTF, they say "BTTF-BETA1" and not "BTTF" as in the
final release. Because that's where the bug was introduced... darn.

Ok then, that prompted me to fix it, but couldn't simply fix that little
thing and nothing else, so I did all this:

* K-Lapse 5.0
* WireGuard updated
* Supports more variants. F800K/L/S H990DS/SS
* Enhance I/O latency - drop CFQ and LG scheduler code
* Drop blu_active, update interactive and use new settings
* Compile with GCC 9 - updates and fixes to make it compile
* Enabled Darkness and Nightmare governors (forgot previously)
* Disabled a little extra bloat without being too much off of stock

LINK: BTTF-BETA2
It's called beta2 just to be safe, not expecting any problems. Probably will be final release.

Has anyone tried this yet? And can you share your settings? Thanks
 

Koonook

Member
Aug 28, 2012
9
2
OnePlus 7 Pro
Using h910 and just updated from beta 34 to 38 and it is running alot cooler, also noticed battery is better for me now than it was in 34. I've been loving your kernel for the past few months, thank you very much for all the hard work you're putting into this device :)!
 

nkirk

Senior Member
Mar 27, 2013
332
139
Xiaomi Poco F3
Maybe, not sure. In my second post I recommend using latest firmware, since the beginning.

Updated to @jl10101 's 20B repack. All good now.

PS- GPU min freq is at 214MHz, doest wanna go to 133. Not a major issue though.

---------- Post added at 03:34 AM ---------- Previous post was at 03:32 AM ----------

Me too. Battery under 40% always stops my Poweramp music player. Very bad ram management. Is it fine to flash previous older kernel?

Update to 20B and it will be sorted. Just remember to back up firmware and efs folders from Oreo 20A and restore after flashing 20B otherwise you will lose the second sim
 
Last edited:
  • Like
Reactions: jl10101
D

Deleted member 4254951

Guest
Hello,
Somebody asked about getting an updated nougat kernel.
I wasn't sure about doing it, but I looked at the mk2k-elsa branch
(which I hadn't touched since november 2018) and there I noticed
a bug!
Something I did wrong and later fixed in my other kernel, but forgot
about here. Well, I guess that's why when those few hardcore Nougat
tweakers mention BTTF, they say "BTTF-BETA1" and not "BTTF" as in the
final release. Because that's where the bug was introduced... darn.

Ok then, that prompted me to fix it, but couldn't simply fix that little
thing and nothing else, so I did all this:

* K-Lapse 5.0
* WireGuard updated
* Supports more variants. F800K/L/S H990DS/SS
* Enhance I/O latency - drop CFQ and LG scheduler code
* Drop blu_active, update interactive and use new settings
* Compile with GCC 9 - updates and fixes to make it compile
* Enabled Darkness and Nightmare governors (forgot previously)
* Disabled a little extra bloat without being too much off of stock

LINK: BTTF-BETA2
It's called beta2 just to be safe, not expecting any problems. Probably will be final release.


I keep getting an error / failed on BTTF-BETA2 for Nougat.
 

cnjax

Senior Member
Aug 4, 2011
4,281
10,897
Jacksonville, FL

askermk2000

Senior Member
Jul 9, 2015
1,229
2,670
Moto G
LG G5
Latest beta is the best so far ty.

Any chance of adreno idler as a gpu governor?

Adreno-Idler is not a governor. It's not something you actually want either, that's all xda myth and hearsay spread among those who have
no idea what they're talking about. It's a modification to the adreno-tz governor, supposed to increase battery-life by fixing some inherent
bad behaviour.
It's old stuff, not applicable anymore. Any respectable kernel dev does not apply such things to modern kernels. Hopefully we can have an
end to such misguided desires causing much annoyance and spam in many threads.
 

serpent android

Senior Member
Nov 13, 2016
229
21
Xiaomi Poco X3 NFC
Maybe corrupt downloads, try downloading again, can comfirm no issue with 2.2 beta 38 don't know about bttf beta
your work is amazing.tried several time flashings but in vain.upin flashing it shows updater install error 2.beta34 works and flashes fine but this one doesn't.

---------- Post added at 09:26 PM ---------- Previous post was at 09:07 PM ----------

I keep getting an error / failed on BTTF-BETA2 for Nougat.
Same here

---------- Post added at 09:29 PM ---------- Previous post was at 09:26 PM ----------

Maybe corrupt downloads, try downloading again, can comfirm no issue with 2.2 beta 38 don't know about bttf beta
Downloaded several times.what twrp version u on btw
 

aygross1929

Senior Member
May 2, 2018
149
82
Adreno-Idler is not a governor. It's not something you actually want either, that's all xda myth and hearsay spread among those who have
no idea what they're talking about. It's a modification to the adreno-tz governor, supposed to increase battery-life by fixing some inherent
bad behaviour.
It's old stuff, not applicable anymore. Any respectable kernel dev does not apply such things to modern kernels. Hopefully we can have an
end to such misguided desires causing much annoyance and spam in many threads.
I'm sorry I wasn't aware that was the case.
 

Mysticblaze347

Senior Member
Jun 12, 2018
550
190
Hello,
Somebody asked about getting an updated nougat kernel.
I wasn't sure about doing it, but I looked at the mk2k-elsa branch
(which I hadn't touched since november 2018) and there I noticed
a bug!
Something I did wrong and later fixed in my other kernel, but forgot
about here. Well, I guess that's why when those few hardcore Nougat
tweakers mention BTTF, they say "BTTF-BETA1" and not "BTTF" as in the
final release. Because that's where the bug was introduced... darn.

Ok then, that prompted me to fix it, but couldn't simply fix that little
thing and nothing else, so I did all this:

* K-Lapse 5.0
* WireGuard updated
* Supports more variants. F800K/L/S H990DS/SS
* Enhance I/O latency - drop CFQ and LG scheduler code
* Drop blu_active, update interactive and use new settings
* Compile with GCC 9 - updates and fixes to make it compile
* Enabled Darkness and Nightmare governors (forgot previously)
* Disabled a little extra bloat without being too much off of stock

LINK: BTTF-BETA2
It's called beta2 just to be safe, not expecting any problems. Probably will be final release.

Thank you for this. Might have been me that asked awhile ago. I do remember asking about governors awhile back, glad to see it had some added :).

---------- Post added at 10:44 AM ---------- Previous post was at 10:30 AM ----------

Well I ran into install error as well. On older TWRP also. 3.2.3.? I think lol. Anyway. Could be just a bad zipping of file (happens to me sometimes). Could you possibly try to fix and repost. Thank you again. LS997 btw.
 
Last edited:
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.