Closed IcyColdified closed 9 months ago
Thanks I wasn't aware of this and can't find documentation about it Do you know if there is some shell command to deal with this sulist?
Thanks I wasn't aware of this and can't find documentation about it Do you know if there is some shell command to deal with this sulist?
Never made a magisk module, but for Magisk Delta:
# magiskhide
MagiskHide Config CLI
Usage: magiskhide [action [arguments...] ]
Actions:
status Return the MagiskHide status
enable Enable MagiskHide
disable Disable MagiskHide
add PKG [PROC] Add a new target to the hidelist (sulist)
rm PKG [PROC] Remove target(s) from the hidelist (sulist)
ls Print the current hidelist (sulist)
exec CMDs... Execute commands in isolated mount
namespace and do all unmounts
Magisk Delta specific Actions:
sulist Return the SuList status
sulist [enable|disable]
Enable or disable SuList (need reboot)
version Print MagiskHide version
--do-unmount [PID...]
Unmount all Magisk modifications
directly [in another namespace...]
# magiskhide sulist
SuList is enforced
# magiskhide add com.android.bluetooth
Target already exists in hidelist
Not sure if a magisk module can access magiskcli, but hope this helps.
As the title says, su needs to be mounted on 'com.android.bluetooth' for Magisk forks that has 'sulist' feature such as Magisk Delta.
Would be great if you mentioned this on the README. Thanks.