Nokia 6212: Unlocking the Secure Element

In order to install your own Java Card Applets on to the Nokia 6212 Secure Element (SE) you will need to either talk to the TSM (Trusted Service Manager)(Venyon is the TSM for Nokia phones), OR, you can permanently unlock the SE by using Nokia’s UnlockMidlet (You will need to register to download. Registration is free).

First some warnings:

The unlock operation is PERMANENT, and cannot be undone.

After unlocking, no TSM will ever trust your secure element anymore, EVER (because you and other people now have access to the default keys).

If authentication fails more than 1o times in a row, the card manager will be locked, and you will not be able to install or delete any Applet to/from the SE.

Unlocking should only be performed if you want to use your phone for development or testing purposes.

You have been warned!

The UnlockMidlet establishes a secure (encrypted) connection between your SE and a Nokia server. The server will then communicate with your SE and set keyset 42 to the default keys (MAC/ENC/DEK = 404142434445464748494a4b4c4d4e4f), and the Mifare card emulation authentication keys (both key A and B) to FFFFFFFFFFFF.

Step by step:

Download UnlockMidlet

Upload to phone, using either bluetooth or micro-USB cable (in PC Suite mode)

At this point the unlock operation might fail due to “No Server Connection” (at least that happend to me). No matter how I configured the packet data settings, the UnlockMidlet always failed with “No Server Connection”.

However, there is another solution to unlock the SE, by using the SDK Emulator and a OmniKey Cardman 5321 reader:

11 responses to “Nokia 6212: Unlocking the Secure Element”

interesting post. As I have no SIM card in my Nokia 6212, I tried to unlock the secure element with the SDK and the Omnikey reader as you described. But I get the error “no card connection”. Any ideas, what might be wrong?

I want to access the mifare region in nokia 6212. Can you please let me know even for this i need to first use the unlock midlet. I have been unable to authenticate the emulated mifare 4k region . I used the default keys of 0xFF’s. But it failed. I have not used the unlock midlet.

I used the second way you proposed to Unlock the SE and it said “Unlock Successful !”. But when I tried to upload applet to the Nokia 6212, it said “Authentication Failed ” error ! Does anyone face the same problem ? Please help me !

Helloo,
I am getting this error “The process of unlocking the Secure Element was not completed. Source: Could not read phone info”
when running the unlock midlet.
How can i solve this problem ? please help😦

hello
I get this error message “The process of unlocking the Secure Element was not completed. Source: Could not read phone info”
when running the unlock midlet.
How can i solve this problem ?
pls help me😦

I have tried the both methods to unlock the secure element of the NOKIA 6212. Here are my results :

After a lot of “no server connection” issues, I managed to connect (A Sim Card is needed) and to recover another error : “Incorrect SSL server certificate”. It sounds very strange. It seems I have to re-sign the midlet but I have no available certificate. Is this error sound familiar to you ?

For the second method, I have tried on Xp with JRE 6 and 5. Then I have the error “Smart Card Communication error 0x80100017” in the terminal. I had to add MVS71.dll or something like that manually in the System32 folder. So I get the message “No Card Connection” with the midlet, indeed.