Gathering logs related to audio, Bluetooth and phonecalls from a Sailfish OS device

Jolla Care -

When a device does not work properly and the symptoms are not clear it is useful to collect some data and logs from the device. It may be possible to conclude the culprit by investigating those logs.

This help article has scripts (command files) attached, helping the collection of logs greatly. The script does everything for you - it knows where to get the data and how to handle it. The end result is one file, a container.

The script collects some general data (e.g. the journal and information on the device and on installed software) and also data specific to audio control, Bluetooth and mobile telephony.



1) Enable the developer mode on your phone. Follow these instructions. You need to do this only to get the Terminal app and to set up the password for "SSH and root access".

2) Download the file (right-click it and take "save link as")              [ this version is from 2021-08-27 ]

to your computer and unzip it.  Next, copy the resulting file "" to your phone, to the "Mass storage".  It is good to place the file either into the folder /home/nemo or to  /home/defaultuser (depending on the configuration of your phone).

3) Open the Terminal app on your phone.

4) Set the file permissions with the following command:

chmod 744


Using the script

Round #1

The purpose of this round is to make your phone ready for collecting logs before the problem occurs again.

Open the Terminal app.

Run the script the 1st time with the command:


Type your SSH/root password when requested.

In this 1st round, the script prepares your device for gathering some data. After this, you must restart the device, or else the script would not work in the 2nd round.


Reproducing the issue

As soon as you have restarted your phone, please try to reproduce the issue we are to investigate.


Round #2

Once you have observed the problem, you should open the Terminal app and run the script the 2nd time.


The script collects the data and compresses it into one single file. The file is saved in the home storage area of your phone. The script prints the name and location of this file to the display.


At the end of the script, the special settings on your phone (from round #1) are removed. The phone is reverted back to its original state. However, you will need to disable the Developer mode yourself in Settings > System > Developer tools.


The result

Copy the log file sailfish_logs_<date>-<time>.tar.bz2
(for instance: sailfish_logs_2021.08.27-16.00.05.tar.bz2)

from your phone to your computer.


If you are in contact with Jolla customer care, send this file to them, please.



Have more questions? Submit a request
Powered by Zendesk