I am in the process of building custom images for my Nexus 7 tablet. I followed the official Android documentation on building for devices and also extracted propriety vendor binaries.
All works well except for Bluetooth and Camera. Reading through the source code I realize that /etc/init.flo.bt.sh
fails when trying to call /system/bin/hci_qcomm_init
binary. Manually running hci_qcomm_init
gives following error:
shell@flo:/ # hci_qcomm_init
CANNOT LINK EXECUTABLE: empty/missing DT_HASH in "hci_qcomm_init" (built with --hash-style=gnu?)
Similarly, for camera I realize that mm-qcamera-daemon
is not running on the phone (mostly not started during init process). If I try to start it manually:
shell@flo:/ # mm-qcamera-daemon
CANNOT LINK EXECUTABLE: empty/missing DT_HASH in "mm-qcamera-daemon" (built with --hash-style=gnu?)
I am not looking for definitive answer but can someone point to what exactly is wrong with these binaries on the phone?