Repaired exfat filesystems trigger "please format" toast
Expected Behavior
A filesystem repair could be notified to me
Current Behavior
A exfat filesystem repair triggers "please format sdcard" toast
Possible Solution
change this line: https://cs.android.com/android/platform/superproject/+/master:system/vold/fs/Exfat.cpp;l=48?hl=de
to
if (rc == 0 || rc ==1) {
This is because of the returnvalue of 1 of a successful filesystem repair for fsck.
https://www.linux.org/docs/man8/fsck.html
So this is actually upstream, but you forked from there to https://github.com/LineageOS/android_system_vold
Dunno, how you want to cope with this, maybe report upstream.
Steps to Reproduce
Use sdcard as telegram cache. Run out of battery.
Somehow related: #5550
/device FP4 /version lineage-20 /date 2023-02-12 /kernel lineage_FP4-userdebug 13 TQ1A.230105.001.A29f272487be
I have read the directions.