The specific changes I attempted were to a database entry following instructions in this question: Possible to turn on Airplane mode with WiFi on only?

The changes to either row would take effect immediately but are reset following a reboot. The updated rows retain their row-id but revert to the previous/default data following reboot.

the exact command I used was:

adb shell settings put global airplane_mode_radios  "cell,bluetooth,nfc,wimax"

The following command would result in an exception where it is unable to find the key:

adb shell content update --uri content://settings/global --bind value:s:'cell,bluetooth,nfc,wimax' --where "name='airplane_mode_radios'"

I'm using Android 4.2.2 and the latest ADB available as of end of March.

  • Does "settings put" not persist? I've been using it to modify my captive portal and navigation bar settings, and those do persist as far as I see.
    – Andy Yan
    Commented Apr 28, 2017 at 23:41
  • Also, it's suggested that you open a full adb shell and execute the command within, instead of doing everything in a single line.
    – Andy Yan
    Commented Apr 28, 2017 at 23:42
  • Confirm Yan's words: mine are persisted too. Your problem lies elsewhere.
    – Suncatcher
    Commented Apr 29, 2017 at 6:10
  • 1
    I confirm that on my phone they are not persisted, on a LG G6 with Android 8.0.0. Opening adb shell didn't help. Commented Jul 19, 2018 at 12:27
  • Having the same problem. My settings set by adb put don't persist after reboot, which is annoying.
    – Jay Zus
    Commented Oct 2, 2018 at 11:13


You must log in to answer this question.

Browse other questions tagged .