Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cian0 opened this issue Jan 6, 2024 · 1 comment
Open

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

cian0 opened this issue Jan 6, 2024 · 1 comment

Comments

@cian0
Copy link

cian0 commented Jan 6, 2024

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)

@Maltemo
Copy link

Maltemo commented Jan 24, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants