sm8250-common: Switch to OSS NQ NFC

* Let's just use the OnePlus 8 Pro EU NFC configurations
   for everyone, they match the OnePlus 8/8T EU configurations
   so it should be fine.

Test: Verified NFC turns on, can read tags, and went
      to a Dunkin Donuts and used Google Pay.

Change-Id: I1478c92dba58209098f4d4ea37fcc2bceb3f4473
This commit is contained in:
Alexander Koskovich
2022-04-13 17:43:50 -07:00
committed by LuK1337
parent bb4f40464c
commit 49134dd07a
4 changed files with 38 additions and 80 deletions

View File

@@ -66,6 +66,10 @@ function blob_fixup() {
system_ext/lib64/libwfdnative.so)
sed -i "s/android.hidl.base@1.0.so/libhidlbase.so\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00/" "${2}"
;;
vendor/etc/libnfc-mtp-SN100.conf)
sed -i "s/^NXP_RF_CONF_BLK_9/#NXP_RF_CONF_BLK_9/" "${2}"
sed -i "s/^NXP_RF_CONF_BLK_10/#NXP_RF_CONF_BLK_10/" "${2}"
;;
vendor/lib64/hw/com.qti.chi.override.so)
"${SIGSCAN}" -p "9B 2B 04 94" -P "1F 20 03 D5" -f "${2}"
"${SIGSCAN}" -p "46 23 04 94" -P "1F 20 03 D5" -f "${2}"