yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] infatality:
Probably some apps hold up? Saw your held awake is at 1hrs plus.. Try using bbs and see what's holding your phone awake. For me it's only 0.5-0.6~ idle drain.. And less than 1hrs held awake for almost 27hrs in total.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] clock51:
with last release Magisk 16.7 (1671) the problem of restart and wifi has been solved
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
Heyo!

I will add this to OP but here we go

We have debated this feature for sometime now between the core members of RenderZenith and between testers. The way Josh and I both feel about it is that blocking wake locks enables bad behavior. We don't believe it is proper to block a wake lock, that is supposed to be shared with other apps, do to problems caused predominantly by a rogue app. Wake locks are not there for nothing. I have personally tested wake lock blocking and blocked all the common wake locks and any savings were negligible. So because of that, I would rather instigate proper user behavior than blocking a wake lock allowing the rogue app to ruin the general user experience. Also because the savings were negligible, I would much rather leave them as intended.

This is also the same design concept we keep in mind with regards to apps that are supposed to give better deepsleep. Like greenify for example. There have been many times through the years when I have testers complain about bad battery that no one else was having and the common thread appears to have been the use of greenify and doze manipulation.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] infatality:
Are you sure? There's tons of people over in telegram group tried the new hotfix version and it's still have issues.. Even the dev is warning not to use magisk 16.7. Due to the way they bind the selinux policy, wifi module etc.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] return.of.octobot:
I'm curious to know if the Dynamic STune updates have any impact on the suggested configuration as outlined here, particularly in regard to the dynamic_stune_boost parameter and whether there is still a need to define top-app, foreground, background, rt/schedtune.boost at specific values so as not to interfere with DSB.

For context, I am asking because I maintain my own personal kernel and currently do not have ramdisk support. Thus, I have hardcoded workarounds to set these values from the kernel up until this point.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
No, the new stune updates do not break functionality. The only thing that it improves is better handling of several dynamic stune boost requests at the same time. If you only use dynamic stune boost in cpu-boost, then nothing changes in practice
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] clock51:
I personally do not have these problems with v. 1671, while I had them with v. 1670
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] jahidinbedod:
[MENTION=5438598]RenderBroken[/MENTION]

whene update ?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] crian:
In a few minutes... ?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Revenant Ghost:
I was using the latest experimental treble version of RenderZenith kernel until I realized it broke my mobile hotspot after updating from xXx 12.1 to OB14 with xXx Magisk ROM, unfortunately.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] axiel7:
What's wrong with Wi-Fi? Installed Magisk 16.0, wifi turn on but doesn't connect to any network, then flashed Magisk 16.7 and the same
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] xChickens:
idk about 16.0 (mines working on 16.6) but for 16.7:

https://xdaforums.com/showpost.php?p=77109196&postcount=1468
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] camseye:
Can anyone give me a link of telegram group.

Edit- Founded it.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] bundysoat:
Anybody flash this kernel on OOS 5.1.4??
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Maria_gr:
Hey guys, does this kernel have the wakelock blocker feature?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Dutchray:
Yes I did, everything working without a problem.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Maria_gr:
Ugh, that's unfortunate. Thanks for the answer. [MENTION=5438598]RenderBroken[/MENTION] any chance you could please add the wakelock blocking function in the kernel? It would be awesome.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] gialakias:
He has said that it does not do any good so he wouldn't add it. Check the telegram group.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
It will not be added. Whoever asks about wakelock blocking should first read this: https://arstechnica.com/gadgets/201...s-tracks-and-improves-android-battery-life/3/
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ipredatorv:
I appreciate your insight on wakelocks. And when I'm on holiday in Europe my battery standby is perfect on RenderZenith, around 0.7%/hour. Yet since I work in China, Google Wakelocks go crazy as they can't connect to their server and try frantically to reconnect, therefore I have to live with standby drain of over 2% an hour. By now I have accepted that, since the smoothness of RenderZenith is worth it, and the battery still lasts a normal working day. What I'm trying to say is that for people living in regions where Internet is restricted, Wakelock blocking comes in handy. Love your kernel nonetheless!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
Sorry, no wakelock blocking in this kernel nor will there ever be. Install better apps that don't abuse them and you will have a much better user experience.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] furious.builder:
[MENTION=8385493]ipredatorv[/MENTION] Yeah I had the same problem, but blocking wakelocks is just treats consequences and not causes. Why not trying magisk module "Sysconfig Patcher"? It solved my problems with google apps by disabling unrestricted access to data / power usage in system/etc/sysconfig :)

Sounds cleaner than dirty blocking wakelocks through a kernel feature
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sleepwalking0593:
Sysconfig patcher leads to notification delay for some apps
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Asv97:
Yeah,sysconfig patcher works well for me too.Also,I've installed an app known as 'disable services' from playstore and have disabled all analytics related services.That stops apps from collecting data in the background and thus,saves battery.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] anujyadava:
How to identify 'analytics related services'?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
RZ-3.5.0 is HERE!

Things to note:

Merged Linux stable release 4.4.149

Merged CAF Tag LA.UM.6.4.r1-10300-8x98.0

Updated Binder

Updated WIFI Driver LA.UM.6.4.r1-10300-8x98.0

Fixed (again) issue with delayed notification

Pulled in OOS Device specific changes

And many more so check the changelog below!

Download:

RZ-OP5-OOS-O-EAS-V3.5.0-Treble.zip

https://github.com/EAS-Project/Releases/raw/op5/RZ-OP5-OOS-O-EAS-V3.5.0-Non-Treble.zip

Changelog

Please note:

Because we are now support treble and non treble OOS, we need you guys to make sure you are only using Magisk 16.0 and the latest blu_spark TWRP.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Gigi82:
Sorry,

But.....is this kernel version for OOS treble or not treble? ?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] barani kumar:
Refer below.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] fhvzy11111:
Works with oos beta 16?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] bundysoat:
Works fine on first treble stable OOS version 5.1.5???
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] vitalinya:
I have the problem with turning on wifi with RZ 3.5.0 kernel.

OOS 5.1.5

Magisk 16.7. Wifi extend module disabled.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ponkz:
Same with me

On 515 using RZ for treble break wifi

Its fine with stock kernel tho
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] gialakias:
Try magisk 16.0
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RogerF81:
What he said. [MENTION=6745491]joshuous[/MENTION] and [MENTION=5438598]RenderBroken[/MENTION] have said this many times, that only Magisk 16.0 is supported ;)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] vitalinya:
Thanks, with 16.0 work fine. Didnt find any mention about magisk before. But still afraid this kernel no use for me. In ip_tables_targets absent TTL entry.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] crian:
Magisk 16.6 is also working fine.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Macchinista:
For the people that have Wi-Fi problem, are you using treble recovery?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] infatality:
WiFi issues is due to magisk 16.7.. Because of how RZ binned wifi module, selinux policy.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
Hey guys!

I know its a bit of a PITA to have to jump through different hoops to have WiFi working. I wanted to explain why this is. We have to use a modified version of the WiFi driver because we had to rip out certain drivers from the kernel. Drivers like core control (core_ctl). The WiFi driver has it's own subsystems that tie into core_ctl. Because this is not present in our kernel, the WiFi driver would fail to load. I believe there was one more issue similar to this that also made stubbing core_ctl not work either. Just been so long that I cannot remember now lol.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] bundysoat:
The Wi-Fi not work properly if flash the RZ 3.5.0 on OOS 5.1.5. With Magisk 16.0. But I have another modules and one is the module to change to permissive the SElinux.

Anybody has been the same problem?

With stock kernel no problems.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] crian:
What other modules are you running?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] bundysoat:
In attachments buddy.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] DarkDampSquib:
for me the wifi problem got fixed after flashing latest blu_twrp. maybe that helps
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] bundysoat:
How is possible that flash a different recovery to get a good WiFi functions?:eek::eek:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] DarkDampSquib:
because of new treble stuff from oos 5.1.5.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] fjsferreira:
What?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] lknnnn:
Sound issue in oos ob17，with rz 3.5.0.

No sound at all，and sound magisk module doesn't work.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] dsg2003:
OB17 is out? Where can I download it?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] fjsferreira:
Same, and after rebooting the phone, it doesn´t boot anymore.

This is 100% kernel related, as returning to stock kernel immediately fixes it.

Beware that on stock kernel, with ob17, viper4android also breaks sound.

Guess we must wait for oneplus to drop latest commits to github.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ulxerker:
here: https://xdaforums.com/showpost.php?p=77473122&postcount=2757
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] 19blacktiger77:
I have the latest Blu Twrp, and WiFi doesn't work at all...
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
Most like need kernel changes not yet released by op. Can only guess.

Most likely you are not using support Magisk version, I can only guess.

Guys, we really need more info. I know it seems like you are all giving pertinent information but it just isn't enough. Here is what we need each time a problem is reported:

Kernel version

Rom version

Magisk version

Recovery version

And all the logs you can get using Syslog from the playstore.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] shadowstep:
OnePlus has updated the sources for the latest Open Beta. :) There do seem to be some audio related commits in there (for supposedly fixing audio issues while using a GSI).
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] 19blacktiger77:
Latest kernel RenderZenith from Stock ( 4.4.78-perf+ )

OxygenOs 5.1.5

Magisk 16.7 beta

Latest Blu_spark

I will also download Syslog...

Another things, i purchase the Ex Kernel Manager, but i can't find the option to increase sound volume... :confused:

Thank you!

Ps = I downgraded Magisk to 16.0 and all seems to works.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] jahidinbedod:
whene update for support ob 17 op5 ?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] fjsferreira:
Telegram
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] furious.builder:
OP5, OB17, Magisk 16.6, V4A and XtremeMusic Mod, latest RZ Build from Telegram (180830), Helix Engine, all is working fine.

Anyone tried latest magisk 17 if the issue related to WiFi is fixed?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] lknnnn:
Wifi works fine.Magisk 17.0,latest rz kernel.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] furious.builder:
Nice, I tried, WiFi is working fine too! :D
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] fjsferreira:
Just tried on OB17, wifi doesn't turn on here :s
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] cerealguy:
Hi guys... Is Big Cluster downclocked to 2361 mhz by default?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] fhvzy11111:
Link on telegram please
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] chakraxz:
use search function please
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sleepwalking0593:
Yes
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
RenderZenith v3.6.0 release!

Changes

* Upstreamed to Linux 4.4.153

* Updated with latest OOS Open Beta kernel changes

* Scheduler RT changes

* Binder updates

* Fixed wifi issues with Magisk 16.7+ (feel free to use the latest Magisk now)

Note

Please use the latest blu_spark TWRP to flash this kernel.

Changelog

Downloads

RenderZenith v3.6.0 (Treble)

RenderZenith v3.6.0 (Non-Treble)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] :
No wifi issus with open beta 17 ?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] VoxiBe:
Install on OB17 with Magisk 16.7 no issue (Except that in EX manager customization is really extremely limited, but I think it's a choice on your part)

Compatible with new Magisk 17.1 ?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] JAlvarezFlores:
Steps:

0. Boot TWRP.

1. Install kernel.

2. Install Magisk 17.1

3. Install kernel.

4. Wipe Dalvik + Cache

5. Reboot System.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] caki25:
Yup, no issues on 17.1 here. Still can't set Google pay up to work though... :-\
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] cerealguy:
Thanks for the answer... Btw I will remove it but It's not possible from Ex kernel manager because it doesn't sticks after exit from the app. How it's possible to have stock max freq?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joelshawdow:
Try disabling phone permission of google play service then reboot.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sleepwalking0593:
The highest frequency is used only while booting up. Remove ex kernel manager from battery optimised apps
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] caki25:
Was messing around with xposed and actually forgot about it ? when I disabled it, pay works...
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] cerealguy:
I've just tried this but no luck...
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sleepwalking0593:
Then it uses those frequencies at boot up only.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] doomwithdon:
The sound gain control is ineffective. I have increased it to the max and yet makes no difference compared to stock earpiece sound level.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] hellkun:
I'm using the non-beta OS (Non-Treble), with

3.5.0 + Magisk 16.0 => WiFi works,

3.5.0 + Magisk 17.1 => WiFi doesn't work,

3.6.0 + Magisk 17.1 => WiFi works...

A little bit strange.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] DarkDampSquib:
well its not really.

3.5.0 doesnt have support for magisk higher than 16.6.

3.5.0 is made to work with 16.7+
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] hellkun:
really sorry for my mistake, I was gonna say 3.60+magisk, either 16.0 or 17.1, leading to not-working wifi
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] DarkDampSquib:
well for me 3.6.0 with magisk 17.1 works with wifi. but im using the treble version since im on 5.1.5
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] cosmic077:
What are the recommended settings for this kernel for power saving and which kernel manager should be used?

Thanks
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ulxerker:
Set all input boost frequencies to 0, keep stune boost on and use EX or FK kernel manager, they're both fine.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] dsg2003:
Are my settings ok?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ulxerker:
Yeah, looks good for me.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] anujyadava:
U better keep it default until and unless specified by dev
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] jauhari:
Please tell me, what is the big difference between stock kernel? I'm newbie about Kernel related. Does use this kernel the Speed much better? Does more better on Battery Usage and more...

Thanks
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ulxerker:
Its mainly optimized for speed and smoothness.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sirbizzle033:
Wifi does not work with magisk 17.1?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] DarkDampSquib:
you use latest version? 3.6.0?

because wifi works with 17.1
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sirbizzle033:
Yes I used 3.6.0 treble and magisk 17.1 but my wifi doesn't connect

---------- Post added at 06:49 PM ---------- Previous post was at 06:42 PM ----------

Should I reflash 16.7 version?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ulxerker:
Flash stock kernel or ROM, then reflash magisk 17.1 and RZ.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sirbizzle033:
Okay thank you, it won't restore my phone right?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ulxerker:
You won't lose data by doing that.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sirbizzle033:
Thanks, I'm downloading the entire rom just to copy boot.img (i've should done a backup of the stock boot.img)

---------- Post added at 07:44 PM ---------- Previous post was at 07:25 PM ----------

Should I reboot system after flashing stock kernel? Or flash everything at once
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ulxerker:
Don't reboot, flash everything at once.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
1. Kindly learn how to submit a proper bug report. Read the first post on the thread. I don't even know what ROM version you're on.

2. Follow the instructions to flash this kernel properly. If you're not using the latest blu_spark Twrp, then you're on your own.

[MENTION=6809086]ulxerker[/MENTION], thanks for chipping in
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Veliion:
These are my default settings, I don't think this is correct?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Jacky113:
I get the same too but changed to the other setting posted
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Dave_247:
Any kernal changes in OB18 that requires an update for this, or is it safe to use 3.6.0 still?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sleepwalking0593:
You can use it no kernel changes have been updated by OnePlus till yet. But sometimes they upload it late. So wait for a few days before flashing.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] AlexanderTheSteak:
Battery life and smoothness are excellent!! Only thing is there is occasional audio stuttering/jankiness, does anyone not how to remove it? Thanks dev!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] kaivoria:
Hi there, I'm on OOS 5.1.5 and have flashed the 3.6.0 (Treble version) with Blu_Spark and Magisk 17.1 but I can't get the wifi to work.. Anyone have any ideas or fixes?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sleepwalking0593:
Flash stock kernel first if you are coming from different kernel. Use a treble enabled twrp like Blu spark latest.

I would now recommend you to flash latest Blu spark recovery.

Dirty flash OOS again. Then after booting into OS go into recovery and flash this kernel.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] kaivoria:
Thanks for the reply! I was already on stock kernel when I tried flashing this. Is the latest version of blu_spark twrp 3.2.1? That's the only one I could find

Ah nevermind, I was able to find the latest one now. Apologies for all the troubles!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sleepwalking0593:
3.2.1 is old one it's not for treble based ROMs and kernels that's why WiFi module didn't flash well
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] fjsferreira:
Is there a way to prevent render zenith from replacing wifi ini file at boot so it's possible to use a custom ini in vendor/etc/wifi?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
You can replace the one in the kernel zip file
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] fjsferreira:
I can't seem to find it anywhere :(
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ulxerker:
in RZ-OP5-OOS-O-EAS-V3.6.0-Treble.zip\ramdisk\renderzenith\modules\ you'll find wlan.ko ... dunno if that one has to get replaced.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] fjsferreira:
The file is this: WCNSS_qcom_cfg.ini

Render zip doesn't have it as far as I can tell.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] shadowstep:
It doesn't, you're right. I had a look at the AnyKernel shell script to dig in, and found the following:

# Remove deprecated files
rm $ramdisk/WCNSS_qcom_cfg.ini

# Remove packet filtering from WCNSS_qcom_cfg.ini
cp -pf /system/vendor/etc/wifi/WCNSS_qcom_cfg.ini $ramdisk/renderzenith/WCNSS_qcom_cfg.ini
cp -pf /vendor/etc/wifi/WCNSS_qcom_cfg.ini $ramdisk/renderzenith/WCNSS_qcom_cfg.ini
remove_line $ramdisk/renderzenith/WCNSS_qcom_cfg.ini g_enable_packet_filter_bitmap
echo "gDisablePacketFilter=1" > $ramdisk/renderzenith/temp.ini
cat $ramdisk/renderzenith/WCNSS_qcom_cfg.ini >> $ramdisk/renderzenith/temp.ini
mv $ramdisk/renderzenith/temp.ini $ramdisk/renderzenith/WCNSS_qcom_cfg.ini

# Remove
replace_line $ramdisk/renderzenith/WCNSS_qcom_cfg.ini "gHwFilterMode" "gHwFilterMode=0"

It seems that the shell script is using your ROM's existing WCNSS_qcom_cfg.ini file as base for modifications and then binding it. If that's the case, then you can directly replace the original ini with your modified ini that you want to use (using TWRP) so that it gets replaced in your /system or /vendor partition (depending upon Treble) before you flash this kernel and it should work. :)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] fjsferreira:
Excellent find. Thank you man
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] mrjuniork:
Could you pls tell me why you wanna use a custom ini file? Did you have issues with notifications on Wi-Fi? Pls elaborate :)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] SeddyXDA:
Is it safe to update to the latest zenith version with magisk 17.2 or is it really incompatible?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] SeddyXDA:
Forget I said anything, it has already been said that it should work with any magisk 16.7+ version.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
RenderZenith v3.7.0 release!

Changes

* Upstreamed to Linux 4.4.159

Note

Please use the latest blu_spark TWRP to flash this kernel.

Changelog

Downloads

RenderZenith v3.7.0 (Treble-only)