Hi Am 13.06.2016 um 20:42 schrieb [email protected]: > 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?
If you can build something from source, you should do that. If it doesn't do the job, try the binary blob instead. And from what I've seen, it really depends on the device and boils down to trial and error. Device vendors sometimes make changes to the device drivers without releasing the source code. Regarding vold, I'm surprised that it gave you trouble. There's nothing apparently vendor-specific about SD-card management. Could it be that it's just outdated? Did you try to build with a different tag/branch instead? Best regards Thomas > > Thanks, > > Émeric > _______________________________________________ > dev-fxos mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-fxos _______________________________________________ dev-fxos mailing list [email protected] https://lists.mozilla.org/listinfo/dev-fxos

