Allow ADB shell to remove modules and reboot

This commit is contained in:
topjohnwu
2019-09-13 03:14:21 -04:00
parent 86bfb22d4c
commit e31e687602
4 changed files with 60 additions and 45 deletions

View File

@ -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