oFono is the SailfishOS component communicating with the cellular modem of the phone. oFono provides the SailfishOS applications with the cellular services. If there are problems in getting access to the Internet over a mobile data connection, for instance, it may be good to collect some oFono logs.
Collecting oFono logs is helpful for many bugs related to voice calls, SMS and mobile data. Starting from Sailfish OS 2.0.4 you can use the oFono Logger app for collecting the logs.
- Install oFono Logger from Jolla Store.
- Launch the app.
- Swipe left to get to the options.
- Pull down to enable all categories to log, or select individual ones by tapping them in the list. Swipe right.
- Run your test case (reproduce the issue you want to get logs from).
- Return to oFono Log app. You can see the log on the display. Scroll to the top of it.
- Pull down "Pack and Send" and select how to send. With email your log goes easily to the predefined address (telephony expert @Jolla).
- Instead of or in addition to step 7, pull down and use "Save to Documents": the log file is saved to
$HOME/Documents. Attach the
ofono_*.tar.gzfile to your error report.
- Swipe right and then left to get to the category list. Pull down to disable all.
- Close the app. Consider removing it if you will not need it.
- If possible, enable the developer mode and collect the journal log, too (covering what happened during step 5):
devel-su; journalctl -a -b --no-tail --no-pager > journal.txt
Note that oFono Logger can also be used for fixing the settings of mobile data.