Add Netflix props for many more devices

This commit is contained in:
ChonDoit 2022-08-18 03:26:36 +00:00 committed by Pierre-Hugues Husson
parent 9f0e48ddcd
commit 747f281b9f

View File

@ -975,16 +975,32 @@ fi
resetprop_phh ro.bluetooth.library_name libbluetooth.so resetprop_phh ro.bluetooth.library_name libbluetooth.so
if getprop ro.vendor.build.fingerprint |grep -iq xiaomi/cepheus -e xiaomi/nabu;then board="$(getprop ro.board.platform)"
if [ "$board" = atoll ] || [ "$board" = sm6250 ]; then
setprop ro.netflix.bsp_rev Q6250-19132-1
fi
if [ "$board" = msmnile ]; then
setprop ro.netflix.bsp_rev Q855-16947-1 setprop ro.netflix.bsp_rev Q855-16947-1
fi fi
if getprop ro.vendor.build.fingerprint |grep -iq xiaomi/elish;then if [ "$board" = sm6150 ]; then
setprop ro.netflix.bsp_rev Q8250-19134-1 setprop ro.netflix.bsp_rev Q6150-17263-1
fi fi
if getprop ro.vendor.build.fingerprint |grep -qi redmi/curtana;then if [ "$board" = mt6768 ]; then
setprop ro.netflix.bsp_rev Q6250-19132-1 setprop ro.netflix.bsp_rev MTK6768-19055-1
fi
if [ "$board" = lahaina ]; then
setprop ro.netflix.bsp_rev Q875-32774-1
resetprop_phh ro.config.media_vol_steps 25
resetprop_phh ro.config.media_vol_default 15
fi
if [ "$board" = universal8825 ];then
setprop ro.netflix.bsp_rev EXYNOS1280-34993-1
fi fi
if getprop ro.vendor.build.fingerprint |grep -qi Nokia/Phoenix;then if getprop ro.vendor.build.fingerprint |grep -qi Nokia/Phoenix;then
@ -994,12 +1010,6 @@ if getprop ro.vendor.build.fingerprint |grep -qi Nokia/Phoenix;then
setprop media.settings.xml "/vendor/etc/media_profiles_vendor.xml" setprop media.settings.xml "/vendor/etc/media_profiles_vendor.xml"
fi fi
if getprop ro.vendor.build.fingerprint |grep -iq xiaomi/renoir;then
setprop ro.netflix.bsp_rev Q875-32774-1
resetprop_phh ro.config.media_vol_steps 25
resetprop_phh ro.config.media_vol_default 15
fi
# Set props for Vsmart Live's fod # Set props for Vsmart Live's fod
if getprop ro.vendor.build.fingerprint |grep -q vsmart/V620A_open;then if getprop ro.vendor.build.fingerprint |grep -q vsmart/V620A_open;then
setprop persist.sys.fp.fod.location.X_Y 447,1812 setprop persist.sys.fp.fod.location.X_Y 447,1812