Closed ghost closed 1 year ago
Can you give a debug log?
I honestly don't know how
I am experiencing the same issue, I started writing a separate report using the Signal template and then realised that this is the same issue (should be titled "App stops working after restoring backup"). So I will rather reply here.
I am moving from a device running mainline Signal on LineageOS to Signal-JW on a new device running GrapheneOS. I want to keep my message history but take advantage of some of the features of Signal-JW. However Signal-JW stops working after restoring the backup.
I created two versions of encrypted backup on the first device (in case it was a size/memory problem).
I built Signal-JW from source, ran zipalign, used apksigner to sign it with my own key, and then installed the APK on the new device.
I am able to register a new account. However I tried to restore my old account in 3 different ways, none of which were successful. There is a progressive backoff on restoring phone numbers so despite having three SIMs/possible numbers available for this task I'm hitting frustrating waiting periods from trying over and over, and so I thought best to reach out for help!
Noting that I have to change the phone number associated with my Signal registration as I unfortunately no longer have access to my original number. I wondered if the registered number is included in a hash or something and therefore the restore is rejected if a new number is provided. However you (@johanw666 ) say elsewhere that this should not be a problem. Something I could try is to update my number first on the old device, create a backup, and then restore that, but I'm currently in a waiting period.
First I clone/build/align/sign/install Signal-JW.
git clone https://github.com/johanw666/Signal-Android
# The gradle version wasn't compatible with my java version, so I updated it from 7.5.1 to 7.6.1 in /gradle/wrapper/gradle-wrapper.properties
sudo ./gradlew assemblePlayProdRelease --debug --write-verification-metadata sha256
keytool -genkey -v -keystore $USERNAME.keystore -alias $ALIAS -keyalg RSA -keysize 2048 -validity 10000
sudo /opt/android-sdk/build-tools/32.0.0/zipalign -p -f -v 4 Signal-Android-play-prod-arm64-v8a-release-unsigned-6.19.8.0.apk SignalJW-aligned.apk
sudo /opt/android-sdk/build-tools/32.0.0/apksigner sign -verbose -ks ~/keystore/$USERNAME.keystore --out SignalJW-signed.apk SignalJW-aligned.apk
adb install SignalJW-signed.apk
Then I tried several methods to restore my message history.
/storage/emulated/0/Signal
). I'm prompted to confirm and tap "Restore". An error message toast at the bottom says "No encrypted backup found!". In this case, I can get a debug log, a link to which I have attached. I also tried the above three steps with the smaller backup file, to the same effect.
Actual result: Signal-JW either restores the backup but does not have Signal-JW functionality, crashes after the backup is restored, or states that the encrypted backup is not found in the folder I gave it. Expected result: My mainline Signal message history is restored to a new install of Signal-JW and still make use of the Signal-JW functionality.
Any other ideas very welcomed.
Device: Google Pixel 3A XL Android version: GrapheneOS 12 Signal version: 6.19.8.0-JW
DISTRIB_ID=ManjaroLinux DISTRIB_RELEASE=22.1.0 DISTRIB_CODENAME=Talos DISTRIB_DESCRIPTION="Manjaro Linux"
Android Debug Bridge version 1.0.41 Version 34.0.1-9680074 Installed as /opt/android-sdk/platform-tools/adb
Hi, I just want to ask if this problem is from your side or is it from the original Signal app itself.
I install the app the first time, I launch it and try to restore the messages as usual from a normal signal backup, but when it completes the restoring the App crashes and will never open again, this problem is not on 6.18.4, so we can't tell if this is because of them they didn't publish a recent update of 6.19.*.
I hope you'll take a look into it and by the way I finally completed my fork from your App that builds with the CI and added the AMOLED Dark as I always wanted.