HuskyDG / magisk-files

2.47k stars 107 forks source link

Mumu Android 12: Magisk magic mount bind mount built-in /system/bin/su su to magisk's mounted simlink su when /system/bin/su exists #8

Closed VisionR1 closed 10 months ago

VisionR1 commented 10 months ago

HI @HuskyDG you fix the issue with zygisk (in Nox Player, for MuMu with inside zygisk after reboot say reboot to apply changes like the old in Nox Player but with enable and LSPosed latest show infinite boot, need this https://github.com/5ec1cff/ZygiskNext/suites/18119452689/artifacts/1044552394) to work properly, but again not install correctly in Nox Player Android 12 and MuMu Player Android 12 (this happens again in a old version of Magisk Delta and after you fix it but with Kitsune broke again), only if create manually folder sbin and send this file bootanim.rc with some modifications in /system/etc/init/, after reboot is working and detect the root bootanim.zip

HuskyDG commented 10 months ago

Does your emulator have /debug_ramdisk?

HuskyDG commented 10 months ago

Mumu itself made this stupid problem

image

VisionR1 commented 10 months ago

Does your emulator have /debug_ramdisk?

Yeah have, Nox Player and the Mumu

VisionR1 commented 10 months ago

Mumu itself made this stupid problem

image

oh understand, the only i did for fix is manually create a sbin folder and send this file bootanim.rc bootanim.zip with some modifications in /system/etc/init/, after work good and need this (https://github.com/5ec1cff/ZygiskNext/suites/18119452689/artifacts/1044552394)

VisionR1 commented 10 months ago

Nox player the same without ZygiskNext, work good with build-in zygisk

HuskyDG commented 10 months ago

https://github.com/HuskyDG/magisk-files/issues/11#issuecomment-1826822767

HuskyDG commented 10 months ago

magiskd will check if client is zygote by checking if it has u:r:zygote context but Mumu have incorrect selinux context for zygote

VisionR1 commented 10 months ago

magiskd will check if client is zygote by checking if it has u:r:zygote context but Mumu have incorrect selinux context for zygote

oh i see, the only work is ZygiskNext this version https://github.com/5ec1cff/ZygiskNext/suites/18119452689/artifacts/1044552394

VisionR1 commented 10 months ago

and what about install from Kitsune inside not install correct ?

HuskyDG commented 10 months ago

Try adding seclabel u:r:zygote:s0

image

HuskyDG commented 10 months ago

open /system/etc/init/magisk.rc and add this line: umount /system/bin/su

image

VisionR1 commented 10 months ago

open /system/etc/init/magisk.rc and add this line: umount /system/bin/su

image

This work for root

VisionR1 commented 10 months ago

Try adding seclabel u:r:zygote:s0

image

This add it in /system/etc/init/hw init.rc MuMu infinite boot stuck at 98%

HuskyDG commented 10 months ago

https://github.com/HuskyDG/magisk-files/releases/tag/R656426A5-kitsune

HuskyDG commented 10 months ago

Try adding seclabel u:r:zygote:s0

image

To enable zygisk

VisionR1 commented 10 months ago

seclabel u:r:zygote:s0

Thanks with latest and this all working

VisionR1 commented 10 months ago

But unfortunately with Nox Player still not detected the root, because not have magisk.rc had bootanim.rc instead, not fix it by add the line you write me umount /system/bin/su, try to found what happens now

VisionR1 commented 10 months ago

Only with this work Nox Player Android 12, first install from inside Kitsune and before reboot create manually folder sbin (still not auto create) and grab the magisk.rc from MuMu Emulator and rename to bootanim.rc and send it here /system/etc/init/, after reboot is working and detect the root

VisionR1 commented 9 months ago

@HuskyDG I test it latest kitsune with Nox, BlueStacks and MuMu all working good, except in Nox still need create manually the sbin folder after that all work, because Nox use bootanim.rc instead of magisk.rc inside in the /system/etc/init/ but i don't think this is the problem because the same have and the BlueStacks but the install create the sbin folder, i can't undarstand why in the Nox can't create auto the sbin folder with the install like BlueStacks

From MuMu magisk.zip

From Nox bootanim.zip

From BlueStacks bootanim.zip