Hi developers!
Would anyone be able to develop a tweak for the Desire so that we could use the volume keys to also modify the screen brightness up and down.
I'm thinking of something like when you first press the + or - button, a pop-up appears on the screen asking you whether you want to switch to brightness control and tapping on the screen would effectively switch to brightness control, while not tapping the screen but keeping pressing on the + or - button would maintain the default volume control (so that people who do not need the brightness control would not suffer the hassle of this additional option).
I think such tweaked feature would be a great addon to our phone. I'm used to use the lowest brightness possible in order to save battery but once I go outdoor or in any bright environement, I need to rapidely increase the screen brightness without the hassle of having to go through Settings etc...
Unfortunately, I'm no developer myself
Surfinette
You should try Brightness Profiles
Surfinette said:
Hi developers!
Would anyone be able to develop a tweak for the Desire so that we could use the volume keys to also modify the screen brightness up and down.
I'm thinking of something like when you first press the + or - button, a pop-up appears on the screen asking you whether you want to switch to brightness control and tapping on the screen would effectively switch to brightness control, while not tapping the screen but keeping pressing on the + or - button would maintain the default volume control (so that people who do not need the brightness control would not suffer the hassle of this additional option).
I think such tweaked feature would be a great addon to our phone. I'm used to use the lowest brightness possible in order to save battery but once I go outdoor or in any bright environement, I need to rapidely increase the screen brightness without the hassle of having to go through Settings etc...
Unfortunately, I'm no developer myself
Surfinette
Click to expand...
Click to collapse
Why dont you use power control from widgets.
So brightness can be changed without exiting apps.
A bit like in-app wifi switch (switch wifi with search button)
The dev of this app is on this forum and may be able to help.
spooky75 said:
You should try Brightness Profiles
Click to expand...
Click to collapse
Yes I know, I'm already using it
It is the best thing I found so far for my need, but it is still not perfect!
Because when I'm using an App requiring more brightness, I still need to "quit" it go to Home, hit the Brightness Profiles widget, change the brightness and switch back to the App.
For ultimate convenience, I wish I could just use the volume control buttons so that I would never have to go back and forth off my App screen...
I'm probably too lazy but still, that would be a cool feature (not less useful imho than using than tweaking the trackpad to make it a power button).
mercianary said:
So brightness can be changed without exiting apps.
A bit like in-app wifi switch (switch wifi with search button)
The dev of this app is on this forum and may be able to help.
Click to expand...
Click to collapse
This is exactly the philosophy behind what i'm looking for... and I was thinking of using the volume keys because brightness needs to be set up and down just like volume...
I think a switch may be better. Pressing it forces 100%. Then you could use a less used key. Like holding search.
Search for in-app wifi toggle in the market and email the dev. You never know he may develop the app you want if it only involves changing a few lines in his existing app.
Surfinette said:
Yes I know, I'm already using it
It is the best thing I found so far for my need, but it is still not perfect!
Because when I'm using an App requiring more brightness, I still need to "quit" it go to Home, hit the Brightness Profiles widget, change the brightness and switch back to the App.
For ultimate convenience, I wish I could just use the volume control buttons so that I would never have to go back and forth off my App screen...
I'm probably too lazy but still, that would be a cool feature (not less useful imho than using than tweaking the trackpad to make it a power button).
Click to expand...
Click to collapse
The way I get round this is using Bar Control to put a shortcut to Brightness Profiles in the notification window shade - so changing the brightness is only ever a drag then tap away. You never have to leave your current app at all.
Tbh though, I would rather a hardware control like the vol key - the other day I had gone outside in the bright sun, and I honestly thought my phone had switched itself off cos I couldn't see the screen well enough to perform this simple procedure.
It's pretty rubbish imho that the battery life/poor AMOLED screen tech mean we have eff around changing screen brightness manually. In fact I'd go so far as to say it's a major fault with the phone...
Related
Sometimes I accidently turn ringer volume down low (not mute) and miss an important call.
I’ve found apps such as Ringer Volume (Android-Lab) to reset it at given times, however they all wants ‘full Internet access’ don’t know if I like that with an app that will be constantly running and with my limited data allowance?
Another option would be a taskbar icon showing my volume level; however I cannot find any such widget.
It’s not mute that give me the problem it’s when I decrease the Ring Volume sometimes by accident when holding my Desire HD, with CyanogenMod 7.
Anyone got any suggestions on this?
there's an app called Settings Profile that u can set rules to do stuff, so u can set a rule to keep invoking a certain profile at whatever interval you want. The Lite version can only set 1 rule so I am not sure if that's good enough for you or not.
Hi Lukesky, thanks for taking the time to help.
lukesky said:
there's an app called Settings Profile that u can set rules to do stuff, so u can set a rule to keep invoking a certain profile at whatever interval you want. The Lite version can only set 1 rule so I am not sure if that's good enough for you or not.
Click to expand...
Click to collapse
I think I had looked at Setting Profiles before but just had another look and my concern with it is that it takes Full Internet Access, perhaps I’m being paranoid but I only have 20Mb of data per day and then the price per Mb goes up dramatically, let alone when I’m roaming, OK I know I could turn Data off if I wanted. So do you think the Lite App will be using data via its internet access?
here u go buddy...its simple quick and fast.... i use it all the time and place as widget
Thanks Lalitehgal, I appreciate your help however unless I’m mistaken this widget has no option for an auto timed volume increase, and my problem is I sometimes do not realize I have decreased the volume while holding the phone.
@richardsoffice: in my opinion you should definitely not be required to adjust ringtone or notification volume manually. Because once - in office - you are satisfied, but then - on the street - you just don't hear anything. The phone should adjust the ringtone volume automatically based on ambient noise and phone position (pocket/out of pocket/table/...). Check out an app called IntelliRing.
Manually adjusting ringtone volume does not do any harm if your ringtone volume is managed by IntelliRing. So you can accidentally adjust volume as you want
Incredible running CM7.1, chad's incredikernel from last August (I believe.)
I use the hell out of CM's 'night mode' filters, but as it's dark in my room at night - go figure - the light sensor is tripped into leaving the capacitive soft keys at the bottom of the phone on whenever the screen is on. This kind of wrecks night, mode more or less.
I've found references to the App 'LEDs Hack' in several places, which gives rooted devices the ability to disable the LED's all together, so this sounds like a winner. But then when I try to find this app anywhere (every major market / app store + googling around) it's no longer listed anywhere.
Does anyone
A) have this app and can confirm it works?
B) know where I can find it?
Thanks
Slick
Sent from my ADR6300 using xda premium
I do not know of an app but i use scripts to turn mine off and on. Actually at the moment i have it set to turn them off at boot via an init.d script. Below is a zip of two scripts, one for off and one for on. The off script can easily be modified for use as an init.d script to turn off the soft key lights at boot. This works on my stock rom but cm's files may be different.
http://dinc.does-it.net/Soft_On_Off.zip
Thanks for the scripts, much appreciated! I'll tinker with these are bit. I'm really terrible @ linux, but I've seen init.d scripts before, I think.
Sent from my ADR6300 using xda premium
xi Slick ix said:
Thanks for the scripts, much appreciated! I'll tinker with these are bit. I'm really terrible @ linux, but I've seen init.d scripts before, I think.
Sent from my ADR6300 using xda premium
Click to expand...
Click to collapse
Here is an init.d script incase you cant figure it out. Just unzip it and place the file in your /etc/init.d folder, and set the correct permissions owner and group.
http://dinc.does-it.net/09SoftkeyLedsOFF.zip
I use this:
https://market.android.com/details?...ch_result#?t=W251bGwsMSwxLDEsImNvbS5oYXhvciJd
I have the filter set to 100% but disable the checkbox for the capacitive buttons therefore when I enable the screen filter, the screen stays whatever brightness my CurveFish widget is set to but the capacitive buttons turn off. I love it.
I have my "Automatic" brightness settings all tweaked to my liking and I just leave it on Auto all the time. If you do that, you can set whether the soft keys will be on or off.
For example you can set the soft keys to be off on the dimmest settings (i.e. dark room) and on in brighter environments. I leave mine off all the time (I know where those stinking softkeys are).
Go to:
Menu > Settings > Cyanogenmod Settings > Display > Automatic backlight > Edit other levels... (Use Custom must be checked)
To turn the soft keys off, set the values in the "buttons" column to 0. 0 turns them off, any other number (1-255) will turn them on. Then hit "Save and apply". If you set all the numbers in the "buttons" column to 0, then they will always be off.
Just a word of warning, tweaking you automatic settings can waste a lot of your time if you are a perfectionist...
All of these solutions are great, thanks again! Currently using the screen filter widget option with the CM filters, makes reading in bed sooo much better. Still want to play around with the script just to see if it works, and the custom brightness settings are for tomorrow.
Thanks again.
Sent from my ADR6300 using xda premium
I like the Screen Filter by Haxor method but unfortunately its an either on/off solution. I wish there was a way to regulate the brightness of the LEDs instead of just on or off. Oh well. It's all good
I just always keep mine off to conserve some battery. I can find those keys blind folded. Although if there were a way to dim them i would probably keep them on super low just for looks.Unfortunatley due to hardware restrictions that is not possible.
I use this app to turn off the keys
https://market.android.com/details?id=com.deskangel.adjbrightness
You should be able to find it in the settings.
Hope this helps.
el6006 said:
I use this:
I have the filter set to 100% but disable the checkbox for the capacitive buttons therefore when I enable the screen filter, the screen stays whatever brightness my CurveFish widget is set to but the capacitive buttons turn off. I love it.
Click to expand...
Click to collapse
trying this now! thanks!
For those who requested it.
Latest version of LEDs Hack.
Not sure why the dev took it off the market, but it still works great.
feffrey said:
For those who requested it.
Latest version of LEDs Hack.
Not sure why the dev took it off the market, but it still works great.
Click to expand...
Click to collapse
I tried this app for kicks but it only half worked. It would turn off and on the amber led at the top, but it would not turn off or on the softkey leds.
cmlusco said:
I tried this app for kicks but it only half worked. It would turn off and on the amber led at the top, but it would not turn off or on the softkey leds.
Click to expand...
Click to collapse
That is strange, for me it turns off both. Did try changing the aggressiveness settings in the options?
Hi,
I just got my OnePlus 3 a couple of days ago and am very happy with it overall.
The only thing I don't like about Android right now, is the confusing and limited Notification Priority Setting feature. It's just impossible to set it up correctly.
I just want to be able to quickly change between Silent / Vibrate / Sound.
I'm aware that you can change between Sound and Vibrate with the volume keys, but I would prefer it if I could somehow set up the physical switch on the OnePlus 3 to do that.
Is there any app / mod out there that could do this?
I would be interested in this as well. Also, I feel like the order of the slider should be flipped with all notifications at the top and no notifications at the bottom next to the volume buttons.
Agreed. An option to reverse the order would be greatly appreciated as well.
https://forums.oneplus.net/threads/guide-on-how-to-set-notification-slider-to-all-vib-none.369263/
Works with OP3. No root needed.
Gesendet von meinem ONEPLUS A3003 mit Tapatalk
x5eito2 said:
https://forums.oneplus.net/threads/guide-on-how-to-set-notification-slider-to-all-vib-none.369263/
Works with OP3. No root needed.
Gesendet von meinem ONEPLUS A3003 mit Tapatalk
Click to expand...
Click to collapse
Can they be reversed though? Putting the "all notifications/alerts" on the top and "none" at the bottom?
https://play.google.com/store/apps/details?id=com.nqk.vibratemodeextended
Appears to work to substitute priority mode with vibration mode, unfortunately no option to reverse the slider. This developer's other app that includes that reverse feature does not work at all yet.
Edit: I can get Tasker to detect all positions of the slider but I don't know a way to set the settings for reversal. Simply making the top slider position set Do Not Disturb to "All" does not have an effect, nor does setting the bottom position to "None".
Yeah would be great to change this from the settings menu and not in Tasker... Googling seems like alot of people been asking for it since the oneplus 2
Hi, Need some help. I can't seem to find any I interruption menu within sounds and notifications? Was there an update which replaced that?
I use the app "Alert Slider". You need exposed installer to use it (but its awesome anyways). Its super stable and very customizable.
(http://repo.xposed.info/module/com.nqk.customalertslider)
Options:
Reverse slider. (Top to bottom: All / Interruption / None)
* Custom action for each position:
- All
- Interruption
- None
- Airplane mode
- Flashlight
- Vibrate
- Do nothing
Custom Slider by Wheathon has many options including reversing the order. You can set your BT on-off, WiFi on-off, torch on-off etc in addition to the volume settings, and all using the slider's three positions. But it requires Xposed. And it will work only on OOS and not on the community build.
tnsmani said:
Custom Slider by Wheathon has many options including reversing the order. You can set your BT on-off, WiFi on-off, torch on-off etc in addition to the volume settings, and all using the slider's three positions. But it requires Xposed. And it will work only on OOS and not on the community build.
Click to expand...
Click to collapse
I find that app quite weird. For example if you want to add a torch, you need to assign one to on and an other one to off. Same for Bluetooth, cellular data, wifi ect. There is no point, we only got 3 positions. The app I suggested turns the flashlight one when the slider is on a position and turns off when you move the slider to a other position.
YannickGro said:
I find that app quite weird. For example if you want to add a torch, you need to assign one to on and an other one to off. Same for Bluetooth, cellular data, wifi ect. There is no point, we only got 3 positions. The app I suggested turns the flashlight one when the slider is on a position and turns off when you move the slider to a other position.
Click to expand...
Click to collapse
The dev is endlessly repeating in his thread that each position of the slider can have umpteen number of actions because many people have not understood it correctly.
For eg. if you assign torch-on to the top and torch-off to the middle, it doesn't mean that two positions of the slider are lost leaving you with only the bottom position for other actions. You can assign wifi-off, BT-on etc to the top position in addition to the torch-on and assign wifi-on, BT-off etc to the middle one in addition to torch-off. There are 24 actions possible in that app and any number of them can be assigned simultaneously to any position.
But I think that in the other app which you mentioned, only one action per position is possible.
Hi friend, this free app gives to you the solution and dont need root:
https://play.google.com/store/apps/details?id=com.seveilith.alertslider
Hey everyone! I just got an XZ1C myself a few days ago, and I'd like to share a few of the little quality of life changes I personally use to make the everyday experience with this phone more to how I like it. I figured maybe everyone could contribute a few ideas here and there to help other users deal with things they might be frustrated with, but not know a solution for.
A couple of notes - I gave up the root life a while ago, so all of these solutions are non-root! Also, some of these apps are paid apps (though they might have lite or free versions). Sorry! But as a software developer myself, I have the obligation to pay it forward when I find a nice app.
So here goes!
Making the volume keys default to Media Volume:
Having owned a Samsung phone before, this is one of the things I miss most in almost any other Android phone. But, as they say, there's an app for that! There's a very simple app called Media Volume Only (https://play.google.com/store/apps/details?id=catchpower.gogo.mediavolumeonly&hl=en), which binds your volume keys to Media by default. It asks for Call permissions to see if you're in a call, where it will then bind the volume keys to call volume. Otherwise, it will always be Media, which is great!
However, that means there isn't a super easy way to changing your ring volume, unless you first press the volume key to bring up the sliders and hitting the down arrow to show the rest of the sliders....which brought me to:
Re-adding the missing Ring/Vibrate Mode switch to quick switches:
I am using Central Europe .374 + US oem file to get Fingerprint+VoLTE on T-mobile; I'm not sure if it's because of the CE1 region or whatever else, but I couldn't find any button in the quick settings that would just toggle the phone to ring mode, vibrate mode or silent.
To remedy this, I use Shortcutter (https://play.google.com/store/apps/details?id=com.leedroid.shortcutter&hl=en). This allows you to enable a ton of different switches in the quick settings dropdown, though some of them may not work properly without root and only with other phones. After installing Shortcutter, swipe over to the "Pull-Down" tab, then hit "System Setting Tiles". In this list, scroll down and you'll find "Ring Mode". Turning this switch on will put the Ring Mode icon into the box of icons you can edit your quick settings with. Finally, pull down your quick settings, click the pencil icon to modify the quick settings and scroll down to find Ring Mode.
This way, it's easy to switch the phone to silent before going into a movie, or a meeting at work.
Fixing the crazy stock backlight control:
The stock backlight is a little crazy right now. It jumps around when the room is dark and it does not transition smoothly. A great app for controlling backlight is Lux (https://play.google.com/store/apps/details?id=com.vito.lux&hl=en). It even allows you to keep different profiles and define exactly how bright you want the screen to be in any lighting situation, and it will keep a map of your selections for you! You can control all sorts of variables, like how quickly it will transition, if it should only transition given what % of lighting change, so on and so forth. It's really very powerful and useful. I haven't had any trouble with the XZ1C display since installing Lux, which I've used on previous phones as well. Highly recommend this one! There's a free version called Lux Lite (https://play.google.com/store/apps/details?id=com.vitocassisi.luxlite&hl=en), but I've never tried it so YMMV.
Alternative for No Double Tap to Wake (or not having Ambient Display):
This is another one I have almost always used on phones that aren't Nexii/Pixel or Motorola. Gravity Screen (https://play.google.com/store/apps/details?id=com.plexnor.gravityscreenofffree&hl=en) gives you a ton of different ways to automatically wake up the phone to the lockscreen. I find that using ONLY the Proximity Sensor setting to turn ON the screen (and turning everything else off) has negligible effect on the battery, and maintains extreme usefulness. With just that setting, when my phone is on the desk I can poke the phone where the proximity sensor is (as if I one-tap it) and it will wake up. If I take the phone out of my pocket, the phone turns on and is already waiting for me by the time I look at it. Super convenient!
UPDATE: Another user (quack3d) mentioned the app WaveUp(https://play.google.com/store/apps/details?id=com.jarsilio.android.waveup) which does exactly how I have Gravity Screen set up. If you want just that, this seems to be a great and simpler alternative! Thanks!
If you want more options, it has all sorts of other things like turn on by motion, etc. etc....I personally don't use those though, so I can't vouch for how well they work.
Double Tap to Sleep
I'm pretty sure you have to pay for this one, but Nova Launcher Prime (https://play.google.com/store/apps/details?id=com.teslacoilsw.launcher.prime&hl=en) is an incredible launcher, and it allows you to specify custom gestures on the desktop. The gestures can trigger all sorts of things, one of which is Screen Lock. If you select the Time-Out method of locking the screen, it will work with fingerprint unlocking.
Custom Auto-Rotation Switching:
Normally, I don't like auto-rotation. I use my phone a lot in bed (lying sideways), but I still want to use it in portrait. So, I prefer to have my phone default to NO auto-rotation. That being said, it's annoying when you pull up a funny gif or the photo album or youtube and you want to just flip your phone over to watch a video. Sure, you can drag down the quicksettings and flip that switch, but there's a better way! That's where Automate (https://play.google.com/store/apps/details?id=com.llamalab.automate&hl=en) comes in! Automate allows you to program your phone to do just about anything (especially if you have root) based on custom triggers.
In Automate, if first select "More flows..." and search for a script called "Auto Enable Rotation" by the author Anthony Beaumont. Once you download this script and run it, it will present you with 2 options, either to "start" the script service, or to "modify" the list of apps. You'll want to "modify" the list of apps and start a new one. To this, you can add apps such as Album, Youtube, Twitch and whatever else you want to watch in landscape mode. Finally, once that's done, stop the script and start it again, but this time select "start". (You can also select in the 3 dot menu to have this script run at start-up. Highly recommended!) Now, when you open Album/Youtube/Twitch etc. the phone should automatically flip to auto-rotation.
Enter all your app and website passwords automatically with fingerprint:
For better or for worse, I keep all of my online passwords saved in Lastpass. It turns out that once you have an account and saved passwords, Lastpass has an incredible app (https://play.google.com/store/apps/details?id=com.lastpass.lpandroid&hl=en) that can pop up over Chrome and just about any other app on your phone that can fill in the username/password fields for you using your fingerprint! It doesn't work for all the different browsers out there (I just use Chrome), and there may have been a pay wall for the in-app password filling, I forgot (sorry!). That said, it's super convenient to head to any site and just tap the fingerprint to log in.
Additionally, if you're a Lastpass user already, they also have a Lastpass Authenticator (https://play.google.com/store/apps/details?id=com.lastpass.authenticator&hl=en) that works in place of the Google Authenticator (you can add Google Authenticator 2factor sites to the LastPass one), which is IMHO superior because the keys are linked to your account rather than to the physical phone. Also, if you have LP Authenticator + the Chrome addon on your PC/Mac, on some sites you don't even have to enter the Authenticator number, you can just press "approve" on your phone to get into the website on your PC. Awesome!
Send links from your PC to phone or phone to PC
Ever read something on your PC and wish you could link it to your phone super quickly and not have to go through emailing it to yourself? I use Pushbullet (Android: https://play.google.com/store/apps/details?id=com.pushbullet.android&hl=en PC: https://chrome.google.com/webstore/detail/pushbullet/chlffgpmiacpedhhbkiomidkjlcfhogd?hl=en), which allows you to directly link webpages from PC to phone and vice versa. Additionally, if you give it the permissions, it can hook up your phone's notifications to your Windows notifications (not sure about mac), including allowing you to read and send SMS from your PC. I believe it also has file transfer capabilities, but I don't use it.
I think that's it for now...I'll add more when I think of them. These are just a few of the mods I run which makes using the phone more effortless and enjoyable; please, feel free to add more and I'll add them to the list if there's something you want to share! Hope this helps someone out there!:highfive:
maidguitar said:
Re-adding the missing Ring/Vibrate Mode switch to quick switches:
Click to expand...
Click to collapse
Alternative implementation that I use: Add a toggle on the home screen to quickly switch between Ring/Vibrate/Silent modes
First install Media-Mute [free & ad-free]. What this app does is automatically mute the media volume whenever the ringer volume is also muted, which applies to both Vibrate mode and Silent mode.
For some reason, since Android 4.x Google has decided that Silent mode should only apply to the ringer, instead of silencing everything that can make sounds out of the speaker. Media-Mute fixes that.
Next, install Silent Mode Toggle [free & ad-free], then add the widget on the home screen. Switching modes is now super easy, just tap on the toggle.
What I really appreciate about this app is that it allows customization to the toggle order. For example, I never use the vibrate mode, so I can set it to toggle between Ringer > Silent only.
As a bonus, it also lets you use your own custom icons for the toggle, super cool and makes it possible to perfectly complement your home screen layout.
Hide the annoying "running in the background" notification that comes with Android 8.0
With Android 8.0 Oreo, Google thought it would be a great idea to permanently remind you of any background processing currently running in the form of an impossible to dismiss notification.
While the intention was well meaning, the execution leaves a lot to be desired.
Thankfully, there's an app for that! Just install this cleverly named app Hide "running in the background" Notification [free & ad-free], problem solved!
Vibrate phone when call connects, ends
Yet another app to the rescue! VibCall [free & ad-free] brings this useful feature found on some OEM phones to any compatible Android device.
Basically, your phone will vibrate once to let you know that a call has connected, and twice when a call has ended. It's something that once you've used, you wonder why it's not baked into the Android system as a default option.
Add a fingerprint (Smart Lock) compatible screen lock toggle on the home screen
So Sony has unilaterally decided to remove double tap to sleep feature with no sign of bring it back. But I still want to turn off the screen and lock the device by tapping on the screen instead of waiting for the system to hibernate or hitting the power button.
The OP listed a paid solution which brings back double tap to sleep, but for those looking for a free alternative, this is the solution I'm currently using - Smart Screen Lock Pro [free & ad-free].
It's not a double tap anywhere convenience, but a toggle that is better than nothing, and most importantly it's compatible with fingerprint unlock. I've tried numerous screen off apps in the Play store, and this is the only one that I was satisfied with.
IMPORTANT: Take the time to carefully read and follow setup instructions, it's necessary for it to work properly due to OS restrictions. Once it's setup correctly, simply add a shortcut on the home screen and tap it to lock.
It's worth mentioning that it's not a true "instant" screen off and lock, but without root this is probably the best solution we'll get.
Non-root ad blocking
Ads are a necessary evil for the current economics of the Internet, but aside from the annoyance factor, they eat up precious mobile data, plus there's also very real security risks with ad networks, potentially hogging your phone's resources and draining the battery.
Whatever the argument, if you do decide to block ads, there are quite a lot of ad blockers to choose from.
Personally, I use dns66 [free & ad-free]. In my experience, it's very lightweight, and I haven't seen any ads in my browser or apps.
It does have its quirks though, sometimes downloads fail, such as OTA update or file in browser, for one reason or another (the author says it's a bug with the Android OS itself, see linked post).
But it's easy to workaround, just temporarily disable dns66 by tapping pause on the notification, and download again. After download has completed, tap the notification again to resume.
By the way, this is also the main reason I installed the hide background notification app.
Just got my new (refurb) 2 XL. I would like to try to go stock android on this for a while.
Is there any way to achieve the one feature I cannot live without: long-press power button for flashlight?
I don't think so. You can quickly access it via the notification shade of course. You can set a swipe down gesture on the fingerprint sensor to call the notification shade. You should also be able to turn the flashlight on with voice commands, even with the screen off.
The above are only suggestions for workarounds, but I may have missed something.
I have a sloppy way I do it on 8.1 that uses Automagic and the volume key shortcut in Accessibility Settings. Tasker probably works too.
Turn the shortcut on, select a service. I selected a launcher I don't use. Note that this toggles the accessibility features of an app, so don't use something that needs this. Click to enable it on lockscreen.
Now when you hold both volume buttons for 3 seconds, the system notifies you the service has been toggled. Finally I have a flow in Automagic that triggers when this pops up and from there toggle the flashlight. It even works when locked IF the screen is on.
I use a similar method to customize the Active Edge thing.
Locked on Verizon. Have to be creative
https://forum.xda-developers.com/android/apps-games/app-power-button-flashlight-t3839323
This is probably the best option a double tap
Torchie app
Torchie (no root) is another alternative: https://forum.xda-developers.com/an...torchie-torch-volume-buttons-anytime-t3270230