[GH-ISSUE #1111] [BUG] Restoring Backup not possible on LineageOS 22.1 Android 15 #889

Open
opened 2026-02-26 01:32:14 +03:00 by kerem · 4 comments
Owner

Originally created by @acitonic on GitHub (Jan 20, 2025).
Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/1111

Originally assigned to: @jberkel, @kurahaupo on GitHub.

Expected behaviour

Restoring Backup

Actual behaviour

Backup doesn't start.

I only get the following message

Keine voreingestellte SMS-Anwendung verfügbar.

(English: No preset SMS application available)

Reproduce by

I have a backup and updated my phone. It is LineageOS22.1 now, so android 15.
I granted all the needed permissions. Email login data are manual. Backup also works.

Android version

15 (2024)

Phone brand

Shiftphone

Phone model number

No response

SMS Backup+ version

v1.5.11

Messaging app

No response

Other details

Originally created by @acitonic on GitHub (Jan 20, 2025). Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/1111 Originally assigned to: @jberkel, @kurahaupo on GitHub. ### Expected behaviour Restoring Backup ### Actual behaviour Backup doesn't start. I only get the following message > Keine voreingestellte SMS-Anwendung verfügbar. > (English: _No preset SMS application available_) ### Reproduce by I have a backup and updated my phone. It is LineageOS22.1 now, so android 15. I granted all the needed permissions. Email login data are manual. Backup also works. ### Android version 15 (2024) ### Phone brand Shiftphone ### Phone model number _No response_ ### SMS Backup+ version v1.5.11 ### Messaging app _No response_ ### Other details
Author
Owner

@kurahaupo commented on GitHub (Jan 22, 2025):

@acitonic since re-installing your phone, have you ever used it to send or read an SMS?

SMS Backup+ needs to temporarily change the default SMS app to itself, so that it can make changes to the stored SMS messages, and then change the default SMS back to the other app.

So it initially asks the system which app is the current default SMS app; if you haven't chosen one then (it appears) that it's not coping well.

Try opening your normal SMS app, confirm it as the default SMS app, close it, then re-launch SMS Backup+.

Failing that, go to your system settings and confirm that you have something selected as your default SMS app.

<!-- gh-comment-id:2606222491 --> @kurahaupo commented on GitHub (Jan 22, 2025): @acitonic since re-installing your phone, have you ever used it to send or read an SMS? `SMS Backup+` needs to temporarily change the default SMS app to itself, so that it can make changes to the stored SMS messages, and then change the default SMS back to the other app. So it initially asks the system which app is the current default SMS app; if you haven't chosen one then (it appears) that it's not coping well. Try opening your normal SMS app, confirm it as the default SMS app, close it, then re-launch `SMS Backup+`. Failing that, go to your system settings and confirm that you have _something_ selected as your default SMS app.
Author
Owner

@acitonic commented on GitHub (Jan 22, 2025):

@kurahaupo thank you for your reply!

Of course I did all this. Just tried it 2 more times but without success.
Coukd it be that it has to deal with the new OS? It's Android 15 or Lineage 22.1? Or maybe that my phone owns 2 sim cards? But only one of them is used for sms or put for standard.
Moreover my phone is rooted.

<!-- gh-comment-id:2607377568 --> @acitonic commented on GitHub (Jan 22, 2025): @kurahaupo thank you for your reply! Of course I did all this. Just tried it 2 more times but without success. Coukd it be that it has to deal with the new OS? It's Android 15 or Lineage 22.1? Or maybe that my phone owns 2 sim cards? But only one of them is used for sms or put for standard. Moreover my phone is rooted.
Author
Owner

@kurahaupo commented on GitHub (Jan 23, 2025):

OK, perhaps the ability to check for and/or change the current default SMS app has become restricted in Android 15.

If this is the case, it will likely just require an addition to the required permissions list, rather than a code change, but I won't know until I've reviewed the Android release docs.

<!-- gh-comment-id:2608578424 --> @kurahaupo commented on GitHub (Jan 23, 2025): OK, perhaps the ability to check for and/or change the current default SMS app has become restricted in Android 15. If this is the case, it will likely just require an addition to the required permissions list, rather than a code change, but I won't know until I've reviewed the Android release docs.
Author
Owner

@kurahaupo commented on GitHub (Jan 23, 2025):

A new comment in #1104 notes that there seems to be a new “allow restricted settings” permission that has to be enabled before the “SMS” permission can be enabled. Could you try that please?

<!-- gh-comment-id:2608591624 --> @kurahaupo commented on GitHub (Jan 23, 2025): A new comment in [#1104](/jberkel/sms-backup-plus/issues/1104#issuecomment-2489103422) notes that there seems to be a new “allow restricted settings” permission that has to be enabled before the “SMS” permission can be enabled. Could you try that please?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/sms-backup-plus-jberkel#889
No description provided.