HuskyDG / initrd-magisk

Integrate Magisk into Android-x86 project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fix_mirror_mount.sh fails to correct mirror data mount if SRC doesn't exist

xAffan opened this issue · comments

I install it using method 2 it works fine magisk app good and all I used unsu to remove su binary of rom then I enable zygisk it work good then install a module lsposed but it got installed and work fine but installed module lists not show in magisk app it empty but module work fine

TLDR
Magisk app isn't showing installed modules list but the modules work fine.

Is your Android-x86 installed in ext4 or ntfs partition?
If it is installed in ext4 partition, data.img is not used and initrd will directly mount bind data folder on Android x86 directory into /data. Due to the fact that mount bind, /data is not seperated and we have to use some workaround because magisk will mount entire disk into data mirror.
Can you send record_logs.txt after this?

cat $(magisk --path)/emu/record_logs.txt >/sdcard/record_logs.txt

What is output of these command:

ls -i /data
ls -i $(magisk --path)/.magisk/mirror/data
ls -id /data/adb/modules
ls -id $(magisk --path)/.magisk/mirror/data/adb/modules
ls -id $(magisk --path)/.magisk/modules

I use ext3 partition and it contains data folder not data.img
record_logs.txt
Record logs are attached above.
the output of commands is in screenshot.
Screenshot_20220418-151844_Termux

@xAffan what is output of cat /proc/cmdline

the output is BOOT_IMAGE=/android-2.1.0/kernel root=/dev/ram0 quiet VULKAN=1
(vulkan is unrelated to this issue)

the output is BOOT_IMAGE=/android-2.1.0/kernel root=/dev/ram0 quiet VULKAN=1 (vulkan is unrelated to this issue)

Okey, please wait for v1.4

Alright thanks 👍

Alright thanks 👍

@xAffan might fix in a95187a

IMG_20220418_193642
I faced this issue!?!?! Idk how it just panics

(I used the link you sent)

Can confirm the same issue - I built the image myself.

Can confirm the same issue - I built the image myself.

Try this:

initrd-magisk.img.zip

initrd-magisk is inside zip

It's fixed! thanks.
Screenshot_20220419-143727_Magisk