Try this:
In Magisk, look for the module:
.Viper4Android FX Legacy created by VIPER520 ZhuHang, Ahrion, Zackptg5.
Install it selecting the options you want, but at the end of installation do not reboot the phone.
Go back and find the module:
.Audio Modification Library created by zackptg5...
I had similar problem in Note 5 , whyred.
Finally I solved it by changing the recovery, in my case I install official TWRP 3.2.3-0.
Lastest versions of Twrp dont work in my case.
I updated my note 5 (Whyred), and had continuous reboots, lags and apps crash.
Finally I discover that the problem was redwolf recovery. It can not mount data partition.
Even with a clean installation the problems persisted.
I install twrp-3.2.3-0, and all the problems disappear.
Now all woks ok.
I use Magisk v.18.1 whith Magisk Manager v7.1.1, and Twrp 3.2.3-0, and no problems.
Flash the room, whith normal wipes and do a first system boot.
Then reboot in Twrp, and flash Magisk, without wipes, and reboot.
Enjoy
This works for me.
I have used Official Twrp 3.2.3-0 to install Eu 9.3.28. dirty flash from 9.3.14, only wipe Dalvik and cache.
No problem with encriptation.
And I root with Magisk 18.1
Only have had to reinstal viper module, rest of modules are ok.
Newer versions of twrp have problems for me.
If you are Root, to enable camera2api, edit
/system/build.prop
and in the end copy
persist.camera.HAL3.enabled=1
persist.camera.eis.enable=1
persist.camera.is_mode=4
persist.camera.stats.test=5
persist.vendor.camera.HAL3.enabled=1
persist.vendor.camera.eis.enable=1...
Installed in Note 5 Whyred and all seems ok.
I use official twrp 3.2.3-0 (newer versions dont work for me), and no problems of encriptation.
Root with Magisk, and I just had to reinstall Viper4, the rest of the modules worked directly.
*no-support-for-this-app-on-this-forum* works by editing build.prop.
Thanks for the great job