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
Just one touch to turn off and lock screen.
"Screen Lock" provides different kinds of shortcuts (buttons):
- The shortcut on home screen
- The shortcut in the notification
- The shortcut floating on the screen
We provide many icons to apply to each kind of shortcut.
Floating shortcut supports more customization features:
- Modify the size of icon
- Modify the alpha of icon
- Automatically hide the floating shortcut in fullscreen mode
- Support to select icon from gallery
- Vibrate when screen is locked
The hardware power button of some devices is not well designed. The frequent use to power on/off may damage it. The different kinds of shortcuts provide by our app can replace it and extend it’s life time.They can lock and turn off screen without pressing hardware power button immediately.
You can download the app from the Google Play Store at
play.google.com/store/apps/details?id=com.simi.screenlock
or install the attached APK file:
If you have any suggestion or would like to help the localization of this app, please feel free to send email to us. Thanks!
[email protected]
Just one touch to turn off and lock screen.
"Screen Lock" provides different kinds of shortcuts (buttons):
- The shortcut on home screen
- The shortcut in the notification
- The shortcut floating on the screen (The button floating on any application)
We provide many icons to apply to each kind of shortcut.
Floating shortcut supports more customization features:
- Modify the size of icon
- Modify the alpha of icon
- Automatically hide the floating shortcut in fullscreen mode
- Support to select icon from gallery
- Vibrate when screen is locked
- Support to play sounds when locking screen (New!)
The hardware power button of some devices is not well designed. The frequent use to power on/off may damage it. The different kinds of shortcuts provide by our app can replace it and extend it’s life time.They can lock and turn off screen without pressing hardware power button immediately.
You can download the app from the Google Play Store at
play.google.com/store/apps/details?id=com.simi.screenlock
or install the attached APK file:
If you have any suggestion or would like to help the localization of this app, please feel free to send email to us. Thanks!
[email protected]
Just one touch to turn off and lock screen.
"Screen Lock" provides different kinds of shortcuts (buttons):
- Shortcut on home screen
- Shortcut in the notification
- Shortcut floating on the screen over other apps
We provide many icons to apply to each kind of shortcut.
Floating shortcut supports more customization features:
- Adjust the size of icon
- Adjust the opacity of icon
- Auto hide in fullscreen mode
- Select icon from the pictures in your device
- Vibrate when locking
- Play sounds when locking
- Display weather information
- Lock the shortcut position
(When shortcut is moved, it will automatically move back to previous locked position in seconds. Just move & hold shortcut in seconds to change the locked position)
The hardware power button of some devices is not well designed. The frequent use to power on/off may damage it. The shortcuts provided by our app can replace it and extend it’s life time. Just one touch to lock screen. It can lock and turn off screen immediately without pressing hardware power button.
[v.1.0.25] 2015.6.21
- Fix the shortcut image in notification may be changed after reboot in some situation
- Refine visual design
You can install the attached APK file or download the latest version (Free) from the Google Play at
play.google.com/store/apps/details?id=com.simi.screenlock
If you have any suggestion or new features you would like, please feel free to reply this post or send email to us. Thanks!
[email protected]
just installed... does what its meant for...
I used apps to turn display off before, both used to display a white full screen while locking... this is good
Anyone else who is using the stock launcher experiencing this (already submitted issue)?
https://forums.oneplus.com/threads/...-not-working-properly-when-in-an-app.1020737/
1. Have "Back, Home - swipe up on the home button -" activated in the "navigation bar & gestures" settings of the device.
2. Open any app on the device
3. Swipe up on home button or on the right side of the Pill navigation bar in order to access recent apps. In short, try accessing the recent apps screen by swiping up fast.
4. Observe that it doesn't work and after swiping a second time, it takes you instantly on the home screen without accessing the "recents apps" screen
Click to expand...
Click to collapse
Happens to me randomly with stock launcher set as default. With Nova as default it seems to be resolved.