AOSPAlliance / android-prepare-vendor

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

Add option to use externally provided carrier_list.pb #75

Closed danielfullmer closed 1 year ago

danielfullmer commented 2 years ago

Instead of downloading carrier_list.pb inside the script, this allows the user to provide their own path containing this file via a --carrier-list-folder option. (Uses the path to a folder to match what the --carrierlist option in carriersettings_extractor.py expects)

This option is analogous to the existing options for the img and ota files, which allow the user to provide their own files instead of downloading them via android-prepare-vendor. The script to download the carrier list in apv does not work in robotnix for reproducibility reasons, since it just the latest version from the master branch of packages/providers/TelephonyProvider.