mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-01-03 21:27:39 +00:00
Ensure Magisk environment normal
This commit is contained in:
parent
a3a1aed723
commit
76c88913f9
@ -694,6 +694,14 @@ void late_start(int client) {
|
|||||||
exec_command_sync("/system/bin/reboot");
|
exec_command_sync("/system/bin/reboot");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (access(BBPATH, F_OK) != 0){
|
||||||
|
LOGE("* post-fs-data mode is not triggered\n");
|
||||||
|
unlock_blocks();
|
||||||
|
magisk_env();
|
||||||
|
prepare_modules();
|
||||||
|
close(xopen(DISABLEFILE, O_RDONLY | O_CREAT | O_CLOEXEC, 0));
|
||||||
|
}
|
||||||
|
|
||||||
auto_start_magiskhide();
|
auto_start_magiskhide();
|
||||||
|
|
||||||
// Run scripts after full patch, most reliable way to run scripts
|
// Run scripts after full patch, most reliable way to run scripts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user