Androdi 11 build for Pixel 5 (redfish)

653 views
Skip to first unread message

Jim

unread,
Apr 2, 2021, 11:12:09 AM4/2/21
to Android Building
Hi,
I try to build AOSP from source for a Pixel 5, but I face face some issues because my phone does not reboot after flashing it.
I tried several tags, but always the same behavior.
Here is what I do for android-11.0.0_r32 :
1 - check at https://source.android.com/setup/start/build-numbers the corresponding factory image : RQ2A.210305.006
2 - download and flashed the factory image -> OK
3 - download AOSP repoitory android-11.0.0_r32
4 - download the corresponding vendor image (https://dl.google.com/dl/android/aosp/google_devices-redfin-rq2a.210305.006-a3096c4f.tgz) and extracted it in android repository
5 - lunch aosp_redfish-userdebug
6 - make

Then execute fastboot flashall in $OUT folder to flash the image.
But the phone cannot boot, and is stucj in android black screen.

Does anybody knows what I did wrong ?

thank you !



boot-fail.txt

Bill Yi

unread,
Apr 6, 2021, 12:08:01 AM4/6/21
to Android Building
On Friday, April 2, 2021 at 8:12:09 AM UTC-7 jmgr...@yahoo.com wrote:
Hi,
I try to build AOSP from source for a Pixel 5, but I face face some issues because my phone does not reboot after flashing it.
I tried several tags, but always the same behavior.
Here is what I do for android-11.0.0_r32 :
1 - check at https://source.android.com/setup/start/build-numbers the corresponding factory image : RQ2A.210305.006
2 - download and flashed the factory image -> OK
3 - download AOSP repoitory android-11.0.0_r32
4 - download the corresponding vendor image (https://dl.google.com/dl/android/aosp/google_devices-redfin-rq2a.210305.006-a3096c4f.tgz) and extracted it in android repository
You may need to download additional vendor blobs:

bill

Jim

unread,
Apr 7, 2021, 2:02:44 PM4/7/21
to Android Building
found the solution: need to execute fastboot flashall -w

xiling.gong

unread,
Apr 7, 2021, 2:05:11 PM4/7/21
to Android Building
Hello, 

Did you put the driver binaries into the AOSP folder?

Jim

unread,
Apr 9, 2021, 3:43:56 PM4/9/21
to Android Building
thank you for your answers. 
As explained before, it now works thanks to -w option to flashall that was missing.

Concernign the vendor binaries, I only use the Google vendor image, not the binaries from qcom. The reason is that during AOSP build, vendor image is NOT built: it just uses vendor.img from google driver. Thus, qcom binaries is not used in this process.
Reply all
Reply to author
Forward
0 new messages