sanders: Add DTV Support for XT1802

This commit is contained in:
Jorge Lucas
2020-12-28 12:35:21 -03:00
parent a1ed5fab4f
commit 91f6591de9
6 changed files with 63 additions and 0 deletions

15
configs/check_features.sh Normal file
View File

@@ -0,0 +1,15 @@
#!/sbin/sh
remove_dtv() {
rm /system/system/etc/permissions/com.motorola.hardware.dtv.xml
rm /system/system/etc/permissions/mot_dtv_permissions.xml
rm /system/system/lib*/libdtvtuner.so
rm /system/system/lib*/libdtvhal.so
rm /vendor/lib/modules/isdbt.ko
rm -r /system/system/priv-app/DTVPlayer
rm -r /system/system/priv-app/DTVService
}
if [ $(getprop ro.boot.hardware.sku) != "XT1802" ]; then
remove_dtv
fi