[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Segnale007:
Right, I ran the script and came across the following

/sdcard/01blackenedmod.sh[158]: can't create /sys/block/dm-0/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/loop0/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/loop1/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/loop2/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/loop3/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/loop4/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/loop5/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/loop6/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/loop64/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/loop7/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/loop72/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/loop80/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/ram0/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/ram1/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/ram10/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/ram11/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/ram12/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/ram13/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/ram14/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/ram15/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/ram2/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/ram3/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/ram4/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/ram5/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/ram6/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/ram7/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/ram8/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/ram9/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/sda/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/sdb/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/sdc/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/sdd/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/sde/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/sdf/queue/iopoll: Permission denied
/sdcard/01blackenedmod.sh[158]: can't create /sys/block/zram0/queue/iopoll: Permission denied

Looks like the actual path is /sys/block/*/queue/io_poll. Fixed.

I also added an initial wrap that checks if a folder/file is there and creates the folder if no matching filename is found.

Find edited script here https://gist.github.com/psammarco/d0285440e45cf916c2237f6da102b8b4

There are also other events that I guess need to be polished up, but I will take a look at it tomorrow. Keep up the good work.

---------- Post added at 11:06 PM ---------- Previous post was at 11:05 PM ----------

You are better off installing it through magisk.