From a266e770e88b67c0eb756b6730ff4132ec57ae01 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 03e6dbc..cab0a11 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -798,3 +798,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