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

準備

  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 即可

參考資料:
http://www.cedar.tk/2014/10/NFC-SIM-(SWP)-on-Nexus-5/#conclusion

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.