yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] Kocane:
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.
[Xposed Framework Modules] _jis_:
Works perfectly on Note II 4.1.2. I support Kocayine ideas in previous post.

Sent from SGNII using Tapatalk 4.4.4
[Xposed Framework Modules] 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.
[Xposed Framework Modules] Looki75:
+1

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!
[Xposed Framework Modules] TotallyAnxious:
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.
[Xposed Framework Modules] MBariya:
Working on note2 with 4.3
[Xposed Framework Modules] chw9999:
Cool :) Thanks!

HTC EVO 3D w/ ICS 4.0.3

--

Gesendet mit HTC EVO 3D and Tapatalk
[Xposed Framework Modules] Looki75:
After actionning once the torch, there is a wakelock which prevents the phone to go deep sleep... android.app.ContextImpl
[Xposed Framework Modules] wanam:
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
[Xposed Framework Modules] Celestial Fury:
Not working on Xperia Z1 :(
[Xposed Framework Modules] royboy331:
Not functioning

This module does not work on the Verizon LG G2. I would love to have this option.
[Xposed Framework Modules] Looki75:
Wakelock still there with v1.1... Is it app related, or hardware / phone / rom related?
[Xposed Framework Modules] Stix-N-Stonz:
Tested and working great, been looking for a flashlight app to exactly this. Thank you.
[Xposed Framework Modules] wanam:
Planned on v1.2.

I posted v1.1 before reading your post, it's been fixed on v1.2.

Any error logs on the Xposed Installer logs tab?
[Xposed Framework Modules] gabripranzo:
I've the same issue, it seems that when the phone (Note 2 with Ketan rom) goes to deep sleep I need to awake it to make the torch work.

I've also tried with app settings module to set Xposed torch as resident, but it's not a solution.

Sent from Galaxy Note 8.0 GT–N5100
[Xposed Framework Modules] Jude Dela Rosa:
So, ages ago, when I had an GSII, I loved the torch on lockscreen using home/volume buttons that the MIUI Rom I used had, and it made me think, is there a way to use this torch with the screen on? I really don't care about it being off, so the wakelock isn't a problem. (I'm using a Xperia ZL, btw)
[Xposed Framework Modules] floepie:
FWIW, I can get this to work now 100% of the time by simply hitting the UP button two times in quick succession. So, it's one very short push followed by holding the button pushed in.
[Xposed Framework Modules] omlet:
hi,

I've got a new stock kit kat ROM on motorola Razr HD (xt925).

the module only turn on the led during about 0.1sec :(
[Xposed Framework Modules] boniek1983:
Great, It working flawless thanks
[Xposed Framework Modules] ornwilson:
First: Thanks for the great and super handy app!

I have version 1.8.0 and get this same android.app.ContextImpl wakelock after using torch. (Note 3 N900V, BajaROM 4.4.2)
[Xposed Framework Modules] wanam:
How much?
[Xposed Framework Modules] ornwilson:
According to GSAM Battery Monitor, the most recent occurrence was 1hr 43min.
[Xposed Framework Modules] wanam:
Can you use BetterBatteryStats and check again? it's practically impossible to get all these wakeclocks, make sure there is no other Apps using the same wakelock tag.
[Xposed Framework Modules] comoba:
Haven't read the thread too much, but-

You think it's possible to have the it light up incase you hold the power button for a few seconds while screen-off and have it go out when you release the power button?

I used this feature so much in Mimicry on HTC Desire Z, and would love to have it on my HTC One. (they called it "Quick Torch" based from AOKP feature or something like that)
[Xposed Framework Modules] Berth666:
it would be very nice..but it don't work on OnePlus One using CM11s (4.4.4)

It vibrate, but don't turn on the light :/ and if i unlock the screen, touchscreen don't work until i use any physical button.

Any idea how to fix?

regards
[Xposed Framework Modules] wanam:
New update 1.9.0 to support Android Lollipop builds pushed to the Xposed repo, PlayStore may take a few hours.
[Xposed Framework Modules] willybarca:
is there anyway to turn it off using buttons
[Xposed Framework Modules] sutobe:
Hello,

update doesn't work for me.

Nexus 5

Lollipop 5.0.1

Stock ROM and Kernel

I know how to use Xposed and that module, had it running on Kitkat.

Thank you!
[Xposed Framework Modules] wanam:
So you should also know that I need your Xposed logs to help you :) .
[Xposed Framework Modules] sutobe:
Sorry I was about to go to work lol, sorry,

Uploaded the file here

http://www.file-upload.net/download-10310002/xposed_error_20150217_090021.log.html
[Xposed Framework Modules] wanam:
According to your logs the music checker was re/moved on Lollipop, disable "Even while Music is ON" feature and reboot, i will fix it later.
[Xposed Framework Modules] sutobe:
That function wasn't activated.

Only have volume button up and vibrate checked
[Xposed Framework Modules] wanam:
I'm using CM, so i guess they didn't remove it, i will test with a stock Rom later.
[Xposed Framework Modules] PDXMatt:
Volume down turns it off.
[Xposed Framework Modules] nmeuret:
New 1.9 version perfectly working on my S4 with CM12 Lollipop ROM.

Thanks [MENTION=3562083]wanam[/MENTION], you're the best !
[Xposed Framework Modules] wanam:
It seems CM kept isMusicActive method even if it was removed on stock Lollipop builds.

New update 1.9.1 to fix this bug has been pushed.
[Xposed Framework Modules] Berth666:
Damn, dont work at oneplus one with cm11s.

There is a vibration, but no light.

Hope you can fix this, if you need any other log, let me know.

xposed_error_20150217_215746.log

Regards
[Xposed Framework Modules] sutobe:
Confirmed working now for Nexus 5 with everything stock! Thanks!! Afraid to ask, how is your Wanam Kit coming along for Lollipop? ;)
[Xposed Framework Modules] wanam:
No issues on your xposed logs, PM your logcat.
[Xposed Framework Modules] wanam:
Planned but no ETA for now.
[Xposed Framework Modules] Berth666:
ok, now it works.

LBE don't gave camera rights to your app.

But another "bug" on oneplus one is, you can't use full flash brightness, every app ony can use the led dimmed.

Only if you make a photo with flash the led is full powered.

That is a oneplus "feature" and not your "problem" i think ;)
[Xposed Framework Modules] willybarca:
works good on cm12 nexus 5, very very useful app, thanx
[Xposed Framework Modules] Abomb:
Sometimes when using it on lollipop I get the following error:

02-17 23:32:10.231 E/Xposed ( 885): java.lang.ArrayIndexOutOfBoundsException: length=2; index=2
02-17 23:32:10.231 E/Xposed ( 885):	at ma.wanam.torch.XHwKeys$2.beforeHookedMethod(XHwKeys.java:152)
02-17 23:32:10.231 E/Xposed ( 885):	at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:635)
02-17 23:32:10.231 E/Xposed ( 885):	at com.android.internal.policy.impl.PhoneWindowManager.interceptKeyBeforeQueueing(Unknown Source)
02-17 23:32:10.231 E/Xposed ( 885):	at com.android.server.wm.InputMonitor.interceptKeyBeforeQueueing(InputMonitor.java:365)
02-17 23:32:10.231 E/Xposed ( 885):	at com.android.server.input.InputManagerService.interceptKeyBeforeQueueing(InputManagerService.java:1569)

Turning Screen on and off fixes it so no big problem :)
[Xposed Framework Modules] osama-selo:
[MENTION=3562083]wanam[/MENTION]

Can we have an option to turn on/off the torch by long pressing the Power Button? it has been asked many times with no answer... It's the most important thing that I miss from Sense Roms
[Xposed Framework Modules] wanam:
I tried that a while ago but i remember i got some conflicts issues on some devices.

Yes i fixed this on Kitkat builds, but i think it comes back now on Lollipop because of the recent app switcher bug.
[Xposed Framework Modules] SAMPPLE:
I think maybe my phone has a little problem... Volume up flashing works but home screen flash doesn't work... Why? Please can someone help me? Thank you!!
[Xposed Framework Modules] osama-selo:
OK, Thanks for the reply...

But can u please take a look at the Sense Toolbox module that has this feature and maybe u can make it work.

My device volume buttons are broken and I don't have a home button and this feature is very essential for me as we are having a lot of electricity power down.

Thanks

http://xdaforums.com/showthread.php?t=2733409
[Xposed Framework Modules] highfigh:
You know they have standalone devices called flashlights? Sorry....couldn't resist. ;)

Thanks for the app! This is great. I was trying to get something like this working on tasker but couldn't.
[Xposed Framework Modules] osama-selo:
Thanks for the tip... it really helped me a lot!!!
[Xposed Framework Modules] rahulnahar:
Flashlight doesn't work when the music is on. :(
[Xposed Framework Modules] Berth666:
You can set that in settings
[Xposed Framework Modules] koragg97:
:)

[MENTION=3562083]wanam[/MENTION] since v.1.9.0 this module works on lollipop, right?
[Xposed Framework Modules] dancapitan:
works perfect out of the box SM-9005 Note 3

thx wanam !! :good::good:

:highfive::highfive:
[Xposed Framework Modules] mayurh:
hi there

please can you update to work in lollipop ,
[Xposed Framework Modules] mitklaus:
Hey.

I am using a Pipo U8 which doesn't have hardware-volume-keys. It doesn't have a home-key neither.

But it has an esc-key! (or back button)

Is it possible, to add that key to the list of choosable keys to turn on/off torch?
[Xposed Framework Modules] wind0zer:
Xposed Torch is working on lollipop : ) I'm using Xperia Z3C, (stock) Lollipop rom, and Xposed (LL) alpha2.
[Xposed Framework Modules] rahulnahar:
Home button flashlight not working on m7 sense 7. Please fix. Thanks in advance. :)
[Xposed Framework Modules] sixxkilur:
Enable module before reboot stops Home button from working unless screen is off. After reboot same results. Running UltimaRom 2015-03-15. On SGH-I337 S4 32Gb the ROM makes it think it is a GT-I9505G.
[Xposed Framework Modules] gerasi:
cm12 issues

I am new to xposed and it seems awsome i have been waiting for it mostly because the torch is very useful for me, the first time i installed the framework and the torch it was working great, then i updated to latest unoficial cm12 (my device is samsung s3 neo- l9301l) and it started doing buggy things like not always working (the torch) unless i on/off the screen the moment before using and crashing the other camera apps after i used it. If i go back to my previous backup it works like a charm but why is that? :/ Have i done something wrong? Ofcaurse i reflashed xposed after updating cause it wasnt there. Does it have anything to do that it wasnt a clean install like update? Any ideas? :( (Doing a clean install again seems like a hell of a lot to do now :( )
[Xposed Framework Modules] PIRATA!:
Does this work on Xposed for Lollipop?

Tnx.
[Xposed Framework Modules] 09eric09:
Yes.
[Xposed Framework Modules] abalian:
Same exact issues here on stock Touchwiz Note 3.
[Xposed Framework Modules] wanam:
New update 2.0.1 with some Lollipop support bugs fixes has been pushed.
[Xposed Framework Modules] PIRATA!:
Also implemented in Wanam Xposed module?

Tnx.
[Xposed Framework Modules] wanam:
No.
[Xposed Framework Modules] cge_95:
Hi,

On my device (Nexus 5 Android 5.1.1) I need to press volume up button twice to turn on flashlight, is it an expected behaviour or a bug ?

Christophe
[Xposed Framework Modules] rapiollymega:
was wondering if anyone knew how to make this work with powernap? I added the app to my whitelist but still doesn't work.
[Xposed Framework Modules] Rafael-57:
5.1.1

Could you add lolllipop 5.1.1 support please?
[Xposed Framework Modules] wanam:
It is an Android limitation, volume buttons can't wakeup the device from deep sleep.

Did you try the latest updates? it already supported.
[Xposed Framework Modules] Rafael-57:
EDIT: I had to uncheck and check again the module, for some reason when I installed it it was already checked and I didn't bother unchecking and checking it again, it works fine now, thank you

I've got the 2.0.1 version of the module installed in the Xposed Framework alpha 4 on my Z3

It worked on lollipop 5.0.2, but doesn't work after updating to 5.1.1, it says that the module is not active while It should be, no matter how much I reboot
[Xposed Framework Modules] kkregistro:
HI , first of all thank you very much Wanam, just one thing , it could be possible to turn on the torch with Vol - ?

I have LG G2 D802 with resurrection remix ROm, the xposed torch works fine.

Thank you for you time
[Xposed Framework Modules] John Chu:
Xposed Torch has conflict with Samsung's built-in Safety assistance feature, which is triggered when the Volume Up and Volume Down button are both pressed. So could you disable the Xposed Torch when the buttons are both pressed?

Thanks

[IMG="Safety assistance"]https://pbs.twimg.com/media/CMiubx0WsAA_jhY.jpg[/IMG]
[Xposed Framework Modules] tezack27:
Working great

Can you make it launch camera and flashlight
[Xposed Framework Modules] gozzaa:
i was about to ask that too :)

iam using your module on slimlp and it works great

would love to launch camera on vol down too!
[Xposed Framework Modules] SHW-M250K:
Thanks for the app. Unfortunately not working on my ancient galaxy s2. Module installs fine and torch works when manipulated from inside the app. When screen is off and vol up is held, phone vibrates but torch doesnt turn on.

Vol up works after a couple reboots.

Edit to add

App crashes when the screen light button is pressed. Hope you can fix if possible. Thanks for all the hard work.
[Xposed Framework Modules] vMAC:
2.0.2 Doesn't work on Nexus 6. Had to go back to 2.0.1.
[Xposed Framework Modules] shiboby:
I installed this in my LG G4. When I go into it on the phone and tap the button, the LED lights up. However, when the screen is off and I long press the volume up the phone vibrates but the LED doesn't light up. However the laser focus activates. Can you fix that?
[Xposed Framework Modules] sikohali:
Its working fine for me.
[Xposed Framework Modules] Olleo:
I still get the error on 2.0.3 (Myphone AXE LTE/Oinom LMV11H, android 4.4.4). Basing on Wakelock Detector it occured x83 times and lasted 2h23m. I didn't get this before installing XPosed Torch.
[Xposed Framework Modules] brusyev:
Thanks for this module Wanam. I am on Lollipop 5.1.1 and the module crashes when I am trying to leave feedback from the module....looking forward to the fix... I sent the crash report out your way...
[Xposed Framework Modules] scryan:
Apologies for the bother... But this is one of my favorite modules.

Are there plans to update it for MM at some point?
[Xposed Framework Modules] realista87:
before to install, can i ask u if being always listening volume up 8 for example) button, caould have bigger battery drain?

if it works while screen off..... i'm sure some cpu wakelocks prevent to sleep phone, right? can little worse batetry life this module?
[Xposed Framework Modules] scryan:
I never noticed any extra drain.

The volume buttons are always noticed by the cpu anyways, this just piggy backs on that as far as I know.
[Xposed Framework Modules] wanam:
Planned.

I do not keep any wakelocks while not using the torch, the wakelock is acquired only when using the flashlight which is required.

The volume buttons cannot wakeup the device if it goes on deep sleep, and this is why the module doesn't work on this case, it works on screen off only if it is not on deep sleep.
[Xposed Framework Modules] xenyz:
Thanks for planning to support Marshmallow, this is a key Xposed module.

I've noticed, at least on my Nexus 4, that Xposed Torch works reliably if you short press volume key, then long press volume key. The first press to wake the device, the second press to activate torch.
[Xposed Framework Modules] 09eric09:
Thanks for the continued support, this module is an essential. Absolutely love it.
[Xposed Framework Modules] realista87:
so, you can say me that using your app there isn't more battery drain?

a few months ago i installed this https://play.google.com/store/apps/details?id=com.blor.quickclickgold&hl=it ( quickclick) , an app that can assign an Action with a sequence of Volume Buttons clicks, but i noticed an huge battery drain using it in offscreen mode, and i was forced to activate the option " only during screen on". i used that app just to double click + volume and TORCH ON.

now......xposed torch do the same thing for me, but my big fear is that , this service/app being "always listening" for a long press volume button........could use more cpu on standby time :confused:, increasing drain. i must do more tests but torch seems to start even after long time i don't use phone, so i should be in deep sleep....... but you said this app shoud not work during deep sleep :rolleyes:
[Xposed Framework Modules] wanam:
There's no background service on my module, use Betterbatterystats to check what causes your wakelocks on screen off.
[Xposed Framework Modules] realista87:
ok thank you
[Xposed Framework Modules] älämölö:
With Samsung J5 volume key works in sequence of ON-OFF-EMPTY. So that if I have previously turned light off, next press does nothing, but next press turns the light on. This is constant behavior and time between presses doesnt affect it.
[Xposed Framework Modules] kik4444:
I have a similar issue. I'm using note 3 n9005 and whenever I try activation it less than a second after turning the screen off, it works, but if I wait any more, I get random results : sometimes it works on the 1st try, other times it takes a few tries to get it to work, and some other times it just doesn't work at all and I'm forced to turn the screen on and then off to fix it. Any ideas how to fix this? I'm running note 3 n9005, aryamod 8.0, stock kernel.
[Xposed Framework Modules] djjangelo:
I completely agree - this module is the main reason I rooted my Marshmallow Nexus 6.

If anyone has any workarounds in the meantime I am open to all suggestions.
[Xposed Framework Modules] city2026:
Works charming.)

Would be even better with power button. On my device it's easier to find and hold.
[Xposed Framework Modules] patrick_the_fat:
i agree, one of my fav modules and i can't wait to use it on M. big thank you!!
[Xposed Framework Modules] wanam:
New update 2.1.0 with Marshmallow support posted.
[Xposed Framework Modules] cattolicboy:
Thanks mate, but posted where? :confused:
[Xposed Framework Modules] wanam:
http://repo.xposed.info/module/ma.wanam.torch
[Xposed Framework Modules] mad_tunes:
Hi,

Great work, thanks a lot!

After installing the latest version (2.1.0) though, the Torch shortcut in quick settings disappeared. It was still set to be shown, but doesn't actually show.

Is that by design?

It reverted and reappeared after I went back to latest -1.

Thanks
[Xposed Framework Modules] cmhrky:
Hi,

Don't work Xposed Torch v2.0.1, 2.0.2, 2.0.3 and 2.1.0 on Htc Incredible S ICS 4.0.4.

v2.0.0 worked fine.
[Xposed Framework Modules] malaccio:
I use powernap and greenify.. which apps I have to put in whitelist?
[Xposed Framework Modules] elenhil:
What on Earth are these latest 'bugfixes' that take additional 3 megabytes and make a LED torch app require unlimited Internet access?
[Xposed Framework Modules] wanam:
The bugs fixes are related to some useless wake-locks i removed, the size increased with the Play services package, i added some ads to support my work, anywat those ads won't appear if you only use the hardware keys to run the Torch.
[Xposed Framework Modules] sutobe:
Since the latest update the torch often doesn't work properly anymore.

I own a Nexus 5 with Android 5.1.1

I was used to sometimes have to press Volumte Down Twice, then hold Volume Up to turn on the Torch. This is what at least I had to to since 2014 KitKat. Not always, sometimes.

Now with the newest update the Torch won't start very often.....until I unlock and the lock the phone screen again.

There is no recreating, it happens occasionally.

Can you please have a look at your module again? Couldn't find any log function
[Xposed Framework Modules] 09eric09:
+1
[Xposed Framework Modules] wanam:
As many of you know, the volume keys are NOT a WAKE keys on Android, so the behavior you were getting was maybe related to a wakelock i used to acquire when hitting a key, but since this is not an accurate approach and does not work most of the time while the device is on a deep sleep state, i think it's a waste of power so i decided to remove it.

I improved the home button support on the new update 2.1.2, so I recommend using this key when it's available, it is much more accurate even on deep sleep.

2.1.2 update:

- Improved Home button support

- Changing settings does not require rebooting

- Runtime permissions support for Marshmallow

- Few other bugs fixes
[Xposed Framework Modules] sutobe:
The Volume Down key double tab hasn't been a big issue, that I have to unlock the phone now, then lock it again to use the torch is though.

Also with the latest version pressing the volume key when the phone is locked messes with the volume settings, turns the phone on loud when I had it on silent. Or doesn't, since I need to unlock it sometimes to get a reaction now as mentioned.

There is no home button on the Nexus 5 so I am rolling back to 2.1.0
[Xposed Framework Modules] Stoffl_:
Version 2.0.3 works flawless on my Z3C with custom Android 5.1.1 Rom FIY

2.1.3 won't work at all
[Xposed Framework Modules] moeburn:
Doesn't work at all on my Note 4 - do you need to have a lockscreen enabled for this module? Because I have lockscreen disabled.
[Xposed Framework Modules] okij:
[MENTION=3562083]wanam[/MENTION]:

+1 for my Xperia Z3c running on 5.1.1.

I'm rolling back to 2.1.0 now.

BTW, why is 2.1.3 asking permissions for network access and tries to gain phone access (as XPrivacy reports when starting Xposed Torch)??? This smells like spyware. :-/
[Xposed Framework Modules] gbmolina:
not working on Samsung Galaxy S5

Hi, this works approximately 50% of the time. Is it possible that the fact that I don´t use a lock screen (this option is off) has something to do with it? Root, android 4.4.2
[Xposed Framework Modules] TurricanM3:
Can you add other turn on modes? It mostly doesn't work on my note 4 as the device is in deep sleep. Sometimes the flashlight turns on with a long delay. =(

I had double push home button in lockscreen (screen on) on my note 3, that worked 100%.
[Xposed Framework Modules] bandario:
Received 2 updates to the app component since late January.

Since the first of those updates and still not addressed in the second, I started having difficulty activating the torch on my z3c.

Previously worked first time, every time. Now I am lucky if ever works properly unless I have just unlocked and relocked the screen.

Any ideas??
[Xposed Framework Modules] leyneli:
Dont work on note 4, and old phone S5.
[Xposed Framework Modules] MohamedRaafat:
I do have the same problem when using the volume up button but works flawlessly using the home button.I'm using the note 5 btw
[Xposed Framework Modules] wanam:
Can you try the new update 2.1.4?
[Xposed Framework Modules] MohamedRaafat:
I did and it only works when you have just unlocked/locked your mobile mobile but when you leave it for some time and then use the volume up button,it doesn't work but the home button does !

Thanks for your work :good:
[Xposed Framework Modules] poule1024:
I have the same behavior on my Nexus 6P. I don't have a physical button however, so that makes the app not terribly useful, sadly.

Thanks for your work!