Remove All Ads from XDA

[APP][Android 4.0+][Xposed Torch] Through Home or Volume UP Button

6,189 posts
Thanks Meter: 30,060
By wanam, Recognized Contributor / Developer on 5th February 2014, 11:42 AM
Post Reply Email Thread
This is a Handy Torch through Volume UP button, it lets you turn ON the Flashlight by a Long Press on the Volume UP Button while screen if OFF, and turn it OFF by Volume down or Home button or a Screen ON action (Power).

- Customize Long press delay to run the Flashlight
- Customize Flashlight timeout
- Run the Flashlight even while Music is ON

How to install:
1- Install Xposed Installer (
2- Install Xposed Framework through Xposed Installer App
3- Download Xposed Torch (Link bellow)
4- Enable Xposed Torch module on the Xposed Installer modules
5- Reboot your device


Required permissions:
- Camera and Flashlight for the Torch

Thanks to @rovo89 and @Tungstwenty for their awesome work on Xposed framework.
Attached Thumbnails
Click image for larger version

Name:	ic_launcher-web.jpg
Views:	8971
Size:	25.0 KB
ID:	2560316   Click image for larger version

Name:	Screenshot_2014-02-05-11-04-07.png
Views:	11640
Size:	160.3 KB
ID:	2560317   Click image for larger version

Name:	Screenshot_2014-02-06-13-11-03.png
Views:	10436
Size:	149.1 KB
ID:	2562501   Click image for larger version

Name:	Screenshot_2014-03-20-12-09-38.jpg
Views:	8547
Size:	179.4 KB
ID:	2640367  
The Following 101 Users Say Thank You to wanam For This Useful Post: [ View ]
5th February 2014, 11:43 AM |#2  
wanam's Avatar
OP Recognized Contributor / Developer
Flag ElKsiba
Thanks Meter: 30,060
Donate to Me
- Acquire a wake-lock for 3 seconds to make sure the Torch is turned Off properly
- Ability to open the application from the modules list even if you hide it from the launcher (Thanks to Jclehner)
- Minor bug fixes

- Add back Home button option with a few improvements (it may still cause a few delay on Touchwiz Lock screens)
- Make Volume UP button optional
- Fix Pair Volume UP/Down triggering the Torch
- Make the vibration optional (i recommend to use it for intentional Buttons long press)
- Removed some debug code
- Few other fixes

- Disable Torch triggers while making Calls
- Transparent Torch activities
- Improved Torch response
- Vibrate while launching the Torch

- Removed Torch helper, not needed anymore.
- Ability to run the Torch even on deep sleep.
- Removed Home button option, this feature causes some wake-lag on Touchwiz Roms.
- Many other stability fixes

- Turn On Torch through Home button (if available) long press
- Turn Off Torch through Home button press without turning On the screen
- Remove Torch App for recent Apps history
- Few other fixes and improvements

- Improve Flashlight releasing
- Fixed some options dependancies

- Fixed 5 seconds long press delay
- Add an option to remove my App Ads
- Acquire a Wake-lock for 3 seconds to properly release the Camera Flashlight
- Added Korean translation (Thanks to Splendid)
- Few other fixes

- Add Russian translation (Thanks to Termit901)
- Add a Torch helper option to prevent the device from going into a deep sleep

- Arabic and French translations
- Few improvements.

- Fixed a Wakelock leak (a Wakelock is acquired for 1 second only to wake up the device from deep sleep)
- Add a delay option for the Long button press before launching the Flashlight
- Add an option to run the Flashlight even if the Music is ON (this feature supports the default Player only!)
- Few other improvements

- Add option to Automatically turn off the Torch
- Turn Off Flashlight through Volume Down Press
- Add option to Hide App from App drawer

1.0: Initial release.
The Following 9 Users Say Thank You to wanam For This Useful Post: [ View ]
5th February 2014, 11:58 AM |#3  
ktetreault14's Avatar
Senior Member
Flag Largo
Thanks Meter: 1,810
Donate to Me
Nice. Running now

Sent from my SM-N900T using Tapatalk
5th February 2014, 12:49 PM |#4  
Senior Member
Flag São Paulo
Thanks Meter: 30
Works fine in I9505 with KK, great job Wanam, thank you
5th February 2014, 12:54 PM |#5  
HaPe1968's Avatar
Thanks Meter: 9
works perfectly on S4 KK
5th February 2014, 01:08 PM |#6  
Ripolin2's Avatar
Thanks Meter: 36
More perfect in sgs4 kit kat..
Best Regards

Enviado desde mi GT-I9505 mediante Tapatalk
5th February 2014, 02:19 PM |#7  
Senior Member
Thanks Meter: 299
Very nice, works on my Xperia Z. Do you think you could maybe make it so holding the volume button again, turns it off? and perhaps a safety thing so if it accidentally somehow turns on in your pocket, you can set a time to it auto turns off after 1-5 mins or something.
The Following 2 Users Say Thank You to Kocane For This Useful Post: [ View ] Gift Kocane Ad-Free
5th February 2014, 04:05 PM |#8  
Works perfectly on Note II 4.1.2. I support Kocayine ideas in previous post.

Sent from SGNII using Tapatalk 4.4.4
5th February 2014, 05:46 PM |#9  
sumit227's Avatar
Senior Member
Flag New Delhi
Thanks Meter: 64
Thanks man Works perfectly on galaxy grand 4.2.2. It would be better if it turn off by volume down instead of home buton.
5th February 2014, 08:23 PM |#10  
Looki75's Avatar
Senior Member
Thanks Meter: 1,190
Donate to Me
Originally Posted by sumit227

Thanks man Works perfectly on galaxy grand 4.2.2. It would be better if it turn off by volume down instead of home buton.


Vol down short press (or vol up short press) to switch off torch would be perfect!

Also, could there be an option to automatically limit the duration of torch ON? With choices like 10sec, 30sec, 1min, 2min and infinite?

Thanks for consideration!
The Following User Says Thank You to Looki75 For This Useful Post: [ View ] Gift Looki75 Ad-Free
5th February 2014, 08:31 PM |#11  
Senior Member
Thanks Meter: 1,127
Donate to Me
Would it be possible to add an interface that let's you choose how long it takes for the torch to come on? I listen to music on my phone all the time, and it's comes on occasionally when long pressing to increase volume.
Post Reply Subscribe to Thread

button, flashlight, torch, volume, xposed

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes