Skip to main content
2 of 2
added 13 characters in body; edited title
rox
  • 11
  • 3

Preferred Network Mode not changing using ADB on Samsung S21 (Android 12)

I am trying to change the preferred network of android using ADB on Samsung S21 (Android 12) through the following commands:

adb shell settings put global preferred_network_mode 9
adb shell settings put global preferred_network_mode1 9
adb shell stop ril-daemon
adb shell start ril-daemon
adb shell settings put global airplane_mode_on 1
adb shell am broadcast -a android.intent.action.AIRPLANE_MODE --ez state true
adb shell sleep 5;
adb shell settings put global airplane_mode_on 0
adb shell am broadcast -a android.intent.action.AIRPLANE_MODE --ez state false

adb reboot

But it's not updating in the phone. The phone is still in WCDMA only mode.

rox
  • 11
  • 3