Any way to enable power button long-press torch, on stock 9.0?

resarfekim

Senior Member
Jan 26, 2011
494
105
63
Just got my new (refurb) 2 XL. I would like to try to go stock android on this for a while.
Is there any way to achieve the one feature I cannot live without: long-press power button for flashlight?
 

Strephon Alkhalikoi

Senior Member
Aug 3, 2010
6,957
3,194
223
Vulcan
I don't think so. You can quickly access it via the notification shade of course. You can set a swipe down gesture on the fingerprint sensor to call the notification shade. You should also be able to turn the flashlight on with voice commands, even with the screen off.

The above are only suggestions for workarounds, but I may have missed something.
 
May 29, 2014
39
11
0
I have a sloppy way I do it on 8.1 that uses Automagic and the volume key shortcut in Accessibility Settings. Tasker probably works too.

Turn the shortcut on, select a service. I selected a launcher I don't use. Note that this toggles the accessibility features of an app, so don't use something that needs this. Click to enable it on lockscreen.

Now when you hold both volume buttons for 3 seconds, the system notifies you the service has been toggled. Finally I have a flow in Automagic that triggers when this pops up and from there toggle the flashlight. It even works when locked IF the screen is on.

I use a similar method to customize the Active Edge thing.

Locked on Verizon. Have to be creative :(
 
  • Like
Reactions: resarfekim