johanw666 / Signal-Android

Fork from a private messenger for Android with extra options added: full backup and (partial, ony text) xml backup of messages. Restore can happen at any time, not only after a fresh install. Import SMS database. Import of (unencrypted) WhatsApp databases. Removed apk expire. Choose between passphrase protection and the Android screenlock. Choice for the backup location (internal or removable storage on Android < 11 (on 11 and higher this is already possible)). Set the maptype in the place picker. Option to treat view-once media as normal media. Option to ignore remote deletion. Choose between FCM or websocket notification delivery.
https://johanw.home.xs4all.nl/Signal/signal-jw.html
GNU Affero General Public License v3.0
250 stars 16 forks source link

Sms backup doesn't work #24

Closed Bazarov42 closed 3 years ago

Bazarov42 commented 3 years ago

Hi,

When i want export plaintext backup i have an error "error, unable writee to storage", same for import encrypted backup. I have a Oneplus 8 Pro Android 11

johanw666 commented 3 years ago

You need to make a "standard" backup first in the desired location on the removable or internal storage before the directory becomes writable. On Android 10 this is unavoidable, when I finally get Android 11 on my device I can test with adding the required permission (manage storage permission) to fix this proper.

Bazarov42 commented 3 years ago

Thanks for the quick reply, i can't make a "standard" backup, or anything, i have the same error. I want make an encrypted backup i have the error, same for plaintext backup. I want import a backup, i have the error too.

Or maybe i don't understand what is a "standard" backup ^^

johanw666 commented 3 years ago

That is the backup that the official Signal client offers, menu - settings- chats - chat backups - create backup.

Bazarov42 commented 3 years ago

ok, i tried it, same problem, the "official" backup works but when i want make a plaintext backup it say "error, unable write to storage"

nikhilbadyal commented 3 years ago

ok, i tried it, same problem, the "official" backup works but when i want make a plaintext backup it say "error, unable write to storage"

I guess we got same issue. It doesn't seem to be working on Android 11.

Bazarov42 commented 3 years ago

Ok, thanks for your answer, I just want to have my messages unencrypted, if there are other techniques, I take.

Bazarov42 commented 3 years ago

To keep you informed Same problem with 5.5.1.0-JW version.

johanw666 commented 3 years ago

I implemented a fix for Android 11 in 5.5.2.0-JW but I can't test it, could you please try? The first time you try to export or import a backup you should get a system popup asking permission to manage the file system.

Bazarov42 commented 3 years ago

I succed to import the sms from the encrypted backup when installing the application, but unable to make a plaintext backup I have record the problem

https://www.youtube.com/watch?v=h5T7ty5Aqgo

Bazarov42 commented 3 years ago

It works ! InkedScreenshot_20210319-134840_LI you must choose "authorize the management of all files"

thks Johanw for your app !

Go-rom commented 3 years ago

Thank you @Bazarov42 for this tip, it just helped me 👍