讓 Nexus 5 也可以使用 NFC-SIM 卡

JerryLin
JerryLin
Aug 29, 2017 · 3 min read

準備

  1. root
  2. 備份 /system/etc/libnfc-brcm.conf
    /system/etc/libnfc-brcm-20791b05.conf 這兩個檔案

方法

1. 修改 /system/etc/libnfc-brcm.conf

加上 #,註解 NFA_MAX_EE_SUPPORTED=0

#NFA_MAX_EE_SUPPORTED=0

加上 #,註解 ACTIVE_SE=0x0

#ACTIVE_SE=0x0

去掉 #,啟用 UICC

ACTIVE_SE=0xF3

加上於檔案最後

###############################################################
# Route technologies to UICC
DEFAULT_ISODEP_ROUTE=0xF3

2. 修改 /system/etc/libnfc-brcm-20791b05.conf

加上 #,註解第 29 行

#NFA_DM_START_UP_CFG={45:CB:01:01:A5:01:01:CA:17:00:00:00:00:06:00:00:00:00:0F:00:00:00:00:E0:67:35:00:14:01:00:00:10:B5:03:01:02:FF:80:01:01:C9:03:03:0F:AB:5B:01:00:B2:04:E8:03:00:00:CF:02:02:08:B1:06:00:20:00:00:00:12:C2:02:00:C8}

去掉第 32 行 # 啟用

NFA_DM_START_UP_CFG={45:CB:01:01:A5:01:01:CA:17:00:00:00:00:06:00:00:00:00:0F:00:00:00:00:E0:67:35:00:14:01:00:00:10:B5:03:01:03:FF:80:01:01:C9:03:03:0F:AB:5B:01:02:B2:04:E8:03:00:00:CF:02:02:08:B1:06:00:20:00:00:00:12:C2:02:01:88}

3. 修改兩個檔案權限為 rw-r-r-

rw-r-r-

4. 關閉 NFC 後,重新開機再啟用 NFC 即可


)
Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade