Proper FBE support
This commit is contained in:
parent
b805b96e16
commit
9a0b26e0b0
@ -1 +1 @@
|
|||||||
Subproject commit b362c0ef3880a0044978de9a5207b4a50f7efc30
|
Subproject commit b4ecd93f1c55eef81b8973c3470af42992833019
|
@ -53,7 +53,6 @@ LOCAL_SRC_FILES := \
|
|||||||
su/su.c \
|
su/su.c \
|
||||||
su/activity.c \
|
su/activity.c \
|
||||||
su/db.c \
|
su/db.c \
|
||||||
su/misc.c \
|
|
||||||
su/pts.c \
|
su/pts.c \
|
||||||
su/su_daemon.c \
|
su/su_daemon.c \
|
||||||
su/su_socket.c
|
su/su_socket.c
|
||||||
|
@ -581,6 +581,8 @@ void post_fs_data(int client) {
|
|||||||
bin_path = "/cache/data_bin";
|
bin_path = "/cache/data_bin";
|
||||||
else if (access("/data/data/com.topjohnwu.magisk/install", F_OK) == 0)
|
else if (access("/data/data/com.topjohnwu.magisk/install", F_OK) == 0)
|
||||||
bin_path = "/data/data/com.topjohnwu.magisk/install";
|
bin_path = "/data/data/com.topjohnwu.magisk/install";
|
||||||
|
else if (access("/data/user_de/0/com.topjohnwu.magisk/install", F_OK) == 0)
|
||||||
|
bin_path = "/data/user_de/0/com.topjohnwu.magisk/install";
|
||||||
if (bin_path) {
|
if (bin_path) {
|
||||||
exec_command_sync("rm", "-rf", DATABIN, NULL);
|
exec_command_sync("rm", "-rf", DATABIN, NULL);
|
||||||
exec_command_sync("cp", "-r", bin_path, DATABIN, NULL);
|
exec_command_sync("cp", "-r", bin_path, DATABIN, NULL);
|
||||||
|
2
jni/su
2
jni/su
@ -1 +1 @@
|
|||||||
Subproject commit c66632227b69ed4ded45518852474592a4b3bca8
|
Subproject commit c912c192e0d03119a14d7b772caa5d77bc4b7999
|
Loading…
Reference in New Issue
Block a user