Investigate, and avoid/recover from EFS corruptions.
Currently, stock Android operating systems are able to recreate nv_data.bin and similar files inside the EFS partition. They are also able to fix or use corrupted nv_data.bin files.
In such situation the user is required to temporarily reinstall an android distribution that is able to do that, and then reinstall Replicant. To avoid the temporary usage of non-free software and make Replicant more robust, it would be nice to fix this issue.
Updated by Kurtis Hanna 13 days ago
This xda post from last year might be helpful for this: https://forum.xda-developers.com/galaxy-s3/orig-development/official-lineageos-14-1-i9300-t3544531/post75981429#post75981429