device_phh_treble/phh-on-data.sh

8 lines
161 B
Bash

#!/system/bin/sh
if getprop persist.sys.phh.no_vendor_overlay |grep -q true;then
for part in odm vendor;do
mount /mnt/phh/empty_dir/ /$part/overlay
done
fi