From e3c3f6cec29128cdcb65850700043d127140a2b5 Mon Sep 17 00:00:00 2001 From: penn5 Date: Fri, 4 Jan 2019 13:46:14 +0000 Subject: [PATCH] Add huawei nfc fix thanks to @haky86 :+1: --- rw-system.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rw-system.sh b/rw-system.sh index f562774..6f1857a 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -225,4 +225,10 @@ if getprop ro.vendor.build.fingerprint | grep -qE -e ".*(crown|star)[q2]*lte.*" done fi +if getprop ro.vendor.build.fingerprint |grep -iq -E -e 'huawei|honor' || getprop persist.sys.overlay.huawei |grep -iq -E -e 'true' ; then + mount -o bind /product/etc/nfc/libnfc-nxp_*_*.conf /system/etc/libnfc-nxp.conf + mount -o bind /product/etc/nfc/libnfc_brcm_*_*.conf /system/etc/libnfc-brcm.conf + mount -o bind /system/phh/libnfc-nci-huawei.conf /system/etc/libnfc-nci.conf +fi + mount -o bind /mnt/phh/empty_dir /vendor/etc/audio || true