Closed
Bug 1151691
Opened 9 years ago
Closed 9 years ago
[Nexus 5] Settings > Device Information does not display correct Phone Number of SIM card
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: pmathur, Unassigned)
Details
(Whiteboard: [2.2-nexus-5-l])
Attachments
(4 files)
Steps to reproduce 1. Insert SIM card and launch the Settings app on the Nexus 5 device. 2. Go to Device Information and look at the Phone Number. Expected Results The correct phone number associated with the SIM card is displayed. Actual Results An incorrect phone number is displayed. When the Nexus 5 makes an outgoing call, the correct phone number is displayed in the Dialer app of the receiving phone. Reproducibility I have only one micro SIM with me, which is on the AT&T network. I don't know if this reproduces on another SIM card with another carrier. Test Environment Gaia-Rev a6351e1197d54f8624523c2db9ba1418f2aa046f Gecko-Rev https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/c3335a5d3063 Build-ID 20150406002503 Version 37.0 Device-Name hammerhead FW-Release 5.0 FW-Incremental eng.cltbld.20150406.035814 FW-Date Mon Apr 6 03:58:30 EDT 2015 Bootloader HHZ12d
Comment 1•9 years ago
|
||
Hi Parul, Could you help to get a RIL log for this case, and is that looks okay on Flame? Thanks. P.S. SIM cards in Taiwan usually do not have phone number coded in them. We usually get "Unknown" under Phone Number.
Flags: needinfo?(pmathur)
Comment 2•9 years ago
|
||
The phone number have been displayed in Device information of Nexus 5, but it can't display country area code. Please see 2015-04-07-14-42-38.png. Fail rate:5/5 Nexus 5_2.2 version: Build ID 20150406002503 Gaia Revision a6351e1197d54f8624523c2db9ba1418f2aa046f Gaia Date 2015-04-03 22:06:41 Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/c3335a5d3063 Gecko Version 37.0 Device Name hammerhead Firmware(Release) 5.0 Firmware(Incremental) eng.cltbld.20150406.035757 Firmware Date Mon Apr 6 03:58:14 EDT 2015 Bootloader HHZ12d
Comment 3•9 years ago
|
||
Updated•9 years ago
|
Whiteboard: [2.2-nexus-5-l]
Reporter | ||
Comment 4•9 years ago
|
||
Eric, it looks ok on flame as well as aries (Sony Xperia Z3C) device. Both devices show the country code and correct phone number. Attached log with ril debugger enabled.
Flags: needinfo?(pmathur)
Comment 5•9 years ago
|
||
(In reply to Parul Mathur [:pragmatic] from comment #4) > Created attachment 8589423 [details] > 1151691-adb-ril-logcat.txt > > Eric, it looks ok on flame as well as aries (Sony Xperia Z3C) device. Both > devices show the country code and correct phone number. Attached log with > ril debugger enabled. Hi, I don't see messages about "iccinfo" or "msisdn". Could you capture the log again? You probably need to record the log from start of boot.
Flags: needinfo?(pmathur)
Updated•9 years ago
|
Component: Gaia::Settings → RIL
Reporter | ||
Comment 6•9 years ago
|
||
Attached adb logcat with ril-related debug flags turned on. Repeated steps in Comment 0. Magic happened. Functionality now working as expected. Bug could not be reproduced. == Steps to enable debug flags of ril, mms, network in runtime == Go to https://github.com/bevis-tseng/Debug_Tools and download script "enable_debug_flags.sh". adb root chmod +x enable_debug_flags.sh ./enable_debug_flags.sh Wait for B2G restarting complete. == Steps to capture the packets in the devices == Go to https://github.com/bevis-tseng/Debug_Tools and download binary "tcpdump". Install attached tcpdump command into test device: adb remount; adb push tcpdump system/bin/;adb shell chmod 777 /system/bin/tcpdump Start capturing tcpdump: adb shell tcpdump -i any -p -s 0 -w /data/capture.pcap error: only position independent executables (PIE) are supported. http://dan.drown.org/android/ Q: What does the error "error: only position independent executables (PIE) are supported" mean? A: Android 5.0 brought the requirement that only executables compiled with the -fPIE flag. These packages were compiled for Android 4.4 and earlier, so they won't work on 5.0.
Flags: needinfo?(pmathur)
Reporter | ||
Comment 7•9 years ago
|
||
Attached screenshot of Phone Number in Settings > Device Information which matches the actual phone number of the SIM card.
Reporter | ||
Updated•9 years ago
|
Status: NEW → RESOLVED
blocking-b2g: 2.2? → ---
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•