According to this post , manually-entered APNs are contained here:
/data/data/com.android.settings/shared_prefs/com.android.settings_preferences.xml
However, this file can't be accessed using adb shell cat
or adb pull
.
Is there any workaround for a non-rooted device?
On non-rooted devices is not possible to read system files.
On rooted devices with more recent Android version, this worked for me:
sqlite3 /data/data/com.android.providers.telephony/databases/telephony.db "select * from carriers;"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.