[rilmodem] Not possible to get the IMEI without a SIM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
touch-preview-images |
Fix Released
|
High
|
Tony Espy | ||
ofono (Ubuntu) |
Fix Released
|
High
|
Tony Espy |
Bug Description
I have a Nexus 4 (mako) without a SIM card. When I try to ask ofono for the IEMI, I don't get one back:
root@ubuntu-
[ /ril_0 ]
Features =
Emergency = 0
Powered = 0
Lockdown = 0
Interfaces =
Online = 0
Type = hardware
It's definitely not busted though, as I can get it through other means:
root@ubuntu-
0100000 x x x x 3 6 0 5 8 3 6 x x x x \0
0100020
This is known:
[13:16:43] <rsalveti> ev: it works fine, but you need a sim card atm
[13:17:05] <ev> rsalveti: hmm, why? The IMEI isn't tied to a SIM.
[13:17:16] <rsalveti> ev: I know, bug from our code
[13:18:11] <rsalveti> don't think we have one yet, we discussed it yesterday, and would need a few changes in ofono as we're not starting the modem if the sim card is not available (our current logic)
Related branches
- Tony Espy: Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 867 lines (+277/-149)7 files modifieddrivers/rilmodem/call-volume.c (+3/-0)
drivers/rilmodem/network-registration.c (+5/-0)
gril/gril.c (+96/-70)
gril/grilrequest.c (+16/-0)
gril/grilrequest.h (+4/-0)
plugins/ril.c (+99/-79)
unit/test-grilrequest.c (+54/-0)
description: | updated |
summary: |
- Not possible to get the IMEI without a SIM + [rilmodem] Not possible to get the IMEI without a SIM |
Changed in ofono (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Tony Espy (awe) |
Changed in touch-preview-images: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in touch-preview-images: | |
status: | In Progress → Fix Released |
IMEI is exposed as the the top-level 'SerialNumber' property. I'm currently working on an update to the ofono/rilmodem code which should provide 'SerialNumber' on supported RIL-based devices irregardless of SIM availability. I just confirmed that this works on maguro sans SIM.