mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-12 05:07:45 +02:00
Allow ADB shell to remove modules and reboot
This commit is contained in:
@ -18,6 +18,7 @@ enum {
|
||||
MAGISKHIDE,
|
||||
SQLITE_CMD,
|
||||
BROADCAST_ACK,
|
||||
REMOVE_MODULES,
|
||||
};
|
||||
|
||||
// Return codes for daemon
|
||||
@ -32,6 +33,7 @@ enum {
|
||||
|
||||
int connect_daemon(bool create = false);
|
||||
int switch_mnt_ns(int pid);
|
||||
void reboot();
|
||||
|
||||
// socket.c
|
||||
|
||||
|
Reference in New Issue
Block a user