shakalaca / MagiskOnEmulator

Install Magisk on Official Android Emulator
Apache License 2.0
672 stars 113 forks source link

Problems when running on Android 11 (Google Play) #45

Open WeeslaX opened 3 years ago

WeeslaX commented 3 years ago

I would like to thank you for providing such a great tool.

Output after running patch.bat:

ramdisk.img: 1 file pushed, 0 skipped. 125.1 MB/s (1300381 bytes in 0.010s) magisk.zip: 1 file pushed, 0 skipped. 187.3 MB/s (6874374 bytes in 0.035s) busybox: 1 file pushed, 0 skipped. 70.5 MB/s (2074240 bytes in 0.028s) process.sh: 1 file pushed, 0 skipped. 1.4 MB/s (11934 bytes in 0.008s) [] 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) Add entry [overlay.d/sbin/magisk64.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] Record new entry: [overlay.d/sbin/magisk64.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

Duoquote commented 2 years ago

same here with this setup image