diff --git a/jni/daemon/bootstages.c b/jni/daemon/bootstages.c index ac99a63aa..6933adcbc 100644 --- a/jni/daemon/bootstages.c +++ b/jni/daemon/bootstages.c @@ -529,6 +529,9 @@ void post_fs_data(int client) { new_img = 1; } + // Initialize resetprop for the daemon + init_resetprop(); + LOGI("* Mounting " MAINIMG "\n"); // Mounting magisk image char *magiskloop = mount_image(MAINIMG, MOUNTPOINT); @@ -685,9 +688,6 @@ void post_fs_data(int client) { bind_mount(HOSTSFILE, "/system/etc/hosts"); } - // Initialize resetprop for the daemon - init_resetprop(); - // Start magiskhide if enabled char *hide_prop = getprop(MAGISKHIDE_PROP); if (hide_prop) {