From 5c4c391f947b1bb0ed3d8a9f2148a56fd9841f87 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Fri, 4 Sep 2020 04:39:02 -0700 Subject: [PATCH] Fix typo causing rootfs device bootloops Fix #3134 --- native/jni/init/rootdir.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/native/jni/init/rootdir.cpp b/native/jni/init/rootdir.cpp index c7b1ed41c..d5edc681a 100644 --- a/native/jni/init/rootdir.cpp +++ b/native/jni/init/rootdir.cpp @@ -320,8 +320,8 @@ void SARBase::patch_rootdir() { int magisk_proxy_main(int argc, char *argv[]) { setup_klog(); - auto config = raw_data::read("/sbin/magisk"); - auto self = raw_data::read("/.backup/.magisk"); + auto self = raw_data::read("/sbin/magisk"); + auto config = raw_data::read("/.backup/.magisk"); xmount(nullptr, "/", nullptr, MS_REMOUNT, nullptr);