diff --git a/native/jni/init/init.cpp b/native/jni/init/init.cpp index c95b29fdb..c1b56dd9e 100644 --- a/native/jni/init/init.cpp +++ b/native/jni/init/init.cpp @@ -215,7 +215,7 @@ int main(int argc, char *argv[]) { init = make_unique(argv, &cmd); } else { decompress_ramdisk(); - if (access("/sbin/recovery", F_OK) == 0) + if (access("/sbin/recovery", F_OK) == 0 || access("/system/bin/recovery", F_OK) == 0) init = make_unique(argv, &cmd); else if (access("/apex", F_OK) == 0) init = make_unique(argv, &cmd);