mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-28 17:47:38 +00:00
Use a binary that exists on all devices for hijacking
This commit is contained in:
parent
68532fade3
commit
c94f9e1cc9
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user