I've been having a small case of my screen not turning on at times. It happens on a 1 out of 100 basis. Anyway, I can confirm that the phone did not shut down because I can take screenshots (via power button + volume down key) and hear the screenshot sound. However, the display remains turned off. What I found to be the fix is to remove the battery to force shutdown the phone and re-insert it and open again.

That would have been an OK solution but my phone has 2 layers of battery cover so it's kinda tedious to do when the random screen problem occurs (especially if I'm outside or on the road). What I want to happen is that if I hold down the power button for some time (5 seconds maybe?), it will power off the device thus, saving me the trouble of having to remove and re-insert the battery.

How do I make holding down the power button for some time turn off the phone?

Phone is Sony Xperia Active ST17i, running MiniCMSandwich Lite rom with RaGe kernel.

  • 1
    On some phones (e.g. Samsung Galaxy series) holding the power button for 10-15 seconds (can't remember exactly) triggers a reboot. Have you tried holding the power button for this long? Sep 23, 2012 at 15:27
  • Yep, already tried that. I was hoping there would be a software solution for this?
    – Propeller
    Sep 23, 2012 at 15:34
  • Some phones also have a key combination to force a hard reboot. On my HTC Incredible it's Power + Vol Down + Optical Joystick Button. Others may vary. Please edit your question with your phone's make and model and someone might be able to give you a more specific answer.
    – afrazier
    Sep 24, 2012 at 20:13
  • Added the phone model
    – Propeller
    Sep 25, 2012 at 2:22

2 Answers 2


There were those Secret Codes...

*#*#7594#*#*: This code can be used to change the "End Call / Power" button action in your phone. Be default, if you long press the button, it shows a screen asking you to select any option from Silent mode, Airplane mode and Power off. You can change this action using this code. You can enable direct power off on this button so you don't need to waste your time in selecting the option.

Hm, guess that's what you were lokking for, right? Wanna more? OK, Here's the source, Luke: Secret Codes of Android Phones. Not sure if it works on all phones, though...

  • Doesn't seem to work on my rom. It disappears from the dialer but nothing happens.
    – Propeller
    Sep 25, 2012 at 2:23
  • Sorry to read that! Maybe check Google with <your device name> "secret codes" whether there's an alternative (though in all lists I've found so far, this was the only number given for that). Or simply try the app Android Secret Codes, the screenshots look like they have some provider-specific stuff included.
    – Izzy
    Sep 25, 2012 at 5:49
  • P.S.: Just took a closer look at the mentioned app. Looks like to better not install it -- permissions read a bit strange (wants to change browser favorites), plus someone remarks it feeds data to some lottery site :(
    – Izzy
    Sep 25, 2012 at 5:59

The forced reboot which happens by pressing the power button for 5-10 seconds is only applies for the models which doesn't have removable battery. But for the models having the removable battery, holding down the power button does not trigger the forced reboot option.

You must log in to answer this question.

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