[GUIDE] Use Volume Key For Flashlight with Screen Off

Search This thread

CraiaSoftware

Senior Member
Oct 26, 2011
123
15
Is this working for anyone? If so can you please check to see if this exists:

/sys/devices/virtual/torch/torch/torch_ctl

then tell me what ROM/Kernel combination you are running, then attach said file to your reply? Thanks!

This trick didn't work for me (and Notach Xposed only creates a menu driven shortcut to the same settings screen.)

There is no /sys/devices/virtual/torch/torch/torch_ctl or /sys/devices/virtual/torch/ for that matter.
Can you zip up yours and I'll paste it in?

I am using the VZW S4. btw
 
  • Like
Reactions: serendipityguy

96cobra

Senior Member
Jun 23, 2008
164
22
Tried on my Verizon S4 running Hyperdrive ROM & Nova Launcher... didn't work on mine.
 

mike216

Senior Member
Nov 12, 2010
5,127
1,062
cleveland
Works perfect! Thanks bud your a ****ing genius
Volume up-on
Volume down - off
Dude you find all kinds of cool stuff! We love ya here Dan

Using omega
Nottach exposed
Nova Launcher primary
Ktoonez because it's fast
It should work for everyone?
SGH-M919_Omega, the end result
 
Last edited:
  • Like
Reactions: dannyben

dannyben

Senior Member
May 9, 2011
1,478
1,551
Works perfect! Thanks bud your a ****ing genius
Volume up-on
Volume down - off
Dude you find all kinds of cool stuff! We love ya here Dan

Using omega
Nottach exposed
Nova Launcher primary
Ktoonez because it's fast
It should work for everyone?
SGH-M919_Omega, the end result

LOL. Thanks bud!
Not sure why it's not working for everyone. Seems to be phone specific???
Anyway..... I had forwarded the trick to Nottach and he has included it in his Xposed mod. Makes it easier for those using his mod. Simple as just clicking a button now & rebooting.
 
  • Like
Reactions: mike216

s4lah

Senior Member
Sep 24, 2010
134
39
Hi guys and girls,

Another quick and simple way of doing this is by downloading

1) QuickShortcutMarker from Play Store

..and just type

2) Torch into the input keyword to filter field and press try to activate.

Please post if you have success.
 

pfriederichs

Senior Member
Apr 9, 2011
116
11
Kimball, MI
My guess is the US stock rom is missing an apk to do this because I had the same problem on various stock att roms (cleanrom mdob etc) but it works on tge att rom goldeneye which is an international base.

Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
 

elesbb

Senior Member
Jun 20, 2010
7,883
5,324
My guess is the US stock rom is missing an apk to do this because I had the same problem on various stock att roms (cleanrom mdob etc) but it works on tge att rom goldeneye which is an international base.

Sent from my SAMSUNG-SGH-I337 using Tapatalk 2

it's not missing an apk. It has something to do with waking up. I added some of my own code to it, and it doesn't get ran so long as the device is in deep sleep. If it's plugged in it will run the code. So it's not waking from deep sleep to run the code

Sent from my SGH-M919 using Tapatalk 2
 

lasnbar

New member
Aug 8, 2009
2
0
Very useful thanks!

Google Gestures search for Torch Light finds this option for me. Non rooted 3 UK Galaxy S4
 

The_Bourne

Member
Oct 16, 2013
33
7
Works perfect for me!! Thanks, just another thing to show off in front of iPhone users lol

Sent from my SGH-M919 using xda app-developers app
 

hpanimalpak

Member
Aug 17, 2009
45
13
Sick development ROM, US T-MO S4, wanam xposed enabled with xposed installer, setting in wanam xposed to enable torch and this guide didnt work for me unfortunately either T_T
 

alsionl

New member
Nov 16, 2013
2
0
Could you put this function on Omni rom? Big thanks for you.

Sent from my GT-P6810 using XDA Premium 4 mobile app
 

Ashiquemuneer

Member
Nov 30, 2012
32
7
Tirur
Unfortunately, Settings has stopped

Hi,
I followed these steps...
after when I open the shortcut it showing "Unfortunately, Settings has stopped "
I am Using Note 4 ported Rom on GT-I9500..
any possible way to fix this..?
:(
 

MerbinJAnselm

Senior Member

mrdreamers

Senior Member
Oct 16, 2009
1,002
65
Texas
Is this working for anyone? If so can you please check to see if this exists:

/sys/devices/virtual/torch/torch/torch_ctl

then tell me what ROM/Kernel combination you are running, then attach said file to your reply? Thanks!

i looked and i don't have torch is there a way to get it so i can use this method?:confused:
im on RR Rom
 

Top Liked Posts

  • There are no posts matching your filters.
  • 17
    How to activate the flashlight on the lock screen.


    1. You will need to install either Nova or Apex launcher. You don't need to keep this as your launcher in the future, but just to activate this trick.

    2. Once running, press & hold an empty spot on your home screen. You will get this window, and choose 'shortcuts'

    qa5urene.jpg


    3. Then select activities.

    by4ujy5y.jpg


    4. Once this loads (can take a bit if you have many things installed), select settings.

    enaqeva8.jpg


    5. Now scroll down to Torch light and select either of the two.

    y4aju4ap.jpg


    6. It will now add the shortcut to your home screen. Tap on this icon.

    a5e9a4an.jpg


    7. Check the torch light option and then the time-out amount.

    esede8et.jpg

    5a8ygyba.jpg



    You can now switch back to the launcher of your choice and have the working flashlight. Just hold the power up for a short time and it will come on or tap to volume down to turn off.

    Enjoy!
    1
    Not sure why you guys are having problems with it, but Nottach also got it running & will include it in his next update (allowing you to map it to your home button instead of you prefer). So if you are running Xposed with his mod should be easier to setup/work.

    Sent from my SGH-M919 using Tapatalk 4 Beta
    1
    Is this working for anyone? If so can you please check to see if this exists:

    /sys/devices/virtual/torch/torch/torch_ctl

    then tell me what ROM/Kernel combination you are running, then attach said file to your reply? Thanks!

    This trick didn't work for me (and Notach Xposed only creates a menu driven shortcut to the same settings screen.)

    There is no /sys/devices/virtual/torch/torch/torch_ctl or /sys/devices/virtual/torch/ for that matter.
    Can you zip up yours and I'll paste it in?

    I am using the VZW S4. btw
    1
    Works perfect! Thanks bud your a ****ing genius
    Volume up-on
    Volume down - off
    Dude you find all kinds of cool stuff! We love ya here Dan

    Using omega
    Nottach exposed
    Nova Launcher primary
    Ktoonez because it's fast
    It should work for everyone?
    SGH-M919_Omega, the end result
    1
    Works perfect! Thanks bud your a ****ing genius
    Volume up-on
    Volume down - off
    Dude you find all kinds of cool stuff! We love ya here Dan

    Using omega
    Nottach exposed
    Nova Launcher primary
    Ktoonez because it's fast
    It should work for everyone?
    SGH-M919_Omega, the end result

    LOL. Thanks bud!
    Not sure why it's not working for everyone. Seems to be phone specific???
    Anyway..... I had forwarded the trick to Nottach and he has included it in his Xposed mod. Makes it easier for those using his mod. Simple as just clicking a button now & rebooting.