When write:

adb reboot -p

I expect the unit to power-down indefinitely. Instead it just reboots automatically, same has having written:

adb reboot


Why is that? What should I write?

  • 1
    Related: android.stackexchange.com/a/138057/96277
    – Firelord
    Dec 27 '16 at 12:54
  • 3
    From my notes, adb shell reboot -p.
    – beeshyams
    Dec 27 '16 at 13:00
  • 1
    @beeshyams is right :)
    – sunlover3
    Dec 27 '16 at 13:33
  • 1
    @sunlover3 Thanks , but I have no idea why - Linux commands are not my thing. That's why I make notes of what works for me :)
    – beeshyams
    Dec 27 '16 at 14:03
  • 2
    @JohnyTex Nein, it's not the same. adb reboot -p means execute adb with arguments reboot and -p. adb shell reboot -p means execute a shell on the device, then execute the program reboot with argument -p which resides inside the device. This is the difference.
    – Grimoire
    Dec 27 '16 at 16:23

Many phones start booting when a power cable is attached. This could be the reason here for the phone rebooting instantly instead of staying off.

  • Do know what could be done about that?
    – JohnyTex
    Feb 9 '17 at 8:25
  • @JohnyTex you would have to disconnect your phone just after issuing the command Feb 9 '17 at 8:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.