I'm on 6.0.1 Marshmallow OS, and my previous commands to change my preferred network mode no longer work.
The commands used in Kit Kat worked without problems:
adb shell sqlite3 /data/data/com.android.providers.settings/databases/settings.db "SELECT * FROM global WHERE name='preferred_network_mode'" adb shell sqlite3 /data/data/com.android.providers.settings/databases/settings.db "update global SET value=1 WHERE name='preferred_network_mode'" adb shell sqlite3 /data/data/com.android.providers.settings/databases/settings.db "select value FROM secure WHERE name='preferred_network_mode'
The commands entered in this OS lead to the conclusion:
Error: no such table: global
I pulled out a database file that was completely empty:
adb pull /data/data/com.android.providers.settings/databases/
Is there any ADB command that I can use to change preferred_network_mode to LTE / GSM?
source share