×

Discussion Board

Results 1 to 14 of 14
  1. #1
    Registered User
    Join Date
    Dec 2007
    Posts
    12

    Can unlock none-developer version Nokia6131 NFC phone with Unlock service?

    I have a doubt that Nokia Unlock Service MIDlet can not be used to none-developer version Nokia 6131 NFC phone, isn't it right?

    Last week I met a problem of "no server connection" while using unlock service,
    later, I solved this problem by downloading a new "internet" settings from nokia site.
    But finally a new problem came out with below
    message:
    -----------------------------------------------
    "Unlock process imcompleted!source:
    Unlock process has been executed on this phone."
    ------------------------------------------------

    I bought Nokia6131 NFC phone is not developer
    version, so I doubt that the unlock serice maybe
    not for this version.But in Nokia's related document not mensions that.

    Can give me some advice? is it no way but rebuy a
    Nokia 6131 NFC phone with developer version if I want write some data into secure element?

    Thanx a lot.

  2. #2
    Registered User
    Join Date
    Dec 2007
    Posts
    10

    Unhappy Re: Can unlock none-developer version Nokia6131 NFC phone with Unlock service?

    I have found the same problem when executing the Unlock Midlet
    in my Nokia 6131NFC Software Development version. So I am afraid there has to be another thing.

  3. #3
    Registered User
    Join Date
    Mar 2007
    Posts
    130

    Re: Can unlock none-developer version Nokia6131 NFC phone with Unlock service?

    -----------------------------------------------
    "Unlock process imcompleted!source:
    Unlock process has been executed on this phone."
    ------------------------------------------------

    This means that phone is already unlocked, no need to do it again. So now you can get access to Secure Element of Nokia 6131 NFC.

  4. #4
    Registered User
    Join Date
    Dec 2007
    Posts
    12

    Re: Can unlock none-developer version Nokia6131 NFC phone with Unlock service?

    Thanks!
    To determine if really have unlocked the secure element, I
    write test code like this:
    ---------------------------------------
    // Note: public class MifareRW extends MIDlet

    private byte[] handsetdatakey = {
    (byte)0xFF,
    (byte)0xFF,
    (byte)0xFF,
    (byte)0xFF,
    (byte)0xFF,
    (byte)0xFF
    };
    MFStandardConnection mfstdConn = null;
    try{
    String uri= System.getProperty("internal.mf.url");
    if(uri==null)
    throw new NullPointerException();
    mfstdConn=(MFStandardConnection) Connector.open
    (uri,Connector.READ_WRITE);
    MFSector mfsector = mfstdConn.getSector(1);
    MFBlock mfblock = mfsector.getBlock(1);
    KeyA key= new KeyA(handsetdatakey);
    byte [] readdata = new byte[16];
    int readint = mfblock.read(key,readdata,0,0,16);
    }
    catch(Exception e){
    {}
    }
    finally{
    if(mfstdConn!=null)
    try{
    mfstdConn.close();
    }
    catch(Exception e)
    {}
    }
    But as a result,"com.nokia.nfc.nxp.mfstd.MFStardardException:Read failed" Exception is thrown.How can I make sure that the secure element has been unlocked?
    Last edited by chb; 2008-01-22 at 05:03.

  5. #5
    Registered User
    Join Date
    Oct 2006
    Posts
    182

    Re: Can unlock none-developer version Nokia6131 NFC phone with Unlock service?

    hi chb,

    go thru the unlock midlet readme

    http://wiki.forum.nokia.com/images/0...et_Read_Me.pdf

    after unlocking, the secure-element keyset 42 is set to 4041....4F (for MAC,ENC and DEK keys). so inorder to check whether your secure-element is unlocked properly, try to authenticate your midlet (or a host program running in pc along with a reader like pegoda) with the above specified keys. you should get a respose as 90 00. if you get this response code, you can assure that ur secure-element is unlocked successfully.


    for testing ur phone with external reader,go thru the following link.

    http://forum.java.sun.com/thread.jsp...hreadID=702955

    this program contains the classes and methods from JCOP offcard api, which you can refer and use for authentication.


    while authentication process, "BE CAREFUL". 10 continuous unsuccessful authentications will lock ur phone's secure-element permanenty(ie, TERMINATED state). (also an INITUPDATE without successful EXTERNAL-AUTHENTICATE will count to failure count)


    hope this helps
    Sunil

  6. #6
    Registered User
    Join Date
    Dec 2007
    Posts
    12

    Re: Can unlock none-developer version Nokia6131 NFC phone with Unlock service?

    hi Sunil,
    Thanks your reply!
    Unfortunately using external R/W trying to access the secure element with default key of 4041424344...4f,come back an authentication error such as "The verification of the card cryptogram failed"
    .
    So I am afraid the SE is not unlocked successfully.

    Thanx a lot.

  7. #7
    Registered User
    Join Date
    Oct 2006
    Posts
    182

    Re: Can unlock none-developer version Nokia6131 NFC phone with Unlock service?

    hi chb,

    can you explain more about the current scenario.
    1. which reader are you using.
    2. which software are you using to communicate with secure-element.

    sunil

  8. #8
    Registered User
    Join Date
    Dec 2007
    Posts
    12

    Re: Can unlock none-developer version Nokia6131 NFC phone with Unlock service?

    hi sunil,

    1. which reader are you using.
    -Reader is Omnikey CardMan 5321,

    2. which software are you using to communicate with secure-element.
    -Software is GPShell 1.4.1, and I execute the example sript to communicate with secure-element which GPShell1.4.1 itself has.
    -------------------------
    GPShell.exe Install.txt
    -------------------------
    when execute "open_sc -security 3 -scp 2 -keyver 42 -mac_key 404142434445464748494A4B4C4D4E4F -enc_key 404142434445464748494A4B4C4D4E4F -kek_key 404142434445464748494A4B4C4D4E4F" comannd, it failed and mutual_authentication()returns 0x80302000(The verificatation of the card cryptgram failed.)

    Thanx a lot.

  9. #9
    Registered User
    Join Date
    Oct 2006
    Posts
    182

    Re: Can unlock none-developer version Nokia6131 NFC phone with Unlock service?

    hi chb,

    before executing open_sc, you have to make connection to card using "card_connect" rt? or you just pasted the open_sc portion only?

    also, the gpshell itself contains a install script for 6131nfc phone(helloInstallNokia6131NFC.txt).

    i am not so familiar with gpshell. i am using jcop and pegoda. but from forums i got the information like this. in "card_connect" command, you have to specify the reader name or reader_number.

    Sunil

  10. #10
    Registered User
    Join Date
    Dec 2007
    Posts
    12

    Unhappy Re: Can unlock none-developer version Nokia6131 NFC phone with Unlock service?

    hi sunil,

    Yes, I make connection to card using "card_connect"
    at first, and it succeed.
    I alse used the helloInstallNokia6131NFC.txt.
    but it is same result.
    ------------
    mode_211
    enable_trace
    establish_context
    card_connect -reader "OMNIKEY CardMan 5x21 -CL 0"
    open_sc -security 3 -keyver 42 -mac_key 404142434445464748494A4B4C4D4E4F -enc_key 404142434445464748494A4B4C4D4E4F -kek_key 404142434445464748494A4B4C4D4E4F
    delete -AID a00000006203010c0101
    delete -AID a00000006203010c01
    delete -AID a00000006203010c0101
    install -file HelloWorld.cap -priv 2
    card_disconnect
    release_context

  11. #11
    Registered User
    Join Date
    Oct 2006
    Posts
    182

    Re: Can unlock none-developer version Nokia6131 NFC phone with Unlock service?

    hi chb,

    sorry. i am not so familiar with GPShell. i dont know the cause of your problem. if you got solution, please post here

    sunil

  12. #12
    Registered User
    Join Date
    Nov 2007
    Posts
    4

    Re: Can unlock none-developer version Nokia6131 NFC phone with Unlock service?

    chb, i got the same setup as you, N6131, CM 5321, GPShell.

    The helloInstallNokia6131NFC.txt didn't work for me neither, but everything else does.

    Have you tried another script? Or using gpshell manually?

  13. #13
    Registered User
    Join Date
    Dec 2007
    Posts
    12

    Re: Can unlock none-developer version Nokia6131 NFC phone with Unlock service?

    hi,I already got solution.
    -----------------------------------------------
    "Unlock process imcompleted!source:
    Unlock process has been executed on this phone."
    ------------------------------------------------
    doesn't means that the phone 100% has been unlocked, but maybe unlock failed.
    On my none-developer version Nokia6131 NFC phone, Another service has been installed,which is using Mifare area, and locked it using self key.so Nokia's Unlock service can't work and show that message.

    When i got a new developer version phone, all scripts such as helloInstallNokia6131NFC.txt work fine.

    Thank you.

  14. #14
    Registered User
    Join Date
    Mar 2011
    Posts
    8

    Re: Can unlock none-developer version Nokia6131 NFC phone with Unlock service?

    Hello,

    The service we used for unlock the secure element is Nokia NFC Unlock Service MIDlet but, it never ends because appear the following messages:

    "The process of unlocking the secure element was not completed". "Source HTTP Post Failed".

    We think that is the connection to the 3G (or GPRS) and we try this:

    Preferred access point: internet.comcel.com.co
    "internet" settings from Comcel MMS: Single-shot WEB Comcel 3GSM.

    Also we try that with Movistar that is annother 3G Colombia provider.

    Could someone please help me with this troubles?

Similar Threads

  1. Oct 29, Nokia NFC developer event - Join to connect, Espoo Finland
    By samuuh in forum Near Field Communication
    Replies: 3
    Last Post: 2007-11-14, 10:31
  2. Replies: 0
    Last Post: 2007-11-06, 11:06
  3. 6680 and bluetooth service profiles
    By ceruault in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2005-10-08, 22:24
  4. nokia 7210 modem via IR doesn't work !
    By oussamaaiadi in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-03-06, 10:46

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •