[Android Software Development] Shehz4d:
Hi,

Please find log details below:

+ unity_custom
+ :
+ false
+ false
+ [ -f /system/etc/InitdInjector-module.prop ]
+ unity_install
+ ui_print
+ false
+ echo -e ui_print \nui_print
+ ui_print - Installing
+ false
+ echo -e ui_print - Installing\nui_print
+ rm -f /system/addon.d/InitdInjector-files
+ mktouch /system/addon.d/InitdInjector-files
+ mkdir -p /system/addon.d
+ [ -z ]
+ touch /system/addon.d/InitdInjector-files
+ chmod 644 /system/addon.d/InitdInjector-files
+ [ -f /dev/tmp/install/common/install.sh ]
+ . /dev/tmp/install/common/install.sh
+ false
+ ROOTTYPE=other root/rootless
+ POSTFSDATA=false
+ LATESTARTSERVICE=false
+ RAMDISK=true
+ false
+ ui_print Installing scripts for other root/rootless...
+ false
+ echo -e ui_print Installing scripts for other root/rootless...\nui_print
+ [ other root/rootless == LineageOS SU -o other root/rootless == other root or rootless ]
+ false
+ [ -d /system/addon.d ]
+ ui_print Installing addon.d backup script...
+ false
+ echo -e ui_print Installing addon.d backup script...\nui_print
+ sed -i s/<MODID>/InitdInjector/ /dev/tmp/install/common/unityfiles/addon.sh
+ cp_ch_nb /dev/tmp/install/common/unityfiles/addon.sh /system/addon.d/InitdInjector.sh 0755
+ [ -z ]
+ check_bak /system/addon.d/InitdInjector.sh
+ BAK=true
+ BAKFILE=/system/addon.d/InitdInjector-files
+ [ -z ]
+ true
+ grep /system/addon.d/InitdInjector.sh$ /system/addon.d/InitdInjector-files
+ [ ! ]
+ echo /system/addon.d/InitdInjector.sh
+ dirname /system/addon.d/InitdInjector.sh
+ mkdir -p /system/addon.d
+ cp -af /dev/tmp/install/common/unityfiles/addon.sh /system/addon.d/InitdInjector.sh
+ [ -z 0755 ]
+ chmod 0755 /system/addon.d/InitdInjector.sh
+ chcon u:object_r:system_file:s0 /system/addon.d/InitdInjector.sh
+ false
+ cp_ch_nb /dev/tmp/install/module.prop /system/etc/InitdInjector-module.prop
+ [ -z ]
+ check_bak /system/etc/InitdInjector-module.prop
+ BAK=true
+ BAKFILE=/system/addon.d/InitdInjector-files
+ [ -z ]
+ true
+ grep /system/etc/InitdInjector-module.prop$ /system/addon.d/InitdInjector-files
+ [ ! ]
+ echo /system/etc/InitdInjector-module.prop
+ dirname /system/etc/InitdInjector-module.prop
+ mkdir -p /system/etc
+ cp -af /dev/tmp/install/module.prop /system/etc/InitdInjector-module.prop
+ [ -z ]
+ chmod 0644 /system/etc/InitdInjector-module.prop
+ chcon u:object_r:system_file:s0 /system/etc/InitdInjector-module.prop
+ false
+ false
+ ui_print Installing files for arm64 SDK 27 device...
+ false
+ echo -e ui_print Installing files for arm64 SDK 27 device...\nui_print
+ rm -f /dev/tmp/install/system/placeholder /dev/tmp/install/ramdisk/placeholder
+ true
+ find /dev/tmp/install/system -type f
+ sed s|/dev/tmp/install||
+ [ -f /system/etc/init.d/*.sh ]
+ [ -f /system/etc/init.d/*.prop ]
+ false
+ true
+ [ ]
+ unpack_ramdisk late
+ local PRE POST
+ [ late == late ]
+ PRE=
+ POST=...
+ BOOTDIR=/dev/tmp/install/common/unityfiles/boot
+ AVB=/dev/tmp/install/common/unityfiles/avb
+ RD=/dev/tmp/install/common/unityfiles/boot/ramdisk
+ INFORD=/dev/tmp/install/common/unityfiles/boot/ramdisk/InitdInjector-files
+ BOOTSIGNER=/system/bin/dalvikvm -Xbootclasspath:/system/framework/core-oj.jar:/system/framework/core-libart.jar:/system/framework/conscrypt.jar:/system/framework/bouncycastle.jar -Xnodex2oat -Xnoimage-dex2oat -cp /dev/tmp/install/common/unityfiles/avb/BootSignature_Android.jar com.android.verity.BootSignature
+ RAMDISK=true
+ BOOTSIGNED=false
+ HIGHCOMP=false
+ CHROMEOS=false
+ mkdir -p /dev/tmp/install/common/unityfiles/boot/ramdisk
+ cp -af /dev/tmp/install/common/unityfiles/arm/. /dev/tmp/install/common/unityfiles/boot
+ chmod -R 755 /dev/tmp/install/common/unityfiles/boot
+ cp -af /dev/tmp/install/common/unityfiles/boot/magiskboot /dev/tmp/install/common/unityfiles/boot/ramdisk/magiskboot
+ find_boot_image
+ BOOTIMAGE=
+ [ ! -z ]
+ find_block boot ramdisk boot_a kern-a android_boot kernel lnx bootimg
+ DEVICE=/dev/block/platform/soc/624000.ufshc/by-name/boot
+ [ ! -z /dev/block/platform/soc/624000.ufshc/by-name/boot ]
+ readlink -f /dev/block/platform/soc/624000.ufshc/by-name/boot
+ return 0
+ BOOTIMAGE=/dev/block/sde18
+ [ -z /dev/block/sde18 ]
+ ui_print
+ false
+ echo -e ui_print \nui_print
+ [ -z /dev/block/sde18 ]
+ ui_print Checking boot image signature...
+ false
+ echo -e ui_print Checking boot image signature...\nui_print
+ cd /dev/tmp/install/common/unityfiles/boot
+ dd if=/dev/block/sde18 of=boot.img
131072+0 records in
131072+0 records out
67108864 bytes (64.0MB) copied, 1.035210 seconds, 61.8MB/s
+ eval /system/bin/dalvikvm -Xbootclasspath:/system/framework/core-oj.jar:/system/framework/core-libart.jar:/system/framework/conscrypt.jar:/system/framework/bouncycastle.jar -Xnodex2oat -Xnoimage-dex2oat -cp /dev/tmp/install/common/unityfiles/avb/BootSignature_Android.jar com.android.verity.BootSignature -verify boot.img
+ grep VALID
+ false
+ rm -f boot.img
+ ./magiskinit -x magisk magisk
+ ui_print Unpacking boot image...
+ false
+ echo -e ui_print Unpacking boot image...\nui_print
+ ./magiskboot --unpack /dev/block/sde18
CANNOT LINK EXECUTABLE "./magiskboot": "/sbin/libz.so" is 64-bit instead of 32-bit
libc: CANNOT LINK EXECUTABLE "./magiskboot": "/sbin/libz.so" is 64-bit instead of 32-bit
libc: Fatal signal 6 (SIGABRT), code -6 in tid 619 (magiskboot), pid 619 (magiskboot)
Aborted
+ ui_print Checking ramdisk status...
+ false
+ echo -e ui_print Checking ramdisk status...\nui_print
+ ./magiskboot --cpio ramdisk.cpio test
CANNOT LINK EXECUTABLE "./magiskboot": "/sbin/libz.so" is 64-bit instead of 32-bit
libc: CANNOT LINK EXECUTABLE "./magiskboot": "/sbin/libz.so" is 64-bit instead of 32-bit
libc: Fatal signal 6 (SIGABRT), code -6 in tid 28619 (magiskboot), pid 28619 (magiskboot)
Aborted
+ [ 134 -eq 2 ]
+ cd ramdisk
+ ./magiskboot --cpio ../ramdisk.cpio extract
CANNOT LINK EXECUTABLE "./magiskboot": "/sbin/libz.so" is 64-bit instead of 32-bit
libc: CANNOT LINK EXECUTABLE "./magiskboot": "/sbin/libz.so" is 64-bit instead of 32-bit
libc: Fatal signal 6 (SIGABRT), code -6 in tid 24288 (magiskboot), pid 24288 (magiskboot)
Aborted
+ rm -f magiskboot ../ramdisk.cpio
+ cd /
+ [ ... ]
+ ui_print
+ false
+ echo -e ui_print \nui_print
+ echo #InitdInjector-UnityIndicator
+ [ -f /dev/tmp/install/common/ramdiskinstall.sh ]
+ . /dev/tmp/install/common/ramdiskinstall.sh
+ PATCHONLY=false
+ SETOOLS=/dev/tmp/install/common/unityfiles/setools-android/arm64-v8a
+ chmod -R 0755 /dev/tmp/install/common/unityfiles/setools-android/arm64-v8a
+ /dev/tmp/install/common/unityfiles/setools-android/arm64-v8a/sesearch --allow -s su /dev/tmp/install/common/unityfiles/boot/ramdisk/sepolicy
ERROR: Unable to open policy /dev/tmp/install/common/unityfiles/boot/ramdisk/sepolicy.
ERROR: No such file or directory
+ [ ]
+ /dev/tmp/install/common/unityfiles/setools-android/arm64-v8a/sesearch --allow -s sudaemon /dev/tmp/install/common/unityfiles/boot/ramdisk/sepolicy
ERROR: Unable to open policy /dev/tmp/install/common/unityfiles/boot/ramdisk/sepolicy.
ERROR: No such file or directory
+ [ ]
+ DOMAIN=shell
+ find /dev/tmp/install/common/unityfiles/boot/ramdisk /system /vendor -type f -name *.rc
+ grep service sysinit /dev/tmp/install/common/unityfiles/boot/ramdisk/init.rc
+ [ ]
+ grep service sysinit /system/etc/init/android.hidl.allocator@1.0-service.rc
+ [ ]
+ grep service sysinit /system/etc/init/atrace.rc
+ [ ]
+ grep service sysinit /system/etc/init/atrace_userdebug.rc
+ [ ]
+ grep service sysinit /system/etc/init/audioserver.rc
+ [ ]
+ grep service sysinit /system/etc/init/bootanim.rc
+ [ ]
+ grep service sysinit /system/etc/init/bootstat.rc
+ [ ]
+ grep service sysinit /system/etc/init/cameraserver.rc
+ [ ]
+ grep service sysinit /system/etc/init/dpmd.rc
+ [ ]
+ grep service sysinit /system/etc/init/drmserver.rc
+ [ ]
+ grep service sysinit /system/etc/init/dumpstate.rc
+ [ ]
+ grep service sysinit /system/etc/init/gatekeeperd.rc
+ [ ]
+ grep service sysinit /system/etc/init/hwservicemanager.rc
+ [ ]
+ grep service sysinit /system/etc/init/init-debug.rc
+ [ ]
+ grep service sysinit /system/etc/init/installd.rc
+ [ ]
+ grep service sysinit /system/etc/init/keystore.rc
+ [ ]
+ grep service sysinit /system/etc/init/lineage-adb.rc
+ [ ]
+ grep service sysinit /system/etc/init/lineage-governor.rc
+ [ ]
+ grep service sysinit /system/etc/init/lineage-iosched.rc
+ [ ]
+ grep service sysinit /system/etc/init/lineage-livedisplay.rc
+ [ ]
+ grep service sysinit /system/etc/init/lineage-radio.rc
+ [ ]
+ grep service sysinit /system/etc/init/lineage-ssh.rc
+ [ ]
+ grep service sysinit /system/etc/init/lineage-system.rc
+ [ service sysinit /system/bin/sysinit ]
+ sed -n /service sysinit/,/^$/{/seclabel/p} /system/etc/init/lineage-system.rc
+ [ ]
+ break
+ false
+ ui_print Installing scripts...
+ false
+ echo -e ui_print Installing scripts...\nui_print
+ sed -i s/<DOMAIN>/shell/g /dev/tmp/install/common/init.initd.rc
+ cp_ch_nb /dev/tmp/install/common/init.initd.rc /system/etc/init/init.initd.rc 0644 false
+ [ -z false ]
+ check_bak /system/etc/init/init.initd.rc false
+ BAK=true
+ BAKFILE=/system/addon.d/InitdInjector-files
+ [ -z false ]
+ BAK=false
+ false
+ grep /system/etc/init/init.initd.rc$ /system/addon.d/InitdInjector-files
+ [ ! ]
+ echo /system/etc/init/init.initd.rcNOBAK
+ dirname /system/etc/init/init.initd.rc
+ mkdir -p /system/etc/init
+ cp -af /dev/tmp/install/common/init.initd.rc /system/etc/init/init.initd.rc
+ [ -z 0644 ]
+ chmod 0644 /system/etc/init/init.initd.rc
+ chcon u:object_r:system_file:s0 /system/etc/init/init.initd.rc
+ cp_ch_nb /dev/tmp/install/common/initd.sh /system/bin/initd.sh 0755 false
+ [ -z false ]
+ check_bak /system/bin/initd.sh false
+ BAK=true
+ BAKFILE=/system/addon.d/InitdInjector-files
+ [ -z false ]
+ BAK=false
+ false
+ grep /system/bin/initd.sh$ /system/addon.d/InitdInjector-files
+ [ ! ]
+ echo /system/bin/initd.shNOBAK
+ dirname /system/bin/initd.sh
+ mkdir -p /system/bin
+ cp -af /dev/tmp/install/common/initd.sh /system/bin/initd.sh
+ [ -z 0755 ]
+ chmod 0755 /system/bin/initd.sh
+ chcon u:object_r:system_file:s0 /system/bin/initd.sh
+ ui_print Setting shell to permissive...
+ false
+ echo -e ui_print Setting shell to permissive...\nui_print
+ cp_ch /dev/tmp/install/common/unityfiles/boot/ramdisk/sepolicy /dev/tmp/install/common/unityfiles/boot/ramdisk/sepolicy
+ check_bak /dev/tmp/install/common/unityfiles/boot/ramdisk/sepolicy
+ BAK=true
+ BAKFILE=/dev/tmp/install/common/unityfiles/boot/ramdisk/InitdInjector-files
+ [ -z ]
+ local EXT
+ EXT=~
+ [ -f /dev/tmp/install/common/unityfiles/boot/ramdisk/sepolicy ]
+ [ -z ]
+ cp_ch_nb /dev/tmp/install/common/unityfiles/boot/ramdisk/sepolicy /dev/tmp/install/common/unityfiles/boot/ramdisk/sepolicy 0644 true
+ [ -z true ]
+ check_bak /dev/tmp/install/common/unityfiles/boot/ramdisk/sepolicy true
+ BAK=true
+ BAKFILE=/dev/tmp/install/common/unityfiles/boot/ramdisk/InitdInjector-files
+ [ -z true ]
+ BAK=true
+ true
+ grep /dev/tmp/install/common/unityfiles/boot/ramdisk/sepolicy$ /dev/tmp/install/common/unityfiles/boot/ramdisk/InitdInjector-files
+ [ ! ]
+ echo /dev/tmp/install/common/unityfiles/boot/ramdisk/sepolicy
+ dirname /dev/tmp/install/common/unityfiles/boot/ramdisk/sepolicy
+ mkdir -p /dev/tmp/install/common/unityfiles/boot/ramdisk
+ cp -af /dev/tmp/install/common/unityfiles/boot/ramdisk/sepolicy /dev/tmp/install/common/unityfiles/boot/ramdisk/sepolicy
cp: can't stat '/dev/tmp/install/common/unityfiles/boot/ramdisk/sepolicy': No such file or directory
+ [ -z 0644 ]
+ chmod 0644 /dev/tmp/install/common/unityfiles/boot/ramdisk/sepolicy
chmod: /dev/tmp/install/common/unityfiles/boot/ramdisk/sepolicy: No such file or directory
+ /dev/tmp/install/common/unityfiles/setools-android/arm64-v8a/sepolicy-inject -Z shell -P /dev/tmp/install/common/unityfiles/boot/ramdisk/sepolicy
Can't open '/dev/tmp/install/common/unityfiles/boot/ramdisk/sepolicy': No such file or directory
Could not load policy
+ ui_print Adding setools to /sbin...
+ false
+ echo -e ui_print Adding setools to /sbin...\nui_print
+ [ -f /system/bin/sepolicy-inject ]
+ [ -f /system/xbin/sepolicy-inject ]
+ [ -f /system/bin/seinfo ]
+ [ -f /system/xbin/seinfo ]
+ [ -f /system/bin/sesearch ]
+ [ -f /system/xbin/sesearch ]
+ cp_ch /dev/tmp/install/common/unityfiles/setools-android/arm64-v8a/sepolicy-inject /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/sepolicy-inject 0755
+ check_bak /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/sepolicy-inject
+ BAK=true
+ BAKFILE=/dev/tmp/install/common/unityfiles/boot/ramdisk/InitdInjector-files
+ [ -z ]
+ local EXT
+ EXT=~
+ [ -f /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/sepolicy-inject ]
+ [ -z 0755 ]
+ cp_ch_nb /dev/tmp/install/common/unityfiles/setools-android/arm64-v8a/sepolicy-inject /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/sepolicy-inject 0755 true
+ [ -z true ]
+ check_bak /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/sepolicy-inject true
+ BAK=true
+ BAKFILE=/dev/tmp/install/common/unityfiles/boot/ramdisk/InitdInjector-files
+ [ -z true ]
+ BAK=true
+ true
+ grep /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/sepolicy-inject$ /dev/tmp/install/common/unityfiles/boot/ramdisk/InitdInjector-files
+ [ ! ]
+ echo /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/sepolicy-inject
+ dirname /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/sepolicy-inject
+ mkdir -p /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin
+ cp -af /dev/tmp/install/common/unityfiles/setools-android/arm64-v8a/sepolicy-inject /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/sepolicy-inject
+ [ -z 0755 ]
+ chmod 0755 /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/sepolicy-inject
+ cp_ch /dev/tmp/install/common/unityfiles/setools-android/arm64-v8a/seinfo /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/seinfo 0755
+ check_bak /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/seinfo
+ BAK=true
+ BAKFILE=/dev/tmp/install/common/unityfiles/boot/ramdisk/InitdInjector-files
+ [ -z ]
+ local EXT
+ EXT=~
+ [ -f /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/seinfo ]
+ [ -z 0755 ]
+ cp_ch_nb /dev/tmp/install/common/unityfiles/setools-android/arm64-v8a/seinfo /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/seinfo 0755 true
+ [ -z true ]
+ check_bak /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/seinfo true
+ BAK=true
+ BAKFILE=/dev/tmp/install/common/unityfiles/boot/ramdisk/InitdInjector-files
+ [ -z true ]
+ BAK=true
+ true
+ grep /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/seinfo$ /dev/tmp/install/common/unityfiles/boot/ramdisk/InitdInjector-files
+ [ ! ]
+ echo /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/seinfo
+ dirname /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/seinfo
+ mkdir -p /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin
+ cp -af /dev/tmp/install/common/unityfiles/setools-android/arm64-v8a/seinfo /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/seinfo
+ [ -z 0755 ]
+ chmod 0755 /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/seinfo
+ cp_ch /dev/tmp/install/common/unityfiles/setools-android/arm64-v8a/sesearch /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/sesearch 0755
+ check_bak /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/sesearch
+ BAK=true
+ BAKFILE=/dev/tmp/install/common/unityfiles/boot/ramdisk/InitdInjector-files
+ [ -z ]
+ local EXT
+ EXT=~
+ [ -f /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/sesearch ]
+ [ -z 0755 ]
+ cp_ch_nb /dev/tmp/install/common/unityfiles/setools-android/arm64-v8a/sesearch /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/sesearch 0755 true
+ [ -z true ]
+ check_bak /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/sesearch true
+ BAK=true
+ BAKFILE=/dev/tmp/install/common/unityfiles/boot/ramdisk/InitdInjector-files
+ [ -z true ]
+ BAK=true
+ true
+ grep /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/sesearch$ /dev/tmp/install/common/unityfiles/boot/ramdisk/InitdInjector-files
+ [ ! ]
+ echo /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/sesearch
+ dirname /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/sesearch
+ mkdir -p /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin
+ cp -af /dev/tmp/install/common/unityfiles/setools-android/arm64-v8a/sesearch /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/sesearch
+ [ -z 0755 ]
+ chmod 0755 /dev/tmp/install/common/unityfiles/boot/ramdisk/sbin/sesearch
+ find /dev/tmp/install/ramdisk -type f
+ sed s|/dev/tmp/install||
+ [ ! -s /dev/tmp/install/common/unityfiles/boot/ramdisk/InitdInjector-files ]
+ ui_print
+ false
+ echo -e ui_print \nui_print
+ ui_print - Setting Permissions
+ false
+ echo -e ui_print - Setting Permissions\nui_print
+ set_permissions
+ false
+ cleanup
+ true
+ ui_print Repacking ramdisk...
+ false
+ echo -e ui_print Repacking ramdisk...\nui_print
+ cd /dev/tmp/install/common/unityfiles/boot/ramdisk
+ find .
+ cpio -H newc -o
+ cd ..
+ ui_print Repacking boot image...
+ false
+ echo -e ui_print Repacking boot image...\nui_print
+ ./magiskboot --repack /dev/block/sde18
CANNOT LINK EXECUTABLE "./magiskboot": "/sbin/libz.so" is 64-bit instead of 32-bit
libc: CANNOT LINK EXECUTABLE "./magiskboot": "/sbin/libz.so" is 64-bit instead of 32-bit
libc: Fatal signal 6 (SIGABRT), code -6 in tid 20025 (magiskboot), pid 20025 (magiskboot)
Aborted
+ abort ! Unable to repack boot image!
+ ui_print ! Unable to repack boot image!
+ false
+ echo -e ui_print ! Unable to repack boot image!\nui_print
+ unmount_partitions
+ [ -o -d /su ]
+ umount -l /system_root
+ umount -l /system
+ umount -l /vendor
+ exit 1