Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No valid OS found #165

Open
MichaB189 opened this issue Jun 26, 2019 · 4 comments
Open

No valid OS found #165

MichaB189 opened this issue Jun 26, 2019 · 4 comments

Comments

@MichaB189
Copy link

Im building clean AOSP with android-prepare-vendor

repo init -u https://android.googlesource.com/platform/manifest -b android-9.0.0_r40
repo sync

I remove AOSP/vendor/google_devices/*

PQ3A.190605.003 matches android-9.0.0_r40

sudo ./execute-all.sh -d blueline -b PQ3A.190605.003 -o out

I copy the files generated:
from:
/android-prepare-vendor-master/out/blueline/pq3a.190605.003/vendor/google_devices/*
to: AOSP/vendor/google_devices

I then run make clean
make clobber
make -j12

cd AOSP/out/target/product/blueline
fastboot flashall -w

adb reboot bootloader
fastboot flashing lock

No Valid OS found
g.co/ABH

Am I missing something, either regarding copying the right files from android-prepare-vendor or something other?

@scott-8
Copy link
Contributor

scott-8 commented Jun 30, 2019

Does it boot with the bootloader unlocked (i.e. don't run fastboot flashing lock after flashing the image and boot it)? You might need to flash the phone with the key you used to sign the image with fastboot flash avb_custom_key key_name.bin before locking it.

@anestisb
Copy link
Owner

@MichaB189 do you still face the issue?

@MichaB189
Copy link
Author

MichaB189 commented Jan 31, 2020

Yes it does boot with the bootloader unlocked.

I tried again now. WIth the August 2019 version - pq3a.190801.002. As I've heard there are some issues with Android 10

@MichaB189
Copy link
Author

Does it boot with the bootloader unlocked (i.e. don't run fastboot flashing lock after flashing the image and boot it)? You might need to flash the phone with the key you used to sign the image with fastboot flash avb_custom_key key_name.bin before locking it.

Thanks!
I did not do that. Could you supply me with additional information regarding signing?
I had factory images from Google before flashing my vanilla AOSP build with android-prepare-vendor. Is there some in depth tutorial explaining the process of signing the keys, what keys I should sign and so forth? Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants