[KERNEL][3.18.140+][EOL for now] SwanKernel for the LG V20

Search This thread

itt533

Member
Nov 12, 2020
48
4
chennai
IR Blaster is pretty much identical to Lineage's built-in kernel, mk2000, and anything newer than the oreo builds of the gamma kernel, which means it doesn't work for now. But if you want to test it, "Lean Remote" is what i use to check if it is sending IR signals.
[ ... ]

i tried the ir blaster with an ir detector, which doesn't see the data carried. The first time it triggers one shot. My lg tv did not react at all. After that shot, it continues emitting an alternating signal of about 1~2s period. There is no way to stop it, despite killing the ir app, and worse... even once the phone is turned off it continues emitting for 2~3s and stops.
 

AShiningRay

Senior Member
Sep 1, 2021
147
67
Xiaomi Redmi Note 4
LG V20
i tried the ir blaster with an ir detector, which doesn't see the data carried. The first time it triggers one shot. My lg tv did not react at all. After that shot, it continues emitting an alternating signal of about 1~2s period. There is no way to stop it, despite killing the ir app, and worse... even once the phone is turned off it continues emitting for 2~3s and stops.
That's the current behavior alright. The first command works (assuming your TV, AC, etc responds, my LG TV does at least), but then the phone's IR blaster stays unresponsive due to that intermittent flashing for quite a while before another command can be issued. We logged it pretty extensively a few months ago but came to no concrete conclusion as of yet, although it seems to be related to the kernel's tty ports.
 

itt533

Member
Nov 12, 2020
48
4
chennai
That's the current behavior alright. The first command works (assuming your TV, AC, etc responds, my LG TV does at least), but then the phone's IR blaster stays unresponsive due to that intermittent flashing for quite a while before another command can be issued. We logged it pretty extensively a few months ago but came to no concrete conclusion as of yet, although it seems to be related to the kernel's tty ports.
kernel's tty ports? is it assumed that it's a problem with the driver?
 

AShiningRay

Senior Member
Sep 1, 2021
147
67
Xiaomi Redmi Note 4
LG V20
kernel's tty ports? is it assumed that it's a problem with the driver?
Nope, not the driver exactly. I compared the irrc's files with gamma's oreo branch and those are identical on lineage, mk2000, swan, etc. It seems to be somewhere on the bridge that connects those drivers to the userspace (i.e. The OS and apps requesting actions from the IR), where exactly, we don't know yet. It's one of the things we're also looking at in the 4.4 kernel in hopes of fixing it there.
 

itt533

Member
Nov 12, 2020
48
4
chennai
Nope, not the driver exactly. I compared the irrc's files with gamma's oreo branch and those are identical on lineage, mk2000, swan, etc. It seems to be somewhere on the bridge that connects those drivers to the userspace (i.e. The OS and apps requesting actions from the IR), where exactly, we don't know yet. It's one of the things we're also looking at in the 4.4 kernel in hopes of fixing it there.
then, did you investigate the stock ir remote app?
 

aCIDsLAM

Senior Member
Feb 7, 2015
107
26
Using swan kernel makes the device snappier but i get random reboots on h918.
Not sure it ifs sdcard access related. I may test a bit more.
 

TappedCeiling46

New member
Apr 14, 2022
2
0
View attachment 5441323

A custom kernel for (most) V20 variants

SwanKernel is an android kernel based on the latest Lineage OS 18.1 sources for the LG MSM8996 phones, aiming to bring those features and updates and improve them with some extra tuning, fixing and external features tailored specifically for the LG V20's performance characteristics and feature set, while trying to maximize the battery life and responsiveness of the device at the same time.​

This kernel is based on Linux 3.18.140, and has become EOL with the last commit, as i don't think there's anything else that can be optimized for the V20 on this source anymore.

Which phone variants/models does this kernel support?


The kernel currently supports the following variants:
  • H910/H915
  • H918
  • H990
  • LS997
  • US996
  • VS995
Support for other special variants like the US996Santa might come at a later date if needed.


What does this kernel intend to achieve?

The main goal here is to have a kernel that not only has extra features and improvements, but is also clean and concise, having only features that are truly needed from a kernel that will run alongside a Android 11-based ROM. One example of that is Kcal display control, a feature that is unnecessary here since most, if not all Android 11 ROMs have LiveDisplay for that exact same purpose and without the need to root. This helps the kernel have a smaller file size and lower processing overhead, as well as promote better maintainability.

This kernel does have a battery life bias, but will still scale up to maximum performance when needed. No Overclocking is done for now.


Does it have any features over stock?

Yes, a lot. The kernel is divided into two variants, here are the features both variants have over stock:

  1. AdrenoBoost for improved GPU performance.
  2. GPU and CPU/Cache Undervolt for better power efficiency on load.
  3. CPU governors tuned for better battery life and thermal stability without impacting performance all that much.
  4. Almost no unnecessary debug flags on the kernel for better kernel performance.
  5. Westwood TCP Congestion Algorithm set as default in order to have better network performance and consistency.
  6. AutoSMP CPU Hotplug to shutdown the big cores when their stronger performance isn't needed, slightly improving battery life on light loads and idle.
  7. Disabled CPU Boost when a finger is detected on screen, preventing unnecessary frequency boosts when no meaningful action is done other than tapping on screen and slightly scrolling around. We have Schedutil to keep it smooth anyways.
  8. USB Fast Charge.
  9. Multiple cherry-picks from different msm8996 sources with fixes and improvements to the kernel.
  10. Configurable wakelock blocker (boeffla) for roms that have some "unneeded" wakelocks enabled by default and/or users that know which wakelocks can be blocked for better battery life.
  11. Anxiety IO Scheduler enabled by default, offering a read bias and lower latency in IO operations.
  12. Kernel updated to Linux 3.18.140 with some extra patches from Googlesource.
  13. Wireguard support, improving VPN performance.
  14. Cryptographic functions optimizations, slightly improving the phone's performance when calculating hashes and so on.

The Extreme variant has some extra features over the Stable one, those being:
  1. Stronger Undervolts (i'm talking about borderline unstable undervolts here, so i really recommend that you flash the Stable one first).
  2. CPU Voltage Control if you need to setup a custom undervolt to keep it more stable and have no need to compile the kernel from source just to change the values... and that's assuming your phone even boots with this variant of the kernel.
  3. Disabled Battery BCL which eliminates the power throttling caused by the battery, just be careful when running demanding tasks while having almost no battery left.


Are there any bugs?

Right now, there's the dreaded Infrared Blaster, and it... kinda works? The IR is able to send the very first command i give to my LG TV without any problems after every reboot, but refuses to send anything else after that first command. The IR Blaster's light still works all the time though despite having some big delays between on/off states.


Download & Installation

The folders containing each kernel variant can be found here:
To install the kernel, it's the standard procedure:
  1. Download the kernel you want for your device
  2. Place it into the phone
  3. Boot into recovery, select it and then flash
  4. Wipe Dalvik Cache (optional, you only need to wipe it if you face random Force Closes, but it is a good practice anyway)
  5. Reboot.
  6. Open any app that can check the device info and look for "kernel", where it will show "... 3.18.xxx-Swan" if it installed correctly. I personally use SmartPack for that, but it requires root.
  7. Enjoy the experience!


Performance and Battery metrics
And now to the kernel's real world performance. But before delving in, keep in mind that my refurbished H910 is apparently a Snapdragon 821 prototype, that's why you will see higher than normal performance and clock values on cpu matters even with the LITTLE cores underclocked to 1785MHz instead of 2188MHz, the snapdragon 820 ones should not have any underclock applied and will reach the max of 1593MHz on them. I also took the liberty of testing those on the Extreme variant as BCL often interferes with the performance results and the extra undervolt doesn't increase performance in any substantial way, 5-7% at most on Geekbench.

Battery life:
Screen SOT test (Youtube looping through a massive playlist of songs with some scrolling to change between them):
View attachment 5441455View attachment 5441457

Not very impressive, until you consider the battery currently powering it:
View attachment 5441459

CPU/GPU Performance:

CPU performance according to Geekbench 5.4.1 (there is some minor variance of about 15-21 points in multithread):
View attachment 5441461

CPU sustained performance on CPU Throttling Test(running it for 15+ minutes barely changes the curve, as it stabilizes at around 80-82 Celsius, i suppose a Snap 820 will fare better here due to the lower clocks):
View attachment 5441463

GPU general performance on GFXBench 5:
View attachment 5441469

No copper shim replacement or thermal pad change was made, the phone's internal structure is still the same from when i bought it.

Storage Performance:

General IO performance in Androbench 5(Not very accurate, but welp, if anyone has a more in-depth one feel free to share):
View attachment 5441471

And there we go, everything i could benchmark so far. This will not be the best kernel on every front so the stock kernel on Lineage 18.1, Lighthouse's kernel or mk2000 might suit you better depending on your needs.

Changelog

*********** Swankernel V1.09+ [Maintenance release] ***********
  1. CPU/Cache/GPU Voltages have basically reached the optimum point on both stable and extreme.
  2. Some performance commits were cherry-picked from newer kernels for other devices
  3. Dynamic FSync was disabled since it could cause data loss on some edge cases involving reboots.
  4. Improved some string routines and memory access functions, about 4% or so improvement on geekbench.
*********** Swankernel V1.09 [Last 3.18 version, i think] ***********
  1. Minor performance and power-saving optimizations throughout the kernel
  2. CPU M4M cache undervolting (not really a big difference, but nice to have anyway).
  3. A few cherry-picked fixes for the 3.18 msm8996 kernel tree.
  4. Crypto function optimizations and HW acceleration for CRC32 Enabled.
  5. Not actually a kernel change but: Can now be flashed on android versions lower than 11.

*********** Swankernel V1.08 ***********
  1. Small performance optimizations related to the voltage curves, especially in the GPU.
  2. PC USB Charging has been fixed and the phone can now be charged over it again.

*********** Swankernel V1.06 ***********
  1. Upstreamed kernel to 3.18.140 + some extra patches, with more coming later.​
  2. Added Wireguard support for better VPN performance compared to IPSec.​
  3. Smaller fixes to the kernel zip files, improving compatibility with some models.​
  4. Minor performance optimizations, shouldn't be noticeable to the end user.​
  5. Now stable enough (at least the Stable version is) to be used as a daily driver.​

*********** Swankernel V1.00 ***********
Initial release. Has the features from 1 to 12 on both versions, and from 1 to 3 on the Extreme version.​

Closing notes

With V1.09, the kernel can now be flashed on basically any android version and should work out-of-the-box, although i didn't test it on stock roms at all and there are no reports of it working there, so it might not work on them.

From what i could gather during the multiple Pre-Beta tests, the battery life improved considerably over the kernel shipped by default with Lighthouse V20 and even more when compared to Lineage's stock kernel.

If you have any suggestion or idea that can possibly improve the kernel, do not hesitate to share, i will try to implement it when my time allows it. If there are any problems that only happen on this kernel, submit a log and i'll try to look at it.

The kernel's source code can be found here.

And last but not least, a special thanks for those that helped me even if indirectly:

how did you add voltage control?

I tried both the stable and extreme versions of this kernel but they are both very unstable and buggy (tested on "stock" and LinageOS 1.18 rom). With no other options, I started making my own kernel for the LG H990 but I couldn't find anyone except you who has voltage control for the msm8996 chip. So my question is if you are willing to share the source/voltage control code with me?
 

AShiningRay

Senior Member
Sep 1, 2021
147
67
Xiaomi Redmi Note 4
LG V20
Using swan kernel makes the device snappier but i get random reboots on h918.
Not sure it ifs sdcard access related. I may test a bit more.
I will need some logs to get a good indication about what might be causing those random reboots. Does it always happen when you're using it? If so, it might be related to the CPU clocks causing spikes in power consumption during app switches and etc, seeing as mk2000 also faces that same problem on some devices like the H990DS. This seems to be a device issue and not a kernel one (undervolting a lot might mitigate that, but it's not ideal since it may introduce other stability problems in the case of this kernel's Extreme version).

If you have some time, and is running a rooted device, try getting Smartpack Kernel Manager or any other app that allows you to change CPU frequency, and drop the performance cores to 1824MHz or a bit lower and the low-power ones to around 1300MHz. After that those random problems should disappear, assuming the reboots are caused by power spikes.
 
  • Like
Reactions: aCIDsLAM

AShiningRay

Senior Member
Sep 1, 2021
147
67
Xiaomi Redmi Note 4
LG V20
how did you add voltage control?

I tried both the stable and extreme versions of this kernel but they are both very unstable and buggy (tested on "stock" and LinageOS 1.18 rom). With no other options, I started making my own kernel for the LG H990 but I couldn't find anyone except you who has voltage control for the msm8996 chip. So my question is if you are willing to share the source/voltage control code with me?
Any specifics to those instabilities and bugs, like logs or something? It would help immensely since my device isn't a H990.

As for the voltage control, here's the commit for voltage control on the extreme variant: https://github.com/AShiningRay/Swan...mmit/92aee4af63d325ace25cdb4cf66546a80258581d

There might be more commits related to that though, but this one is the main commit and should already get you the feature. However, i only really use it to check the cpu voltages in real time and finetune the undervolts on a newer kernel revision, since actual voltage control doesn't seem to work, and i never managed to get working voltage control on any of my qcom devices, be it Snapdragon 625/626, 435 or 820/821 (no matter the kernel, even other custom kernels with VC fail to undervolt my phones without triggering a reboot or crash in some capacity while undervolting them through the kernel's dt files works like a charm). If you're going to use it to undervolt while booted into the system, it might not work for you as well.
 

TappedCeiling46

New member
Apr 14, 2022
2
0
Any specifics to those instabilities and bugs, like logs or something? It would help immensely since my device isn't a H990.

As for the voltage control, here's the commit for voltage control on the extreme variant: https://github.com/AShiningRay/Swan...mmit/92aee4af63d325ace25cdb4cf66546a80258581d

There might be more commits related to that though, but this one is the main commit and should already get you the feature. However, i only really use it to check the cpu voltages in real time and finetune the undervolts on a newer kernel revision, since actual voltage control doesn't seem to work, and i never managed to get working voltage control on any of my qcom devices, be it Snapdragon 625/626, 435 or 820/821 (no matter the kernel, even other custom kernels with VC fail to undervolt my phones without triggering a reboot or crash in some capacity while undervolting them through the kernel's dt files works like a charm). If you're going to use it to undervolt while booted into the system, it might not work for you as well.
Thank you for sharing. Hopefully I can use your code in combination with other code I've seen to get it working.

If you could add me on discord I think it would be easier than using the forum(TappedCeiling46 ΦωΦ#7651).
If not, could you explain where I can find the log file? I can send the logs along side the others bugs I know of so far.

At the moment I'm using the "stock" rom but If that's a problem I can try dual booting LineageOS ¯\_(ツ)_/¯

 

AShiningRay

Senior Member
Sep 1, 2021
147
67
Xiaomi Redmi Note 4
LG V20
Thank you for sharing. Hopefully I can use your code in combination with other code I've seen to get it working.

If you could add me on discord I think it would be easier than using the forum(TappedCeiling46 ΦωΦ#7651).
If not, could you explain where I can find the log file? I can send the logs along side the others bugs I know of so far.

At the moment I'm using the "stock" rom but If that's a problem I can try dual booting LineageOS ¯\_(ツ)_/¯

I hope so, fine-tuning voltages is way easier, and faster, to do when going through the GUI and without needing to recompile the kernel between tests.

I don't have a discord channel for communication, but i do have Telegram, if that one's available to you. But send me a PM with infos and such, since doing so right here is way too unsafe.

To get the logs, you can load up a terminal app on your phone, give it su privileges, then type "dmesg >> /sdcard/filename.log", or do the same commands but through adb.

And yeah... if you're using the phone's stock ROM by LG or any other rom that mainly modifies the stock one, i'm afraid bugs are to be expected since this kernel was only tested on custom roms, and is based on lineage's kernel sources.
 

AShiningRay

Senior Member
Sep 1, 2021
147
67
Xiaomi Redmi Note 4
LG V20
VS995 says wrong version.
Huh, weird... the anykernel script is correct and checks for vs995. Did you crossflash your vs995 with any other variant's recovery? If not, might be a glitch in the script or something.

I don't really recommend flashing this kernel now that 4.4 is around and works almost as well, if not better than 3.18 most of the time... but if you're still interested, you can just open the flashable zip, open anykernel.sh and change the devicecheck prop to:
do.devicecheck=0

Assuming it's really a VS995, you won't have any issues.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    SwanKernelLogo.png


    A custom kernel for (most) V20 variants

    SwanKernel is an android kernel based on the latest Lineage OS 18.1 sources for the LG MSM8996 phones, aiming to bring those features and updates and improve them with some extra tuning, fixing and external features tailored specifically for the LG V20's performance characteristics and feature set, while trying to maximize the battery life and responsiveness of the device at the same time.​

    This kernel is based on Linux 3.18.140, and has become EOL with the last commit, as i don't think there's anything else that can be optimized for the V20 on this source anymore.

    Which phone variants/models does this kernel support?


    The kernel currently supports the following variants:
    • H910/H915
    • H918
    • H990
    • LS997
    • US996
    • VS995
    Support for other special variants like the US996Santa might come at a later date if needed.


    What does this kernel intend to achieve?

    The main goal here is to have a kernel that not only has extra features and improvements, but is also clean and concise, having only features that are truly needed from a kernel that will run alongside a Android 11-based ROM. One example of that is Kcal display control, a feature that is unnecessary here since most, if not all Android 11 ROMs have LiveDisplay for that exact same purpose and without the need to root. This helps the kernel have a smaller file size and lower processing overhead, as well as promote better maintainability.

    This kernel does have a battery life bias, but will still scale up to maximum performance when needed. No Overclocking is done for now.


    Does it have any features over stock?

    Yes, a lot. The kernel is divided into two variants, here are the features both variants have over stock:

    1. AdrenoBoost for improved GPU performance.
    2. GPU and CPU/Cache Undervolt for better power efficiency on load.
    3. CPU governors tuned for better battery life and thermal stability without impacting performance all that much.
    4. Almost no unnecessary debug flags on the kernel for better kernel performance.
    5. Westwood TCP Congestion Algorithm set as default in order to have better network performance and consistency.
    6. AutoSMP CPU Hotplug to shutdown the big cores when their stronger performance isn't needed, slightly improving battery life on light loads and idle.
    7. Disabled CPU Boost when a finger is detected on screen, preventing unnecessary frequency boosts when no meaningful action is done other than tapping on screen and slightly scrolling around. We have Schedutil to keep it smooth anyways.
    8. USB Fast Charge.
    9. Multiple cherry-picks from different msm8996 sources with fixes and improvements to the kernel.
    10. Configurable wakelock blocker (boeffla) for roms that have some "unneeded" wakelocks enabled by default and/or users that know which wakelocks can be blocked for better battery life.
    11. Anxiety IO Scheduler enabled by default, offering a read bias and lower latency in IO operations.
    12. Kernel updated to Linux 3.18.140 with some extra patches from Googlesource.
    13. Wireguard support, improving VPN performance.
    14. Cryptographic functions optimizations, slightly improving the phone's performance when calculating hashes and so on.

    The Extreme variant has some extra features over the Stable one, those being:
    1. Stronger Undervolts (i'm talking about borderline unstable undervolts here, so i really recommend that you flash the Stable one first).
    2. CPU Voltage Control if you need to setup a custom undervolt to keep it more stable and have no need to compile the kernel from source just to change the values... and that's assuming your phone even boots with this variant of the kernel.
    3. Disabled Battery BCL which eliminates the power throttling caused by the battery, just be careful when running demanding tasks while having almost no battery left.


    Are there any bugs?

    Right now, there's the dreaded Infrared Blaster, and it... kinda works? The IR is able to send the very first command i give to my LG TV without any problems after every reboot, but refuses to send anything else after that first command. The IR Blaster's light still works all the time though despite having some big delays between on/off states.


    Download & Installation

    The folders containing each kernel variant can be found here:
    To install the kernel, it's the standard procedure:
    1. Download the kernel you want for your device
    2. Place it into the phone
    3. Boot into recovery, select it and then flash
    4. Wipe Dalvik Cache (optional, you only need to wipe it if you face random Force Closes, but it is a good practice anyway)
    5. Reboot.
    6. Open any app that can check the device info and look for "kernel", where it will show "... 3.18.xxx-Swan" if it installed correctly. I personally use SmartPack for that, but it requires root.
    7. Enjoy the experience!


    Performance and Battery metrics
    And now to the kernel's real world performance. But before delving in, keep in mind that my refurbished H910 is apparently a Snapdragon 821 prototype, that's why you will see higher than normal performance and clock values on cpu matters even with the LITTLE cores underclocked to 1785MHz instead of 2188MHz, the snapdragon 820 ones should not have any underclock applied and will reach the max of 1593MHz on them. I also took the liberty of testing those on the Extreme variant as BCL often interferes with the performance results and the extra undervolt doesn't increase performance in any substantial way, 5-7% at most on Geekbench.

    Battery life:
    Screen SOT test (Youtube looping through a massive playlist of songs with some scrolling to change between them):
    Screenshot_20211025-185046214.jpgScreenshot_20211025-193015235.jpg

    Not very impressive, until you consider the battery currently powering it:
    Screenshot_20211025-185057599.jpg

    CPU/GPU Performance:

    CPU performance according to Geekbench 5.4.1 (there is some minor variance of about 15-21 points in multithread):
    Screenshot_20211025-195919247.jpg

    CPU sustained performance on CPU Throttling Test(running it for 15+ minutes barely changes the curve, as it stabilizes at around 80-82 Celsius, i suppose a Snap 820 will fare better here due to the lower clocks):
    Screenshot_20211025-194844892.jpg

    GPU general performance on GFXBench 5:
    Screenshot_20211025-205142387.jpg

    No copper shim replacement or thermal pad change was made, the phone's internal structure is still the same from when i bought it.

    Storage Performance:

    General IO performance in Androbench 5(Not very accurate, but welp, if anyone has a more in-depth one feel free to share):
    Screenshot_20211025-205621339.jpg

    And there we go, everything i could benchmark so far. This will not be the best kernel on every front so the stock kernel on Lineage 18.1, Lighthouse's kernel or mk2000 might suit you better depending on your needs.

    Changelog

    *********** Swankernel V1.09+ [Maintenance release] ***********
    1. CPU/Cache/GPU Voltages have basically reached the optimum point on both stable and extreme.
    2. Some performance commits were cherry-picked from newer kernels for other devices
    3. Dynamic FSync was disabled since it could cause data loss on some edge cases involving reboots.
    4. Improved some string routines and memory access functions, about 4% or so improvement on geekbench.
    *********** Swankernel V1.09 [Last 3.18 version, i think] ***********
    1. Minor performance and power-saving optimizations throughout the kernel
    2. CPU M4M cache undervolting (not really a big difference, but nice to have anyway).
    3. A few cherry-picked fixes for the 3.18 msm8996 kernel tree.
    4. Crypto function optimizations and HW acceleration for CRC32 Enabled.
    5. Not actually a kernel change but: Can now be flashed on android versions lower than 11.

    *********** Swankernel V1.08 ***********
    1. Small performance optimizations related to the voltage curves, especially in the GPU.
    2. PC USB Charging has been fixed and the phone can now be charged over it again.

    *********** Swankernel V1.06 ***********
    1. Upstreamed kernel to 3.18.140 + some extra patches, with more coming later.​
    2. Added Wireguard support for better VPN performance compared to IPSec.​
    3. Smaller fixes to the kernel zip files, improving compatibility with some models.​
    4. Minor performance optimizations, shouldn't be noticeable to the end user.​
    5. Now stable enough (at least the Stable version is) to be used as a daily driver.​

    *********** Swankernel V1.00 ***********
    Initial release. Has the features from 1 to 12 on both versions, and from 1 to 3 on the Extreme version.​

    Closing notes

    With V1.09, the kernel can now be flashed on basically any android version and should work out-of-the-box, although i didn't test it on stock roms at all and there are no reports of it working there, so it might not work on them.

    From what i could gather during the multiple Pre-Beta tests, the battery life improved considerably over the kernel shipped by default with Lighthouse V20 and even more when compared to Lineage's stock kernel.

    If you have any suggestion or idea that can possibly improve the kernel, do not hesitate to share, i will try to implement it when my time allows it. If there are any problems that only happen on this kernel, submit a log and i'll try to look at it.

    The kernel's source code can be found here.

    And last but not least, a special thanks for those that helped me even if indirectly:

    3
    Alright, with the recently released V1.09 i now deem this kernel EOL, or at least, its 3.18 version since i will now be focusing on porting 4.4 to the LG MSM8996 family of devices alongside @askermk2000, since that tree is still being actively developed by linux-stable and also contains a slew of general improvements to both security and performance over the current 3.18 source that i don't think can be further optimized or fixed. The IR is still in need of fixing, but at this point i think starting fresh from a clean source might prove more beneficial to solve it than looking around the entire kernel source again. But if any issues with that new release crop up, do tell me and i will try to provide support.
    2
    The ir is most likely consumer ir related so, we'll have to tweak it until it starts working
    2
    Hello when I try to flash Swan-H918-Stable.zip on an h918 I get "Unsupported device. Aborting..."
    Huh... that's strange. I must have messed something up during the anykernel zipping procedure on that model. I'm almost pushing an update to the kernel, so i'll be back in a while with a fix for that.

    Edit: Yeah, it was something in the script file, i forgot to change the H910 to H918 on that specific variant flashable. Sorry for that.
    I just pushed the file with the fixed script for all the models i checked. If you could test that, i would appreciate it.
    2
    Wow this Kernel is amazing! Thermals improved massively and the V20 runs much faster and smoother now. I'm able to do things that were impossible before like browse the web while watching Youtube. Duck Duck Go used to stutter when clearing my data, now it does it smoothly.

    Everything is faster while somehow the phone runs much colder. I still need to test my GCam and if I can take a few photos without crashing.

    I'm using the H990DS with Lineage 18.1. During the throttle 1 core stayed at 70C while others were around 60-65C (I'm using a thermal pad).

    wMdy5DJ5brSFPd05n_mBKCwOhYVDJR6Vjzx0jZqG2CjSu49-ox1wbRIeKsg2K6bgNJtjgt6Wr5Vyz8wSr7gAFIMd4jDQeu067ZUeTe5swd1rRFwx0s6es5YfIWKimlNZLKGTHYdigwLbnzYgtBaOhIPXXQz1wrG0BCuzCI4mjY7A-4WaV3ek5ypESqSq_2JuSOVVNcul0m0d9VnlLB2tnlsBxuyhm5ZDiMi6L2BtMxJHtlFiCnCYLESRdCtuC-0zm5IZ6TgljsIbKyRNWpn7H8y_aGrq7AZ2z_G65lsKzAUuMVAFdCcmcOvBJ4QUL8Zzj_c_Vk7Ts1WPptem2Htmmyrp8AZ33cnis4tchiloGvkmbw5BLNY6GOzWuegjkM-hUFtGVwBs2O0lDD9JVQZSrP7xjedS8sAdYiVETEdVzKouF0d8lutIp7epGRFjWGD1jaTtd9-l3P9vVxYo_FJ5KRtJ-tlx-2FNGt1nj8OFQddH6vUBFxza_tZDV5SrJvcUDtcRe52ZWgUF2BQ8u5fZIh7ErO1da0f1kXv0s4-LlAyaZ6YXx0rIJZrEMEwTS7WwCOsnErw2ec_Hz6mxPK4jO4OPPee_m1LS1EQKN5A1-OLaf1JwqUrNMSU98IgAcF-AVSF7kY-Am7z8U_BJWAYxtc8yyFA42GQFRTMhIncu8KaShmOzBX_lazgHyjwJU477CYu_ES9uX6DCEQwT4jcklOcneQ=w497-h937-no

    I bought a V60 as a replacement but now I don't even need it anymore, it's a shame I can't refund it now. Amazing job and thanks for all the devs keeping this phone alive. Might try Lighthouse later but I'm lazy to back up all my data for migration.
    Thanks! Happy to know the kernel is being useful to others as well. And a bit of a spoiler (xxseva already hinted at it in a few places, lol), but there's definitely a lot more coming for the V20, G5 and G6, although i can't share many details about it nor a ETA of when it will arrive. But if/when it arrives, you can expect Android 12 with a kernel that's essentially the best parts of Swan and mk2000 mashed together.