I am using Google Nexus 5 with stock 4.4 KitKat.

When the phone is in locked state (locked with a standard PIN code, password or pattern) and we long press power button, we get the power-off menu with options like Power-Off, Flight mode and Sound options (Mute, Vibrate and Sound)

I was wondering that whether we could secure/disable the power-off and flight mode option if the phone is locked state or is there any way to customize these menu options?

I looked in one of such question but didn't get the answer: Disable power-off menu when screen is locked

2 Answers 2


Use this app. It does exactly what you want : https://play.google.com/store/apps/details?id=com.nezdroid.lockscreenprotector

  • This app did work but it flickers while popping up the power menu. Was just looking for any other app which serves the purpose but was not able to find. Hence, marking this as answer. Apr 25, 2014 at 14:03

The app mentioned by Vishal is not working with Kitkat 4.4.4. I'm using a module for the Xposed Framework mentioned on this XDA thread, where you can download it from the attachment.

You must log in to answer this question.

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