From 94d3daeadf40efdcb8a113ec12f7659305ab37e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AE=8B=E9=A1=B5?= Date: Wed, 17 Jan 2024 14:03:27 +0800 Subject: [PATCH] Fix Sony init.real check --- native/src/boot/ramdisk.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/src/boot/ramdisk.rs b/native/src/boot/ramdisk.rs index 5662e3c6f..b0c51425e 100644 --- a/native/src/boot/ramdisk.rs +++ b/native/src/boot/ramdisk.rs @@ -78,7 +78,7 @@ impl MagiskCpio for Cpio { break; } } - if self.exists("init.sony.rc") { + if self.exists("init.real") { ret |= SONY_INIT; } ret