We have moved to a new Sailfish OS Forum. Please start new discussions there.

How do I delete/remove old Bluetooth devices? [answered]

asked 2019-01-20 10:45:49 +0300

Lars Maria gravatar image

updated 2019-01-20 15:29:37 +0300

rozgwi gravatar image

Bluetooth 'Devices nearby' ('Enheter i närheten' in Swedish) stuck forever from previous search/scan. I don't see how I can delete/remove them manually. Sony Xperia SFOS Not this problem on my Jolla 1.

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by Lars Maria
close date 2019-01-21 21:01:07.642760


Longpress and select remove pairing

pawel ( 2019-01-20 14:54:07 +0300 )edit

No, it's not one of the 'Paired devices' ('Ihopparade enheter' in Swedish), it's the list below that, with the devices you find when you do a scan, they never go away, though I never scan for devices (because I've paired with the only device I use).

Lars Maria ( 2019-01-20 15:01:29 +0300 )edit

Aah, i see. I guess a new scan ? Cant.be removed on my.phone

pawel ( 2019-01-20 15:15:46 +0300 )edit

That's kind of a non-feature. Improvement of the UX has been requested here

rozgwi ( 2019-01-20 15:28:05 +0300 )edit

1 Answer

Sort by » oldest newest most voted

answered 2019-01-20 15:26:24 +0300

vision gravatar image

Via terminal:

cd /var/lib/bluetooth/<MAC address>

There you can delete the faulty directory (on your own risk ;) ) See also: https://together.jolla.com/question/169519/sony-xperia-bluetooth/?sort=votes&page=3#sort-top

I had this issue as well one year ago.

edit flag offensive delete publish link more


Thank you for your answer. I'm sure it works. I activated dev mode and remote connection (to set root pwd) and really tried to delete those folders in /var/lib/bluetooth/ (as dev-su) but neither 'rm', 'rd', or 'del' worked, and searching for 'remove' or 'delete' here to try to find the right commande... No, it is is too complicated for me, I'm just a regular user (more or less), I guess I'll have to live with this.

Lars Maria ( 2019-01-21 19:54:56 +0300 )edit

Oh... sorry that I didn't consider that you might be a regular user ;)


cd /var/lib/bluetooth/<MAC address>
/var/lib/bluetooth/<MAC address> rm -r name_of_directory

The most powerful command however would be "rm -Rf".

Don't forget to switch off/on Bluetooth afterwards. Hope it is more clear now ;)

vision ( 2019-01-21 20:25:39 +0300 )edit

Aaah, great - it worked with 'rm -r'! Thanks a million! I've had those 'Devices nearby' stuck there forever, from a scan I did more than a year ago, it's great to have them cleaned away.

Lars Maria ( 2019-01-21 21:00:27 +0300 )edit

Question tools



Asked: 2019-01-20 10:45:49 +0300

Seen: 319 times

Last updated: Jan 20 '19