When writing:

adb reboot -p

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

adb reboot


Why is that? What should I write?

  • 1
    Related: android.stackexchange.com/a/138057/96277
    – Firelord
    Dec 27, 2016 at 12:54
  • 4
    From my notes, adb shell reboot -p.
    – beeshyams
    Dec 27, 2016 at 13:00
  • shell only means it opens a shell first and writes the same there.
    – JohnyTex
    Dec 27, 2016 at 13:02
  • 3
    @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, 2016 at 16:23
  • Yes, what I meant (sloppily) was that the result is the same, right?
    – JohnyTex
    Dec 27, 2016 at 17:08

2 Answers 2


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, 2017 at 8:25
  • @JohnyTex you would have to disconnect your phone just after issuing the command Feb 9, 2017 at 8:37

This should work

adb shell reboot -p
  • 1
    Welcome to the Q&A site Android Enthusiasts Stack Exchange. While this is a valid answer, could you edit and expand on the reason why it works? Otherwise, it's okay.
    – Andrew T.
    Aug 8, 2023 at 17:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .