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

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 opened this issue Nov 25, 2023 · 19 comments

Comments

@VisionR1
Copy link

VisionR1 commented Nov 25, 2023

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
Copy link
Owner

HuskyDG commented Nov 26, 2023

Does your emulator have /debug_ramdisk?

@HuskyDG
Copy link
Owner

HuskyDG commented Nov 26, 2023

Mumu itself made this stupid problem

image

@VisionR1
Copy link
Author

Does your emulator have /debug_ramdisk?

Yeah have, Nox Player and the Mumu

@VisionR1
Copy link
Author

VisionR1 commented Nov 26, 2023

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
Copy link
Author

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

@HuskyDG
Copy link
Owner

HuskyDG commented Nov 26, 2023

#11 (comment)

@HuskyDG
Copy link
Owner

HuskyDG commented Nov 26, 2023

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
Copy link
Author

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
Copy link
Author

VisionR1 commented Nov 26, 2023

and what about install from Kitsune inside not install correct ?

@HuskyDG
Copy link
Owner

HuskyDG commented Nov 26, 2023

Try adding seclabel u:r:zygote:s0

image

@HuskyDG

This comment was marked as outdated.

@HuskyDG HuskyDG closed this as not planned Won't fix, can't repro, duplicate, stale Nov 26, 2023
@HuskyDG HuskyDG changed the title Emulator Problem Mumu overrides magisk su with built-in su Nov 26, 2023
@HuskyDG HuskyDG changed the title Mumu overrides magisk su with built-in su Mumu blocks magisk su with bind mount Nov 26, 2023
@VisionR1
Copy link
Author

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

image

This work for root

@VisionR1
Copy link
Author

VisionR1 commented Nov 26, 2023

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 HuskyDG changed the title Mumu blocks magisk su with bind mount Magisk magic mount bind mount built-in /system/bin/su su to magisk's mounted simlink su when /system/bin/su exists Nov 27, 2023
@HuskyDG HuskyDG closed this as completed Nov 27, 2023
@HuskyDG HuskyDG changed the title Magisk magic mount bind mount built-in /system/bin/su su to magisk's mounted simlink su when /system/bin/su exists 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 Nov 27, 2023
@HuskyDG
Copy link
Owner

HuskyDG commented Nov 27, 2023

@HuskyDG
Copy link
Owner

HuskyDG commented Nov 27, 2023

Try adding seclabel u:r:zygote:s0

image

To enable zygisk

@VisionR1
Copy link
Author

seclabel u:r:zygote:s0

Thanks with latest and this all working

@VisionR1
Copy link
Author

VisionR1 commented Nov 27, 2023

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
Copy link
Author

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
Copy link
Author

VisionR1 commented Dec 16, 2023

@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

Repository owner locked as resolved and limited conversation to collaborators Dec 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants