Android update APN list when the OTA upgrade is on, it takes effect.

Source: Internet
Author: User
Update APN list after the OTA upgrade needs to restore the factory settings APN Update is valid, the customer needs to do the upgrade after the boot is effective.
Because the OTA upgrade is updated with three zones, boot, recovery, System,
The APN is part of the data domain, and OTA upgrades are not involved, so it must be reset before the update is valid.


So, you need to modify the Alps\build\tools\releasetools\ota_from_target_files script,
In
Script. Deletefiles ([i[1] for I in To_create])
Script. Makesymlinks (To_create)
Then add the following command:
Script. Mount ("/data")
Script. Deletefiles (["/data/data/com.android.providers.telephony/databases/telephony.db",
"/data/data/com.android.providers.telephony/shared_prefs/load-apn.xml"])

The purpose of this is to upgrade, after the boot and then re-apns-conf.xml APN information into the DB, to achieve the purpose of the update.

Android update APN list when the OTA upgrade is on, it takes effect.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.