I am on Android 13 running on realme Narzo 50 Pro 5G.
I am using Macrodroid to set different screen time out values based on the app launched. I ask using the MD Helper file and the ADB Tasker plugin by using the following command:
ADB Shell Command
local host:5555
settings put system screen_off_timeout:30000
to ser the screen timeout to 5 minutes.
I ask using the Wireless debugging command
adb tcpip 5555 to tun the localhost at port 5555.
Apart from this I have granted write secure settings permission to the MD Helper app through wireless debugging.
Things work fine as long as the Wireless debugging is turned on in the developer settings. The moment that gets turned off automatically. The only way to get the macro working again is to turn this seeing on manually. Very cumbersome.
I do not want to use the USB debugging as some of my bank applications don't run if USB debugging is turned on.
Any idea on how to get tie resolved?
mj
I am using Macrodroid to set different screen time out values based on the app launched. I ask using the MD Helper file and the ADB Tasker plugin by using the following command:
ADB Shell Command
local host:5555
settings put system screen_off_timeout:30000
to ser the screen timeout to 5 minutes.
I ask using the Wireless debugging command
adb tcpip 5555 to tun the localhost at port 5555.
Apart from this I have granted write secure settings permission to the MD Helper app through wireless debugging.
Things work fine as long as the Wireless debugging is turned on in the developer settings. The moment that gets turned off automatically. The only way to get the macro working again is to turn this seeing on manually. Very cumbersome.
I do not want to use the USB debugging as some of my bank applications don't run if USB debugging is turned on.
Any idea on how to get tie resolved?
mj