Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

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 ST17i, runninh MiniCMSandwich Lite rom with RaGe kernel.

share|improve this question
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? –  onik Sep 23 '12 at 15:27
    
Yep, already tried that. I was hoping there would be a software solution for this? –  Propeller Sep 23 '12 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 '12 at 20:13
    
Added the phone model –  Propeller Sep 25 '12 at 2:22
add comment

1 Answer 1

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...

share|improve this answer
    
Doesn't seem to work on my rom. It disappears from the dialer but nothing happens. –  Propeller Sep 25 '12 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 '12 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 '12 at 5:59
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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