From 95bcf66d67403a52dc109fb354867d9677661709 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 176e648..0bb14cf 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -805,3 +805,7 @@ fi if [ "$vndk" -le 27 ];then setprop persist.sys.phh.no_present_or_validate true fi + +if grep -q /mnt/vendor/persist /vendor/etc/fstab.qcom;then + mount /mnt/vendor/persist /persist +fi