Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AOSP Build not booting on hammerhead

So i am new to 'Build android from source'. I recently built a custom ROM (with no changes in AOSP). After syncing the repo, (and downloading hammerhead binaries) I used the following commands:

   $. build/envsetup.sh
   $lunch
   $aosp_hammerhead-userdebug
   $export OUT_DIR_COMMON_BASE=/media/entertainment/out
   $make -j4 otapackage

It built after taking a significantly long time. The process stopped twice giving ......Error 1. But then I increased the linux-swap space. And everything went OK.

finally, I was able to get the flashable zip in out/target/product/hammerhead/aosp_hammerhead-ota-eng.gaurav-ubuntu.zip (174.7 mb)

I installed this ROM on my nexus 5 using multiROM manager.

Problem:

when I boot this ROM, the phone gets stuck on Google Logo, i.e. even the boot screen doesnt show up.

Can anybody guide me, what can be the possible problem ?

like image 215
gaurav414u Avatar asked Sep 12 '14 05:09

gaurav414u


1 Answers

I fixed my case by deploying vendor binaries into the android source tree from google page

It is quite easy, You download the zip files and run them in the source tree root. They append additional software being embedded int the final img files of the built system. Rebuild after this takes about 2 mins, because all android build system does is repackage the imgs .

like image 102
foo Avatar answered Sep 27 '22 22:09

foo