Meng Wang | 1173706 | 2020-04-23 17:11:33 -0700 | [diff] [blame] | 1 | This tool converts carrier config and APNs from XML format to protobuf format. |
| 2 | |
| 3 | AOSP default carrier configs can be found in packages/apps/CarrierConfig, |
| 4 | and APNs in device/sample/etc/apns-full-conf.xml. |
| 5 | |
| 6 | Usage: |
| 7 | |
| 8 | $ source build/envsetup.sh |
| 9 | $ lunch foo_bar |
| 10 | $ croot |
| 11 | $ source <path>/main.sh |
| 12 | |
| 13 | The commands above build the tool from source code and run them. |
| 14 | |
| 15 | This tool is best supported on Android 11 code base. See additional steps |
| 16 | in bin/README.md run it on Android 10. |
Jing Zhao | 015de26 | 2021-03-15 18:16:51 -0500 | [diff] [blame] | 17 | |
| 18 | Usually, if a MVNO has no APN defined in xml, the tool will use APNs of the corresponding MNO, |
| 19 | based on MCC/MNC values. However, a CarrierConfig carriersettingstool.no_apn_for_mvno_bool |
| 20 | can be set as true to avoid such copying in conversion tool. |
| 21 | carriersettingstool.no_apn_for_mvno_bool will also be removed from final config by the tool. |