Hi Guru, I'm trying to build the AOSP for nexus 5X. I referred to:- 1. https://source.android.com/source/downloading.html (for repo init, sync) 2. then got the proprietary binaries from (https://source.android.com/source/building.html and https://developers.google.com/android/nexus/blobs-preview) and extracted them. 3. then i run the commands like "source ..", "lunch", "make -j32" etc from the android root. 4. finally from the out/target/product/bullhead:- i did "fastboot flashall -w".
This all seems to be working fine. But I don't know how to install gapps into this AOSP build. I can't sideload it. It gives error. I tried to flash the gapps zip using TWRP, flashing was successful. But device won't start up. I also tried to include the gapps in the build time by refering to "https://github.com/opengapps/aosp_build". But over here the build fails. So do you have any idea about how to add the gapps into the AOSP build? On Wednesday, August 3, 2016 at 10:31:01 AM UTC-7, Guru Prasad wrote: > > I've noticed that there are a few posts on how stock AOSP will not > necessarily boot on the Nexus 5X. I've followed earlier posts that > recommended grabbing this > <https://github.com/anestisb/android-prepare-vendor/> project and > following the instructions provided there. > > I've just about tried everything I could find and have had no luck. > I picked revision MDA89E (android-6.0.0_r12) which is the first revision > to support Nexus 5X. Then, I tried the following: > > *fastboot flashall -w* > > - Flash stock image provided by Google -> works fine > - adb reboot bootloader && fastboot flashall -w > - Does not boot > > *Individual fastboot flash* > > Curiously, on the Nexus 6P, I was able to get it to boot after flashing > just system and userdata. So I tried that on the 5X. > > - Flash stock image provided by Google -> works fine > - adb reboot bootloader && fastboot flash system && fastboot flash > userdata && fastboot reboot > - Does not boot > > *Add vendor directory created by android-prepare-vendor* > > - Copy over vendor/ as created by android-prepare-vendor > - make clean && make -j16 > - fastboot flashall -w > - Does not boot > > In all of the above, my lunch target was: *aosp_bullhead-userdebug* > > In all of the above, after the boot didn't work, I tried flashing just the > vendor image over. That didn't work either. > > > > Could someone please provide comprehensive instructions on how to get an > AOSP build running on the Nexus 5X? > > > > > > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
