bad4131180
This is controlled through persist.sys.phh.caf.media_profile system_server loads this file, so it requires a reboot to apply
12 lines
300 B
Bash
12 lines
300 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
|
|
|
|
if getprop persist.sys.phh.caf.media_profile |grep -q true;then
|
|
setprop media.settings.xml "/vendor/etc/media_profiles_vendor.xml"
|
|
fi
|