[Magisk] tom.android:
I tested with custom Oreo LOS 15.1 for Max2

********************************
NanoDroid 18.0.99999999
created by @Nanolx
Framework Patcher
Powered by DexPatcher (@lanchon)
********************************

rootfs on / type rootfs (rw,seclabel,size=1711236k,nr_inodes=427809)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,size=1820928k,nr_inodes=455232,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
proc on /proc type proc (rw,relatime,gid=3009,hidepid=2)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,seclabel,relatime,size=1820928k,nr_inodes=455232)
pstore on /sys/fs/pstore type pstore (rw,seclabel,relatime)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
/dev/block/mmcblk0p66 on /data type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/mmcblk0p66 on /sdcard type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/mmcblk0p63 on /cache type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/mmcblk1p1 on /sdcard1 type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,max_read=131072,blksize=4096)
tmpfs on /dev/random type tmpfs (rw,seclabel,nosuid,relatime,size=1820928k,nr_inodes=455232,mode=755)
/dev/block/mmcblk0p65 on /system type ext4 (rw,seclabel,relatime,data=ordered)
> preparing environment
Archive: /sdcard1/NanoDroid-patcher-18.0~beta1+vdex_7.zip
inflating: CommonPatcher
creating: dexpatcher/
inflating: dexpatcher/core_services.jar.dex
inflating: dexpatcher/file.arm
inflating: dexpatcher/file.x86
inflating: dexpatcher/hook_4.1-6.0_services.jar.dex
inflating: dexpatcher/magic.mgc
inflating: dexpatcher/zip.arm
inflating: dexpatcher/zip.x86
inflating: dexpatcher/hook_7.0-9.0_services.jar.dex
inflating: dexpatcher/vdexExtractor.arm
inflating: dexpatcher/vdexExtractor.x86
inflating: dexpatcher/vdexExtractor.arm64
inflating: dexpatcher/vdexExtractor.x86_64
inflating: dexpatcher/999-nanodroidpatcher.sh
inflating: dexpatcher/dexpatcher.dex
inflating: dexpatcher/baksmali_26.dex
inflating: dexpatcher/smali_26.dex
inflating: dexpatcher/baksmali_25.dex
inflating: dexpatcher/smali_25.dex
creating: META-INF/
creating: META-INF/com/
creating: META-INF/com/google/
creating: META-INF/com/google/android/
inflating: META-INF/com/google/android/updater-script
inflating: META-INF/com/google/android/update-binary
inflating: busybox.arm
inflating: busybox.x86
inflating: README.md
inflating: ChangeLog.md
> Android 7.0 - 9.0 (SDK 27) detected
> device architecture: arm64

++
++ vdexed ROM detected
++
[++] ROM_DEX_STATUS=VDEX
e2fsck 1.42.9 (28-Dec-2013)
/data/adb/magisk.img: recovering journal
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Free blocks count wrong (15090, counted=15085).
Fix? yes

Free inodes count wrong (4085, counted=4080).
Fix? yes

/data/adb/magisk.img: ***** FILE SYSTEM WAS MODIFIED *****
/data/adb/magisk.img: 16/4096 files (0.0% non-contiguous), 1299/16384 blocks
resize2fs 1.42.9 (28-Dec-2013)
The filesystem is already 16384 blocks long. Nothing to do!

e2fsck 1.42.9 (28-Dec-2013)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/data/adb/magisk.img: 16/4096 files (0.0% non-contiguous), 1299/16384 blocks

> patching signature spoofing support

>> deodexing services.jar [VDEX]
I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop0' - change
[INFO] Processing 1 file(s) from /dev/tmp/install/dexpatcher/services.vdex
[DEBUG] [599] 2018/08/28 05:36:15 (jni/../src/vdexExtractor.c:194 main) Processing '/dev/tmp/install/dexpatcher/services.vdex'
[DEBUG] [599] 2018/08/28 05:36:15 (jni/../src/vdex_api.c:41 vdexApi_initEnv) Initializing environment for Vdex version '010'
------ Vdex Header Info ------
magic header & version : vdex-010
number of dex files : 1 (1)
dex size (overall) : 86b0dc (8827100)
verifier dependencies size : 123c0 (74688)
verifier dependencies offset: 86b0f8 (8827128)
quickening info size : a54 (2644)
quickening info offset : 87d4b8 (8901816)
dex files info :
[0] location checksum : 11b90249 (297337417)
---- EOF Vdex Header Info ----
[DEBUG] [599] 2018/08/28 05:36:15 (jni/../src/vdex/vdex_010.c:75 vdex_010_GetNextDexFileData) Processing first Dex file at offset:0x1c
[DEBUG] [599] 2018/08/28 05:36:15 (jni/../src/dex.c:351 dex_isValidDex) Dex version '037' detected
[DEBUG] [599] 2018/08/28 05:36:15 (jni/../src/vdex/vdex_010.c:199 vdex_010_process) Took 233 ms to process Vdex file
[INFO] 1 out of 1 Vdex files have been processed
[INFO] 1 Dex files have been extracted in total
[INFO] Extracted Dex files are available in '/dev/tmp/install/dexpatcher'
zip warning: name not matched: classes.dex

zip error: Nothing to do! (/dev/tmp/install/dexpatcher/services.jar)
adding: classes.dex (deflated 55%)
>> patching services.jar
CANNOT LINK EXECUTABLE "/system/bin/patchoat": "/system/lib64/libbase.so" is 64-bit instead of 32-bit
libc: CANNOT LINK EXECUTABLE "/system/bin/patchoat": "/system/lib64/libbase.so" is 64-bit instead of 32-bit
libc: Fatal signal 6 (SIGABRT), code -6 in tid 606 (patchoat), pid 606 (patchoat)
info: read '/dev/tmp/install/dexpatcher/services.jar'
debug: read '/dev/tmp/install/dexpatcher/services.jar': file 'classes.dex': 3453 types
info: read '/dev/tmp/install/dexpatcher/hook_7.0-9.0_services.jar.dex'
debug: read '/dev/tmp/install/dexpatcher/hook_7.0-9.0_services.jar.dex': 12 types
debug: type 'com.android.server.pm.GeneratePackageInfoHook': (GeneratePackageInfoHook.java:0): add
debug: type 'com.android.server.pm.PackageManagerService': (PackageManagerService.java:0): edit
debug: type 'com.android.server.pm.PackageManagerService': field 'mContext:android.content.Context': (PackageManagerService.java:0): ignore
info: type 'com.android.server.pm.PackageManagerService': method '<init>():void': (PackageManagerService.java:28): implicit ignore of trivial default constructor
debug: type 'com.android.server.pm.PackageManagerService': method '<init>():void': (PackageManagerService.java:28): ignore
debug: type 'com.android.server.pm.PackageManagerService': method 'generatePackageInfo(com.android.server.pm.PackageSetting, int, int):android.content.pm.PackageInfo': (PackageManagerService.java:35): wrap
debug: type 'lanchon.dexpatcher.annotation.DexAction': (DexAction.java:0): ignore
debug: type 'lanchon.dexpatcher.annotation.DexAdd': (DexAdd.java:0): ignore
debug: type 'lanchon.dexpatcher.annotation.DexAppend': (DexAppend.java:0): ignore
debug: type 'lanchon.dexpatcher.annotation.DexEdit': (DexEdit.java:0): ignore
debug: type 'lanchon.dexpatcher.annotation.DexIgnore': (DexIgnore.java:0): ignore
debug: type 'lanchon.dexpatcher.annotation.DexPrepend': (DexPrepend.java:0): ignore
debug: type 'lanchon.dexpatcher.annotation.DexRemove': (DexRemove.java:0): ignore
debug: type 'lanchon.dexpatcher.annotation.DexReplace': (DexReplace.java:0): ignore
debug: type 'lanchon.dexpatcher.annotation.DexTarget': (DexTarget.java:0): ignore
debug: type 'lanchon.dexpatcher.annotation.DexWrap': (DexWrap.java:0): ignore
info: read '/dev/tmp/install/dexpatcher/core_services.jar.dex'
debug: read '/dev/tmp/install/dexpatcher/core_services.jar.dex': 12 types
debug: type 'com.android.server.pm.GeneratePackageInfoHook$FakeSignatureCore': (GeneratePackageInfoHook.java:0): add
debug: type 'com.android.server.pm.GeneratePackageInfoHook': (GeneratePackageInfoHook.java:0): edit
info: type 'com.android.server.pm.GeneratePackageInfoHook': method '<init>():void': (GeneratePackageInfoHook.java:35): implicit ignore of trivial default constructor
debug: type 'com.android.server.pm.GeneratePackageInfoHook': method '<init>():void': (GeneratePackageInfoHook.java:35): ignore
debug: type 'com.android.server.pm.GeneratePackageInfoHook': method 'getGlobalEnable(android.content.pm.PackageInfo, android.content.Context, android.content.pm.PackageParser$Package, int, int):boolean': (GeneratePackageInfoHook.java:50): add
debug: type 'com.android.server.pm.GeneratePackageInfoHook': method 'getPerAppEnable(android.content.pm.PackageInfo, android.content.Context, android.content.pm.PackageParser$Package, int, int):boolean': (GeneratePackageInfoHook.java:45): add
debug: type 'com.android.server.pm.GeneratePackageInfoHook': method 'hook(android.content.pm.PackageInfo, android.content.Context, android.content.pm.PackageParser$Package, int, int):android.content.pm.PackageInfo': (GeneratePackageInfoHook.java:56): replace
debug: type 'lanchon.dexpatcher.annotation.DexAction': (DexAction.java:0): ignore
debug: type 'lanchon.dexpatcher.annotation.DexAdd': (DexAdd.java:0): ignore
debug: type 'lanchon.dexpatcher.annotation.DexAppend': (DexAppend.java:0): ignore
debug: type 'lanchon.dexpatcher.annotation.DexEdit': (DexEdit.java:0): ignore
debug: type 'lanchon.dexpatcher.annotation.DexIgnore': (DexIgnore.java:0): ignore
debug: type 'lanchon.dexpatcher.annotation.DexPrepend': (DexPrepend.java:0): ignore
debug: type 'lanchon.dexpatcher.annotation.DexRemove': (DexRemove.java:0): ignore
debug: type 'lanchon.dexpatcher.annotation.DexReplace': (DexReplace.java:0): ignore
debug: type 'lanchon.dexpatcher.annotation.DexTarget': (DexTarget.java:0): ignore
debug: type 'lanchon.dexpatcher.annotation.DexWrap': (DexWrap.java:0): ignore
info: write '/dev/tmp/install/dexpatcher/services.jar-mod'
debug: write '/dev/tmp/install/dexpatcher/services.jar-mod': dex version '037'
debug: write '/dev/tmp/install/dexpatcher/services.jar-mod': file 'classes.dex': 1000 types
debug: write '/dev/tmp/install/dexpatcher/services.jar-mod': file 'classes2.dex': 1000 types
debug: write '/dev/tmp/install/dexpatcher/services.jar-mod': file 'classes3.dex': 855 types
debug: write '/dev/tmp/install/dexpatcher/services.jar-mod': file 'classes4.dex': 600 types
0 error(s), 0 warning(s)
deleting: classes.dex
adding: classes.dex (deflated 56%)
adding: classes2.dex (deflated 57%)
adding: classes3.dex (deflated 56%)
adding: classes4.dex (deflated 55%)

<< backing up services.jar to: /sdcard/nanodroid_backups
<< installing patched files to: /

Installing addon.d restoration setup
cp: can't stat '/dev/tmp/install/dexpatcher/vdexExctractor.x86_64': No such file or directory
cp: can't stat '/dev/tmp/install/dexpatcher/baksmali.dex': No such file or directory
cp: can't stat '/dev/tmp/install/dexpatcher/smali.dex': No such file or directory
chmod: /data/adb/nanodroid_patcher//dev/tmp/install/busybox.arm: No such file or directory

>> clean up
e2fsck 1.42.9 (28-Dec-2013)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/data/adb/magisk.img: 16/4096 files (0.0% non-contiguous), 1299/16384 blocks
I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop0' - change

> Done!

Thanks for using NanoDroid