所以, 需要修改alps\build\tools\releasetools\ota_from_target_files这个脚本,
在
script.DeleteFiles([i[1] for i in to_create])
script.MakeSymlinks(to_create)
之后添加以下命令:
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"])