From c36e6557459820403e50ab127dbcdf0967dbc1f5 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Fri, 4 Jan 2019 00:33:01 +0100 Subject: [PATCH] On Exynos 7870, use old ABI behaviour for RILd --- rw-system.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rw-system.sh b/rw-system.sh index 72715bc..5a4bf81 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -232,4 +232,10 @@ if getprop ro.vendor.build.fingerprint | grep -qE -e ".*(crown|star)[q2]*lte.*" done fi +if getprop ro.hardware |grep -q samsungexynos7870;then + if [ "$vndk" -le 27 ];then + setprop persist.sys.phh.sdk_override /vendor/bin/hw/rild=27 + fi +fi + mount -o bind /mnt/phh/empty_dir /vendor/etc/audio || true