LineageOS/android_external_exfatprogs needs refresh
Expected Behavior
exfat SDcards work
Current Behavior
When they are corrupted, auto repair during boot does not work.
Possible Solution
update LineageOS/android_external_exfatprogs to 1.2.0
Steps to reproduce
I lately experienced strange reformat requests for my sdcard after reboot from accidental power drain. Other fsck checkers reported no error on the sdcard. Checking logcat revealed:
02-12 12:40:11.248 231 231 D vold : exfatprogs version : 1.1.2
02-12 12:40:11.248 231 231 D vold : ERROR: /Android/data/org.telegram.messenger/cache/acache/1_5098129899793678748.tgs_280_280_nolimit.pcache2: more clusters are allocated. truncate to 655360 bytes. Truncate (y/N)? n
02-12 12:40:11.248 231 231 D vold : /dev/block/vold/public:179,65: checking stopped. directories 905, files 16176
02-12 12:40:11.248 231 231 D vold : /dev/block/vold/public:179,65: files corrupted 1, files fixed 0
02-12 12:40:11.249 231 231 E vold : Process exited with code: 4
02-12 12:40:11.249 231 231 E vold : Check failed (code 4)
02-12 12:40:11.249 231 231 E vold : public:179,65 failed filesystem check
02-12 12:40:11.249 231 3549 E vold : Failed to find mounted volume for /storage/7B7F-D916/Android/data/org.fdroid.fdroid/files/
This telegram cache triggered file system error was no problem for the fsck on my desktop. After manually installing the current(1.2.0) version of exfatprogs the system managed to cope with this.
So please align LineageOS/android_external_exfatprogs with upstream.
https://github.com/exfatprogs/exfatprogs/blob/master/NEWS
Maybe related to:
/device FP4 /version lineage-20 /date 2023-02-12 /kernel lineage_FP4-userdebug 13 TQ1A.230105.001.A29f272487be I have read the directions.