Hi expert.
I'm trying to build android following AOSP guide and push it to my device, nexus 5.
Cuz I need Lollipop 5.1.1 so, I've build it with lunch aosp_hammerhead-userdebug configuration.
But after finish build, and i try "fastboot flushall -w" on bootloader boot..
it seems writing is done correctly -- at least whe i see the log.
However after finishing write, and reboot the device. it hangs on Google log, and it dosen't process anymore...
I don't know why this happen although i follow AOSP guide.
Please give your precious tip..
Thank you.
Do you simply need Lollipop 5.1.1 or do you specifically need AOSP because you're modifying a component, building it and need to test it?
If all you need is 5.1.1, the Nexus 5 factory images are available here: Factory Images for Nexus Devices from Google.
If you need AOSP and your build is hanging, try launching logcat set to wait for the device to connect and see where it is hanging.
"adb -d logcat" on your host machine
Thx ur answer. But i need latter one.. For my testing... - especially related to Sensor...
Were you able to capture a logcat session at boot (see my last suggestion): "adb -d logcat" on your host machine
Thank you for your suggestion.. and i found this Fatal error log.
E/libEGL ( 4503): load_driver(/vendor/lib/egl/libEGL_adreno.so): dlopen failed: empty/missing DT_HASH in "libEGL_adreno.so" (built with --hash-style=gnu?)
F/libEGL ( 4503): couldn't find an OpenGL ES implementation
F/libc ( 183): Fatal signal 6 (SIGABRT), code -6 in tid 183 (surfaceflinger)
I thinks that error makes this situation...
But, I don't know how to solve...;
Sorry cuz of my foolish..... Could share your talent please?
In general, GPU drivers are closed source and supplied by vendors because GPU technology is a highly litigious area. GPU vendors tend to keep their trade secrets close and avoid patent and legal exposure by releasing their drivers as binary blobs. Binary blobs in the AOSP "external" or vendor trees can be problematic in terms of version and change-log information.
First make sure you're actually getting the Adreno (Qualcomm GPU) OpenGLES driver "libEGL_adreno.so" in your AOSP tree build tree. Then, check to make sure it is in the system image you're flashing. If it is there and not loading, check the AOSP version/label you are using to see if others are having issues. You may have to use an older, stable version or modify the configuration files to load the proper driver but I haven't don't any research in your specific case. I hope this helps a bit. Please, let us know what you find.