From 21d4d1d8636bdcc50837f58b4cf66100d2a2c87f Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Sat, 16 Jan 2021 01:14:34 -0800 Subject: [PATCH] Remove security patch fixup script This is causing more issues than it fixes. Fixes #1. --- post-fs-data.sh | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100755 post-fs-data.sh diff --git a/post-fs-data.sh b/post-fs-data.sh deleted file mode 100755 index deaff3e..0000000 --- a/post-fs-data.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/system/bin/sh - -set -eufo pipefail - -system_patch="$(getprop ro.build.version.security_patch)" -vendor_patch="$(getprop ro.vendor.build.security_patch)" - -# Fix mismatching security patch levels if vendor patch is not empty -if [[ ! -z "$vendor_patch" ]] && [[ "$system_patch" != "$vendor_patch" ]]; then - resetprop ro.build.version.security_patch "$vendor_patch" - resetprop ro.build.version.real_security_patch "$system_patch" -fi