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

any export failed #47

Open benoitjy opened 2 years ago

benoitjy commented 2 years ago

Bug description

no backup possible, crypted backup (settings->chat) or plaintext export, or anyrhing else. When i try normal backup, no message. When i try plaintext export, "error, unable to write to storage" Authorisations are granted

Device info

Device: Samsung S9 Android version: 10 (/e/ os) Signal version: 5.32.15.0

Link to debug log

https://debuglogs.org/android/5.32.15/6da3832299010c5e5bf1e57ebcb92328f866724f58a2328e8889601462c9a1b7

s-slash commented 2 years ago

Same error. All autorisations granted

Device: Xiaomi Mi 8 Android version: 10 (MIUI12) Signal version: 5.34.0.0 or 5.33.5.0

benoitjy commented 2 years ago

Hi, still no improvement for me, despite the new versions... Doesn't seem to catch the developer's attention? However, it's painful not to be able to have any backup, and it makes the total loss of messages inevitable if my phone crashes or if I have to change it...

johanw666 commented 2 years ago

Does the backup from within the settings - chat menu work?

Android 10 is a bit of a pain - the official client makes a backup with the Storage Access Framework in any location, but because I want to support making my own backup types to both internal and removable storage and doing that requires a special permissions that was introduced in Android 11, or reduce the list of possible locations where I can place it. On Android 10 and lower, this fork places the backups in either one location in internal or one in removable storage. See for a full explaination https://johanw.home.xs4all.nl/Signal/signal-jw.html

benoitjy commented 2 years ago

Sorry for the late reply

Does the backup from within the settings - chat menu work?

no, it doesn't work either

benoitjy commented 2 years ago

Hi again

I've l'ost all my messages following a disaster update of /e/ os (lost some other stuffs to). Then i décided to do some tests. I reinstalled you're version of signal. Fresh install, i can backup from within the settings - chat menu. If i kill the app and reopen, i can't backup anymore. Same thing, after reinstall, if i change settings to make signal default app for sms, can't backup. But if i reboot my phone, without killing signal or changing parameters, i can always do backups. If I change signal permissions via android settings, to allow storage access, backups not possible. I don't know if it make sense for you? If you want me to do some other tests, i'm ready, i'm already at 10 reinstalls...