Unlock with swipe up and code

WolfgangT

New member
On the old forum there asked someone about this and got no answer.

I want to unlock remotely on a phone with Andr 10.

Trigger: sms received : ok
1st action : Screen on : ok
2nd action: swipe up with UI interactions. / gesture to unlock and open the code screen : fail

My screen x - 1200
y - 2100

I tried a lot of coordinates for starting and end point, no luck.

Strangely the swipe down to open the quick settings works perfectly on this screen

I fear there is a restriction. Or has anyone used the swipe up gesture successfully? Thanks in advance,

Wolfgang
 

dhj49er

Well-known member
Yes, I use gestures successfully.
Sometimes they need a bit of experimentation to get the swipe correctly located on the screen and the duration of the swipe. Also don't forget the wait action after the gesture to give the phone time to complete the gesture.
Hope that helps.
If you are still having issues I suggest you upload your macro, so a more detailed response can be provided.
 

7tns4

New member
Also i use gesture to unlock screen and a 6-code to unlock the phone, successfully following the suggestion from the support. As It Is suggested previously you have to try some attempts. this, After some attempts, works for exampleScreenshot_20210508-231941_MacroDroid.jpg on my galaxy A40 Android 1q
 

WolfgangT

New member
Also i use gesture to unlock screen and a 6-code to unlock the phone, successfully following the suggestion from the support. As It Is suggested previously you have to try some attempts. this, After some attempts, works for exampleView attachment 396 on my galaxy A40 Android 1q
Thanks a lot. What I don't understand:
Your gesture is a swipe down and not up, as required to unlock.
 

WolfgangT

New member
Yes, I use gestures successfully.
Sometimes they need a bit of experimentation to get the swipe correctly located on the screen and the duration of the swipe. Also don't forget the wait action after the gesture to give the phone time to complete the gesture.
Hope that helps.
If you are still having issues I suggest you upload your macro, so a more detailed response can be provided.
Thanks for your answer. Do you use a gesture to unlock the phone or for other things? Because for me pulling down the quick settings with a gesture works, just not unlocking with swipe up.

My very short testing macro:

Screenshot_2021-05-09-06-32-59-787_com.arlosoft.macrodroid.jpg
 

7tns4

New member
Thanks a lot. What I don't understand:
Your gesture is a swipe down and not up, as required to unlock.
well, on my system i can unlock the screen with a swipe in any direction. I think, but i can go wrong, It depends on the phone.
I write some other details or comments, i have fund with similar problems, i don't know if you can find their of any help:
1) First of all, when i tried some gesture to unlock the screen, also if the screen didn't unlock, i saw some response on the screen which confirmed that the gesture had some effects
2) I had tried to use swipe, in a first moment, to unlock the phone(not the screen) using a custom security sign. But also if the sequence of the gestures was exact, it didn't work. The support clearly explained me that a custom sign Is not exactly a sequence of gestures. A sequence of gestures Is not continuous. Then i solved using a PIN code in place of custom sign.
3) My last comment is a question for the support. Could be that a gesture Is not correctly accepted by a phone because It has not an enough tickness? I don't know how the gesture can be/Is implemented, but i would know if It exists a parameter of thickness related to the gestures
 

dhj49er

Well-known member
Thanks for your answer. Do you use a gesture to unlock the phone or for other things? Because for me pulling down the quick settings with a gesture works, just not unlocking with swipe up.

My very short testing macro:

View attachment 399
The start of the gesture is very close to the bottom of the screen. Probably too close and in the bottom navigation area.
Try changing 2000 to 1700.
Also the end point at 1000 is quite high up the screen. Your gesture is a swipe of half the screen in 500ms. That's asking a lot and not necessary for the unlock gesture.
Try changing 1000 to 1200.
Now the gesture y length is 1700-1200=500. That's still a quarter of the screen and may still be too much. Try experimenting, if the suggested values don't work reliably, by making the gesture progressively smaller and start slightly higher up the screen
Also you shouldn't need to wait 2 seconds after screen on to execute the gesture. I would try reducing it, trying to find a shorter value that works reliably. Start with 600ms. I used 50ms on one phone and 100ms on another phone.
Make smaller changes, test several times, before making 1 change.
Good luck.
 

AlamdaBeatriz

New member
Thanks a lot. What I don't understand:
Your gesture is a swipe down and not up, as required to unlock.
listen
The start of the gesture is very close to the bottom of the screen. Probably too close and in the bottom navigation area.
Try changing 2000 to 1700.
Also the end point at 1000 is quite high up the screen. Your gesture is a swipe of half the screen in 500ms. That's asking a lot and not necessary for the unlock gesture.
Try changing 1000 to 1200.
Now the gesture y length is 1700-1200=500. That's still a quarter of the screen and may still be too much. Try experimenting, if the suggested values don't work reliably, by making the gesture progressively smaller and start slightly higher up the screen
Also you shouldn't need to wait 2 seconds after screen on to execute the gesture. I would try reducing it, trying to find a shorter value that works reliably. Start with 600ms. I used 50ms on one phone and 100ms on another phone.
Make smaller changes, test several times, before making 1 change.
Good luck.
Yes. That's exactly what I was going to say... People don't understand it's too fast, every simple action needs a bit of wait in between... In gestures I always set at least a wait of 100ms in between actions. And after the unlock, a 1 sec wait so the phone can go through that almost non-visible fast screen blackout and on again... Everything needs a stop-motion-like kind of study.
 

Dm114

Well-known member
You could use 'Pointer position' in your mobile [Settings > Development options (if unlocked) > Pointer position] to see the exact position of your finger when you swipe the screen.
 

cloxy

New member
gesture not working, played with settings a lot of time, it seems my phone needs some kind of acceleration in the end of gesture
 

WolfgangT

New member
Doesn't work for me either. I have given up. I wanted to use it for a remote unlocking to be able to start "Quick Video Recorder " remotely by SMS on 11+ . For the time being this works for me even when locked. - I am on 10 with a MiMax3 - , as far as I know impossible on 11 +.
 

dhj49er

Well-known member
Would be useful to provide the gesture action details, because gestures have worked on every phone I've installed Macrodroid.
 

WolfgangT

New member
Would be useful to provide the gesture action details, because gestures have worked on every phone I've installed Macrodroid.
Gestures in general work for me fine, just not the swipe up gesture to unlock. My uneducated guess: a built in restriction.
 

Aaricon

New member
Did you ever get this to work? I have an app that collects points when I view an ad after a notification, so I'd like to do the same but use that notification to trigger the unlock and then interact with said notification to get the ad on my screen.
 

manhole

New member
125ms: 505, 1700 -> 505,0 - WORKED FOR ME!!

Block next actions until complete: is ON

 
Last edited:
Top