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 ?