topjohnwu / Magisk

The Magic Mask for Android
GNU General Public License v3.0
48.9k stars 12.56k forks source link

[nougat] Magisk loses root since 26 on nougat by simply switching tabs in MM #8573

Open Ph0rk0z opened 3 days ago

Ph0rk0z commented 3 days ago

Device: vs995 (LGV20) Android version: 7.0 Nougat Magisk version name: 28001 Magisk version code: 28001

Am stuck running rom based on carrier for volte support. It is odexed and doesn't boot when I deodex it or even any of the framework. Need xposed of some sort to sign microg. Using magisk 23.0 root is fine. Newer magisk all lose root when wifi is connected/enabled or simply when I go to magisk manager and switch between superuser and logs button a few times. After that log is empty and no apps have superuser.

I have tried from 26-28 all without success. Cannot see any error in logcat. If I never open MM root seems fine for a while. Thought it was related to zygisk but it's not. Have heard rumor that it's related to MK2000 kernel but don't see how since it works from boot if untouched. How can I troubleshoot this further, I'd really like to be able to use newer magisk and modules, don't care about detectability, just root management.

canyie commented 3 days ago

Hello, yeah, it's me again... This looks like a duplicate of #6914 ?

Ph0rk0z commented 2 days ago

That does sound like the likely reason. Kernel isn't AOSP though. I guess it's not fixable.