No more sony init.real tricks

Co-authored-by: canyie <a1364259@163.com>
Co-authored-by: vvb2060 <vvb2060@gmail.com>
This commit is contained in:
LoveSy
2024-01-17 15:13:44 +08:00
committed by John Wu
parent a8c2ae223a
commit b6c24a3a8a
5 changed files with 3 additions and 19 deletions
-4
View File
@@ -18,7 +18,6 @@ pub trait MagiskCpio {
const MAGISK_PATCHED: i32 = 1 << 0;
const UNSUPPORTED_CPIO: i32 = 1 << 1;
const SONY_INIT: i32 = 1 << 2;
impl MagiskCpio for Cpio {
fn patch(&mut self) {
@@ -78,9 +77,6 @@ impl MagiskCpio for Cpio {
break;
}
}
if self.exists("init.real") {
ret |= SONY_INIT;
}
ret
}