1

I'm trying to get the UID of my Galaxy S4 and i noticed that after turning on my S4 has a new UID.

Is there an option to set a static UID ?

Thanks in advance.

Michael Roland
  • 39,663
  • 10
  • 99
  • 206
mrvnagstn
  • 25
  • 4

1 Answers1

0

No, there is no API that permits you to set a static UID on the Galaxy S4.

However, depending on whether the Broadcom NFC controller supports this (there's no public information available about this) it might be possible to set a static anti-collision identifier when setting up the card emulation gate though NCI (NFC Controller Interface, see NFC Forum specifications). However, you would certainly need to create your own Android firmware with a modified libnfc-nci to do that.

UPDATE:
The Broadcom NFC controller does support setting arbitrary static UID values. See this answer for further information.

Community
  • 1
  • 1
Michael Roland
  • 39,663
  • 10
  • 99
  • 206
  • Really exciting, the S4 doesnt work with Mifare Classic 1K Cards, they have another standard for NFC-Tags, but with the new S5 it works :o – mrvnagstn Apr 30 '14 at 09:26