anestisb / android-prepare-vendor

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

fix "Nexus accept ToS failed" error with ToS agreement during download #171

Closed jtl999 closed 4 years ago

jtl999 commented 5 years ago

This PR corrects the issue where attempting to download system images fails with the error "Nexus accept ToS failed", Also of note, the XSRF token in the HTTP request doesn't seem to be needed anymore. presumably due to Google serverside changes.

Tested on my Gentoo buildserver with one of the blueline system images (as an example), and it succeeds.

anestisb commented 4 years ago

@jtl999 thanks. Sorry for sitting on it such a long time.