I am experiencing an issue with Magisk's denylist functionality in a multi-user environment on my OnePlus 8T with Android 13 (LineageOS 20) and Android 15 (LineageOS 22).
Device Specifications:
- Device: OnePlus 8T
- Android Version: 13 & 15 (LineageOS 20 & LineageOS 22)
- Magisk Version: 28.1 & 29.0
I utilize two users on my device: user 0 and user 10. With Magisk 28.1 on Android 13 (LineageOS 20), the denylist in the Magisk app displayed all apps installed by both user 0 and user 10, regardless of whether an app was installed on both or only one user. However, after upgrading to Magisk 29.0 on Android 15 (LineageOS 22), the denylist in user 0 can no longer see apps exclusively installed in user 10.
Curiously, if an app is installed in both users, the denylist settings still function correctly on both sides, as confirmed by typing 'su' in a terminal emulator. The response confirms the set denylist rule either by denying permissions or indicating 'su inaccessible or not found'.
Based on my understanding, the denylist settings in Magisk user 0, acting as the device owner, should encompass permissions for all apps installed on the device, including those in other user accounts. Is this a new behavior implemented in Magisk 29.0 or potentially a bug?
I have attempted to gather further details by examining the 'magisk.log', but no significant changes appear, except for the updated version numbers, Android system app numbers, and the addition of app package names to the denylist.
For troubleshooting, I disabled all Magisk modules and relaunched the Magisk app. The issue persisted.
Additionally, I explored switching the multi-user mode to 'user independent' and reinstalling the Magisk app in user 10. However, it failed to detect root access, even after a reboot.
Please provide insights into whether this is a known issue or a bug. I'd be willing to share the 'magisk.log' if further investigation is required.
This article is created by nurl and is licensed under the Creative Commons Attribution 4.0 International License.
All articles on this site, unless otherwise specified as reprints or sources, are either original works or translations by this site. Please ensure proper attribution before reprinting.