From 9a2b982b7fd1a6886348949a2b58a2406f701c7f Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Mon, 5 Oct 2020 22:12:49 +0200 Subject: [PATCH] Some devices require their vendor mounted to /persist even if fstab says otherwise See https://github.com/phhusson/treble_experimentations/issues/668 --- rw-system.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rw-system.sh b/rw-system.sh index dee5e79..dc0a2f5 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -794,3 +794,7 @@ if getprop ro.bionic.cpu_variant |grep -q kryo300;then fi resetprop ro.control_privapp_permissions log + +if grep -q /mnt/vendor/persist /vendor/etc/fstab.qcom;then + mount /mnt/vendor/persist /persist +fi