Hi,
While I was playing with my own FFOS build, I've noticed that my phone's external SD card wasn't detected from within FFOS (e.g. contacts, media storage). I had no problem seeing it and accessing its contents from within adb shell though.
After some trials and errors, I've found that system/bin/vold was the culprit. Replacing it (initially as a test) with vendor's one fixed the problem. And indeed, looking at Flame device's extract-files.sh script, I can see that vold is extracted from vendor's image. So, why is vold rebuilt if it isn't fully working and is replaced in the end by vendor's one?
Similarly, without extracting anything from vendor's image, I've found that system/etc/gps.conf, system/lib/egl/egl.cfg, system/lib/egl/libGLES_android.so and system/lib/hw/
lights.msm8610.so are "generated" (built or copied from another source) by FFOS buildsystem, while also being listed in Flame's extract-files.sh. So, in such situations, rather than randomly discovering bugs and trying to fix them by trials and errors, how do you know if a file generated by FFOS buildsystem should be replaced by vendor's one in the end? BTW, is the replacement by such prebuilt binaries expected?
Thanks,
Émeric