Ask / Submit
3

Even with SIM inserted, Sony Xperia X says "No SIM card inserted" (F5122)

asked 2018-05-16 18:27:32 +0300

hammerhead gravatar image

updated 2018-05-17 01:46:26 +0300

I recently removed and inserted my SIM card. Since it never was able to connect to the cell provider, I went to Setting > SIM cards and unchecked the glowing dot next to it.

Suddenly the entry disappeared completely, leaving me with the screen just saying No SIM card inserted.

I tried rebooting, using different SIM cards from different providers that were working just fine, using the secondary SIM card slot, ... all to no avail.

So my final idea is that some config file must have been "damaged". I checked /default.prop and /etc/ofono/ril_subscription.conf, but they seem to be okay.

Where else could I investigate?

Any other ideas on how to rectify the issue (preferably without a factory reset) ?

Outputs of certain commands follow for debugging purposes*

# journalctl -u ofono

-- Logs begin at Wed 2018-05-16 18:14:39 -03. --
May 16 19:36:46 Sailfish systemd[1]: Stopping Telephony service...
May 16 19:36:46 Sailfish ofonod[1505]: Terminating
May 16 19:36:46 Sailfish systemd[1]: Stopped Telephony service.
May 16 19:36:46 Sailfish systemd[1]: Starting Telephony service...
May 16 19:36:46 Sailfish systemd[1]: Started Telephony service.
May 16 19:36:46 Sailfish ofonod[25973]: oFono version 1.20
May 16 19:36:46 Sailfish ofonod[25973]: Excluding udev hardware detection
May 16 19:36:46 Sailfish ofonod[25973]: Excluding Novatel modem driver
May 16 19:36:46 Sailfish ofonod[25973]: Excluding Sierra modem driver
May 16 19:36:46 Sailfish ofonod[25973]: Excluding ZTE modem driver
May 16 19:36:46 Sailfish ofonod[25973]: Excluding Icera modem driver
May 16 19:36:46 Sailfish ofonod[25973]: Excluding Huawei modem driver
May 16 19:36:46 Sailfish ofonod[25973]: Excluding Calypso modem driver
May 16 19:36:46 Sailfish ofonod[25973]: Excluding MBM modem driver
May 16 19:36:46 Sailfish ofonod[25973]: Excluding Telit modem driver
May 16 19:36:46 Sailfish ofonod[25973]: Excluding HSO modem driver
May 16 19:36:46 Sailfish ofonod[25973]: Excluding Infineon modem driver
May 16 19:36:46 Sailfish ofonod[25973]: Excluding STE modem driver
May 16 19:36:46 Sailfish ofonod[25973]: Excluding Dialup modem driver
May 16 19:36:46 Sailfish ofonod[25973]: Excluding SpeedUp modem driver
May 16 19:36:46 Sailfish ofonod[25973]: Excluding Phone Simulator driver
May 16 19:36:46 Sailfish ofonod[25973]: Excluding CDMA AT modem driver
May 16 19:36:46 Sailfish ofonod[25973]: Excluding External Hands-Free Profile Plugin
May 16 19:36:46 Sailfish ofonod[25973]: Excluding Dial-up Networking Profile Plugins
May 16 19:36:46 Sailfish ofonod[25973]: Excluding CDMA provisioning Plugin
May 16 19:36:46 Sailfish ofonod[25973]: RIL1 version 11

# systemctl status ofono -l

● ofono.service - Telephony service
   Loaded: loaded (/lib/systemd/system/ofono.service; disabled; vendor preset: enabled)
   Active: active (running) since Wed 2018-05-16 19:36:46 -03; 7min ago
 Main PID: 25973 (ofonod)
   CGroup: /system.slice/ofono.service
           └─25973 /usr/sbin/ofonod -n --nobacktrace --noplugin=,he910,dun_gw_bluez5,hfp_bluez5,cdma_provision,isimodem,n900,u8500,qmimodem,gobi,cdmamodem,isiusb,nwmodem,ztemodem,iceramodem,huaweimodem,calypsomodem,swmodem,mbmmodem,hsomodem,ifxmodem,stemodem,dunmodem,speedupmodem,phonesim,telitmodem,udev,udevng
edit retag flag offensive close delete

Comments

Have you checked ofono output as here: link text

aspergerguy ( 2018-05-16 21:49:37 +0300 )edit

@aspergerguy I've added corresponding outputs to the description.

hammerhead ( 2018-05-17 01:47:02 +0300 )edit

2 Answers

Sort by » oldest newest most voted
7

answered 2018-05-17 13:47:40 +0300

bruce_one gravatar image

My phone had a similar issue and I was able to fix it by removing /var/lib/ofone (iirc) and recreating it with radio:radio as the owner, eg:

systemctl stop ofono.service
mv /var/lib/ofono{,.bck}
mkdir  /var/lib/ofono
chown -R radio:radio /var/lib/ofono
systemctl start ofono.service

(I think I rebooted as well for good measure...)

edit flag offensive delete publish link more

Comments

1

You. Are. My. Personal. Hero. I think I love you :D

hammerhead ( 2018-05-17 14:02:20 +0300 )edit

Same here - thanks a lot, rebooting, reinserting, flight mode... nothing did help... But this "workaround" did it

jollaticktack ( 2018-05-18 20:51:28 +0300 )edit
1

answered 2018-05-17 09:10:19 +0300

luchmhor gravatar image

it may be that you have to reflash android, try if the sim works there and afterwards reinstall sailfish again.

edit flag offensive delete publish link more

Comments

Exactly what I have done here ... It solved my pb .... Hope it helps.

Cube ( 2018-05-17 12:36:12 +0300 )edit
Login/Signup to Answer

Question tools

Follow
4 followers

Stats

Asked: 2018-05-16 18:27:32 +0300

Seen: 479 times

Last updated: May 17