Closed frumentum closed 3 weeks ago
Did you already try a reboot?
Sure. I forgot to mention it. That should always be one of the first steps to try (as learned from it crowd )
I have no idea what it could be then. It's definitely not an app issue, but an issue with the device not being able to use Molly's key stored in the hardware security module. I asked the folks at GrapheneOS, and they don't know what it is either.
Have you modified or tampered the bootloader, the OS, or the app in any way?
Thanks @valldrac for your investigation.
Sounds not like a bug which is easy to be fixed. I didn't modify anything in the OS, the bootloader or the app. Before my phone was shut down due to empty battery, molly was in the background (db decrypted) ready to be used. Maybe that's a necessary hint?!
Is it worth a try to connect via adb and use sudo to access /data/data/im.molly... to see if there is any .lock file which could potentially block molly to access the keystore?
I'd guess a reinstall would solve the problem but in this case I'd lose about 600MB of data. I have a backup of molly from the 31th of May (which was created by Molly's backup feature). How is this backup encrypted and could I restore the backup from a new installed molly?
It is a problem with your device. Molly's encryption key is generated once inside the HSM and securely keep there. Apparently, the key has been corrupted, so the data is unrecoverable.
You will have to delete the app's data (or reinstall Molly) and restore it from the backup. You can follow these instructions:
There could be an underlying hardware problem, so my advice to you is to make frequent backups from now on.
I have the same problem with a different device (Redmi Note 9)
@mazingerbogdanov Sorry for that. We would need to look at the debug log. Before entering the passphrase in Molly, you can share the log in the 3-dots menu at the top of the screen.
@mazingerbogdanov You may get a crash, but it's totally different from this one. We would have to know when the bug happens to you, and the steps to reproduce it. Please open a new ticket and we'll discuss it.
https://github.com/mollyim/mollyim-android/issues/new/choose
Thanks @valldrac for your time and investigation. As suggested, I deleted the app data and restored the backup. I enabled passphrase encryption again and now it's working fine again. Let's see how long...
Since this bug seems to be not reproducible, let's close it
Is there an existing issue for this?
Bug description
Hi folks, after my phone turned off due to empty battery, I get this error when I try to open Molly. It happens at the end of the decryption phase (I turned on the passphrase based encryption) and it's the same error no matter if I enter the correct or an incorrect passphrase.
Any help is appreciated!
PS: Sorry for not uploading the debug log. As molly does not open I'm not able to open Help->Debug logs.
molly-log-1717271316255.zip
Steps to reproduce
Molly version
v7.8.1-1-FOSS
Android version
Android 14
Device
Google Pixel 6a
Link to debug log
No response