Use a binary that exists on all devices for hijacking

This commit is contained in:
topjohnwu 2020-04-20 04:27:25 -07:00
parent 68532fade3
commit c94f9e1cc9

View File

@ -74,7 +74,7 @@ void FirstStageInit::prepare() {
} }
#define INIT_PATH "/system/bin/init" #define INIT_PATH "/system/bin/init"
#define REDIR_PATH "/system/bin/adbd" #define REDIR_PATH "/system/bin/am"
void SARFirstStageInit::prepare() { void SARFirstStageInit::prepare() {
int pid = getpid(); int pid = getpid();