Open neervanbiqs opened 4 months ago
Same here
I looked at the source code, it turns out that the problem is not in remounting the system partition. The file manager.sh contains the function direct_install_system(), which contains the output of the line "remount system partition as read-write". And then there is a code that fails somewhere and returns 1, that is, an installation error. I compared the script of the new version and the old one and I see the difference that before the Magisk mirror was MIRRORDIR="/dev/sysmount_mirror", and now it is MIRRORDIR="/proc/$$/attr"
What’s interesting is that the Memu with Android 7 installs successfully Magisk Kitsune, but Android 9 doesn’t. I opened RootExplorer and see that in the path /proc/$$/ (where $$ is magisk pid) the attr folder exists in Android 7, but not in Android 9. The attr folder also exists in Nox emulator, where the new magisk is successfully installed. Apparently this is the reason?
Developer, can you tell me how to solve this problem?
Why /proc/$$/attr
doesn't exist?
I just tested, despite the successful installation of Magisk in the Memu Android 7 and Nox 12, after rebooting Magisk shows that it is not installed. I really hope that the developer can solve this problem
I would also be grateful! Well, I am grateful anyway for your great work :) @HuskyDG
Why
/proc/$$/attr
doesn't exist?
And here is Memu Android 7
But after reboot magisk is not installed (even with root enabled)
I downloaded Kali linux, booted it in VBox and attached the HDD of memu. They have some really weird file structure there.
I can only successfully install the old version 26105. But new versions of Kitsune complain about the System partition mounting mode (although if this were so, the old version would not be installed either). In the emulator settings there is permission to write a disc. I can remount the system partition manually using the adb command or RootExplorer, and successfully make changes to it. But this doesn't help, I get the same error. PS I can even remount the System partition before loading the emulator (using the command memuc -i 0 execcmd "mount -o rw,remount /system"), and the Magisk logs will show that the system is rw. But the installation still fails What can I do to work around this problem?
Device: Android version: 9 Magisk version name: Kitsune debug ver Magisk version code: R65C33E4F-kitsune (27001) (D) adb logcat.txt magisk_log_2024-02-13T16.58.29.log magisk_install_log_2024-02-13T16.58.24.log