Contact app / telephone history

Maybe I was doing something wrong on my C2 but it didn’t work for me. I had to use terminal.

Yes, got this sometimes, too.

just as info, restart network has no effect as it only restarts connman, wpa_supplicant and modules

see here:
https://github.com/sailfishos/sailfish-utilities/blob/master/tools/restart_network.sh

adding something for ofono thingy shouldnt be difficult (but first someone should test if it actually fixes anything)

3 Likes

you could do the following (but this is a ugly hack)

add restart of ofono to e.g. restart network in the utilites:

[defaultuser@MotoG2ndGen sailfish-utilities]$ cat restart_network.sh
#!/bin/sh

function warning {
    echo "`basename $0`: Warning: ${@:1}" 1>&2;
}

function service_do {
    if systemctl $1 $2; then
        return 0;
    else
        warning "Status $?" "on $1 $2" ${@:3}
        return 1;
    fi
}

service_do stop connman.service
service_do stop wpa_supplicant.service
service_do restart wlan-module-load.service
service_do start wpa_supplicant.service
service_do start connman.service
# nasty hack: added 30.09.2025 by user, restart ofono
service_do restart ofono.service
[defaultuser@MotoG2ndGen sailfish-utilities]$ pgrep ofono
996
[defaultuser@MotoG2ndGen sailfish-utilities]$ pgrep ofono
23250
[defaultuser@MotoG2ndGen sailfish-utilities]$

basically just add the last line to restart_network.sh in /usr/share/sailfish-utilities/restart_network.sh
after that using the button also restarts ofono (see new proc id)

! make backup of the file (or folder) first !

3 Likes

nice of you that you think I could do that :wink:. I’m no IT’ler. Just a first one user. Would be cool if Jolla or the developer of the settings app could do that. Within an extra app update.

Seems like many user could benefit from this “add-on”.

Thanks in advance and for sharing your ideas here.

Sorry, i confused Dalvik restart withis app, but i meant Nofono Nofono | OpenRepos.net — Community Repository System But it dates from 2021…

1 Like

Well, Sailfish Utilities is open source, one could present a MR/PR here:

6 Likes

First avoidance of CLI because of this “ugly” hack just moments ago. Thx for the detailed idea.

The worrying part (at least for me) is that the list of ‘restart maybe it works’ workarounds keeps increasing. Be it officially and handily packed in SFOS Utilities.
I mean, an officially supported phone randomly losing its voice call capabilities is … embarrassing. And it’s not about VoLTE, but plain 2/3G calls.
A Restart Service button is better than nothing and quicker than a reboot, sure; but I can’t help from observing that at least three major SFOS releases since the problem is known failed to fix the broken parts.
I thank anyone contributing to a workaround. I’m less thankful for the sorry state of things.

4 Likes

I don’t have an account on github. And I don’t know how to do this. Could you please ask for a “restart ofono action”. I would appreciate that. I guess other users too.

Moving restart audio to the top would help, as it is the one the is most common, but also the one has has to be done urgently, and also when driving.

(Audio restart is needed so often, I would like it as a stand alone item in the top menu)

That’s not what he said in that post.
What he said is “add it yourself if you don’t like it, and then ask for Jolla to approve your changes”.

I also remember situations where call is proposed to go on-hold although there is no other active call to my knowledge.

But I want to report here a situation, that I had Ofono log app started all the time for the last month or so. And in that time problem never arises. Then, yeserday after the reboot I forget to start Ofono log. An today in the morninig, I was in the state, where clicking on contact number does not work. Maybe a pure coincidence. I quickly started Ofono log and record about minute of traffic. I think, nothing meaningful is there because I apparently missed the start of the problem. But if somebody think it could be useful, I can send tar.gz. I was not able to do anything else, because as already other reported, this problems usualy appers just when you urgently need to call someone (C2 is my primary phone).

1 Like

Hm, maybe this - (EDIT), ah after I post I was thinking that this is normal because I have SIM card only in the first slot.

In the first file (ril_0.txt) it starts like:

method return time=1760856761.199805 sender=:1.8 → destination=:1.835 serial=3766 reply_serial=2
array [
dict entry(
string “Status”
variant string “registered”
)
dict entry(
string “Mode”
variant string “auto”
)
dict entry(
string “CellId”
variant uint32 52559373
)
dict entry(
string “Technology”
variant string “lte”
)
dict entry(
string “MobileCountryCode”
variant string “293”
)
dict entry(
string “MobileNetworkCode”
variant string “41”
)

But, the second file (ril_1.txt) contains:

Error org.freedesktop.DBus.Error.UnknownMethod: Method “GetProperties” with signature “” on interface “org.ofono.NetworkRegistration” doesn’t exist

Yes, I’ve seen this on my C2, just a few times, and had to restart the phone to be able to receive and make calls and texts. Rather worrying.

For me just ofono restart was enough.

2 Likes

thank you! I’ll try that if it happens again :slight_smile:

Yes
Every other week

How to in a fast way?

I guess you should read the whole topic. I use now this workaround. Well twice IIRC.