Closed Bug 1106193 Opened 7 years ago Closed 7 years ago

[Block][SIMLOCK] It will directly return to the idle without any reminder when input wrong NCK to unlock the SIM LOCK.

Categories

(Firefox OS Graveyard :: General, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: sync-1, Unassigned)

References

Details

(Whiteboard: [POVB])

Attachments

(1 file)

1.95 KB, application/octet-stream
Details
DEFECT DESCRIPTION:
 KO: It returns to Idle without any reminder.User don't know how many remainder time they have.
 
 ZhouQin 0752-2639384(61384)
 
  REPRODUCING PROCEDURES:
 1. Download SIMLOCK version sw7G16+ZU01,
 2. Turn on the Test Device with unmatched SIM card,
 3. Input wrong unlock code,--KO
 
  EXPECTED BEHAVIOUR:
 It should not return to Idle and tell user how many remainder time they have, 
 When input a wrong code, the remainder time should be reduced one by one.
 
  REPRODUCING RATE:100%
 
  ANALYSE:
  Mozilla Gecko layer don't support this feature.
   /**
    * Helper function for fetching the number of unlock retries of ICC locks.
    *
    * We only query the retry count when we're on the emulator. The phones do
    * not support the request id and their rild doesn't return an error.
    */
   iccGetCardLockRetryCount: function(options) {
     ......
 
     if (RILQUIRKS_HAVE_QUERY_ICC_LOCK_RETRY_COUNT) {
       /* Only the emulator supports this request, ... */
       options.selCode = selCode[options.lockType];
       this.queryICCLockRetryCount(options);
     } else {
       /* ... while the phones do not. */
       options.errorMsg = GECKO_ERROR_REQUEST_NOT_SUPPORTED;
       options.success = false;
       this.sendChromeMessage(options);
     }
   },
Hi Gary,
Could you please help to check the problem? Thanks!
Flags: needinfo?(gchen)
Hi Norry,
qawanted for Woodduck 2.0M and Flame 2.0/2.1/2.2. Thanks!
Blocks: Woodduck
blocking-b2g: --- → 2.0M?
Flags: needinfo?(fan.luo)
Keywords: qawanted
(In reply to sync-1 from comment #0)
> DEFECT DESCRIPTION:
>  KO: It returns to Idle without any reminder.User don't know how many
> remainder time they have.
>  
>  ZhouQin 0752-2639384(61384)
>  
>   REPRODUCING PROCEDURES:
>  1. Download SIMLOCK version sw7G16+ZU01,
Hi Reporter,
    May I know it is specific build with SIMLOCK enabled? If yes, please kindly let us know where we could configure it. Thanks. If it's not specific build, should we enable SIMLOCK manually before execute step 2? Thanks a lot.

>  2. Turn on the Test Device with unmatched SIM card,
>  3. Input wrong unlock code,--KO
>  
>   EXPECTED BEHAVIOUR:
>  It should not return to Idle and tell user how many remainder time they
> have, 
>  When input a wrong code, the remainder time should be reduced one by one.
>  
>   REPRODUCING RATE:100%
>  
>   ANALYSE:
>   Mozilla Gecko layer don't support this feature.
>    /**
>     * Helper function for fetching the number of unlock retries of ICC locks.
>     *
>     * We only query the retry count when we're on the emulator. The phones do
>     * not support the request id and their rild doesn't return an error.
>     */
>    iccGetCardLockRetryCount: function(options) {
>      ......
>  
>      if (RILQUIRKS_HAVE_QUERY_ICC_LOCK_RETRY_COUNT) {
>        /* Only the emulator supports this request, ... */
>        options.selCode = selCode[options.lockType];
>        this.queryICCLockRetryCount(options);
>      } else {
>        /* ... while the phones do not. */
>        options.errorMsg = GECKO_ERROR_REQUEST_NOT_SUPPORTED;
>        options.success = false;
>        this.sendChromeMessage(options);
>      }
>    },
Flags: needinfo?(sync-1)
Blocks: Woodduck_P2
Dear Jason,
  Pls provide MTK SIMLOCK file for this bug, thanks.
Flags: needinfo?(fan.luo) → needinfo?(chien-hao.li)
Flags: needinfo?(chien-hao.li) → needinfo?(peng.qi)
Created an attachment (id=1064407)
 sml_nvram_file.rar
 
 The attachment is MTK simlock file.
Created an attachment (id=1064407)
 sml_nvram_file.rar
 
 The attachment is MTK simlock file.
Attached file sml_nvram_file.rar
Created an attachment (id=1064407)
 sml_nvram_file.rar
 
 The attachment is MTK simlock file.
Hi Hubert,
Can you check the SIMLOCK provided? Thanks!
Flags: needinfo?(sync-1)
Flags: needinfo?(peng.qi)
Flags: needinfo?(hlu)
This is POVB. Partner should implement this by themselves.
Status: NEW → RESOLVED
blocking-b2g: 2.0M? → ---
Closed: 7 years ago
Flags: needinfo?(hlu)
Flags: needinfo?(gchen)
Keywords: qawanted
Resolution: --- → WORKSFORME
Whiteboard: [POVB]
Hi Shawn,
Just a reminder, Mozilla need to provide suggestion for this issue. Thanks!
Flags: needinfo?(sku)
Need partner to bridge REQUEST_GET_UNLOCK_RETRY_COUNT (150) with types - "PH-NET PIN", "PH-CORP PIN" or "PH-SP PIN".

And gaia can use below to get the retry counter.
getCardLockRetryCount("nck"), getCardLockRetryCount("cck"), getCardLockRetryCount("spck")


Note:
Refer to below for type definition.
https://github.com/mozilla/gecko-dev/blob/master/dom/webidl/MozIcc.webidl#L196
https://github.com/mozilla/gecko-dev/blob/master/dom/webidl/MozIcc.webidl#L219
https://github.com/mozilla/gecko-dev/blob/master/dom/webidl/MozIcc.webidl#L224
Flags: needinfo?(sku)
Blocks: Woodduck_Blocker
No longer blocks: Woodduck_P2
Pls close it.
Pls close it.
You need to log in before you can comment on or make changes to this bug.