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

Search This thread

fitzpete

Senior Member
Mar 22, 2005
57
7
could you please elaborate why you need these extensive permissions?
A torch should not need internet access and my network operator is none of your business...
 

wanam

Recognized Developer / Inactive RC
Jan 26, 2011
6,209
30,012
Toulouse
wanam.net
OnePlus 7T
Sony Xperia 5 III
could you please elaborate why you need these extensive permissions?
A torch should not need internet access and my network operator is none of your business...

It is used for Ads to support my work, i'm planning to add an option to remove ads like i used to do with my other Apps, but the permissions will stay there.

If you can not trust me you should read a little about what we can do with an Xposed App without asking for any permission.

Sent from my Nexus 5 using Tapatalk
 

pham818

Senior Member
Dec 4, 2011
1,210
220
Portland
thanks, but can u give the option to activate it by holding the home button? it is easier for me, and for others too i would think. i think gravity-box had this kind of mod, i cant recall.
 

SandeepEmekar

Senior Member
Oct 6, 2011
919
245
Does using torch preventing deep sleep?

I tried it and my phone never goes into deep sleep if I turn on the torch. :(
 

wanam

Recognized Developer / Inactive RC
Jan 26, 2011
6,209
30,012
Toulouse
wanam.net
OnePlus 7T
Sony Xperia 5 III
@wanam
Can you make an option to control the brightness of torch?
I want to make it as bright as possible(15 of 15)...

I have no idea, this make require a deep look on the Camera App sources.

thanks, but can u give the option to activate it by holding the home button? it is easier for me, and for others too i would think. i think gravity-box had this kind of mod, i cant recall.

Using the Home button may conflict with SVoice on Samsung devices.

Does using torch preventing deep sleep?

I tried it and my phone never goes into deep sleep if I turn on the torch. :(

Only if you check the Torch helper, i'm looking for a better way to wake-up the cpu when holding the volume key on a deep sleep.

Edit: By the way i think i found one :) .
 
Last edited:

Abomb

Senior Member
Jan 17, 2007
249
74
Hamburg
I'm using a Nexus4 with PAC rom (CM based) 4.3 and it does not work. No error logs in the Xposed app log tab.
 

Cyboy

Senior Member
Jul 2, 2013
436
53
Change-log:
1.4.0:
- Add Russian translation (Thanks to Termit901)
- Add a Torch helper option to prevent the device from going into a deep sleep

1.3.2:
- Arabic and French translations
- Few improvements.

1.3.1:
- 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

1.1:
- 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.
'- Add a delay option for the Long button press before launching the Flashlight' not working on Xgo stock b100
whatever i set delays up to 5 secends ,its gets lit by a simple short press,i tryed update/install then rebooted but nothin changes ,finally uninstalled!
can u fix this?
 

_jis_

Senior Member
Feb 5, 2012
1,469
530
Using the Home button may conflict with SVoice on Samsung devices.
But this could be optional. Some users have SVoice disabled anyway including me. Maybe the home button will be able to wake up from deep sleep with less problems than volume buttons, because I never have any problem to wake up my phone from deep sleep with power on button :) But I am just speculating here...
Only if you check the Torch helper, i'm looking for a better way to wake-up the cpu when holding the volume key on a deep sleep.
Edit: By the way i think i found one :) .
Great, because I have two problems with the 1.4.0 version: without torch helper I cannot wake up phone from deep sleep and sometimes torch module force close after unsuccessful try to switch torch on I switch phone on.

Is it possible to use the same button for switching off as for switching on? It'll be more handy to be able to do both operations without sliding finger to another button.

When I get my SGNII 4.1.2 in my hands for the first time I soon noticed that Samsung's built in Assistive Light widget switch on the light with lower intensity than third party apps. So there must be some way to get at least two levels of light. I can imagine that selection of desired light level could be implemented by how long I press torch switching on button, shorter - lower level, longer - higher level.
 
Last edited:

HyperEscape

Senior Member
Apr 13, 2011
299
24
Hmm...already been using it. Also have the WanamLite 4.2.2 running on my Galaxy S-IV.

Have a couple of suggestions though :

1.Please add more features to it. Like there are in the Tesla app. Something like selectable strobe frequency, morse code flash, and control for the intensity of the flash.

2. Please add an option in the Wanam Xposed module to select our own flashlight app, when long pressing the volume-up button. This way we can choose whichever app best suits us.

Thanks.
 

Craniotomy

Senior Member
Jun 14, 2011
830
252
Hmm...already been using it. Also have the WanamLite 4.2.2 running on my Galaxy S-IV.

Have a couple of suggestions though :

1.Please add more features to it. Like there are in the Tesla app. Something like selectable strobe frequency, morse code flash, and control for the intensity of the flash.

2. Please add an option in the Wanam Xposed module to select our own flashlight app, when long pressing the volume-up button. This way we can choose whichever app best suits us.

Thanks.

+1, update to wanam xposed module, lock screen, hidden torch light, please more options. Thanks.

POWERED by the ELITE MASTER!
 

wanam

Recognized Developer / Inactive RC
Jan 26, 2011
6,209
30,012
Toulouse
wanam.net
OnePlus 7T
Sony Xperia 5 III
I'm using a Nexus4 with PAC rom (CM based) 4.3 and it does not work. No error logs in the Xposed app log tab.

Make sure it's not interfering with any other xposed module? check revoked permissions if you are using any permissions manager App (Greenify...)

'- Add a delay option for the Long button press before launching the Flashlight' not working on Xgo stock b100
whatever i set delays up to 5 secends ,its gets lit by a simple short press,i tryed update/install then rebooted but nothin changes ,finally uninstalled!
can u fix this?

5 seconds should be fixed now on 1.4.1

Great, because I have two problems with the 1.4.0 version: without torch helper I cannot wake up phone from deep sleep and sometimes torch module force close after unsuccessful try to switch torch on I switch phone on.

I have a bad news for this one, it seems impossible to do because Android does NOT broadcast volume button press on Deep sleep, so there no way to intercept this event!

Let's stop here :D , here is the new update 1.4.1 with a few fixes:
- 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
 

noidtrue

Senior Member
Jul 11, 2007
108
12
Installed on my Nexus4, does not work at all. I have app settings, Gravitybox, Modaco Toolkit and Greenfy installed. Do I have to install Wanam Xposed to make it work?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 103
    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).

    Features:
    - 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 (http://dl.xposed.info/latest.apk)
    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

    Download.


    Required permissions:
    - Camera and Flashlight for the Torch

    Thanks to @rovo89 and @Tungstwenty for their awesome work on Xposed framework.
    9
    Change-log:
    1.7.7:
    - 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

    1.7.4:
    - 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

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

    1.7.0:
    - 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

    1.5.0:
    - 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

    1.4.2:
    - Improve Flashlight releasing
    - Fixed some options dependancies

    1.4.1:
    - 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

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

    1.3.2:
    - Arabic and French translations
    - Few improvements.

    1.3.1:
    - 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

    1.1:
    - 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.
    6
    New update posted.

    1.5.0:
    - 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
    4
    Nice addon, but i have several complaints.

    v1.4.x used to work on my S2 tw 4.1.2 stock. Newer versions didn't. Pressing button did nothing now. So firstly i downgraded..

    Then i noticed the size. It matters to me when it comes to size. Especially for simple, single function apps. What bothers me is, it was a mere 250k addon, since 1.5.x its a bloated 900k apk. I dont see a future anymore and uninstalled.

    Below are rants; don't read if you're easily disturbed.

    The reason was, i already have TeslaLED which does 10x more functions and its only 512k. It doesnt have button shortcuts obviously, but a lot of launchers/utils can call it directly. I always wonder why there are always smallers apps that does more than bigger counterparts..

    What i'm saying here is, i can live with a 'shortcut' worth 250k, but in reality it should be more like 15k or 20k, not 900k bloatware. So, unless xposed torch is back on diet, consideration is out of question.

    I dont know what or who to blame but lately, lots of apps tends to became bloated for no reason. I guess i blame actionbarsherlock, supportv4, among others. And holo. And google play service. While it should be leaner, when it comes to code, actually its a bloat and a mess. Now i have the hate for lots of android apps that is comparable to Visual Basic programs -- point and shoot programming.

    People always ask me why i hate 'big' apps. I gave them a simple answer:
    It probably contains NSA code from Google, your phone could be the next suicide bomb.
    And that includes open source apps, too. If it contains alien, bloated codes.

    Nothing personal, i'm not against you or something like that. What i mentioned are general.
    And please no hard feelings, nothing personal, really. (In fact i admire your hardworkship)

    As much as I want to understand you I honestly can't take this much stupidity. Do you seriously believe that bigger apps means higher risk?
    Today's smartphones are definitely all unsafe as much as you want it to be. And I just have to tell you that nobody really cares about your ****.
    Worst thing that can happen to you is that somebody finds your phone and sell it or before that trying to buy stuff with the eBay/Amazon/Play store.
    Please don't post such ridiculous and retarded stuff here...
    Buy the 'Merkel phone' (which soon be available in Germany) if you're upset about the NSA.
    As long as you use Android/WP/iOS you are NOT safe at all.
    It doesn't matter if youre phone is rooted or not.
    4
    New update 1.1 posted:
    - Add option to Automatically turn off the Torch
    - Turn Off Flashlight through Volume Down Press
    - Add option to Hide App from App drawer

    Sent from my GT-I9505 using Tapatalk