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 ?
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 .
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With