Closed Bug 1120070 Opened 11 years ago Closed 11 years ago

[FFOS2.0][Woodduck][SIMLOCK]When insert one SIM card in Dualsim mobile, the mobile can't popup NCK prompt message on FTU app.

Categories

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

defect

Tracking

(blocking-b2g:-, b2g-v2.0 affected, b2g-v2.0M affected, b2g-v2.1 affected, b2g-v2.2 affected, b2g-master affected)

RESOLVED INVALID
blocking-b2g -
Tracking Status
b2g-v2.0 --- affected
b2g-v2.0M --- affected
b2g-v2.1 --- affected
b2g-v2.2 --- affected
b2g-master --- affected

People

(Reporter: sync-1, Unassigned)

References

Details

Attachments

(5 files)

Created an attachment (id=1110959) mtklog_dualsim_insert_onesim Test Steps: 1. Prepare a dualsim mobile with network-lock(simlock). 2. Only insert one simcard. 3. Power on the mobile, the FTU app can't prompt NCK interface. --- it isn't ok. 4. Entry idle, the Dail app can prompt NCK interface. --- it is ok.
Attached patch simlock_log.diffSplinter Review
Hi Sync-1, Please see the patch added some log to trace what's the cardstate, and could you help to try the following cases? 1. the mobile with both N lock for two slots and the mobile without sim cards. 2. the mobile with both N lock for two slots and the mobile with only one sim card. (Please MUST NOTE which card slot is placed.) Let's see the log and figure out what's the root cause.
Flags: needinfo?(sync-1)
Blocks: Woodduck
blocking-b2g: --- → 2.0M?
(In reply to Sean Lee [:seanlee] from comment #3) > Created attachment 8547390 [details] [diff] [review] > simlock_log.diff > > Hi Sync-1, > > Please see the patch added some log to trace what's the cardstate, > and could you help to try the following cases? > 1. > the mobile with both N lock for two slots and the mobile without sim cards. > > 2. > the mobile with both N lock for two slots and the mobile with only one sim > card. > (Please MUST NOTE which card slot is placed.) > > Let's see the log and figure out what's the root cause. Dear Sean, Merge your diff code, the mobile can't poweron.
Flags: needinfo?(sync-1) → needinfo?(selee)
Dear Sean, I delete the following code, the mobile can power on. console.log('LOG_LOCKSIM init icc0.cardState: ' + self.icc0 ? self.icc0.mozIcc.cardState : null); console.log('LOG_LOCKSIM init icc1.cardState: ' + self.icc1 ? self.icc1.mozIcc.cardState : null);
Attached file log.zip
Dear Sean, I modified the code and catched the log. gaia.diff ------ diff code mtklog_no_simcard/ ------ no simcard log mtklog_only_insert_simcard2/ ------ only insert simcard2 log
Dear Sean, My diff code have bug, remove my code, the dual simcard simlock work rightly. Pls close this bug, thanks.
Attached patch patch_log.diffSplinter Review
Hi Tao, Thanks for your effort. I found why it can't boot normally and provide a new patch to fix the log statement. Go back to the issue... I think the card state is correct after checking the log, but SimManager.handleCardState should launch unlock screen for icc1. So I prepare the patch to see whether SimManager.handleCardState is called by FTU. Please help to try it. Thank you.
Flags: needinfo?(selee)
Please ignore my comment 8. Thanks.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Please see comment 7, so we close the issue.
blocking-b2g: 2.0M? → -
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: