Comment 0 for bug 1210502

Revision history for this message
Evan (ev) wrote : Not possible to get the IMEI without a SIM

I have a Nexus 4 (mako) without a SIM card. When I try to ask ofono for the SIM card, I don't get one back:

root@ubuntu-phablet:/# /usr/share/ofono/scripts/list-modems
[ /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-phablet:/# od -j 0100000 -N 16 -c /dev/mmcblk0p19
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)