You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker 7ee447c011
v811_spc009_project
4 months ago
..
bin v811_spc009_project 4 months ago
java v811_spc009_project 4 months ago
proto v811_spc009_project 4 months ago
python v811_spc009_project 4 months ago
Android.bp v811_spc009_project 4 months ago
OWNERS v811_spc009_project 4 months ago
README v811_spc009_project 4 months ago
main.sh v811_spc009_project 4 months ago

README

This tool converts carrier config and APNs from XML format to protobuf format.

AOSP default carrier configs can be found in packages/apps/CarrierConfig,
and APNs in device/sample/etc/apns-full-conf.xml.

Usage:

$ source build/envsetup.sh
$ lunch foo_bar
$ croot
$ source <path>/main.sh

The commands above build the tool from source code and run them.

This tool is best supported on Android 11 code base. See additional steps
in bin/README.md run it on Android 10.

Usually, if a MVNO has no APN defined in xml, the tool will use APNs of the corresponding MNO,
based on MCC/MNC values. However, a CarrierConfig carriersettingstool.no_apn_for_mvno_bool
can be set as true to avoid such copying in conversion tool.
carriersettingstool.no_apn_for_mvno_bool will also be removed from final config by the tool.