[Magisk] cmanuellah:
Thanks, I tried the way you suggested, unfortunately after rebooting it goes into bootloop, with both versions 0.4.2 and 0.4.1.

Here are the logs, I will send by private message the generated modules link.

__Log V0.4.2__No Patch Selected__

fOmey @ XDA
Patcher Version: 0.0.4.2
==> Binary download complete
==> Unpacked binarys.
==> Detected Java: 1.8.0_201
system/build.prop: 1 file pulled. 0.5 MB/s (8187 bytes in 0.016s)
pull: building file list...
/system/framework/: 258 files pulled. 14.0 MB/s (249981572 bytes in 17.015s)
==> Dumped framework
==> Detected API: 25
==> Deodexed services.jar
==> Generated classes
I: Using Apktool 2.4.0 on services.jar
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
I: Using Apktool 2.4.0
I: Copying tmp classes.dex file...
I: Building apk file...
I: Copying unknown files/dir...
I: Built apk...
W: Could not find resources
==> Magisk template download complete
==> Generated magisk module zip file
*** Complete ***

__Installation Log__

- Copying zip to temp directory
- Installing SmaliPatcherModule-0.0.4.2-fOmey@XDA.zip
- Mounting /system, /vendor
Archive: /data/user/0/com.TS9nfn.fG5.JG6gO/cache/install.zip
inflating: config.sh
inflating: module.prop
******************************
Smali Patcher
fOmey @ XDA
******************************
Powered by Magisk (@topjohnwu)
******************************
- Creating /data/adb/magisk_merge.img with size 64M
Creating filesystem with parameters:
Size: 67108864
Block size: 4096
Blocks per group: 32768
Inodes per group: 4096
Inode size: 256
Journal blocks: 1024
Label:
FLEX_BG size: 0
Blocks: 16384
Block groups: 1
Reserved block group size: 0
Created filesystem with 11/4096 inodes and 1286/16384 blocks
Create /data/adb/magisk_merge.img with size 64M
e2fsck 1.42.9 (28-Dec-2013)
- Extracting module files
Archive: /data/user/0/com.TS9nfn.fG5.JG6gO/cache/install.zip
creating: system/
creating: system/framework/
inflating: system/framework/services.jar
inflating: system/framework/services.odex
creating: system/framework/arm/
inflating: system/framework/arm/services.odex
creating: system/framework/arm64/
inflating: system/framework/arm64/services.odex
creating: system/framework/oat/
creating: system/framework/oat/arm/
inflating: system/framework/oat/arm/services.odex
creating: system/framework/oat/arm64/
inflating: system/framework/oat/arm64/services.odex
touch: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/services.jar/.replace: Not a directory
update-binary: line 383: can't create /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/services.jar/.replace: nonexistent directory
chmod: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/services.jar/.replace: Not a directory
touch: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/services.odex/.replace: Not a directory
update-binary: line 383: can't create /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/services.odex/.replace: nonexistent directory
chmod: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/services.odex/.replace: Not a directory
touch: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/oat/arm/services.odex/.replace: Not a directory
update-binary: line 383: can't create /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/oat/arm/services.odex/.replace: nonexistent directory
chmod: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/oat/arm/services.odex/.replace: Not a directory
touch: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/oat/arm64/services.odex/.replace: Not a directory
update-binary: line 383: can't create /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/oat/arm64/services.odex/.replace: nonexistent directory
chmod: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/oat/arm64/services.odex/.replace: Not a directory
touch: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/arm/services.odex/.replace: Not a directory
update-binary: line 383: can't create /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/arm/services.odex/.replace: nonexistent directory
chmod: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/arm/services.odex/.replace: Not a directory
touch: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/arm64/services.odex/.replace: Not a directory
update-binary: line 383: can't create /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/arm64/services.odex/.replace: nonexistent directory
chmod: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/arm64/services.odex/.replace: Not a directory
- Setting permissions
- Done

__Log V0.4.1__No Patch Selected__

fOmey @ XDA
Patcher Version: 0.0.4.1
==> Binary download complete
==> Unpacked binarys.
==> Detected Java: 1.8.0_201
system/build.prop: 1 file pulled. 0.5 MB/s (8187 bytes in 0.016s)
pull: building file list...
/system/framework/: 258 files pulled. 15.6 MB/s (249981572 bytes in 15.305s)
==> Dumped framework
==> Detected API: 25
==> Deodexed services.jar
==> Generated classes
I: Using Apktool 2.4.0 on services.jar
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
I: Using Apktool 2.4.0
I: Copying tmp classes.dex file...
I: Building apk file...
I: Copying unknown files/dir...
I: Built apk...
W: Could not find resources
==> Magisk template download complete
==> Generated magisk module zip file
*** Complete ***

__Installation Log__

- Copying zip to temp directory
- Installing SmaliPatcherModule-0.0.4.1-fOmey@XDA.zip
- Mounting /system, /vendor
Archive: /data/user/0/com.TS9nfn.fG5.JG6gO/cache/install.zip
inflating: config.sh
inflating: module.prop
******************************
Smali Patcher
fOmey @ XDA
******************************
Powered by Magisk (@topjohnwu)
******************************
- Creating /data/adb/magisk_merge.img with size 64M
Creating filesystem with parameters:
Size: 67108864
Block size: 4096
Blocks per group: 32768
Inodes per group: 4096
Inode size: 256
Journal blocks: 1024
Label:
FLEX_BG size: 0
Blocks: 16384
Block groups: 1
Reserved block group size: 0
Created filesystem with 11/4096 inodes and 1286/16384 blocks
Create /data/adb/magisk_merge.img with size 64M
e2fsck 1.42.9 (28-Dec-2013)
- Extracting module files
Archive: /data/user/0/com.TS9nfn.fG5.JG6gO/cache/install.zip
creating: system/
creating: system/framework/
inflating: system/framework/services.jar
inflating: system/framework/services.odex
creating: system/framework/arm/
inflating: system/framework/arm/services.odex
creating: system/framework/arm64/
inflating: system/framework/arm64/services.odex
creating: system/framework/oat/
creating: system/framework/oat/arm/
inflating: system/framework/oat/arm/services.odex
creating: system/framework/oat/arm64/
inflating: system/framework/oat/arm64/services.art
inflating: system/framework/oat/arm64/services.odex
inflating: system/framework/oat/arm64/services.vdex
touch: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/services.jar/.replace: Not a directory
update-binary: line 383: can't create /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/services.jar/.replace: nonexistent directory
chmod: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/services.jar/.replace: Not a directory
touch: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/services.odex/.replace: Not a directory
update-binary: line 383: can't create /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/services.odex/.replace: nonexistent directory
chmod: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/services.odex/.replace: Not a directory
touch: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/oat/arm/services.odex/.replace: Not a directory
update-binary: line 383: can't create /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/oat/arm/services.odex/.replace: nonexistent directory
chmod: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/oat/arm/services.odex/.replace: Not a directory
touch: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/oat/arm64/services.art/.replace: Not a directory
update-binary: line 383: can't create /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/oat/arm64/services.art/.replace: nonexistent directory
chmod: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/oat/arm64/services.art/.replace: Not a directory
touch: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/oat/arm64/services.odex/.replace: Not a directory
update-binary: line 383: can't create /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/oat/arm64/services.odex/.replace: nonexistent directory
chmod: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/oat/arm64/services.odex/.replace: Not a directory
touch: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/oat/arm64/services.vdex/.replace: Not a directory
update-binary: line 383: can't create /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/oat/arm64/services.vdex/.replace: nonexistent directory
chmod: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/oat/arm64/services.vdex/.replace: Not a directory
touch: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/arm/services.odex/.replace: Not a directory
update-binary: line 383: can't create /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/arm/services.odex/.replace: nonexistent directory
chmod: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/arm/services.odex/.replace: Not a directory
touch: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/arm64/services.odex/.replace: Not a directory
update-binary: line 383: can't create /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/arm64/services.odex/.replace: nonexistent directory
chmod: /dev/tmp/magisk_img/fomey.smalipatcher/system/framework/arm64/services.odex/.replace: Not a directory
- Setting permissions
- Done

I assume the problem is with my ROM ...

What should I do?