Re-map Double Tap Power gesture to GCam - OnePlus 7 Pro Questions & Answers

What is happening: Double tap power opens OnePlus Camera
What I'd like to happen: Double tap power opens GCam
What I've tried:
Clear defaults >> Set GCam as default Camera app
Clear defaults >> Set Tasker as default Camera app (with Secondary App task)
Disable OnePlus camera altogether
Sometimes I can get it to work once or twice, but it immediately reverts once the screen turns off. In the interim I have Tasker setup to open GCam whenever the stock camera is opened, but there is always about a 1 second delay.
I am rooted with Magisk FWIW.

You could try installing as a system app

Related

Quick tip (if you don't like using the power button)

Just a quick tip for people who don't like using the power button to turn the screen off. If you happen to use Apex Launcher you will know it gives the user the ability to use "Gesture Control" in the form of swiping (up and down) and double-tapping.
Some people will also know about useful apps that allow the user to quickly turn off the screen with just a single touch on the screen, usually in the form of a widget. Well, a certain app called Screen Off and Lock is used in the form of a normal app that is launched. So, when configuring gesture controls on Apex Launcher it gives you the option to launch an app using any one of the provided gestures and when using it in conjunction with Screen Off and Lock you have an easy way to turn off the screen. I personally use double-tap and it works flawlessly.
To use:
Download and install "Apex Launcher" and "Screen Off and Lock" (both have free versions)
Select Apex as your default launcher and then go into "Apex Settings"
Navigate to "Behavior Settings" and select any one of the "Gestures" (except "Long Press")
Press "Launch App" and then select "Screen Off" (not "Configuration")
Enjoy
EDIT:
Also, don't forget to go into [(System) Settings > Security > Device administrators] and "check" the box next to Screen Off and Lock.

Making Keyboard Backlight Stay on with Tasker App - Stock ROM Rooted

I'm a new Relay user and I can't use CM-10 (need wifi calling) so I'm trying to make the best out of the stock ROM Rooted. I don't like that the keyboard backlight goes out after a few seconds and doesn't seem to even have a sensor to keep it on in dark rooms so I re-downloaded the Tasker App from the Play Store which I haven't used in a while.
To get the keyboard to stay on when slid open I had to do the following:
1. Open Tasker.
2. Choose [Profiles] from the top menu.
3. Click the [plus sign] at the bottom to add a new profile and select [State] from the drop down.
4. Select [Hardware] from the State Category menu.
5. Select [Keyboard Out] from the list of choices here.
6. Tap on the Tasker Icon at the top of the screen and select [Backlight On] from the popup menu.
7. Make sure the toggle switch is set to on for your new profile.
8. Now go to you phone's Sytem Settings > Display > Touch Key Light Duration > and select Always Off (This will allow tasker to take control and have the keyboard backlight stay on when slid open but the Relay's back and menu keys will no longer light up. I can live with this to have my keyboard light on when typing.
9. If this didn't work, make sure Tasker is set to on in System Settings > Accessibility
BTW if someone knows a better way to accomplish this please share.
Edit: Sorry I forgot to mention that I'm using Nova Launcher. I think with the Touchwiz Launcher, apps that use accessibility cause Talkback to speak even if you have it turned off. I could be wrong about that but I had problems with the Light Flow app and accessibility before.
Nice
Good tip. the lights going out bugged me too.
please help. cant find menu with backlight on
Can't find menu with backlight on. Please help.
hey there,
i just figured out how to do this with a non-rooted phone on ics without tasker.
go to settings, display and touch key light duration. increase it to 6 seconds and that will give you enough time to type..
Weird.
I'm on CM10.2 (131117) and since I set the backlight time (in CM10.2 1309xx, I think) to 5 seconds it will always stay on if I open the hardware keyboard.
Maybe I should write me something with tasker to change this in the opposite direction :laugh:

[Q] Controlling Torch / Camera Flash through Terminal

I'm not sure if there's a better place to post this, i there is let me know and sorry.
My main problem: If I use the terminal to turn the Flash on / off (# echo 0 > /sys/class/leds/led:flash_torch/brightness), my Torch control apps (i.e Torch, TeslaLED), somehow lose the ability to turn the Flash on and off. The only thing that can still control the Flash is the camera app for taking pictures or by using the terminal to turn in back on. Does anyone have any ideas about why this happens, how I can fix it, or where I should go for more help? Or is there a way I can use the terminal to tell my app (Torch -- net.cactii.flash2) to turn off the Flash instead of forcing it off by writing directly to the brightness file?
Background as to why I need to even do this: My phone (Oneplus One, 4.4.4, CM11), has gesture controls that allows me to control the flash while the screen is off and locked. The phone uses the Torch app to do this (net.cactii.flash2). Sometimes it turns on accidentally and I don't notice. So I made a tasker profile that essentially turns the Torch off it's been on for more than 30 seconds. It runs the command (# echo 0 > /sys/class/leds/led:flash_torch/brightness). This works to turn the Flash off, but then I can no longer use Torch or TeslaLED to control the torch. The only way it turns back on is by running a (# echo 1 > ...) (The camera app can also use the Flash for pictures). I've tried to just kill the torch app, but that doesn't turn the flash off.
Oh also, It's not that the Torch apps still work but the "Brightness" is 0 (AFAIK). If that were the case, I feel that the Camera Flash wouldn't work. And When I do Echo 1 > ... to turn it back on, the Apps can't turn it off either.
Thanks guys and girls!

Double tap power button when locked to open google camera?

I changed the default option to open google camera but only opens google camera when my phone is unlocked when my phone is locked always opens the oneplus camera. How can I change that? Is their anything that I can change in system files?(I am rooted)

Device with Android OS on which I can open my favorite Camera app straight from Lock Screen, without PIN

I keep losing Photo/Video opportunities on great moments, for two reasons:
My device doesn't let me choose which Camera app to open from Lock Screen's shortcut.
(only the native Camera app, which sucks)
I must type my PIN to be able to even open the native Camera app.
I keep telling myself that my next phone must have a way to be able to open my favorite Camera app straight from the Lock Screen, without having to type my PIN or struggling with the "swipe up" gesture to actually show the keypad (which many times doesn't display on first try). It's just frustrating.
Is there any device that actually does this?
And as a bonus question... why are all native Camera apps now forcing us to "swipe" to move from "Photo" to "Video" mode, which just slows down everything even more? Why can't the "Take Photo" and "Start Recording" buttons be on the SAME screen?
In the lower right corner of the home screen of my phone, there is indeed a launch icon of my native camera app. But I found that it doesn't work at all. I don't know why. :-(
It works for me. I put Open Camera there. However, it requires me to put the PIN.
I can also set up the Volume Down/Up key to open the Camera App, without PIN, but unfortunately that only supports the native Camera app, which sucks.
my phone has this feature when the screen is lock and dimmed black you can press VOL- button 3x and camera would open thou you still need to enter pin to view the capture images

Categories

Resources