Closed Bug 908591 Opened 12 years ago Closed 12 years ago

[B2G][helix][RIL]We can not get the IMEI by dialing *#06#

Categories

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

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: lecky.wanglei, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:23.0) Gecko/20100101 Firefox/23.0 (Beta/Release) Build ID: 20130814063812 Steps to reproduce: 1. re-flash the image to my phone 2. dial "*#06#" to check the IMEI number when the phone start at the first time 3. use QXDM to check the IMEI (NV550) 4. make factory reset : Setting --> Information ---> MoreInformation ---> reset phone 5. diag "*#06#" to check the IMEI number Actual results: The Actual result of Step2: it shows IMEI : 0 The Actual result of Step3: we can get the actual IMEI number , not "0" The Actual result of Step5: we can get the actual IMEI number , which is same as the IMEI read from QXDM Expected results: I think we need get the correct IMEI through dialing "*#06#" , even if we don't do the factory reset. when we flashing the image to the phone again, the EFS wold be overwrited, and the NV550(IMEI)would be clear. and when its first boot, it will be restored. maybe before it is restored completely, RIL has get the IMEI, and store it to some place, right? how could I analyze and fix this problem? please give me a hand.
If you're able to build Gecko from source, you may turn on debug message by editing gecko/dom/system/gonk/ril_consts.js and set DEBUG_ALL[1] to true. Or, please see bug 820699 for steps to enable RIL debugging messages. [1]: https://mxr.mozilla.org/mozilla-central/source/dom/system/gonk/ril_consts.js#17
Priority: -- → P2
I have found this problem caused by the IMEI restore mechanism. When the first startup, imei is restored into EFS, not sync to emmc. and RIL get deviceInfo before the restore process. So when we dial "*#06#" to get IMEI, it shows "0" (null). As below descrition, the EFS doesn't sync to eMMC. and we set the automaticlly sync timer as 600S. so once we reboot/shutdown the phone in 600S, the IMEI will be drop again , repeat this process at the next bootup. we just need to sync efs once the imei changed.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Resolution: INVALID → WORKSFORME
You need to log in before you can comment on or make changes to this bug.