xref: /aosp_15_r20/tools/carrier_settings/bin/README.md (revision ff35212d322a3e892605b94fa777c67085d45efd)
1*ff35212dSceyTo run this tool in Android 10 code base, the python tools need to be prebuilt
2*ff35212dSceyon Android 11 code base and dropped to this directory. This is to workaround
3*ff35212dSceya bug in the older version of protobuf.
4*ff35212dScey
5*ff35212dSceyHow to:
6*ff35212dScey
7*ff35212dScey1. From Android 11 code base, build the python tools:
8*ff35212dScey```
9*ff35212dSceycroot
10*ff35212dSceym update_apn
11*ff35212dSceym update_carrier_data
12*ff35212dScey```
13*ff35212dScey
14*ff35212dScey2. Copy the generated binary to this directory:
15*ff35212dScey```
16*ff35212dSceycp out/host/linux-x86/bin/update_apn <path/to/this/directory>
17*ff35212dSceycp out/host/linux-x86/bin/update_carrier_data <path/to/this/directory>
18*ff35212dScey```
19*ff35212dScey
20*ff35212dScey3. Run the main.sh as usual
21