shakalaca/MagiskOnEmulator

issue with api 30, x86_64 (with google api )

Closed this issue · 2 comments

patch
ramdisk.img: 1 file pushed, 0 skipped. 155.0 MB/s (898444 bytes in 0.006s)
magisk.zip: 1 file pushed, 0 skipped. 185.8 MB/s (6173806 bytes in 0.032s)
busybox: 1 file pushed, 0 skipped. 56.2 MB/s (2074240 bytes in 0.035s)
process.sh: 1 file pushed, 0 skipped. 12.4 MB/s (11525 bytes in 0.001s)
[*] Checking Android version
[*] Unzipping Magisk ..
Connecting to raw.githubusercontent.com (185.199.108.133:443)
wget: note: TLS certificate validation not implemented
saving to '/data/local/tmp/tmp/x86/busybox'
busybox               90% |****************************    | 1963k  0:00:00 ETA
busybox              100% |********************************| 2170k  0:00:00 ETA
'/data/local/tmp/tmp/x86/busybox' saved
[-] API level greater then 30
[*] Check if we need to repack ramdisk before patching ..
[*] Checking ramdisk status ..
[-] Stock boot image detected
[*] Patching ramdisk ..

Loading cpio: [/data/local/tmp/ramdisk.img]
Add entry [init] (0750)
Patch with flag KEEPVERITY=[false] KEEPFORCEENCRYPT=[true]
Found fstab file [fstab.ranchu]
Remove pattern [,avb=vbmeta]
Loading cpio: [/data/local/tmp/ramdisk.img.orig]
Backup mismatch entry: [fstab.ranchu] -> [.backup/fstab.ranchu]
Backup mismatch entry: [init] -> [.backup/init]
Create directory [.backup] (0000)
Add entry [.backup/.magisk] (0000)
Dump cpio: [/data/local/tmp/ramdisk.img]
[*] Done patching, compressing ramdisk ..
[*] Installing MagiskManager ..
su: invalid uid/gid '-c'
[*] Installing su binaries ..
total 3620
-rwxr-xr-x 1 root root    3507 2021-06-12 20:57 addon.d.sh
-rwxr-xr-x 1 root root    4703 2021-06-12 20:57 boot_patch.sh
-rwxr-xr-x 1 root root 2222408 2021-06-12 20:57 busybox
drwxr-xr-x 2 root root    4096 2021-06-12 20:57 chromeos
-rwxr-xr-x 1 root root  338496 2021-06-12 20:57 magisk
-rwxr-xr-x 1 root root  456428 2021-06-12 20:57 magiskboot
-rwxr-xr-x 1 root root  609452 2021-06-12 20:57 magiskinit
-rwxr-xr-x 1 root root   22136 2021-06-12 20:57 util_functions.sh
[*] Clean up
.
.
.
C:\Users\Yash\Downloads\MagiskOnEmulator-master>adb
Android Debug Bridge version 1.0.41
Version 31.0.2-7242960

image

used canary as well but it doesnt work

built did work with ap 30 play x86_64
and api 29 (non play version ) x86

Niach commented

Having the same problem!

it was my mistake actually ...
i patched file of 29 and had opened emulator of 30 ...
it worked eventually ... i successfully installed on
29 x86
29 x86_64
29 x86_64(play)
30 x86
30 x86_64
30 x86_64(play) [had to use canary build]
latest revisions

some modules(related to pixel props and features) created bootloop or stuck at boot tho... but i created snapshop just after installing magisk and granting shell su.

ps: i just wanted unlimited photos ... couldnt emulate pixel 1 tho...