Flashing AOSP master on Pixel failed (Android Q)

686 views
Skip to first unread message

Yuan Zhou

unread,
Mar 24, 2019, 12:21:31 PM3/24/19
to Android Building
I am flashing the original AOSP master to my Pixel. I used many methods but still failed.

I make AOSP used following command:
lunch aosp_sailfish-userdebug
make -j48 (make updatepackage after that)

Method one:
WIPE system/cache/dalvik from twrp.
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash vendor vendor.img (from factory image, because there is no vendor.img after make -j48 in the out/target/product/saifish directory)
When it boot, it stuck at android Logo forever.

Mehthod two:
WIPE system/cache/dalvik from twrp.
fastboot flashall -w  (from the out/target/product/sailfish directory I made.)
When it boot, it stuck at android Logo forever.

Method three:
WIPE system/cache/dalvik from twrp.
fastboot update aosp_sailfish-img-eng.zip (from make updatepackage command)
When it boot, it stuck at android Logo forever.

Method four:
Install the  aosp_sailfish-img-eng.zip from twrp, i got the log:
Installing zip file '/sdcard/aosp_sailfish-img-eng.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
Invalid zip file format!
Error installing zip file  '/sdcard/aosp_sailfish-img-eng.zip'
updating partition details...
done

Anyone can help, PLZ. Thank you in advance!!!

Dan Willemsen

unread,
Mar 24, 2019, 12:25:08 PM3/24/19
to Android Building
Had you downloaded the appropriate device blobs from here: https://developers.google.com/android/blobs-preview ?

- Dan

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
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 android-buildi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Yuan Zhou

unread,
Mar 25, 2019, 10:29:19 AM3/25/19
to Android Building
Hello dan, 

I have downloaded, and it works a charm!  It is so hard to get a correct vendor.img.

Thank you so much!

Yuan
在 2019年3月25日星期一 UTC+8上午12:25:08,Dan Willemsen写道:

andrew_esh

unread,
Mar 25, 2019, 11:22:16 AM3/25/19
to Android Building
I would not expect the AOSP source code base to be fully runnable at this stage. Anything on there is probably going to be previews of bits and pieces of what will eventually become the full release. The only way to get Android Q running on a device at this stage is to install one of the binary preview blobs. I don't expect the full source for Q to drop until late September.


Saurabh Sakhare

unread,
Mar 28, 2019, 11:35:47 AM3/28/19
to android-...@googlegroups.com
I've added wrong vendor image by mistake and now it stucked in bootloader mode. Showing error slot unbootable I tried to put in recovery mode but showing same error. And even phone is not showing on $fastboot devices. I was trying to re-flash images but nothing is working.

Saurabh Sakhare


On Mon, Mar 25, 2019 at 8:52 PM andrew_esh <andrew...@gmail.com> wrote:
I would not expect the AOSP source code base to be fully runnable at this stage. Anything on there is probably going to be previews of bits and pieces of what will eventually become the full release. The only way to get Android Q running on a device at this stage is to install one of the binary preview blobs. I don't expect the full source for Q to drop until late September.


Reply all
Reply to author
Forward
0 new messages