shakalaca/MagiskOnEmulator

/system/xbin/su: inaccessible or not found how to resolve this?

Opened this issue · 1 comments

ramdisk.img: 1 file pushed, 0 skipped. 793.3 MB/s (1300381 bytes in 0.002s)
magisk.apk: 1 file pushed, 0 skipped. 556.6 MB/s (11278270 bytes in 0.019s)
busybox: 1 file pushed, 0 skipped. 252.3 MB/s (2074240 bytes in 0.008s)
process.sh: 1 file pushed, 0 skipped. 196.5 MB/s (11525 bytes in 0.000s)
[] Checking Android version
[
] Unzipping Magisk ..
[] New Magisk packaging format detected ..
[-] API level greater then 30
[
] Check if we need to repack ramdisk before patching ..
[-] Multiple cpio archives detected
[] Unpacking ramdisk ..
[-] Dumping from 0 to 1729528 ..
[-] Dumping from 1729536 to 3858348 ..
[
] Repacking ramdisk ..
[] Checking ramdisk status ..
[-] Stock boot image detected
[
] Patching ramdisk ..

Loading cpio: [/data/local/tmp/ramdisk.img]
Add entry [init] (0750)
Create directory [overlay.d] (0750)
Create directory [overlay.d/sbin] (0750)
Add entry [overlay.d/sbin/magisk32.xz] (0644)
Patch with flag KEEPVERITY=[false] KEEPFORCEENCRYPT=[true]
Found fstab file [first_stage_ramdisk/fstab.ranchu]
Remove pattern [,avb=vbmeta]
Found fstab file [fstab.ranchu]
Remove pattern [,avb=vbmeta]
Loading cpio: [/data/local/tmp/ramdisk.img.orig]
Backup mismatch entry: [first_stage_ramdisk/fstab.ranchu] -> [.backup/first_stage_ramdisk/fstab.ranchu]
Backup mismatch entry: [fstab.ranchu] -> [.backup/fstab.ranchu]
Backup mismatch entry: [init] -> [.backup/init]
Record new entry: [overlay.d] -> [.backup/.rmlist]
Record new entry: [overlay.d/sbin] -> [.backup/.rmlist]
Record new entry: [overlay.d/sbin/magisk32.xz] -> [.backup/.rmlist]
Create directory [.backup] (0000)
Add entry [.backup/.magisk] (0000)
Dump cpio: [/data/local/tmp/ramdisk.img]
[] Done patching, compressing ramdisk ..
[
] Installing MagiskManager ..
/data/local/tmp/process.sh[340]: /system/xbin/su: inaccessible or not found
/data/local/tmp/process.sh[340]: /system/xbin/su: inaccessible or not found
[] Installing su binaries ..
run-as: package not debuggable: com.topjohnwu.magisk
run-as: package not debuggable: com.topjohnwu.magisk
[
] Clean up
/data/local/tmp/ramdisk.img: 1 file pulled, 0 skipped. 291.5 MB/s (1577714 bytes in 0.005s)

This issue should resolve your problems @cian0 : topjohnwu/Magisk#3316
Use bash patch.sh canary