Phone requires a factory reset after running out of battery (reproduced two times)
Expected Behavior
The phone boots properly after having run out of battery and is plugged on a power source.
Current Behavior
The phone is stuck in the boot animation after having requested the unlock pass (encrypted files).
The Phone is a Samsung Galaxy S5 LTE G900F.
/device klte
/version lineage-17.1
/date 20210418
/kernel unknown
/baseband unknoxn
/mods Open GApps, F-Droid, maybe Magisk (not sure)
The version given is the version from the installation archive I found on my computer from a previous installation, the actual version may be more recent.
This is the second time my phone running lineageos went out of battery, and this is also the second time the phone is stuck at startup after having run out of battery. According to my logs, last time it happened with that phone was on 2021-08-04
, at this time I managed to recover with TWRP my latest files that wasn't saved yet, but I did have to do a factory reset to unstuck the phone anyway. Yesterday I was also able to extract from the phone files (like photos) created the day before the phone went out of battery and got stuck using TWRP, but the phone still fail to startup. I'm a bit afraid that every time I run out of battery I would have to factory reset the phone…
For information, this issue also happened before with another phone running Cyanogen mod, but this looks more recurrent with LineageOS on that phone.
With this phone it happened on 2021-08-04
and 2021-10-28
.
I'm looking for a way to extract useful logs to help making possible for a fix to be made for the issue causing the phone to require a factory reset after having run out of battery. Some people on chat gave me a link to the logcat how-to but it looks like I cannot get any log, I assume it's because the debug mode is not enabled. So I'm looking for a way to enable the system Debug mode from TWRP. I have working TWRP, I can decrypt and mount my files, I have access to a file browser and a terminal on the phone using TWRP, so I'm probably able to edit a file to enable debug mod if for example that option is stored in a text file.
I kept may phone in this broken state all the day of yesterday while I was trying to get help from the chat, in order to not loose the opportunity to make useful logs, I'm going to keep the phone in that broken test today with the hope I would be able to provide a log to fix this, but at some point I will have to use my phone to do phone things and then factory reset and reinstall it.
If you have any advice to help me provide logs that would probably help a lot to figure out what's happening
I have read the directions.