[Stock][N]LG G5 Asgard Reborn v7.1

Search This thread

eoghan2t7

Recognized Contributor
Jan 18, 2011
4,386
2,680
Belfast
OPPO Find X2 Pro
OPPO Find X5 Pro
Welcome to Asgard Reborn

First and foremost the credits without these people this kernel wouldn't be possible:
@Chainfire for supersu, / @autoprime for stock boot.img, / @jcadduono for TWRP, Original source and scripts used while compiling!!!, / @Tilde88 for taking the time to show me how to do this!, / @savoca for KCAL & app! and Thanks to @freeza for the updated KCAL.c source file. / Thanks to @f4bio, @onestyle007 and @Pphish20 for testing, / @Sultanxda for the verifiedbootstate flag, / @flar2 for ElementalX gov/Sound control/Vibration control!!!!!!@#!@#!@#! , / @Eliminater74, / @WhyOrean, / @Tkkg1994 , / @eng.stk for his awesome blu_spark Kernel!, / @CrazyGamerGR, / @tbalden, / !!!!!!!!@franciscofranco !!!!!!!!, / @yarpiin, / @alucard_24, / @Lord Boeffla, / @xpirt, / @DespairFactor, / @archeart, / @neobuddy89, / @farovitus, / @arter97


This kernel is based off @lordodin912 Asgard kernel which has now been discontinued. so i have decided to rework the kernel and release it to you loyal fans of his work. You might notice some parts are copy and pasted from his tread due to the fact the kernels are more or less the same expect I've added a few thing to the kernel.

Asgard Kernel Reborn

*Based off of https://github.com/jcadduono/android_kernel_lge_msm8996 as original source.
*Also based of https://github.com/lordodin912/Asgard_H830_msm8996 as Asgard source
*Compiled using [TOOLCHAIN]UBER Toolchains - v6.x
*Added Westwood as default TCP Congestion
*KCAL
*Disabled CRC check
*Battery improvements
*Selinux set to Permissive
*Added Gov's - alucard, bioshock, blu_active, conservativex, despair, electrodemand, elementalx, HYPER, intellidemand, intellimm, ironactive, lightning, lionfish, lionheart, nebula, nightmare, ondemand_x, pegasusq & wheatley.
*Added IO - bfq, fifo, fiops, sio, sioplus, tripndroid, vr & zen.
*Added TCP - A lot.
*Sound Control (Only Headphones)
*Adrenoboost (Default Off)
*Dynamic Fsync and Fsync Toggle
*Vibration Control
*Removed verifiedbootstate flag
*Replaced Interactive Gov with one from the OP3 (Removed Triton and Cancun)
*Added Zcache
*Added Zswap
*Disabled Zram
*Enabled LGE Adaptive ReadAhead
*Updated Kernel to be inline with https://kernel.org Linux 3.18.87
*A lot of other changes throughout the kernel
*Working on Fulmics*

Kcal setting i use with EX Kernel Manager

Red = 240
Green = 240
Blue = 240
Saturation = 60
Value = 134
Contrast = 133
Hue = 1520


Download:
Mega.nz

If you want to mirror the files please contact me via pm first and ill add the mirrored link/s to this post and give credit to the user.

Any features you would like added please say and ill try my best to add it.

If you would like to say thanks and treat me to some hardware upgrades you can look atr my amazon wishlist here:
wishlist

XDA:DevDB Information
Asgard Reborn, Kernel for the LG G5

Contributors
eoghan2t7, lordodin912
Source Code: https://github.com/eoghan2t9/LG-G5-Asgard_Reborn_msm8996

Kernel Special Features: Linux 3.18.87, Supported Devices: H850, H8530 & RS988

Version Information
Status: Beta
Current Beta Version: v7.1
Beta Release Date: 2017-12-13

Created 2017-09-08
Last Updated 2017-12-18
 

eoghan2t7

Recognized Contributor
Jan 18, 2011
4,386
2,680
Belfast
OPPO Find X2 Pro
OPPO Find X5 Pro
Change Logs

17/11/17
ChangeLog

06/10/17
ChangeLog now at github

21/09/17

Version 6.2
===========ADDED===========
*Add Maple IO Sched.
*ZEN: Implement zen-tune v4.10
*z3fold: [Backport: 4.9] the 3-fold allocator for compressed pages.
*block: Add driver to change the I/O scheduler when the screen turns off
*BACKPORT: [UPSTREAM] mbcache2
*perf: arm64: implement CPU_PM notifier
===========UPDATED===========
**Tweaked and re-enabled Zram
**ASoC: wcdxxxx: queue work on power efficient wq
**DTS: Reduce msm-core polling rate to 100ms
**DTS: Decrease BCL low battery threshold to 5%
**Convert few critical drivers to use msecs_to_jiffies insted of HZ
**Enable lz4 for zcache and zswap
**blu_active cpu gov update
**kgsl: convert some workqueues to use kthreads
**Disabled LGE Root Checker Tool (RCT)
** Linux Kernel Base Updated to 3.18.71
**Plus other tweak here and there Check GitHub for a full list of changes

Older Change Logs

12/09/17

Version 6.1
*cpu-boost: Implement touch boost configuration driver (V2)
*Add AutoSMP Hotplug
*Introduce Adreno idler for devfreq-based Adreno devices
*display: add a simple api to query the display state (on/off)
*char: frandom: initial commit v1.1
**CPUFREQ: tune the used govs, deny access from perfd
**Tweak Kcal Colour Control
**lib/memcopy: use glibc version
**lib/string: use glibc version
**tick/nohz: Optimize nohz idle enter

Possible RS988 Support needs testing so backup your stock kernel via TWRP



Code:
* Added
** Updated/Tweaked
 
Last edited:

N1ko5zAN

Senior Member
Jul 16, 2012
140
29
Chania

So, can I dirty flash it over Asgard 5.7D ??? Or should I flash system again and reflash kernel ???

Thanks for your work and effort!
 

eoghan2t7

Recognized Contributor
Jan 18, 2011
4,386
2,680
Belfast
OPPO Find X2 Pro
OPPO Find X5 Pro
That's odd I have the same rom and have had no issues which device have you got?
Does touchboost present?
If you mean this then yes
4c2163ece5efc54e75c6cdac1a0ed08a.jpg


Sent from my LG-H850 using Tapatalk
 
  • Like
Reactions: Zer0_rulz

dadittoz

Senior Member
Nov 9, 2008
75
36
Reporting :) H850, stock v20i + Magisk 14. Dirty-flashed this kernel in TWRP, got bootloop.
 

onestyle007

Senior Member
Nov 14, 2014
397
287
Magisk 14 bootlooped for me also so I flashed magisk 13.3 and it works a treat I'm looking into the magisk 14.0 to see what's changed.
To avoid boot loop after flashing Asgard reborn just restart to recovery and flash magisk 14.0. Bootloop is happening becouase you've flashed new kernel while TWRP is still reading from the old one,and becouase of that,flashing magisk right away flashes it over the old kernel. So yeah basically restart after flashing to recovery again and flash magisk then. Problem solved. Fulmics 4.0, Asgard reborn with magisk 14.0 and no issues at all. Great work mate :good:
 

eoghan2t7

Recognized Contributor
Jan 18, 2011
4,386
2,680
Belfast
OPPO Find X2 Pro
OPPO Find X5 Pro
To avoid boot loop after flashing Asgard reborn just restart to recovery and flash magisk 14.0. Bootloop is happening becouase you've flashed new kernel while TWRP is still reading from the old one,and becouase of that,flashing magisk right away flashes it over the old kernel. So yeah basically restart after flashing to recovery again and flash magisk then. Problem solved. Fulmics 4.0, Asgard reborn with magisk 14.0 and no issues at all. Great work mate :good:
Thanks for the tip just tested and it works [emoji6]
d4fffb13ebe05f279cc6efd712bf3d11.jpg


Sent from my LG-H850 using Tapatalk
 
  • Like
Reactions: nullsec

Top Liked Posts

  • There are no posts matching your filters.
  • 37
    Welcome to Asgard Reborn

    First and foremost the credits without these people this kernel wouldn't be possible:
    @Chainfire for supersu, / @autoprime for stock boot.img, / @jcadduono for TWRP, Original source and scripts used while compiling!!!, / @Tilde88 for taking the time to show me how to do this!, / @savoca for KCAL & app! and Thanks to @freeza for the updated KCAL.c source file. / Thanks to @f4bio, @onestyle007 and @Pphish20 for testing, / @Sultanxda for the verifiedbootstate flag, / @flar2 for ElementalX gov/Sound control/Vibration control!!!!!!@#!@#!@#! , / @Eliminater74, / @WhyOrean, / @Tkkg1994 , / @eng.stk for his awesome blu_spark Kernel!, / @CrazyGamerGR, / @tbalden, / !!!!!!!!@franciscofranco !!!!!!!!, / @yarpiin, / @alucard_24, / @Lord Boeffla, / @xpirt, / @DespairFactor, / @archeart, / @neobuddy89, / @farovitus, / @arter97


    This kernel is based off @lordodin912 Asgard kernel which has now been discontinued. so i have decided to rework the kernel and release it to you loyal fans of his work. You might notice some parts are copy and pasted from his tread due to the fact the kernels are more or less the same expect I've added a few thing to the kernel.

    Asgard Kernel Reborn

    *Based off of https://github.com/jcadduono/android_kernel_lge_msm8996 as original source.
    *Also based of https://github.com/lordodin912/Asgard_H830_msm8996 as Asgard source
    *Compiled using [TOOLCHAIN]UBER Toolchains - v6.x
    *Added Westwood as default TCP Congestion
    *KCAL
    *Disabled CRC check
    *Battery improvements
    *Selinux set to Permissive
    *Added Gov's - alucard, bioshock, blu_active, conservativex, despair, electrodemand, elementalx, HYPER, intellidemand, intellimm, ironactive, lightning, lionfish, lionheart, nebula, nightmare, ondemand_x, pegasusq & wheatley.
    *Added IO - bfq, fifo, fiops, sio, sioplus, tripndroid, vr & zen.
    *Added TCP - A lot.
    *Sound Control (Only Headphones)
    *Adrenoboost (Default Off)
    *Dynamic Fsync and Fsync Toggle
    *Vibration Control
    *Removed verifiedbootstate flag
    *Replaced Interactive Gov with one from the OP3 (Removed Triton and Cancun)
    *Added Zcache
    *Added Zswap
    *Disabled Zram
    *Enabled LGE Adaptive ReadAhead
    *Updated Kernel to be inline with https://kernel.org Linux 3.18.87
    *A lot of other changes throughout the kernel
    *Working on Fulmics*

    Kcal setting i use with EX Kernel Manager

    Red = 240
    Green = 240
    Blue = 240
    Saturation = 60
    Value = 134
    Contrast = 133
    Hue = 1520


    Download:
    Mega.nz

    If you want to mirror the files please contact me via pm first and ill add the mirrored link/s to this post and give credit to the user.

    Any features you would like added please say and ill try my best to add it.

    If you would like to say thanks and treat me to some hardware upgrades you can look atr my amazon wishlist here:
    wishlist

    XDA:DevDB Information
    Asgard Reborn, Kernel for the LG G5

    Contributors
    eoghan2t7, lordodin912
    Source Code: https://github.com/eoghan2t9/LG-G5-Asgard_Reborn_msm8996

    Kernel Special Features: Linux 3.18.87, Supported Devices: H850, H8530 & RS988

    Version Information
    Status: Beta
    Current Beta Version: v7.1
    Beta Release Date: 2017-12-13

    Created 2017-09-08
    Last Updated 2017-12-18
    17
    Quick status update,

    After a lot of thinking I have decided to completely redo this kernel from scratch that way I can fully test each patch to make sure nothing breaks i.e. vpn and random reboots etc. This will be a long process so it will take time I will also be posting a poll regarding the CPU governors to only include say the top five or something. So please do bear with me while I get everything done and updated.
    14
    Version 6.2 Uploaded

    21/09/17

    Version 6.2
    ===========ADDED===========
    *Add Maple IO Sched.
    *ZEN: Implement zen-tune v4.10
    *z3fold: [Backport: 4.9] the 3-fold allocator for compressed pages.
    *block: Add driver to change the I/O scheduler when the screen turns off
    *BACKPORT: [UPSTREAM] mbcache2
    *perf: arm64: implement CPU_PM notifier
    ===========UPDATED===========
    **Tweaked and re-enabled Zram
    **ASoC: wcdxxxx: queue work on power efficient wq
    **DTS: Reduce msm-core polling rate to 100ms
    **DTS: Decrease BCL low battery threshold to 5%
    **Convert few critical drivers to use msecs_to_jiffies insted of HZ
    **Enable lz4 for zcache and zswap
    **blu_active cpu gov update
    **kgsl: convert some workqueues to use kthreads
    **Disabled LGE Root Checker Tool (RCT)
    ** Linux Kernel Base Updated to 3.18.71
    **Plus other tweak here and there Check GitHub for a full list of changes
    13
    Change Logs

    17/11/17
    ChangeLog

    06/10/17
    ChangeLog now at github

    21/09/17

    Version 6.2
    ===========ADDED===========
    *Add Maple IO Sched.
    *ZEN: Implement zen-tune v4.10
    *z3fold: [Backport: 4.9] the 3-fold allocator for compressed pages.
    *block: Add driver to change the I/O scheduler when the screen turns off
    *BACKPORT: [UPSTREAM] mbcache2
    *perf: arm64: implement CPU_PM notifier
    ===========UPDATED===========
    **Tweaked and re-enabled Zram
    **ASoC: wcdxxxx: queue work on power efficient wq
    **DTS: Reduce msm-core polling rate to 100ms
    **DTS: Decrease BCL low battery threshold to 5%
    **Convert few critical drivers to use msecs_to_jiffies insted of HZ
    **Enable lz4 for zcache and zswap
    **blu_active cpu gov update
    **kgsl: convert some workqueues to use kthreads
    **Disabled LGE Root Checker Tool (RCT)
    ** Linux Kernel Base Updated to 3.18.71
    **Plus other tweak here and there Check GitHub for a full list of changes

    Older Change Logs

    12/09/17

    Version 6.1
    *cpu-boost: Implement touch boost configuration driver (V2)
    *Add AutoSMP Hotplug
    *Introduce Adreno idler for devfreq-based Adreno devices
    *display: add a simple api to query the display state (on/off)
    *char: frandom: initial commit v1.1
    **CPUFREQ: tune the used govs, deny access from perfd
    **Tweak Kcal Colour Control
    **lib/memcopy: use glibc version
    **lib/string: use glibc version
    **tick/nohz: Optimize nohz idle enter

    Possible RS988 Support needs testing so backup your stock kernel via TWRP



    Code:
    * Added
    ** Updated/Tweaked
    13
    12/09/17

    Version 6.1
    *cpu-boost: Implement touch boost configuration driver (V2)
    *Add AutoSMP Hotplug
    *Introduce Adreno idler for devfreq-based Adreno devices
    *display: add a simple api to query the display state (on/off)
    *char: frandom: initial commit v1.1
    **CPUFREQ: tune the used govs, deny access from perfd
    **Tweak Kcal Colour Control
    **lib/memcopy: use glibc version
    **lib/string: use glibc version
    **tick/nohz: Optimize nohz idle enter

    Possible RS988 Support needs testing so backup your stock kernel via TWRP


    Code:
    * Added
    ** Updated/Tweaked