[Q] home button long press access flashlight on lock screen - Verizon Samsung Galaxy S III

Is there a way to launch flashlight/assistive light by holding down home button during LOCKSCREEN? I use nova launcher on my galaxy s3 verizon running jellywiz rls 5 and the nova launcher allows home button long press customization past the lockscreen but it would be cool to have long press home button customization. Just how MIUI has longpress button flashlight on its lockscreen

I don't know of anything but would love to have a feature like this.

Home2 shortcut is close to what you need. Don't know if it works from lock screen though.
https://play.google.com/store/apps/details?id=com.eikatou0.appspot.home2shortcut
Sent from my SCH-I535 using xda app-developers app

Bump.
I have the same question.

Home button flashlight
Bump.
I also have the same question.
I'm on ROM BoneStockv1.6

All aosp roms have this feature, it's called lockscreen button actions. You can actually map almost anything you want to either of the 3 keys.
I know a few tw roms have included the home button flashlight feature as a toggleable option in the settings, but I have not seen an ad on mod for roms that don't support it.

all aosp roms do not support this, but i wish they did. most do thgouh.
theres an app where you can shake your phone to turn on the flashlight but i cannot remmeber what its called. it works from the lockscreen

I meant most, sorry..

wasnt trying to be a ****, sorry lol.
i was searching for this last night. just running an AOSP rom that doenst support this at the moment and saw thsi come up in my search.
theres probably a mod somewhere but i havent found it.
it hink if your on TW didact has a mod for this.

Which rom are you running that does not have it?

Pacman has it. You have to first turn the screen on, then hold the home button. Same to shut it off. I love that feature.
Sent from my PACmaned, ktoonzified SGS3!

Related

can I change the lockscreen?

Good afternoon XDA.
I'm wondering if anyone has any guidance on how I can change the lockscreen on the G2x?
I am rooted with clockwork installed. I know if I install cm7 I'll have more options but currently that rom doesn't allow me to have data, calls only.
I have searched high and low for settings for the lockscreen and can't find any.
here's my problem. I was spoiled by cm6 and 7 on mytouch slide. With the G2x the buttons aren't real buttons so they don't actually pull the phone out of sleep. The only button that does that is the power button at the top. And then the only way to get past the lock screen is to gesture from left to right. I absolutely hate that whole gesture to unlock thing. I know it was nifty for nifties sake when it was first done a couple years ago and has become standard since then. But I hate it. it's uncomfortable and annoying. I just want to pull my phone out, push a button and start doing what I need to do. Sometimes it's just check a widget on my desktop. Now I have to fumble around swiping to do that.
On the mytouch with CM i could just double click the trackpad our menu button and it would unsleep then unlock easy as that.
Please if anyone knows a way to get past the lock screen with a button press or get rid of the lockscreen entirely so it unlocks as soon as it unsleeps please let me know.
dream scenario: push volume button and phone comes out of sleep, push volume button again to get past lockscreen.
widget locker can disable the lockscreen i believe
other than that i dont know of any apps that would let you hit the volume button to wake up the phone
CM7 would definitely be the easiest way to get it done, but unfortunately it looks like it wouldnt work out for you.
CM7 might get the option to wake with the volume keys...
http://review.cyanogenmod.com/#change,3255
The code is there, it just hasn't been merged yet...
I found this application and tried it out. It takes a second to unlock, but one press of the power button gets you in.
https://market.android.com/details?id=i4nc4mp.myLock
Sent from my LG-P999 using XDA Premium App
omarsalmin said:
CM7 might get the option to wake with the volume keys...
http://review.cyanogenmod.com/#change,3255
The code is there, it just hasn't been merged yet...
Click to expand...
Click to collapse
That is such great news. I'm definitely going to CM7 when data works on it because I can't imagine using my phones for a long time without cyanogen on them.
And thank you to the people who gave app suggestions, i'm going to check those out.
Where is whitehawx when you need him lol!
Sent from my LG-P999 using XDA Premium App

[Q] iPhone double tap sleep button flashlight

Hello all! There's a cool feature called springflash in iPhone that consists on double tapping the lock button and the flashlight turns automatically on, if you doubletap again flashlight goes off
I love this feature and have been searching for a similar thing or a "gesture maker" to turn flashlight on (or unless open the torch app)
can someone tell me any app they know either to do this or to enable small gestures to open apps like torch or directly turn on the flashlight? thanks in advance
I'm using last miui rom so the option of using the search button as a launcher of the app torch is not possible!
for the miui rom i believe if i remember correctly all you have to do is hold the home button and the torch will turn on for you. i was on the miui rom just about 2 days ago and did work. if not there are other apps that you can use as widgets and they automatically turn on the torch for you
javi422 said:
for the miui rom i believe if i remember correctly all you have to do is hold the home button and the torch will turn on for you. i was on the miui rom just about 2 days ago and did work. if not there are other apps that you can use as widgets and they automatically turn on the torch for you
Click to expand...
Click to collapse
I'm using MIUI ROM and holding down Home brings up "Recent Apps" screen, just like CM7.
On cm7 you can change what long press on home does, under cm settings
Sent from my MB525 using XDA App
I thinks this is possible ONLY in custom ROM, Android System does not permit to any user's app to override Home or Power button,
bye,
mariosanoguera said:
can someone tell me any app they know either to do this or to enable small gestures to open apps like torch or directly turn on the flashlight? thanks in advance !
Click to expand...
Click to collapse
You may have luck with the app called "Tasker" - Check it out
With CM7 you can define lockscreen gestures which can be used to toggle the flashlight.
I have setup a very simple gesture (looks like an upside down "L") for that. That makes the flashlight very accessible, though i does not engage accidently.
I used the built in powermanagement widget for the notification area to toggle the flashlight before i found that solution and this is a lot less of a hassle as i dont have to unlock the phone or pull down the notification area.
thanks for the replies! the torch thing of miui works sometimes but other times you mantain home button and it just flash 1 sec and goes off
If I can't find any solution and the problem of miui isn't solved I will go back to the cm7 and notification bar flashlight which is quite cool
hirano said:
I'm using MIUI ROM and holding down Home brings up "Recent Apps" screen, just like CM7.
Click to expand...
Click to collapse
well for me it specifically said once i opened the torch app that came with it miui a message came up and said i no longer needed to open the app just to long press the home and the torch would light and indeed it did light

[Q] Wake with Menu, home, back, or search buttons

So I have the Androidified tpu case which makes the power button kinda hard to press. Also I use NOLED which wont wake with the power button when there is a notification. For these reasons it would be nice to wake the phone with the front face buttons, as long as they dont accidentally get pressed in my pocket
So I was wondering if i could modifiy
system/usr/keylayout/s3c-keypad.kl
and add a few WAKE_DROPPED where wanted and get the desired effect???
Let me know if you've done this already or you know it works. Ive seen similar things done with other phones. If not Ill just try it myself once i get a chance to make an odin backup of my phone.
I've actually found a way to do it. Instead of using the home button tho, all physical buttons work. Its a hack to remove the lockscreen. I actually replaced my lockscreen with Ripple Lock from the market with this. Give a nice Honeycomb style lockscreen with great options. Here's what I did...
Go to the dialer and enter #83786633, then press home.
Go back into the dialer, clear the numbers and enter *#22745927 and enter the SPC code 000000.
Hit the "HiddenMenu Enable Radio" button. Press home.
Go back to the dialer, enter *#7594# and hit the "Shutdown" button, then home.
The lockscreen is now GONE. I have never reversed it to get the lockscreen back tho, I hate the AOSP lockscreen, and Puzzle lockscreens. The Ripple Lock app from the market is very smooth, fluid and has totally replaced them annoying lockscreens. Best of all, any physical button now wakes up my phone I don't have any accidental presses either. Everything is great. Hope this helps!!!!!
Sent from my SCH-I510 using XDA Premium App
interesting...I saw a few other apps that would modify buttons/screens. My only concern is bloating up my rom...would love to do within the system. Also whenever I call numbers and press in codes I feel like I might be giving away my life savings to an anonymous bank account in the Caribbean lol
Tried changing the .kl file. Specifically the home button. Doesnt seem to work. Let me know if anyone figures this out
youngpettyboi said:
I've actually found a way to do it. Instead of using the home button tho, all physical buttons work. Its a hack to remove the lockscreen. I actually replaced my lockscreen with Ripple Lock from the market with this. Give a nice Honeycomb style lockscreen with great options. Here's what I did...
Go to the dialer and enter #83786633, then press home.
Go back into the dialer, clear the numbers and enter *#22745927 and enter the SPC code 000000.
Hit the "HiddenMenu Enable Radio" button. Press home.
Go back to the dialer, enter *#7594# and hit the "Shutdown" button, then home.
The lockscreen is now GONE. I have never reversed it to get the lockscreen back tho, I hate the AOSP lockscreen, and Puzzle lockscreens. The Ripple Lock app from the market is very smooth, fluid and has totally replaced them annoying lockscreens. Best of all, any physical button now wakes up my phone I don't have any accidental presses either. Everything is great. Hope this helps!!!!!
Sent from my SCH-I510 using XDA Premium App
Click to expand...
Click to collapse
Have you rebooted your phone since the change? I did this mod. and it worked fine until I rebooted. After a reboot the lock screen fix was still working, but the physical buttons no longer woke up the phone. Others have reported the same issue.
Yes, actually I always turn my phone off at nite, and when I turn it back on, my physical keys work fine to wake up the phone. Haven't had a single problem since. I would rather do it this way instead of going ib the system and screwing something up. Not that good at stuff like that lol.
Sent from my SCH-I510 using XDA Premium App
youngpettyboi said:
I've actually found a way to do it. Instead of using the home button tho, all physical buttons work. Its a hack to remove the lockscreen. I actually replaced my lockscreen with Ripple Lock from the market with this. Give a nice Honeycomb style lockscreen with great options. Here's what I did...
Go to the dialer and enter #83786633, then press home.
Go back into the dialer, clear the numbers and enter *#22745927 and enter the SPC code 000000.
Hit the "HiddenMenu Enable Radio" button. Press home.
The lockscreen is now GONE. I have never reversed it to get the lockscreen back tho, I hate the AOSP lockscreen, and Puzzle lockscreens. The Ripple Lock app from the market is very smooth, fluid and has totally replaced them annoying lockscreens. Best of all, any physical button now wakes up my phone I don't have any accidental presses either. Everything is great. Hope this helps!!!!!
Sent from my SCH-I510 using XDA Premium App
Click to expand...
Click to collapse
When it comes time to enter *#7594# and hit the "Shutdown" button, What is the "shutdown button? I did not see this anywhere.
youngpettyboi said:
Yes, actually I always turn my phone off at nite, and when I turn it back on, my physical keys work fine to wake up the phone. Haven't had a single problem since. I would rather do it this way instead of going ib the system and screwing something up. Not that good at stuff like that lol.
Sent from my SCH-I510 using XDA Premium App
Click to expand...
Click to collapse
Huh... LUCKY! I'll have to try it again. Maybe I have an app. that's conflicting with my hard buttons.
The "Shutdown" button comes right after u enter *#7594#. Click it when it pops up. Its an onscreen button. Not the physical bottom on the phone.
Sent from my SCH-I510 using XDA Premium App
Or just use WidgetLocker...
{SDCharge Humb£e 1.25}

Anyone get widget locker to work with SGS3?

It runs fine but if I hit the home button, it bypasses the lock screen and just goes to my home screen. The power button works, its just the home button issue. Can anyone share their settings for widget locker or let me know what I'm doing wrong.
Sent from my Nexus 7 using xda app-developers app
I've only been using Widget Locker for a couple of days but try this:
Go to the WidgetLocker app - Press the settings Icon on top right corner - Select Buttons & Inputs - Uncheck Allow Home Button.
See if that works.
I also have a question if anyone can help. How do I get Google now on the Jelly Bean Themed slider. I can get Google Now by setting the app in the unlock screen, but how do I make it look like the stock Google Now app?
Thanks
iPhoneSlayer said:
I've only been using Widget Locker for a couple of days but try this:
Go to the WidgetLocker app - Press the settings Icon on top right corner - Select Buttons & Inputs - Uncheck Allow Home Button.
See if that works.
I also have a question if anyone can help. How do I get Google now on the Jelly Bean Themed slider. I can get Google Now by setting the app in the unlock screen, but how do I make it look like the stock Google Now app?
Thanks
Click to expand...
Click to collapse
That worked thanks!
What's the jelly bean themed slider? If I can find it I can see if I can figure out your answer.
Sent from my Nexus 7 using xda app-developers app
tu3218 said:
That worked thanks!
What's the jelly bean themed slider? If I can find it I can see if I can figure out your answer.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Glad I could help.
The slider I talking about is the slider to unlock the phone. You can chose from a list of slider like honeycomb, ICS, Jellybean, Sense, etc. I want it to look like my N7 tablet where if I slide it up, it goes to Google Now. I can still get Google now by adding the shortcut to google search, but I want the icon to look like the stock look. It's kinda hard to explain, sorry.
iPhoneSlayer said:
Glad I could help.
The slider I talking about is the slider to unlock the phone. You can chose from a list of slider like honeycomb, ICS, Jellybean, Sense, etc. I want it to look like my N7 tablet where if I slide it up, it goes to Google Now. I can still get Google now by adding the shortcut to google search, but I want the icon to look like the stock look. It's kinda hard to explain, sorry.
Click to expand...
Click to collapse
Oh okay yeah. I'm using the JB slider now. Mine has the stock looking "Google" for Google now. It just doesn't have the circle around the word " Google". I can post picture if you want.
Sent from my Nexus 7 using xda app-developers app
tu3218 said:
Oh okay yeah. I'm using the JB slider now. Mine has the stock looking "Google" for Google now. It just doesn't have the circle around the word " Google". I can post picture if you want.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Nevermind, I'm dumb. I've been trying to add it as a shortcut, but I should have used WidgetLocker Actions to choose google. Now it's all good.
Thanks
Oh alright good.
Ugh its not working now. Can you go into advance an go to home helper. What do you have there? I think that's regarding the home button. Its weird. Its off an on with it working.
Sent from my SCH-I535 using xda app-developers app
tu3218 said:
Oh alright good.
Ugh its not working now. Can you go into advance an go to home helper. What do you have there? I think that's regarding the home button. Its weird. Its off an on with it working.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
I think Home helper is for some launcher settings.
If you uncheck Allow Home Button under the Buttons and Inputs, then it should work, however it may be a bug that sometimes causes it not to work. I've noticed that widget locker acts weird if the phone is charging. I have only been using it for a few days so I'm sorry if I wasn't more helpful.
tu3218 said:
It runs fine but if I hit the home button, it bypasses the lock screen and just goes to my home screen. The power button works, its just the home button issue. Can anyone share their settings for widget locker or let me know what I'm doing wrong.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
I had the same problem the other day. Particularly after I updated to 4.1.1. The lockscreen would unlock (once awake) by pressing home.
I solved it by using HomeHelper (widgetlocker settings -> advanced -> homehelper).
1) tick the "HomeHelper component" and choose "WL HomeHelper" as the default.
2) tap "HomeHelper's Launcher" and choose your default launcher (Touchwiz, Nova, AWG, Launcher Pro, etc.)
3) Make sure "HomeHelper Block Home" is checked.
4) (Optional) You can also choice "Block Home in other apps" to return to the lockscreen after opening apps from the notification bar or shortcuts.
HomeHelper worked fine for me, but I got the feeling it was slowing down my system a tiny bit. Most notably, the wallpaper would quickly blink every time I hit the home button (what is effectively happening is that the home button activates HomeHelper, that then activates the launcher). It was not a major deal but I personally found it annoying.
However, I may have stumbled upon the culprit behind all this: S-Voice. Once I upgraded to 4.1.1 I turned off the option to activate s-voice through pressing home twice (S-voice -> menu button -> Settings) because I was happy to use Google Now (aka Voice Search) instead. That is when I had the problem with widgetlocker's lock screen unlocking with the home button. After not liking HomeHelper's performance, I reluctantly went back to the default Touchwiz lockscreen (I maintained my custom launcher though, and reset the home button to default to it).
After Google Now failed embarrassingly to call the right people from my contacts list (most of whose names are foreign), I decided to go back to using S-voice. I reactivated the "press home twice" option. However, I still hated the "slide anywhere to unlock" Touchwiz lockscreen, as well as its inability to silence the ringer in one slide (you have to either hold the power button or open the notification bar first). So I went crawling back to widgetlocker for forgiveness. I activated widgetlocker (I did not meddle with the HomeHelper settings assuming those were already set), and later noticed that the lockscreen was not being unlocked with the home button, while the homescreen wallpaper was no longer blinking. I went into the homehelper settings and made sure it was turned off, and also made sure that the home button was by default linked to the custom launcher (not HomeHelper). I confirmed my theory by deactivating S-voice's double-press home option, and the problem above came back.
tl;dr. I theorize that the problem is caused by turning off S-Voice's quick-access option (double-press home). You can also use Widgetlocker's HomeHelper if you don't want to turn S-Voice back on. I hope my experience is not simply coincidence and someone could confirm this theory.
Found this thread because I was having basically the same problem. Widget locker's lock screen would be bypassed coming from sleep by single pressing home (power button from sleep continued to work normally). I could not fix this using any method mentioned here so far, except for enabling S Voice via double tapping home. I emailed the dev and hope it gets fixed, because I'd like to avoid the lag added to the home button by having double tap for S Voice enabled.
Anyone else have an alternate solution?
netter123 said:
Found this thread because I was having basically the same problem. Widget locker's lock screen would be bypassed coming from sleep by single pressing home (power button from sleep continued to work normally). I could not fix this using any method mentioned here so far, except for enabling S Voice via double tapping home. I emailed the dev and hope it gets fixed, because I'd like to avoid the lag added to the home button by having double tap for S Voice enabled.
Click to expand...
Click to collapse
Oddly enough this fixed it for me too. I had disabled S-Voice yesterday and today noticed that using the home button bypassed Widget locker. I re-enabled S-Voice and all is back to normal. Hopefully the dev will be able to give us an answer soon.
Agh ...I was so excited to get back to WidgetLocker I got used to from my pevious phone, only to find out this little anoying thing. Are there any news, some reply from the dev ?
So I am using widgetlocker, and my home button only wakes to my widgetlocker screen (never see the touchwiz lockscreen). I have s-voice/double-tap disabled.
In widgetlocker settings, under "advanced" I have root checker checked, homehelper component checked, "select system home" is widgetlocker, and "homehelper's launcher" is the launcher I use (nova in my case).
Does that not fix the problem for you all?
(On CleanRom 5.6)
Sent from my SCH-I535 using Xparent BlueTapatalk 2
Does your launcher blink every time you press home button while in the launcher itself ? If yes, then you know why it does not work for us.
JustSomeDude said:
So I am using widgetlocker, and my home button only wakes to my widgetlocker screen (never see the touchwiz lockscreen). I have s-voice/double-tap disabled.
In widgetlocker settings, under "advanced" I have root checker checked, homehelper component checked, "select system home" is widgetlocker, and "homehelper's launcher" is the launcher I use (nova in my case).
Does that not fix the problem for you all?
(On CleanRom 5.6)
Sent from my SCH-I535 using Xparent BlueTapatalk 2
Click to expand...
Click to collapse
No, these settings don't solve the problem for me. I messed with various combinations of the settings your talking about as well, but no matter what I still bypass the lock screen (and also experience a quick blink every time home is pressed, which would be a secondary concern). I'm also on the latest Cleanrom and use Nova.
netter123 said:
No, these settings don't solve the problem for me. I messed with various combinations of the settings your talking about as well, but no matter what I still bypass the lock screen (and also experience a quick blink every time home is pressed, which would be a secondary concern). I'm also on the latest Cleanrom and use Nova.
Click to expand...
Click to collapse
Hmm, strange... One more setting I have: do you also have "appear on boot" checked under Behavior? Otherwise I'm stumped as to why it works for me and not you.
As for the quick blink, yeah, I have that too - I assume from widgetlocker being assigned as home, thus registering that before going to nova - but I hit home so rarely that I barely notice it.
Sent from my SCH-I535 using Xparent BlueTapatalk 2
JustSomeDude said:
Hmm, strange... One more setting I have: do you also have "appear on boot" checked under Behavior? Otherwise I'm stumped as to why it works for me and not you.
As for the quick blink, yeah, I have that too - I assume from widgetlocker being assigned as home, thus registering that before going to nova - but I hit home so rarely that I barely notice it.
Sent from my SCH-I535 using Xparent BlueTapatalk 2
Click to expand...
Click to collapse
Yeah have that checked too. Must be some setting slightly different somewhere though. Not that big of a deal, I've just been living with the slight lag on home press and sounds like otherwise I'd have to get used to the quick blink.
Btw never got a response from the developer so that's kind of disappointing..
It's working for me but I get the annoying flicker when hitting the home button as well. It's a drag for sure. Go Launcher is my launcher. Shoulda did my homework before paying for this one. Love what the lockscreen can do but has issues with the home button for sure
Dothgar said:
I had the same problem the other day. Particularly after I updated to 4.1.1. The lockscreen would unlock (once awake) by pressing home.
I solved it by using HomeHelper (widgetlocker settings -> advanced -> homehelper).
1) tick the "HomeHelper component" and choose "WL HomeHelper" as the default.
2) tap "HomeHelper's Launcher" and choose your default launcher (Touchwiz, Nova, AWG, Launcher Pro, etc.)
3) Make sure "HomeHelper Block Home" is checked.
4) (Optional) You can also choice "Block Home in other apps" to return to the lockscreen after opening apps from the notification bar or shortcuts.
HomeHelper worked fine for me, but I got the feeling it was slowing down my system a tiny bit. Most notably, the wallpaper would quickly blink every time I hit the home button (what is effectively happening is that the home button activates HomeHelper, that then activates the launcher). It was not a major deal but I personally found it annoying.
However, I may have stumbled upon the culprit behind all this: S-Voice. Once I upgraded to 4.1.1 I turned off the option to activate s-voice through pressing home twice (S-voice -> menu button -> Settings) because I was happy to use Google Now (aka Voice Search) instead. That is when I had the problem with widgetlocker's lock screen unlocking with the home button. After not liking HomeHelper's performance, I reluctantly went back to the default Touchwiz lockscreen (I maintained my custom launcher though, and reset the home button to default to it).
After Google Now failed embarrassingly to call the right people from my contacts list (most of whose names are foreign), I decided to go back to using S-voice. I reactivated the "press home twice" option. However, I still hated the "slide anywhere to unlock" Touchwiz lockscreen, as well as its inability to silence the ringer in one slide (you have to either hold the power button or open the notification bar first). So I went crawling back to widgetlocker for forgiveness. I activated widgetlocker (I did not meddle with the HomeHelper settings assuming those were already set), and later noticed that the lockscreen was not being unlocked with the home button, while the homescreen wallpaper was no longer blinking. I went into the homehelper settings and made sure it was turned off, and also made sure that the home button was by default linked to the custom launcher (not HomeHelper). I confirmed my theory by deactivating S-voice's double-press home option, and the problem above came back.
tl;dr. I theorize that the problem is caused by turning off S-Voice's quick-access option (double-press home). You can also use Widgetlocker's HomeHelper if you don't want to turn S-Voice back on. I hope my experience is not simply coincidence and someone could confirm this theory.
Click to expand...
Click to collapse
Thank you. It is what i want

Lockscreen torch work around

One thing I missed coming to the G2 from AOSP ROMs on my DNA were torch quick toggles, with the screen on-- long pressing a nav key, or off--long pressing a hardware button. Don't know if the devs have these going on any ROMs around here, but I've come up with a little work-around that should work regardless of what you're running.
You'll need:
Tasker
Tesla LED
G2 Xposed settings
Secure Settings (or another app that turns off your screen)
For screen on
In Tasker, go to the Tasks tab and create a new task. Call it "toggle torch" or something. Add action-->third party-->Tesla LED-->Set: toggle. Hit Back. Long Press the task you just created, then hit the three-dot menu on the top right. Export-->As App. Name it something. After it creates the app, hit the little Android button to install the app.
Fire up G2 Xposed and under the Nav bar settings, set your "toggle torch" on one of the buttons' long press actions.
For screen off
Follow the above instructions, but add an additional action to the task to lock/turn off the screen. Name the task and app something different than the first, like "toggle torch lock."
I have this one set to my Volume Up in G2 Xposed settings. It turns on the screen for a second when toggling the torch on or off, but you don't have to unlock or anything and it works with the pin enabled.
I also hid the toggle apps in my app drawer with Nova just because.
Hope this helps somebody!
calbruc said:
One thing I missed coming to the G2 from AOSP ROMs on my DNA were torch quick toggles, with the screen on-- long pressing a nav key, or off--long pressing a hardware button. Don't know if the devs have these going on any ROMs around here, but I've come up with a little work-around that should work regardless of what you're running.
You'll need:
Tasker
Tesla LED
G2 Xposed settings
Secure Settings (or another app that turns off your screen)
For screen on
In Tasker, go to the Tasks tab and create a new task. Call it "toggle torch" or something. Add action-->third party-->Tesla LED-->Set: toggle. Hit Back. Long Press the task you just created, then hit the three-dot menu on the top right. Export-->As App. Name it something. After it creates the app, hit the little Android button to install the app.
Fire up G2 Xposed and under the Nav bar settings, set your "toggle torch" on one of the buttons' long press actions.
For screen off
Follow the above instructions, but add an additional action to the task to lock/turn off the screen. Name the task and app something different than the first, like "toggle torch lock."
I have this one set to my Volume Up in G2 Xposed settings. It turns on the screen for a second when toggling the torch on or off, but you don't have to unlock or anything and it works with the pin enabled.
I also hid the toggle apps in my app drawer with Nova just because.
Hope this helps somebody!
Click to expand...
Click to collapse
Clever thinking, thanks!
This is awesome! Thank you
Sent from my VS980 4G using Tapatalk
calbruc said:
One thing I missed coming to the G2 from AOSP ROMs on my DNA were torch quick toggles, with the screen on-- long pressing a nav key, or off--long pressing a hardware button. Don't know if the devs have these going on any ROMs around here, but I've come up with a little work-around that should work regardless of what you're running.
You'll need:
Tasker
Tesla LED
G2 Xposed settings
Secure Settings (or another app that turns off your screen)
For screen on
In Tasker, go to the Tasks tab and create a new task. Call it "toggle torch" or something. Add action-->third party-->Tesla LED-->Set: toggle. Hit Back. Long Press the task you just created, then hit the three-dot menu on the top right. Export-->As App. Name it something. After it creates the app, hit the little Android button to install the app.
Fire up G2 Xposed and under the Nav bar settings, set your "toggle torch" on one of the buttons' long press actions.
For screen off
Follow the above instructions, but add an additional action to the task to lock/turn off the screen. Name the task and app something different than the first, like "toggle torch lock."
I have this one set to my Volume Up in G2 Xposed settings. It turns on the screen for a second when toggling the torch on or off, but you don't have to unlock or anything and it works with the pin enabled.
I also hid the toggle apps in my app drawer with Nova just because.
Hope this helps somebody!
Click to expand...
Click to collapse
helped me, thanks!
ribby18 said:
helped me, thanks!
Click to expand...
Click to collapse
I have the same setup i think , but it doesn't work for me ?
Lg g2 , rooted + xposed + G2 xposed + nova launcher prime + secure settings + tasker
My created app works fine when launched Manually.
I think it might be a bug in G2 xposed,
since the only option that actually works Is putting it to stock function ...
Thanks for the walkthrough, I was just thinking the same .
In CM11 ROM the torch works fine , but it isn't stable enough for daily use
calbruc said:
One thing I missed coming to the G2 from AOSP ROMs on my DNA were torch quick toggles, with the screen on-- long pressing a nav key, or off--long pressing a hardware button. Don't know if the devs have these going on any ROMs around here, but I've come up with a little work-around that should work regardless of what you're running.
I used g2 xposed to enable aosp lock screen then used gravity box to long press lock icon for torch.
Also used g2 xposed and using volume key for torch when screen is off.
And last I have notification toggle app and have torch as a one of the toggles.
Sent from my VS980 4G using xda app-developers app
Click to expand...
Click to collapse
The culprit was gravitybox. Even without configuration , having it enabled was enough to block G2 xposed .
The good news : there is a torch function built into G2 xposed to use with the volume keys
Verstuurd van mijn LG-D802 met Tapatalk
Using an app called Torchie, just press both 'volume buttons' together to turn on/off torch anytime. It runs as a background service and just works anytime, screen on, lock screen and even when screen off (if enabled from Torchie Settings). It kinda make your phone feel like a conventional battery operated torch. No root required.
https://play.google.com/store/apps/details?id=in.blogspot.anselmbros.torchie
XDA Thread here: http://forum.xda-developers.com/android/apps-games/app-torchie-torch-volume-buttons-anytime-t3270230

Categories

Resources