Hi All,

Thanks to much great help here from posters on this group, I've
managed to get access to the Secure Element on the Nexus S in a form
of card emulation (Mifare 4K).  However, my main aim is to make use if
an NFC enabled UICC SIM card that I have.

For this, I compiled the current Android source build on my OSX Lion
platform and then made the changes as documented elsewhere in the
group.  From this, I can see the SmartMX SE and my UICC SE when I run
the debugger:

09-12 17:17:25.816: DEBUG/NFC JNI(188):
phLibNfc_SE_GetSecureElementList(): SMX detected, handle=0xabcdef
09-12 17:17:25.816: DEBUG/NFC JNI(188):
phLibNfc_SE_GetSecureElementList(): UICC detected, handle=0xabcdf0

I then edited the NfcService to hardcode my UICC SEID instead of the
SmartMX handle and rebuilt.  At this point, I expected to access the
SE in my UICC, but I only see the same SmartMX one (i.e. the card I
emulate when I don't have the UICC inserted).

I even tried changing the code to force only the UICC SE to be enabled
(SE_SetModeActiveDefault / Virtual), but again the SMX SE comes up.

I can write the SMX SE, but only with a fixed key (all zeros), and
when I try and write a different access key to the SE Mifare memory,
it never stores the new access key.  Hence, I'd like to use my UICC
SE, as I assume I can read and write any block as normal.

Any thoughts would be appreciated!

Rob

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to