topjohnwu / Magisk

The Magic Mask for Android
GNU General Public License v3.0
48.52k stars 12.41k forks source link

Custom kernel erroneously hides magisk su file #6914

Closed maxdarksol closed 1 year ago

maxdarksol commented 1 year ago

Developer edit

Some custom kernels allow only writable su file, they hide su file from read-only partitions. Magisk 26 protected su as read-only, so the su file was lost. we won't fix this. more info: https://github.com/topjohnwu/Magisk/issues/6914#issuecomment-1538541530


Device:zuk z2plus Android version:lineage OS 19.1(12L) Magisk version name:d0c93842 Magisk version code:26101

Superuser lost after manager hibernate and wake,I must reboot make su back,but a few minutes later, Installed went N/A again. Screenshot_20230419-183140_Magisk

magisk_log_2023-04-19T17.34.29.log bugreport-lineage_z2_plus-SQ3A.220705.004-2023-04-19-18-17-18.zip magisk_patched-26100_h2GFp.zip

It seems same as #6880 I test this build from @canyie https://github.com/topjohnwu/Magisk/issues/6880#issuecomment-1513339647 but after force stop magisk manager,installed went N/A too.

Screenshot_20230419-190341_Magisk

yujincheng08 commented 1 year ago

maybe related:

04-19 18:17:42.994  1067  8897  8897 E Magisk  : read (0 != 4)
u:r:incidentd:s0               incidentd     8897  8897  2202       0      0 0                   0 Z  19   0      -   0  fg 00:00:00 app_process

Anyway, try and send log without zygisk enabled.

maxdarksol commented 1 year ago

26101 without zygisk log

magisk_log_2023-04-19T21.38.24.log Screenshot_20230419-214513_Magisk

canyie commented 1 year ago

你知道怎么用 adb 吗?如果知道的话,可以试试在管理器显示“无法获取”的时候进入 adb shell 输入 su 回车看看能不能成功。

yujincheng08 commented 1 year ago

你知道怎么用 adb 吗?如果知道的话,可以试试在管理器显示“无法获取”的时候进入 adb shell 输入 su 回车看看能不能成功。

不能,/system/bin/su 的挂载都没了

canyie commented 1 year ago
---Magisk Logs---
d0c93842 (-1)

有点奇怪,magisk -v 是正常的,然后执行 magisk -V 的时候 shell 死掉了?

maxdarksol commented 1 year ago

你知道怎么用 adb 吗?如果知道的话,可以试试在管理器显示“无法获取”的时候进入 adb shell 输入 su 回车看看能不能成功。

As yujinchen08 say, /system/bin/sh: su: inaccessible or not found

yujincheng08 commented 1 year ago

What are the outputs of /system/bin/magisk -v and /system/bin/magisk -V?

BTW, you should be able to access root in adb by /system/bin/magisk su. Could you send /cache/magisk.log?

maxdarksol commented 1 year ago

What are the outputs of /system/bin/magisk -v and /system/bin/magisk -V?

BTW, you should be able to access root in adb by /system/bin/magisk su. Could you send /cache/magisk.log?

屏幕截图 2023-04-19 225440

magisk.log magisk.log.bak.log

yujincheng08 commented 1 year ago

Please grant su access to shell (you can reboot to restore root access, dont launch magisk app and type su in adb shell, then grant root in the popup)

yujincheng08 commented 1 year ago

04-19 14:47:05.041 2172 2174 D : create : /system/bin/su <- ./magisk BTW su is created as symlink, and magisk is mounted. When root lost, can you /system/bin/su?

maxdarksol commented 1 year ago

What are the outputs of /system/bin/magisk -v and /system/bin/magisk -V?

BTW, you should be able to access root in adb by /system/bin/magisk su. Could you send /cache/magisk.log?

屏幕截图 2023-04-19 231621
maxdarksol commented 1 year ago

04-19 14:47:05.041 2172 2174 D : create : /system/bin/su <- ./magisk BTW su is created as symlink, and magisk is mounted. When root lost, can you /system/bin/su?

屏幕截图 2023-04-19 231922
maxdarksol commented 1 year ago

Please grant su access to shell (you can reboot to restore root access, dont launch magisk app and type su in adb shell, then grant root in the popup)

不好意思,我可能搞错了,即便管理器显示当前超级用户有效,但是所有su授权实际都已失效,也不能通过adb shell /system/bin/su取得授权,/bin/magisk su可以得到授权

yujincheng08 commented 1 year ago

show output of ls -lahZ /system/bin/

maxdarksol commented 1 year ago

show output of ls -lahZ /system/bin/

total 42M drwxr-x--x 4 root shell u:object_r:system_file:s0 8.3K 2023-04-19 23:44 . drwxr-xr-x 15 root root u:object_r:system_file:s0 4.0K 2023-04-19 12:38 .. lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 [ -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 121K 2009-01-01 08:00 abb -rwxr-xr-x 1 root shell u:object_r:system_file:s0 128 2009-01-01 08:00 abx -rwxr-xr-x 1 root shell u:object_r:system_file:s0 128 2009-01-01 08:00 abx2xml lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 acpi -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 207 2009-01-01 08:00 am -rwxr-xr-x 1 root shell u:object_r:apexd_exec:s0 648K 2009-01-01 08:00 apexd lrwxrwxrwx 1 root root u:object_r:system_file:s0 13 2023-04-19 23:44 app_process -> app_process64 -rwxr-xr-x 1 root shell u:object_r:zygote_exec:s0 10K 2009-01-01 08:00 app_process32 -rwxr-xr-x 1 root shell u:object_r:zygote_exec:s0 16K 2009-01-01 08:00 app_process64 -rwxr-xr-x 1 root shell u:object_r:system_file:s0 33 2009-01-01 08:00 appops -rwxr-xr-x 1 root shell u:object_r:system_file:s0 141 2009-01-01 08:00 appwidget -rwxr-xr-x 1 root shell u:object_r:system_file:s0 19K 2009-01-01 08:00 arping -rwxr-xr-x 1 root shell u:object_r:atrace_exec:s0 69K 2009-01-01 08:00 atrace -rwxr-xr-x 1 root shell u:object_r:audioserver_exec:s0 15K 2009-01-01 08:00 audioserver -rwxr-xr-x 1 root shell u:object_r:auditctl_exec:s0 11K 2009-01-01 08:00 auditctl -rwxr-xr-x 1 root shell u:object_r:system_file:s0 133K 2009-01-01 08:00 awk -rwxr-xr-x 1 root shell u:object_r:system_file:s0 28K 2009-01-01 08:00 badblocks lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 base64 -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 basename -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 86K 2009-01-01 08:00 bc -rwxr-xr-x 1 root shell u:object_r:rs_exec:s0 37K 2009-01-01 08:00 bcc -rwxr-xr-x 1 root shell u:object_r:blank_screen_exec:s0 30K 2009-01-01 08:00 blank_screen -rwxr-xr-x 1 root shell u:object_r:blkid_exec:s0 19K 2009-01-01 08:00 blkid lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 blockdev -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 126 2009-01-01 08:00 bmgr -rwxr-xr-x 1 root shell u:object_r:bootanim_exec:s0 20K 2009-01-01 08:00 bootanimation -rwxr-xr-x 1 root shell u:object_r:bootstat_exec:s0 134K 2009-01-01 08:00 bootstat drwxr-x--x 2 root shell u:object_r:system_file:s0 140 2023-04-19 23:44 bootstrap -rwxr-xr-x 1 root shell u:object_r:boringssl_self_test_exec:s0 2.7K 2009-01-01 08:00 boringssl_self_test32 -rwxr-xr-x 1 root shell u:object_r:boringssl_self_test_exec:s0 11K 2009-01-01 08:00 boringssl_self_test64 -rwxr-xr-x 1 root shell u:object_r:bpfloader_exec:s0 11K 2009-01-01 08:00 bpfloader -rwxr-xr-x 1 root shell u:object_r:system_file:s0 173 2009-01-01 08:00 bu -rwxr-xr-x 1 root shell u:object_r:system_file:s0 11K 2009-01-01 08:00 bugreport -rwxr-xr-x 1 root shell u:object_r:system_file:s0 11K 2009-01-01 08:00 bugreportz lrwxrwxrwx 1 root root u:object_r:system_file:s0 5 2023-04-19 23:44 bunzip2 -> bzip2 lrwxrwxrwx 1 root root u:object_r:system_file:s0 5 2023-04-19 23:44 bzcat -> bzip2 -rwxr-xr-x 1 root shell u:object_r:system_file:s0 95K 2009-01-01 08:00 bzip2 lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 cal -> toybox -rwxr-xr-x 1 root shell u:object_r:cameraserver_exec:s0 15K 2009-01-01 08:00 cameraserver lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 cat -> toybox -rwxr-xr-x 1 root shell u:object_r:charger_exec:s0 203K 2009-01-01 08:00 charger lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 chattr -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 chcon -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 chgrp -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 chmod -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 chown -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 chroot -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 chrt -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 cksum -> toybox -rwxr-xr-x 1 root shell u:object_r:clatd_exec:s0 50K 2009-01-01 08:00 clatd -rwxr-xr-x 1 root shell u:object_r:system_file:s0 11K 2009-01-01 08:00 clean_scratch_files lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 clear -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 45K 2009-01-01 08:00 cmd lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 cmp -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 comm -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 135 2009-01-01 08:00 content lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 cp -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 cpio -> toybox -rwxr-xr-x 1 root shell u:object_r:credstore_exec:s0 294K 2009-01-01 08:00 credstore -rwxr-xr-x 1 root shell u:object_r:system_file:s0 488K 2009-01-01 08:00 curl lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 cut -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 34 2023-04-19 23:44 dalvikvm -> /apex/com.android.art/bin/dalvikvm lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 date -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 dd -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 15K 2009-01-01 08:00 debuggerd lrwxrwxrwx 1 root root u:object_r:system_file:s0 9 2023-04-19 23:44 defrag.f2fs -> fsck.f2fs -rwxr-xr-x 1 root shell u:object_r:system_file:s0 40 2009-01-01 08:00 device_config lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 devmem -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 35 2023-04-19 23:44 dex2oat -> /apex/com.android.art/bin/dex2oat64 lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 df -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 diff -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 dirname -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 16 2023-04-19 23:44 disable-verity -> set-verity-state -rwxr-xr-x 1 root shell u:object_r:system_file:s0 58K 2009-01-01 08:00 dmabuf_dump -rwxr-xr-x 1 root shell u:object_r:system_file:s0 88K 2009-01-01 08:00 dmctl lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 dmesg -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 15K 2009-01-01 08:00 dmuserd -rwxr-xr-x 1 root shell u:object_r:dnsmasq_exec:s0 162K 2009-01-01 08:00 dnsmasq lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 dos2unix -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 81 2009-01-01 08:00 dpm -rwxr-xr-x 1 root shell u:object_r:drmserver_exec:s0 49K 2009-01-01 08:00 drmserver lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 du -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 9 2023-04-19 23:44 dump.f2fs -> fsck.f2fs -rwxr-xr-x 1 root shell u:object_r:dumpstate_exec:s0 367K 2009-01-01 08:00 dumpstate -rwxr-xr-x 1 root shell u:object_r:system_file:s0 42K 2009-01-01 08:00 dumpsys -rwxr-xr-x 1 root shell u:object_r:system_file:s0 11K 2009-01-01 08:00 e2freefrag -rwxr-xr-x 1 root shell u:object_r:fsck_exec:s0 234K 2009-01-01 08:00 e2fsck -rwxr-xr-x 1 root shell u:object_r:e2fs_exec:s0 28K 2009-01-01 08:00 e2fsdroid lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 echo -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 egrep -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 16 2023-04-19 23:44 enable-verity -> set-verity-state lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 env -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 expand -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 expr -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 fallocate -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 false -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 fgrep -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 file -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 find -> toybox -rwxr-xr-x 1 root shell u:object_r:flags_health_check_exec:s0 11K 2009-01-01 08:00 flags_health_check lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 flock -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 fmt -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 free -> toybox -rwxr-xr-x 1 root shell u:object_r:fsck_exec:s0 36K 2009-01-01 08:00 fsck.exfat -rwxr-xr-x 1 root shell u:object_r:fsck_exec:s0 263K 2009-01-01 08:00 fsck.f2fs -rwxr-xr-x 1 root shell u:object_r:fsck_exec:s0 28K 2009-01-01 08:00 fsck.ntfs -rwxr-xr-x 1 root shell u:object_r:fsck_exec:s0 40K 2009-01-01 08:00 fsck_msdos -rwxr-xr-x 1 root shell u:object_r:fsverity_init_exec:s0 50K 2009-01-01 08:00 fsverity_init lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 fsync -> toybox -rwxr-xr-x 1 root shell u:object_r:gatekeeperd_exec:s0 35K 2009-01-01 08:00 gatekeeperd -rwxr-xr-x 1 root shell u:object_r:system_file:s0 983K 2009-01-01 08:00 gdbserver -rwxr-xr-x 1 root shell u:object_r:system_file:s0 1.2M 2009-01-01 08:00 gdbserver64 -rwxr-xr-x 1 root shell u:object_r:system_file:s0 20K 2009-01-01 08:00 getcap lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 getconf -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 getenforce -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 7 2023-04-19 23:44 getevent -> toolbox lrwxrwxrwx 1 root root u:object_r:system_file:s0 7 2023-04-19 23:44 getprop -> toolbox -rwxr-xr-x 1 root shell u:object_r:gpuservice_exec:s0 11K 2009-01-01 08:00 gpuservice lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 grep -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 groups -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 50K 2009-01-01 08:00 gsi_tool -rwxr-xr-x 1 root shell u:object_r:gsid_exec:s0 732K 2009-01-01 08:00 gsid lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 gunzip -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 gzip -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 head -> toybox -rwxr-xr-x 1 root shell u:object_r:heapprofd_exec:s0 462K 2009-01-01 08:00 heapprofd -rwxr-xr-x 1 root shell u:object_r:system_file:s0 379 2009-01-01 08:00 hid lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 hostname -> toybox drwxr-x--x 2 root shell u:object_r:system_file:s0 80 2023-04-19 23:44 hw lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 hwclock -> toybox -rwxr-xr-x 1 root shell u:object_r:hwservicemanager_exec:s0 100K 2009-01-01 08:00 hwservicemanager lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 i2cdetect -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 i2cdump -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 i2cget -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 i2cset -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 iconv -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 id -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 172K 2009-01-01 08:00 idlcli -rwxr-xr-x 1 root shell u:object_r:idmap_exec:s0 71K 2009-01-01 08:00 idmap2 -rwxr-xr-x 1 root shell u:object_r:idmap_exec:s0 133K 2009-01-01 08:00 idmap2d lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 ifconfig -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 48 2009-01-01 08:00 ime -rwxr-xr-x 1 root shell u:object_r:incident_exec:s0 41K 2009-01-01 08:00 incident -rwxr-xr-x 1 root shell u:object_r:system_file:s0 220 2009-01-01 08:00 incident-helper-cmd -rwxr-xr-x 1 root shell u:object_r:incident_helper_exec:s0 214K 2009-01-01 08:00 incident_helper -rwxr-xr-x 1 root shell u:object_r:incidentd_exec:s0 285K 2009-01-01 08:00 incidentd -rwxr-xr-x 1 root shell u:object_r:init_exec:s0 1.9M 2009-01-01 08:00 init lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 inotifyd -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 32 2009-01-01 08:00 input lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 insmod -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 install -> toybox -rwxr-xr-x 1 root shell u:object_r:installd_exec:s0 365K 2009-01-01 08:00 installd lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 ionice -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 2.7M 2009-01-01 08:00 iorap.cmd.compiler -rwxr-xr-x 1 root shell u:object_r:system_file:s0 380K 2009-01-01 08:00 iorap.cmd.maintenance -rwxr-xr-x 1 root shell u:object_r:iorap_inode2filename_exec:s0 396K 2009-01-01 08:00 iorap.inode2filename -rwxr-xr-x 1 root shell u:object_r:iorap_prefetcherd_exec:s0 189K 2009-01-01 08:00 iorap.prefetcherd -rwxr-xr-x 1 root shell u:object_r:iorapd_exec:s0 1.2M 2009-01-01 08:00 iorapd lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 iorenice -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 58K 2009-01-01 08:00 iotop -rwxr-xr-x 1 root shell u:object_r:system_file:s0 396K 2009-01-01 08:00 ip lrwxrwxrwx 1 root root u:object_r:system_file:s0 20 2023-04-19 23:44 ip-wrapper-1.0 -> netutils-wrapper-1.0 lrwxrwxrwx 1 root root u:object_r:system_file:s0 8 2023-04-19 23:44 ip6tables -> iptables lrwxrwxrwx 1 root root u:object_r:system_file:s0 8 2023-04-19 23:44 ip6tables-restore -> iptables lrwxrwxrwx 1 root root u:object_r:system_file:s0 8 2023-04-19 23:44 ip6tables-save -> iptables lrwxrwxrwx 1 root root u:object_r:system_file:s0 20 2023-04-19 23:44 ip6tables-wrapper-1.0 -> netutils-wrapper-1.0 -rwxr-xr-x 1 root shell u:object_r:system_file:s0 104K 2009-01-01 08:00 iperf3 -rwxr-xr-x 1 root shell u:object_r:system_file:s0 472K 2009-01-01 08:00 iptables lrwxrwxrwx 1 root root u:object_r:system_file:s0 8 2023-04-19 23:44 iptables-restore -> iptables lrwxrwxrwx 1 root root u:object_r:system_file:s0 8 2023-04-19 23:44 iptables-save -> iptables lrwxrwxrwx 1 root root u:object_r:system_file:s0 20 2023-04-19 23:44 iptables-wrapper-1.0 -> netutils-wrapper-1.0 -rwxr-xr-x 1 root shell u:object_r:iw_exec:s0 147K 2009-01-01 08:00 iw -rwxr-xr-x 1 root shell u:object_r:keystore_exec:s0 1.5M 2009-01-01 08:00 keystore2 -rwxr-xr-x 1 root shell u:object_r:system_file:s0 119K 2009-01-01 08:00 keystore_cli_v2 lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 kill -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 killall -> toybox -rwxr-xr-x 1 root shell u:object_r:rs_exec:s0 729K 2009-01-01 08:00 ld.mc -rwxr-xr-x 1 root shell u:object_r:system_file:s0 374 2009-01-01 08:00 ldd -rwxr-xr-x 1 root shell u:object_r:system_file:s0 49K 2009-01-01 08:00 librank lrwxrwxrwx 1 root root u:object_r:system_file:s0 36 2023-04-19 23:44 linker -> /apex/com.android.runtime/bin/linker lrwxrwxrwx 1 root root u:object_r:system_file:s0 38 2023-04-19 23:44 linker64 -> /apex/com.android.runtime/bin/linker64 lrwxrwxrwx 1 root root u:object_r:system_file:s0 36 2023-04-19 23:44 linker_asan -> /apex/com.android.runtime/bin/linker lrwxrwxrwx 1 root root u:object_r:system_file:s0 38 2023-04-19 23:44 linker_asan64 -> /apex/com.android.runtime/bin/linker64 lrwxrwxrwx 1 root root u:object_r:system_file:s0 42 2023-04-19 23:44 linkerconfig -> /apex/com.android.runtime/bin/linkerconfig -rwxr-xr-x 1 root shell u:object_r:llkd_exec:s0 78K 2009-01-01 08:00 llkd -rwxr-xr-x 1 root shell u:object_r:lmkd_exec:s0 53K 2009-01-01 08:00 lmkd lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 ln -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 load_policy -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 202K 2009-01-01 08:00 lockagent_crasher -rwxr-xr-x 1 root shell u:object_r:system_file:s0 211 2009-01-01 08:00 locksettings lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 log -> toybox -rwxr-xr-x 1 root shell u:object_r:logcat_exec:s0 153K 2009-01-01 08:00 logcat -rwxr-xr-x 1 root shell u:object_r:logcat_exec:s0 780 2009-01-01 08:00 logcatd -r-xr-x--- 1 logd logd u:object_r:logd_exec:s0 742K 2009-01-01 08:00 logd lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 logname -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 16 2023-04-19 23:44 logpersist.cat -> logpersist.start -rwxr-xr-x 1 root shell u:object_r:system_file:s0 5.4K 2009-01-01 08:00 logpersist.start lrwxrwxrwx 1 root root u:object_r:system_file:s0 16 2023-04-19 23:44 logpersist.stop -> logpersist.start -rwxr-xr-x 1 root shell u:object_r:system_file:s0 19K 2009-01-01 08:00 logwrapper lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 losetup -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 19K 2009-01-01 08:00 lpdump -rwxr-xr-x 1 root shell u:object_r:lpdumpd_exec:s0 31K 2009-01-01 08:00 lpdumpd lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 ls -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 lsattr -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 187K 2009-01-01 08:00 lshal lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 lsmod -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 lsof -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 lspci -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 lsusb -> toybox -rwxr-xr-x 1 root root u:object_r:magisk_exec:s0 260K 1971-12-06 19:51 magisk -rwxr-xr-x 1 root root u:object_r:system_file:s0 327K 2023-04-19 23:44 magiskpolicy -rwxr-xr-x 1 root shell u:object_r:e2fs_exec:s0 117K 2009-01-01 08:00 make_f2fs lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 md5sum -> toybox -rwxr-xr-x 1 root shell u:object_r:mdnsd_exec:s0 709K 2009-01-01 08:00 mdnsd -rwxr-xr-x 1 root shell u:object_r:mediaextractor_exec:s0 15K 2009-01-01 08:00 mediaextractor -rwxr-xr-x 1 root shell u:object_r:mediametrics_exec:s0 15K 2009-01-01 08:00 mediametrics -rwxr-xr-x 1 root shell u:object_r:mediaserver_exec:s0 4.3K 2009-01-01 08:00 mediaserver lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 microcom -> toybox -rwxr-xr-x 1 root shell u:object_r:migrate_legacy_obb_data_exec:s0 1.3K 2009-01-01 08:00 migrate_legacy_obb_data.sh -rwxr-xr-x 1 root shell u:object_r:toolbox_exec:s0 33K 2009-01-01 08:00 mini-keyctl lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 mkdir -> toybox -rwxr-xr-x 1 root shell u:object_r:e2fs_exec:s0 69K 2009-01-01 08:00 mke2fs lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 mkfifo -> toybox -rwxr-xr-x 1 root shell u:object_r:mkfs_exec:s0 32K 2009-01-01 08:00 mkfs.exfat lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 mkfs.ext2 -> mke2fs lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 mkfs.ext3 -> mke2fs lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 mkfs.ext4 -> mke2fs -rwxr-xr-x 1 root shell u:object_r:mkfs_exec:s0 69K 2009-01-01 08:00 mkfs.ntfs lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 mknod -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 mkswap -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 mktemp -> toybox -rwxr-xr-x 1 root shell u:object_r:mm_events_exec:s0 3.8K 2009-01-01 08:00 mm_events lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 modinfo -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 7 2023-04-19 23:44 modprobe -> toolbox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 268 2009-01-01 08:00 monkey lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 more -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 mount -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 58K 2009-01-01 08:00 mount.ntfs lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 mountpoint -> toybox -rwxr-xr-x 1 root shell u:object_r:mtp_exec:s0 32K 2009-01-01 08:00 mtpd lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 mv -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 nc -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 66K 2009-01-01 08:00 ndc lrwxrwxrwx 1 root root u:object_r:system_file:s0 20 2023-04-19 23:44 ndc-wrapper-1.0 -> netutils-wrapper-1.0 lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 netcat -> toybox -rwxr-xr-x 1 root shell u:object_r:netd_exec:s0 688K 2009-01-01 08:00 netd lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 netstat -> toybox -rwxr-xr-x 1 root shell u:object_r:netutils_wrapper_exec:s0 63K 2009-01-01 08:00 netutils-wrapper-1.0 -rwxr-xr-x 1 root shell u:object_r:system_file:s0 24K 2009-01-01 08:00 newfs_msdos lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 nice -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 nl -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 nohup -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 nproc -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 nsenter -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 od -> toybox -rwxr-xr-x 1 root shell u:object_r:odsign_exec:s0 228K 2009-01-01 08:00 odsign lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 paste -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 patch -> toybox -rwxr-xr-x 1 root shell u:object_r:perfetto_exec:s0 668K 2009-01-01 08:00 perfetto lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 pgrep -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 pidof -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 36K 2009-01-01 08:00 ping -rwxr-xr-x 1 root shell u:object_r:system_file:s0 41K 2009-01-01 08:00 ping6 lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 pkill -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 34 2009-01-01 08:00 pm lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 pmap -> toybox -rwxr-xr-x 1 root shell u:object_r:ppp_exec:s0 247K 2009-01-01 08:00 pppd lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 printenv -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 printf -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 37K 2009-01-01 08:00 procmem -rwxr-xr-x 1 root shell u:object_r:system_file:s0 46K 2009-01-01 08:00 procrank -rwxr-xr-x 1 root shell u:object_r:profcollectd_exec:s0 21K 2009-01-01 08:00 profcollectctl -rwxr-xr-x 1 root shell u:object_r:profcollectd_exec:s0 16K 2009-01-01 08:00 profcollectd lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 ps -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 pwd -> toybox -rwxr-xr-x 1 root shell u:object_r:racoon_exec:s0 252K 2009-01-01 08:00 racoon lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 readelf -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 readlink -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 realpath -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 11K 2009-01-01 08:00 reboot -rwxr-xr-x 1 root shell u:object_r:recovery_persist_exec:s0 20K 2009-01-01 08:00 recovery-persist -rwxr-xr-x 1 root shell u:object_r:system_file:s0 172K 2009-01-01 08:00 remount lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 renice -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 205 2009-01-01 08:00 requestsync lrwxrwxrwx 1 root root u:object_r:system_file:s0 8 2023-04-19 23:44 resetprop -> ./magisk lrwxrwxrwx 1 root root u:object_r:system_file:s0 9 2023-04-19 23:44 resize.f2fs -> fsck.f2fs -rwxr-xr-x 1 root shell u:object_r:fsck_exec:s0 57K 2009-01-01 08:00 resize2fs lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 restorecon -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 rm -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 rmdir -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 rmmod -> toybox -rwxr-xr-x 1 root shell u:object_r:rss_hwm_reset_exec:s0 11K 2009-01-01 08:00 rss_hwm_reset lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 rtcwake -> toybox -rwxr-x--- 1 root shell u:object_r:runas_exec:s0 15K 2009-01-01 08:00 run-as lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 runcon -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 11K 2009-01-01 08:00 sanitizer-status -rwxr-xr-x 1 root shell u:object_r:system_file:s0 11K 2009-01-01 08:00 schedtest -rwxr-xr-x 1 root shell u:object_r:system_file:s0 26K 2009-01-01 08:00 screencap -rwxr-xr-x 1 root shell u:object_r:system_file:s0 120K 2009-01-01 08:00 screenrecord -rwxr-xr-x 1 root shell u:object_r:sdcardd_exec:s0 28K 2009-01-01 08:00 sdcard -rwxr-xr-x 1 root shell u:object_r:system_file:s0 20K 2009-01-01 08:00 secdiscard -rwx------ 1 root root u:object_r:system_file:s0 308K 2009-01-01 08:00 secilc lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 sed -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 sendevent -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 11K 2009-01-01 08:00 sensorservice lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 seq -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 37K 2009-01-01 08:00 service -rwxr-xr-x 1 root shell u:object_r:servicemanager_exec:s0 66K 2009-01-01 08:00 servicemanager -rwxr-xr-x 1 root shell u:object_r:system_file:s0 73K 2009-01-01 08:00 set-verity-state -rwxr-xr-x 1 root shell u:object_r:system_file:s0 20K 2009-01-01 08:00 setcap lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 setenforce -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 7 2023-04-19 23:44 setprop -> toolbox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 setsid -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 35 2009-01-01 08:00 settings -rwxr-xr-x 1 root shell u:object_r:sgdisk_exec:s0 181K 2009-01-01 08:00 sgdisk -rwxr-xr-x 1 root shell u:object_r:shell_exec:s0 305K 2009-01-01 08:00 sh lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 sha1sum -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 sha224sum -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 sha256sum -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 sha384sum -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 sha512sum -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 20K 2009-01-01 08:00 showmap -rwxr-xr-x 1 root shell u:object_r:simpleperf_exec:s0 1.3M 2009-01-01 08:00 simpleperf -rwxr-x--- 1 root shell u:object_r:simpleperf_app_runner_exec:s0 32K 2009-01-01 08:00 simpleperf_app_runner lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 sleep -> toybox -rwxr-xr-x 1 root shell u:object_r:e2fs_exec:s0 247K 2009-01-01 08:00 sload_f2fs -rwxr-xr-x 1 root shell u:object_r:system_file:s0 120 2009-01-01 08:00 sm -rwxr-xr-x 1 root shell u:object_r:snapshotctl_exec:s0 1.1M 2009-01-01 08:00 snapshotctl -rwxr-xr-x 1 root shell u:object_r:snapuserd_exec:s0 841K 2009-01-01 08:00 snapuserd lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 sort -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 split -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 162K 2009-01-01 08:00 sqlite3 -rwxr-xr-x 1 root shell u:object_r:system_file:s0 70K 2009-01-01 08:00 ss lrwxrwxrwx 1 root root u:object_r:system_file:s0 7 2023-04-19 23:44 start -> toolbox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 208 2009-01-01 08:00 start_with_lockagent lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 stat -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 7 2023-04-19 23:44 stop -> toolbox -rwxr-xr-x 1 root shell u:object_r:storaged_exec:s0 190K 2009-01-01 08:00 storaged -rwxr-xr-x 1 root shell u:object_r:system_file:s0 794K 2009-01-01 08:00 strace lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 strings -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 stty -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 14 2023-04-19 23:44 supolicy -> ./magiskpolicy -rwxr-xr-x 1 root shell u:object_r:surfaceflinger_exec:s0 6.0M 2009-01-01 08:00 surfaceflinger -rwxr-xr-x 1 root shell u:object_r:system_file:s0 1.0K 2009-01-01 08:00 svc lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 swapoff -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 swapon -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 sync -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 sysctl -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 tac -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 tail -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 tar -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 taskset -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 272K 2009-01-01 08:00 tc lrwxrwxrwx 1 root root u:object_r:system_file:s0 20 2023-04-19 23:44 tc-wrapper-1.0 -> netutils-wrapper-1.0 -rwxr-xr-x 1 root shell u:object_r:tcpdump_exec:s0 885K 2009-01-01 08:00 tcpdump lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 tee -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 189 2009-01-01 08:00 telecom lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 test -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 time -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 timeout -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 15K 2009-01-01 08:00 tinymix -rwxr-xr-x 1 root shell u:object_r:tombstoned_exec:s0 113K 2009-01-01 08:00 tombstoned -rwxr-xr-x 1 root shell u:object_r:toolbox_exec:s0 120K 2009-01-01 08:00 toolbox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 top -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 touch -> toybox -rwxr-xr-x 1 root shell u:object_r:toolbox_exec:s0 483K 2009-01-01 08:00 toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 tr -> toybox -rwxr-xr-x 1 root shell u:object_r:traced_exec:s0 11K 2009-01-01 08:00 traced -rwxr-xr-x 1 root shell u:object_r:traced_perf_exec:s0 466K 2009-01-01 08:00 traced_perf -rwxr-xr-x 1 root shell u:object_r:traced_probes_exec:s0 11K 2009-01-01 08:00 traced_probes -rwxr-xr-x 1 root shell u:object_r:system_file:s0 11K 2009-01-01 08:00 tracepath -rwxr-xr-x 1 root shell u:object_r:system_file:s0 15K 2009-01-01 08:00 tracepath6 -rwxr-xr-x 1 root shell u:object_r:system_file:s0 19K 2009-01-01 08:00 traceroute6 -rwxr-xr-x 1 root shell u:object_r:system_file:s0 291K 2009-01-01 08:00 trigger_perfetto lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 true -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 truncate -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 tty -> toybox -rwxr-xr-x 1 root shell u:object_r:fsck_exec:s0 57K 2009-01-01 08:00 tune2fs -rwxr-xr-x 1 root shell u:object_r:tzdatacheck_exec:s0 23K 2009-01-01 08:00 tzdatacheck lrwxrwxrwx 1 root root u:object_r:system_file:s0 4 2023-04-19 23:44 ueventd -> init -rwxr-xr-x 1 root shell u:object_r:system_file:s0 4.0K 2009-01-01 08:00 uiautomator -rwxr-xr-x 1 root shell u:object_r:system_file:s0 394 2009-01-01 08:00 uinput lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 ulimit -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 umount -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 uname -> toybox -rwxr-x--- 1 root root u:object_r:uncrypt_exec:s0 36K 2009-01-01 08:00 uncrypt lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 uniq -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 unix2dos -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 unlink -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 unshare -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 19K 2009-01-01 08:00 unwind_info -rwxr-xr-x 1 root shell u:object_r:system_file:s0 24K 2009-01-01 08:00 unwind_reg_info -rwxr-xr-x 1 root shell u:object_r:system_file:s0 11K 2009-01-01 08:00 unwind_symbols lrwxrwxrwx 1 root root u:object_r:system_file:s0 7 2023-04-19 23:44 unzip -> ziptool lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 uptime -> toybox -rwxr-xr-x 1 root shell u:object_r:usbd_exec:s0 11K 2009-01-01 08:00 usbd lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 usleep -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 uudecode -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 uuencode -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 uuidgen -> toybox -rwxr-xr-x 1 root shell u:object_r:vdc_exec:s0 98K 2009-01-01 08:00 vdc -rwxr-xr-x 1 root shell u:object_r:viewcompiler_exec:s0 244K 2009-01-01 08:00 viewcompiler lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 vmstat -> toybox -rwxr-xr-x 1 root shell u:object_r:vold_exec:s0 1.0M 2009-01-01 08:00 vold -rwxr-xr-x 1 root shell u:object_r:vold_prepare_subdirs_exec:s0 36K 2009-01-01 08:00 vold_prepare_subdirs -rwxr-xr-x 1 root shell u:object_r:system_file:s0 169 2009-01-01 08:00 vr -rwxr-xr-x 1 root shell u:object_r:wait_for_keymaster_exec:s0 25K 2009-01-01 08:00 wait_for_keymaster lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 watch -> toybox -rwxr-xr-x 1 root shell u:object_r:watchdogd_exec:s0 15K 2009-01-01 08:00 watchdogd lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 wc -> toybox -rwxr-xr-x 1 root shell u:object_r:wfdservice_exec:s0 11K 2009-01-01 08:00 wfdservice lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 which -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 whoami -> toybox -rwxr-xr-x 1 root shell u:object_r:wificond_exec:s0 377K 2009-01-01 08:00 wificond -rwxr-xr-x 1 root shell u:object_r:system_file:s0 33 2009-01-01 08:00 wm lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 xargs -> toybox -rwxr-xr-x 1 root shell u:object_r:system_file:s0 128 2009-01-01 08:00 xml2abx lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 xxd -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 yes -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 6 2023-04-19 23:44 zcat -> toybox lrwxrwxrwx 1 root root u:object_r:system_file:s0 7 2023-04-19 23:44 zipinfo -> ziptool -rwxr-xr-x 1 root shell u:object_r:system_file:s0 28K 2009-01-01 08:00 ziptool

maxdarksol commented 1 year ago

Please grant su access to shell (you can reboot to restore root access, dont launch magisk app and type su in adb shell, then grant root in the popup)

不好意思,我可能搞错了,即便管理器显示当前超级用户有效,但是所有su授权实际都已失效,也不能通过adb shell /system/bin/su取得授权,/bin/magisk su可以得到授权

我只能在重启后几秒内通过adb shell su获得root权限,即便没有打开manager,当我再试一次的时候,su就已经不见了

yujincheng08 commented 1 year ago

看起来是被人删了

maxdarksol commented 1 year ago

看起来是被人删了

26000也是一样的问题,25200没问题。 前几天,一个小米max2也是一样,重启后很快会掉root权限,甚至第一次打开manager时已经是无法获取,重启又可能有。他的max2刷的crdroid9(Android13),我让他回magisk25.2了。 是否是因为这些旧设备内核太老?我的Z2plus是4.4内核的,他的MI MAX2是4.9内核,我用Lenovo Z6 pro(zippo)是4.14内核,使用26100没有这个问题,但是我的另一部Lenovo Z5S(jd2019)刷的pixel experience也是4.9内核,也没问题。

ebi207900 commented 1 year ago

Device:zuk z2plus Android version:lineage OS 19.1(12L) Magisk version name:d0c93842 Magisk version code:26101

Superuser lost after manager hibernate and wake,I must reboot make su back,but a few minutes later, Installed went N/A again. Screenshot_20230419-183140_Magisk

magisk_log_2023-04-19T17.34.29.log bugreport-lineage_z2_plus-SQ3A.220705.004-2023-04-19-18-17-18.zip magisk_patched-26100_h2GFp.zip

It seems same as #6880 I test this build from @canyie https://github.com/topjohnwu/Magisk/issues/6880#issuecomment-1513339647 but after force stop magisk manager,installed went N/A too.

Screenshot_20230419-190341_Magisk

maxdarksol commented 1 year ago

另一个用户遭遇此问题,小米平板4,魔趣11。 分享酷安用户@殷熙濯 对【Magisk】的评论:在更新26.1之后,出现的问题 重启后的一两分钟内一切正常,然后就没root权限了,重启后问题100%复现。 挂载在lsp的模块(thanox)可以正常使用,通过面具直接授权的(r安装组件,mt文件管理器)无法正常运行 https://www.coolapk.com/feed/45416188 分享自【酷安App】

adajoh99 commented 1 year ago

I also have this issue with 26.1.

su is present immediately after boot, but disappears some time after.

The time seems to be somewhat random - sometimes it has been only a few seconds, sometimes it has lasted minutes before su disappears.

Downgrading to 25.2 has fixed the issue for me.

Platform is Motorola G7 Plus (lake) running lineageOS 20.

inphynithus commented 1 year ago

I'm also having this problem, however I found a way to circumvent this. This problem seems kinda random, it takes a few seconds to installed show N/A. But when I run a container in termux using this script here and let termux running in background, the installed status never show N/A. But if the OOM killer kills Termux, then it shows N/A.

vvb2060 commented 1 year ago

worker tmpfs is read only, any modification can only be done by the root process authorized by the user

vvb2060 commented 1 year ago

image kernel issue?

yujincheng08 commented 1 year ago

i found a workaround for it, and may submit a pr to fix this issue. tho we hv no idea about the root cause. are all reports from customize kernels?

yujincheng08 commented 1 year ago

@aviraxp says it may be caused by commit https://github.com/LineageOS/android_kernel_motorola_msm8998/commit/0e52c8c3b4b298122a1c2ae98e22413f72b21621. And looks like all reported kernels have picked this commit. please try to revert it first.

aviraxp commented 1 year ago

https://review.lineageos.org/c/LineageOS/android_kernel_motorola_msm8998/+/355841

Also reported in LineageOS discord.

spiral009 commented 1 year ago

I have a kernel with kernelSU and on android i had magisk 24 after i update magisk to 26.1 the device stuck in a bootloop But i didn't have a bootloop with magisk 24 i recompiled the kernel without kernelsu and it booted worth mentioning...

glibg10b commented 1 year ago

@adajoh99 Can you still confirm that it works in 25.2? Just double checking before I downgrade

adajoh99 commented 1 year ago

@adajoh99 Can you still confirm that it works in 25.2? Just double checking before I downgrade

@glibg10b Yes, I am still using 25.2 with no issues

osm0sis commented 1 year ago

@yujincheng08, @vvb2060, @canyie or @aviraxp, would chattr +i /system/bin/su keep the kernel from being able to remove/hide it from the filesystem?

aviraxp commented 9 months ago

I don't think so.

LeeBinder commented 8 months ago

Same thing here. Magisk v.25.2 (stable) from Jul 21, 2022 and Magisk Canary 2717feac (25209) from Mar 2, 2023 were still fine. Getting this error since Magisk v.26.0 all the way up to the very latest Canary from Actions. Occurring in LineageOS 18.1 (A.11) and 12 (A.13) on my Nokia 6.1. All fine again after downgrading to Magisk v.25.209.

No such issues on my Samsung with stock ROM which is rooted via Magisk v.27 just fine.

(On my Nokia, I need to stay on a lower version of LOS for now due to a LSPosed module incompatibility.

Also as expected it's not SELinux related because with both, Magisk v.25.2x and 26.0, getenforce echoes Enforcing, and setting SELinux to permissive doesn't change anything if rooted via Magisk 26+.)

I've looked at LineageOS Gerrirt: Revert "kernel: Only expose su when daemon is running" (355841). I admit I wouldn't know how to apply that patch from Motorola LOS to my Nokia LOS ROM, or even if that would've any chance to be successful.. I guess it would mean recompiling the ROM's kernel (?)

I see you've marked this issue here as "wontfix/ not our issue: This issue is caused by third-party like customized rom or module". Again, this was working before up to Magisk 25.210 so in a way it's a regression. Therefore, would it be possible to integrate a function into Magisk, querying for the condition (certain custom kernels), and if it's met, default back to the older Magisk 25.2 method, which obviously was/ is working for several of us? Which from what I understand is:

Magisk switches worker tmpfs dir to RO instead of RW for safety reasons and happens to satisfy MS_RDONLY check for su file, resulting in su file totally inaccessible.

Apart from that, is there anything I can do to facilitate solving this issue, like providing logs from both, my phone's ROM booted w/ Magisk v.25.209, then with v.26.0?

LeeBinder commented 8 months ago

@aviraxp @vvb2060 it's those lines in Magisk/native/src/core/bootstages.cpp, isn't it?

#82 xmount("worker", path, "tmpfs", 0, "mode=755"); #42 xmount(nullptr, path, nullptr, MS_REMOUNT | MS_BIND | MS_RDONLY, nullptr);

Can you please point me to the commit from 25209 to 25210 where worker tmpfs dir was changed from RW to RO/755? I tried but not knowing my way around in GitHub well enough wasn't able to find it. Thank you.

mike855 commented 4 months ago

Hello, anyone found a workaround for this?