Rate This Document
Findability
Accuracy
Completeness
Readability

Example Configuration

  1. Call the setprop method to set the IMEI value.
    1
    setprop persist.sys.prop.writeimei 861456987456321
    

    Restart the container and enter *#06# on the dialing screen.

  2. Call the setprop method to set the network operator name and code.
    1
    2
    setprop persist.gsm.operator.alphacph CMCC
    setprop persist.gsm.operator.numericcph 46000
    

    Restart the container and query the setting result in the application.

    The preceding screenshot is obtained from an internal APK. You can use a related application for verification.

  3. Call the setprop method to set IMSI and SIM card operator name.
    1
    2
    setprop persist.sys.prop.writeimsi 460110123456789
    setprop persist.gsm.sim.operator.alphacph CMCC
    

    Restart the container, enter *#*#4636#*#* on the dialing screen, and query the mobile phone information. The IMSI can be queried.

    The SIM card operator name and SIM card operator code are displayed.

  4. Call the setprop method to set the SIM card serial number.
    1
    setprop persist.sys.prop.writesimserial 01234567890123456789
    

    Restart the container and run the following command to query the setting result:

    1
    dumpsys isub | grep iccid
    

  5. Call the setprop method to set the phone number.
    1
    setprop persist.sys.prop.writephonenum 12345678901
    

    Restart the container and query the setting result in the application.