I am attempting to install a locally compiled version of the Android Open Source Project to a Nexus 5x device.
Android version: 6.0.1
Lunch setting: aosp_bullhead-userdebug
Device, unlocked and in fastboot mode gives the following:
VARIANT - bullhead LGH791 16GB
BOOTLOADER VERSION = BHZ10p
BASEBAND VERSION = M8994F-2.6.32.1.12
I've downloaded and run the vendor extract sh scripts from https://developers.google.com/android/nexus/blobs-preview for the Nexus 5x.
This setup compiles and boots the device (pushed using fastboot flashall -w
, however there is no Camera app (unable to access the internet on the device, so cannot download one and confirm anything. I could push an APK from the machine I suppose) and a dialogue box appears warning of an internal error. I'm getting this error in logcat repeatedly :
libc : CANNOT LINK EXECUTABLE "/vendor/bin/mm-qcamera-daemon": cannot locate symbol "_ZN7android13SensorManager13getSensorListEPPKPKNS_6SensorE" referenced by "/vendor/lib/liboemcamera.so"...
Some googling leads me to believe this is due to the vendor binaries not actually being complete. Some further searching leads me here https://github.com/anestisb/android-prepare-vendor
I've run this set of scripts on bullhead-mtc19z-factory-9f649f91.tgz
downloaded from developers.google.com/android/nexus/images#bullhead
and replaced the vendor/
directory in my AOSP source tree with the resulting vendor folder, but compiling and booting this just leaves the device stuck in some sort of error loop during boot according to adb logcat
Can anyone advise on how to flash this successfully?