You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
fix: ReZygisk break after first boot
This commit fixes the issue where ReZygisk would break after rebooting after first boot after flash.
This commit is contained in:
@@ -4,10 +4,6 @@
|
||||
#include "utils.hpp"
|
||||
#include "daemon.h"
|
||||
|
||||
#define CUSTOM_TMP_PATH 0
|
||||
#define SBIN_AS_TMP_PATH 1
|
||||
#define DEBUG_RAMDISK_AS_TMP_PATH 2
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
zygiskd::Init("/data/adb/rezygisk");
|
||||
|
||||
|
||||
@@ -28,6 +28,10 @@ create_sys_perm() {
|
||||
|
||||
export TMP_PATH=/data/adb/rezygisk
|
||||
|
||||
if [ -d $TMP_PATH ]; then
|
||||
rm -rf $TMP_PATH
|
||||
fi
|
||||
|
||||
create_sys_perm $TMP_PATH
|
||||
|
||||
if [ -f $MODDIR/lib64/libzygisk.so ];then
|
||||
|
||||
Reference in New Issue
Block a user