anestisb / android-prepare-vendor

Set of scripts to automate AOSP compatible vendor blobs generation from factory images
347 stars 155 forks source link

Cant auto download Nexus Images #106

Closed AmyClaraRose closed 6 years ago

AmyClaraRose commented 6 years ago

[amy-clara-rose@Predator-G3 android-prepare-vendor]$ sh ./execute-all.sh -d angler -b opr5.170623.007 -o /fast-datavault/nexus-vendor-blobs -f [*] Setting output base to '/home/amy-clara-rose/android-prepare-vendor//angler/angler-opr5.170623.007'

--{ Google Terms and Conditions Downloading of the system image and use of the device software is subject to the Google Terms of Service [1]. By continuing, you agree to the Google Terms of Service [1] and Privacy Policy [2]. Your downloading of the system image and use of the device software may also be subject to certain third-party terms of service, which can be found in Settings > About phone > Legal information, or as otherwise provided.

[1] https://www.google.com/intl/en/policies/terms/ [2] https://www.google.com/intl/en/policies/privacy/

[-] Image URL not found [-] Images download failed [amy-clara-rose@Predator-G3 android-prepare-vendor]$

anestisb commented 6 years ago

Something appears to be broken with your env. You set the output path to /fast-datavault/nexus-vendor-blobs, although the logs print /home/amy-clara-rose/android-prepare-vendor//angler/angler-opr5.170623.007.

Please double check your paths and calling params.

AmyClaraRose commented 6 years ago

im not sure all i did was copy and edit what you put for volantis downloading zip

anestisb commented 6 years ago

Execute the following (bash debug enabled) and paste the output here:

set -x ./execute-all.sh -d angler -b opr5.170623.007 -o /fast-datavault/nexus-vendor-blobs -f
AmyClaraRose commented 6 years ago

++ printf '\033]0;%s@%s:%s\007' amy-clara-rose Predator-G3 '~/android-prepare-vendor'

AmyClaraRose commented 6 years ago
anestisb commented 6 years ago

From the snippet you've provided I cannot see any obvious problem. However, it does not appear to be complete. Can you please double check you copy and paste the entire text? If you struggle copying from your terminal you can redirect script's debug output to a file and attach it to a commend.

AmyClaraRose commented 6 years ago

that was all it gave me literally if you want you can teamviewer to my pc and diagnose yourself

anestisb commented 6 years ago

Sorry can't do that. Can you try a different output directory (e.g. -o $(pwd))?

mikalackis commented 6 years ago

Sorry to interrupt the thread, but are Nexus (5X, 6P) devices now supported for Oreo?

anestisb commented 6 years ago

@mikalackis yes. Check this thread.

AmyClaraRose commented 6 years ago

[amy-clara-rose@Predator-G3 android-prepare-vendor]$ bash -x ./execute-all.sh -d angler -b opr5.170623.007 -o $(pwd) -f

--{ Google Terms and Conditions Downloading of the system image and use of the device software is subject to the Google Terms of Service [1]. By continuing, you agree to the Google Terms of Service [1] and Privacy Policy [2]. Your downloading of the system image and use of the device software may also be subject to certain third-party terms of service, which can be found in Settings > About phone > Legal information, or as otherwise provided.

[1] https://www.google.com/intl/en/policies/terms/ [2] https://www.google.com/intl/en/policies/privacy/

[-] Image URL not found

anestisb commented 6 years ago

Ok from your latest snippet I can see that the deps are successfully found and all the output dir preparation work is completed. So the problem appears to be in the download script which fails to find the corresponding image download link.

Can you please edit line 8 of the scripts/download-nexus-image.sh file and enable the debug output for that script so we can try to trace the error.

AmyClaraRose commented 6 years ago

ill do that when next at pc sorry for late reply been busy

AmyClaraRose commented 6 years ago

no point now as my device stopped working thanks for your help anyway dude