Proximity Sensor Systemwide Toggle on/off - Tasker Tips & Tricks

This is a tasker/macrodroid macro that I created that toggles proximity sensor on/off systemwide.
I have designed this because ultrasound proximity sensor on my Poco F3 is really annoying sometimes
You must be rooted to use it - it uses a shell command to edit a system file that determines if proximity sensor is on or off.
Installation:
Extract zip file
Open the respective macro with tasker or macrodroid
Create a homescreen shortcut or QS tile to toggle the macro / task
This was tested on Xiaomi Poco F3 - Android 13 - CrDroid v9.5
But it should work on most phones

Related

Oneplus 3: Problem with alert slider on Oxygen 3.2.2

I've been using tasker since 3.1.3 to customize the alert slider to my needs. I set up the following modes and actions:
- all: all notifications with sound + vibration
- priority: all notifications silent + vibration
- none: airplane mode (with xposed and airplane mode helper)
This worked perfectly with all versions including 3.2.1, on 3.2.2 it stopped working.
I'm not sure if it's an OS problem or a tasker problem, but something with the interrupt modes seems to be wrong.
I've set up a simple action in tasker to flash the active interrupt mode.
On 3.2.1 the modes are all - priority - none, just as they should be.
On 3.2.2 tasker shows the interrupt modes all - priority - priority, which ,eans that there is noi difference between the middle and the upper setting of the slider.
I already posted this on the oneplus homepage and in the oneplus 3 forum here. Am I the only one with this issue?

ROM with OMS and Proximity sensor disabled when unlocking phone

Hi, I'm looking for a Rom that has an option to disable proximity sensor when using fingerprint sensor of double tap to wake. The only ROMs that I tested that have this option are lineageos and Omni, however Los doesn't have OMS and omni has alert slider broken so I'm temporally looking for alternatives

Proximity sensor issue

On my realme x2pro the proximity sensor does not work well, the screen is periodically off and on during the conversation. Are there custom firmwares with the ability to completely disable the proximity sensor? In cdroid, it is possible to disable sensors selectively for any application, but this does not apply to the proximity sensor (. Also, in any android11 firmware, you can display the disable button for all sensors in the shutter: for developers -> items in quick settings -> disable sensors, and this will really turn off the proximity sensor, and others, but then the camera stops working (

Toggle Enable/Disable Proximity Sensor Systemwide

This is a tasker/macrodroid macro that I created that toggles proximity sensor on/off systemwide.
You must be rooted to use it - it uses a shell command to edit a system file that determines if proximity sensor is on or off.
Installation:
Extract zip file
Open the respective macro with tasker or macrodroid
Create a homescreen shortcut or QS tile to toggle the macro / task
This was tested on Xiaomi Poco F3 - Android 13 - CrDroid v9.5
But it should work on most phones
Nice.
I'm curious, what's the reason for you wanting to disable the software-based Prox.-Sensor? Lack of reliability?

Lower AOD / Ambient display brightness

This is tasker / macrodroid macro that lowers AOD / Ambient display brightness
Installation:
Unzip file
Extract any 2 profiles for your application of choice (tasker or macrodroid)
Import these 2 profiles to the app and enable them
To control the AOD brightness, edit intensity of extra dim in settings > accessibility
Requirements:
Rooted
Tasker or Macrodroid accessibility permission enabled
How it works:
The macro sets extra dim to ON when you turn off your screen so your AOD brightness will be low - when screen is turned on (even on lockscreen), extra dim is set to off and normal brightness is restored
This was tested on Poco F3 - Android 13 - CrDroid v9.5 but it should work on all android phones

Categories

Resources