• topjohnwu's avatar
    Re-implement duplicate Magisk Manager logic · e6c1dd53
    topjohnwu authored
    Starting from the next Magisk release, it will no longer prefer the package name com.topjohnwu.magisk over a hidden manager; it will always be aware whether the hidden manager exists, so when a package named com.topjohnwu.magisk is installed alongside with the hidden manager, com.topjohnwu.magisk will not have root access by default.
    This will prevent malware from using the package name com.topjohnwu.magisk to gain root access when a user is using a hidden manager.
    To support this new behavior, several changes has to be done:
    - Never grant com.topjohnwu.magisk in Magisk Manager (if it IS the actual manager, MagiskSU will grant it by default)
    - While hidden, remove com.topjohnwu.magisk if exists
    - Restore Magisk Manager (unhide) has to be done with root
    - Upgrading Magisk Manager should preserve package name (implemented in a9496413)
    e6c1dd53
Name
Last commit
Last update
..
BootReceiver.java Loading commit data...
ManagerUpdate.java Loading commit data...
PackageReceiver.java Loading commit data...
RebootReceiver.java Loading commit data...
ShortcutReceiver.java Loading commit data...