

The macro would run with no manual input needed from me. I achieved this by using the screen on action and letting secure lock unlock the phone and autoinput dismiss keyguard to clear the unlocked screen. I had a macro to enable airplane mode that could only be done with UI integration actions which required the screen to be on. I realise that you may not want to use face or fingerprint unlock and don't have a smart watch, but I believe using one or more of these may provide the solution you are looking for.Ĭlick to expand.I had the same need a while back. Once the watch drops out of Bluetooth range, Android automatically locks the phone, as would be the case if I lost my phone. This with keyguard dismiss fully automates the phone unlocking - no manual intervention required - yet provides a good level of security. I have a trusted place and I wear a Bluetooth enabled smart watch. I also use Android secure unlock feature. An alternative method is to use Macrodroid to perform a swipe up gesture when the phone is unlocked. Enabling this dismisses the unlocked screen. In order to dismiss the unlocked screen I preferred a third party solution, Autotools (paid with free trial), which has a feature called dismiss keyguard. Picking up the phone and raising it to use it and the phone was already unlocked. The fingerprint unlock was fast but the face unlock was even faster, even in dim lighting. I had an oppo find X2 Neo and enabled both methods. The oppo R17 pro has both face unlock and fingerprint unlock, but you don't appear to be using either. Google have made this almost impossible to do, due to the lack of security resulting from automatically unlocking the phone. Is there any other way to unlock the screen using perhaps some sort of ADB command or some other feature in MacroDroid?Īre you trying to automate the screen unlocking after you turn on the screen, so you don't have to manually unlock the phone? However, this also means when I'm unlocking the phone regularly, I would have to use pin code and I don't like that. Doing this will only require individual taps/clicks and using UI interaction to achieve this worked. The ONLY other workaround I have is to set the unlock to use pin code. I've tried adjusting the duration of the UI interaction, but it doesn't help.

When the UI interaction runs, it looks continous and that is because of how fast it runs, but it's actually not a continuous motion. If you enable the pointer location setting in Developer Options, you can see where your cursor/taps are moving. No matter how quickly you connect the 2 UI interactions together, they are not continous. It essentially releases the tap at that point. The first UI interaction stops at the bottom of where the 2nd UI interaction starts. There is no sleep in between the UI interactions and the whole animation looks smooth, but the problem is that the UI interactions will only move from X to Y and then stops. However, it is not a continous gesture motion. The first UI interaction moves from top to bottom and the 2nd UI interaction moves from left to right. I can make the UI interaction to do exactly that. Let's say the screen unlock pattern is like an L shape. The closest solution I got to is using UI interaction to swipe the screen, but it still doesn't work because pattern unlock requires continous motion of the gesture. I'm using a swipe pattern for my lockscreen. I've looked for macros in the community marketplace (or whatever it's called) and none of them helped. I can't seem to get the "Screen lock off" setting to do anything. I'm using an Oppo R17 Pro running Android 10, unrooted.ĪDB hacks applied for Macrodroid.
