[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Alactor:
I wiped all data and flashed in this order : Lineage OS, open gapps mini and Magisk. After each flash, i've rebooted the phone and configured but unfortunately, it's the same symptoms.

During the installation i have error log :

- Copying zip to temp directory
- Installing KaliNethunter-v7.2.zip
update-binary: line 3: ui_print: not found
update-binary: line 4: ui_print: not found
update-binary: line 5: ui_print: not found
update-binary: line 6: ui_print: not found
update-binary: line 7: ui_print: not found
update-binary: line 8: ui_print: not found
update-binary: line 9: ui_print: not found
update-binary: line 10: ui_print: not found
update-binary: line 11: ui_print: not found
update-binary: line 12: ui_print: not found
update-binary: line 13: ui_print: not found
update-binary: line 14: ui_print: not found
update-binary: line 15: ui_print: not found
update-binary: line 16: ui_print: not found
update-binary: line 17: ui_print: not found
update-binary: line 49: /system/bin/make_ext4fs: not found
mke2fs 1.43.3 (04-Sep-2016)

mount: can't read '/etc/fstab': No such file or directory
mount: can't read '/etc/fstab': No such file or directory
mount: can't read '/etc/fstab': No such file or directory
Installing Kali Linux Busybox

Mounting...

Extracting files...
Archive: /data/user/0/com.topjohnwu.magisk/cache/install.zip
inflating: .gitattributes
creating: META-INF/
creating: META-INF/com/
creating: META-INF/com/google/
creating: META-INF/com/google/android/
inflating: META-INF/com/google/android/update-binary
inflating: META-INF/com/google/android/updater-script
inflating: README.md
creating: apps/
inflating: apps/Drivedroid.apk
inflating: apps/Hackerskeyboard.apk
inflating: apps/OpenVPN.apk
inflating: apps/RFAnalyzer.apk
inflating: apps/RouterKeygen.apk
inflating: apps/Shodan.apk
inflating: apps/Term-nh.apk
inflating: apps/USBKeyboard.apk
umount: can't unmount /dev/tmp/magisk_merge: No such file or directory
inflating: apps/VNC-nh.apk
inflating: apps/cSploit.apk
inflating: apps/droidducky.apk
inflating: apps/nethunter.apk
inflating: busybox-arm
inflating: busybox-arm64
inflating: config.sh
inflating: module.prop
creating: system/
creating: system/etc/
creating: system/etc/firmware/
creating: system/etc/firmware/ath9k_htc/
inflating: system/etc/firmware/ath9k_htc/htc_7010-1.4.0.fw
inflating: system/etc/firmware/ath9k_htc/htc_9271-1.4.0.fw
inflating: system/etc/firmware/htc_9271.fw
inflating: system/etc/firmware/mt7601u.bin
inflating: system/etc/firmware/rt2870.bin
inflating: system/etc/firmware/rt3070.bin
inflating: system/etc/firmware/rt3071.bin
creating: system/etc/firmware/rtlwifi/
inflating: system/etc/firmware/rtlwifi/rtl8188eufw.bin

Installing...
Using architecture: arm64
Using path: /dev/tmp/magisk_merge/KaliNethunter/system/xbin

Cleaning...

Creating symlinks...
update-binary: line 227: print: not found
ln: /system/xbin/busybox_nh: Read-only file system
Error: Unable to open file: /dev/tmp/KaliNethunter/apps/BlueNMEA.apk
Consider using a file under /data/local/tmp/
Error: Can't open file: /dev/tmp/KaliNethunter/apps/BlueNMEA.apk

Exception occurred while executing:
java.lang.IllegalArgumentException: Error: Can't open file: /dev/tmp/KaliNethunter/apps/BlueNMEA.apk
at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:328)
at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:906)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:158)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:21418)
at android.os.Binder.shellCommand(Binder.java:634)
at android.os.Binder.onTransact(Binder.java:532)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2821)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3920)
at android.os.Binder.execTransact(Binder.java:731)
Error: Unable to open file: /dev/tmp/KaliNethunter/apps/cSploit-release.apk
Consider using a file under /data/local/tmp/
Error: Can't open file: /dev/tmp/KaliNethunter/apps/cSploit-release.apk

Exception occurred while executing:
java.lang.IllegalArgumentException: Error: Can't open file: /dev/tmp/KaliNethunter/apps/cSploit-release.apk
at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:328)
at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:906)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:158)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:21418)
at android.os.Binder.shellCommand(Binder.java:634)
at android.os.Binder.onTransact(Binder.java:532)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2821)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3920)
at android.os.Binder.execTransact(Binder.java:731)
avc: denied { read } for scontext=u:r:system_server:s0 tcontext=u:object_r:device:s0 tclass=file permissive=0
System server has no access to read file context u:object_r:device:s0 (from path /dev/tmp/KaliNethunter/apps/Drivedroid.apk, context u:r:system_server:s0)
Error: Unable to open file: /dev/tmp/KaliNethunter/apps/Drivedroid.apk
Consider using a file under /data/local/tmp/
Error: Can't open file: /dev/tmp/KaliNethunter/apps/Drivedroid.apk

Exception occurred while executing:
java.lang.IllegalArgumentException: Error: Can't open file: /dev/tmp/KaliNethunter/apps/Drivedroid.apk
at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:328)
at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:906)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:158)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:21418)
at android.os.Binder.shellCommand(Binder.java:634)
at android.os.Binder.onTransact(Binder.java:532)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2821)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3920)
at android.os.Binder.execTransact(Binder.java:731)
avc: denied { read } for scontext=u:r:system_server:s0 tcontext=u:object_r:device:s0 tclass=file permissive=0
System server has no access to read file context u:object_r:device:s0 (from path /dev/tmp/KaliNethunter/apps/Hackerskeyboard.apk, context u:r:system_server:s0)
Error: Unable to open file: /dev/tmp/KaliNethunter/apps/Hackerskeyboard.apk
Consider using a file under /data/local/tmp/
Error: Can't open file: /dev/tmp/KaliNethunter/apps/Hackerskeyboard.apk

Exception occurred while executing:
java.lang.IllegalArgumentException: Error: Can't open file: /dev/tmp/KaliNethunter/apps/Hackerskeyboard.apk
at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:328)
at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:906)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:158)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:21418)
at android.os.Binder.shellCommand(Binder.java:634)
at android.os.Binder.onTransact(Binder.java:532)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2821)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3920)
at android.os.Binder.execTransact(Binder.java:731)
avc: denied { read } for scontext=u:r:system_server:s0 tcontext=u:object_r:device:s0 tclass=file permissive=0
System server has no access to read file context u:object_r:device:s0 (from path /dev/tmp/KaliNethunter/apps/OpenVPN.apk, context u:r:system_server:s0)
Error: Unable to open file: /dev/tmp/KaliNethunter/apps/OpenVPN.apk
Consider using a file under /data/local/tmp/
Error: Can't open file: /dev/tmp/KaliNethunter/apps/OpenVPN.apk

Exception occurred while executing:
java.lang.IllegalArgumentException: Error: Can't open file: /dev/tmp/KaliNethunter/apps/OpenVPN.apk
at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:328)
at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:906)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:158)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:21418)
at android.os.Binder.shellCommand(Binder.java:634)
at android.os.Binder.onTransact(Binder.java:532)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2821)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3920)
at android.os.Binder.execTransact(Binder.java:731)
avc: denied { read } for scontext=u:r:system_server:s0 tcontext=u:object_r:device:s0 tclass=file permissive=0
System server has no access to read file context u:object_r:device:s0 (from path /dev/tmp/KaliNethunter/apps/RFAnalyzer.apk, context u:r:system_server:s0)
Error: Unable to open file: /dev/tmp/KaliNethunter/apps/RFAnalyzer.apk
Consider using a file under /data/local/tmp/
Error: Can't open file: /dev/tmp/KaliNethunter/apps/RFAnalyzer.apk

Exception occurred while executing:
java.lang.IllegalArgumentException: Error: Can't open file: /dev/tmp/KaliNethunter/apps/RFAnalyzer.apk
at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:328)
at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:906)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:158)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:21418)
at android.os.Binder.shellCommand(Binder.java:634)
at android.os.Binder.onTransact(Binder.java:532)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2821)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3920)
at android.os.Binder.execTransact(Binder.java:731)
avc: denied { read } for scontext=u:r:system_server:s0 tcontext=u:object_r:device:s0 tclass=file permissive=0
System server has no access to read file context u:object_r:device:s0 (from path /dev/tmp/KaliNethunter/apps/RouterKeygen.apk, context u:r:system_server:s0)
Error: Unable to open file: /dev/tmp/KaliNethunter/apps/RouterKeygen.apk
Consider using a file under /data/local/tmp/
Error: Can't open file: /dev/tmp/KaliNethunter/apps/RouterKeygen.apk

Exception occurred while executing:
java.lang.IllegalArgumentException: Error: Can't open file: /dev/tmp/KaliNethunter/apps/RouterKeygen.apk
at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:328)
at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:906)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:158)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:21418)
at android.os.Binder.shellCommand(Binder.java:634)
at android.os.Binder.onTransact(Binder.java:532)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2821)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3920)
at android.os.Binder.execTransact(Binder.java:731)
avc: denied { read } for scontext=u:r:system_server:s0 tcontext=u:object_r:device:s0 tclass=file permissive=0
System server has no access to read file context u:object_r:device:s0 (from path /dev/tmp/KaliNethunter/apps/Shodan.apk, context u:r:system_server:s0)
Error: Unable to open file: /dev/tmp/KaliNethunter/apps/Shodan.apk
Consider using a file under /data/local/tmp/
Error: Can't open file: /dev/tmp/KaliNethunter/apps/Shodan.apk

Exception occurred while executing:
java.lang.IllegalArgumentException: Error: Can't open file: /dev/tmp/KaliNethunter/apps/Shodan.apk
at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:328)
at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:906)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:158)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:21418)
at android.os.Binder.shellCommand(Binder.java:634)
at android.os.Binder.onTransact(Binder.java:532)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2821)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3920)
at android.os.Binder.execTransact(Binder.java:731)
avc: denied { read } for scontext=u:r:system_server:s0 tcontext=u:object_r:device:s0 tclass=file permissive=0
System server has no access to read file context u:object_r:device:s0 (from path /dev/tmp/KaliNethunter/apps/Term-nh.apk, context u:r:system_server:s0)
Error: Unable to open file: /dev/tmp/KaliNethunter/apps/Term-nh.apk
Consider using a file under /data/local/tmp/
Error: Can't open file: /dev/tmp/KaliNethunter/apps/Term-nh.apk

Exception occurred while executing:
java.lang.IllegalArgumentException: Error: Can't open file: /dev/tmp/KaliNethunter/apps/Term-nh.apk
at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:328)
at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:906)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:158)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:21418)
at android.os.Binder.shellCommand(Binder.java:634)
at android.os.Binder.onTransact(Binder.java:532)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2821)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3920)
at android.os.Binder.execTransact(Binder.java:731)
avc: denied { read } for scontext=u:r:system_server:s0 tcontext=u:object_r:device:s0 tclass=file permissive=0
System server has no access to read file context u:object_r:device:s0 (from path /dev/tmp/KaliNethunter/apps/USBKeyboard.apk, context u:r:system_server:s0)
Error: Unable to open file: /dev/tmp/KaliNethunter/apps/USBKeyboard.apk
Consider using a file under /data/local/tmp/
Error: Can't open file: /dev/tmp/KaliNethunter/apps/USBKeyboard.apk

Exception occurred while executing:
java.lang.IllegalArgumentException: Error: Can't open file: /dev/tmp/KaliNethunter/apps/USBKeyboard.apk
at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:328)
at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:906)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:158)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:21418)
at android.os.Binder.shellCommand(Binder.java:634)
at android.os.Binder.onTransact(Binder.java:532)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2821)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3920)
at android.os.Binder.execTransact(Binder.java:731)
avc: denied { read } for scontext=u:r:system_server:s0 tcontext=u:object_r:device:s0 tclass=file permissive=0
System server has no access to read file context u:object_r:device:s0 (from path /dev/tmp/KaliNethunter/apps/VNC-nh.apk, context u:r:system_server:s0)
Error: Unable to open file: /dev/tmp/KaliNethunter/apps/VNC-nh.apk
Consider using a file under /data/local/tmp/
Error: Can't open file: /dev/tmp/KaliNethunter/apps/VNC-nh.apk

Exception occurred while executing:
java.lang.IllegalArgumentException: Error: Can't open file: /dev/tmp/KaliNethunter/apps/VNC-nh.apk
at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:328)
at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:906)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:158)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:21418)
at android.os.Binder.shellCommand(Binder.java:634)
at android.os.Binder.onTransact(Binder.java:532)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2821)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3920)
at android.os.Binder.execTransact(Binder.java:731)
avc: denied { read } for scontext=u:r:system_server:s0 tcontext=u:object_r:device:s0 tclass=file permissive=0
System server has no access to read file context u:object_r:device:s0 (from path /dev/tmp/KaliNethunter/apps/droidducky.apk, context u:r:system_server:s0)
Error: Unable to open file: /dev/tmp/KaliNethunter/apps/droidducky.apk
Consider using a file under /data/local/tmp/
Error: Can't open file: /dev/tmp/KaliNethunter/apps/droidducky.apk

Exception occurred while executing:
java.lang.IllegalArgumentException: Error: Can't open file: /dev/tmp/KaliNethunter/apps/droidducky.apk
at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:328)
at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:906)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:158)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:21418)
at android.os.Binder.shellCommand(Binder.java:634)
at android.os.Binder.onTransact(Binder.java:532)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2821)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3920)
at android.os.Binder.execTransact(Binder.java:731)
avc: denied { read } for scontext=u:r:system_server:s0 tcontext=u:object_r:device:s0 tclass=file permissive=0
System server has no access to read file context u:object_r:device:s0 (from path /dev/tmp/KaliNethunter/apps/nethunter.apk, context u:r:system_server:s0)
Error: Unable to open file: /dev/tmp/KaliNethunter/apps/nethunter.apk
Consider using a file under /data/local/tmp/
Error: Can't open file: /dev/tmp/KaliNethunter/apps/nethunter.apk

Exception occurred while executing:
java.lang.IllegalArgumentException: Error: Can't open file: /dev/tmp/KaliNethunter/apps/nethunter.apk
at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:328)
at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:906)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:158)