Swipe to unlock - MiUi

Hi
I have phone running miui 12.5
I want to unlock screen based upon certain trigger.
My problem is that lock screen has "swipe to unlock " feature and I am not able to deal with it. Gesture control action is not taking me to next screen where password is entered.
I tried secure setting /Global setting but no luck.
Is there any way I can bypass this swipe to unlock and go to next screen ?
 

dhj49er

Well-known member
Hi
I have phone running miui 12.5
I want to unlock screen based upon certain trigger.
My problem is that lock screen has "swipe to unlock " feature and I am not able to deal with it. Gesture control action is not taking me to next screen where password is entered.
I tried secure setting /Global setting but no luck.
Is there any way I can bypass this swipe to unlock and go to next screen ?
Is the issue a lack of a suitable trigger?

Have you tested the swipe gesture action as follows
T screen on
A wait 2 secs
A Gesture (100-200ms, with suitable stat and end points)
This needs to work, try changing the duration and or the position of the swipe to get it to work. Avoid starting or ending the swipe near an underscreen fingerprint scanner.

Once it's working, then change the screen on trigger to a specific trigger. The specific trigger could be unique text on the lockscreen.
Eg. Swipe to unlock is displayed on the lockscreen.
The trigger could be
Screen Content (On Screen)
App System ui
Text swipe to unlock
Finally, reduce the 2s wait to speed up the macro.
 
I did use gesture but it does not goto next screen...Do we need to add any extra step for miui phones ?
Refer snapshot
 

Attachments

  • Screenshot_2024-04-26-22-17-50-900_com.arlosoft.macrodroid.jpg
    Screenshot_2024-04-26-22-17-50-900_com.arlosoft.macrodroid.jpg
    325 KB · Views: 4

dhj49er

Well-known member
I did use gesture but it does not goto next screen...Do we need to add any extra step for miui phones ?
Refer snapshot
I assume you mean the gesture when the macro runs doesn't go to the next screen.

Rather than run the macro, manually do the same steps. When you manually swipe does it go to the next screen?

If yes, then you need to try different values for the gesture action.
I think the 250ms may be too long - try shorter values, but not less than 100ms.
The starting y point must be very close to the bottom of the screen. I would move the gesture up the screen - start at 1800 say.

If no, what else do you do to get to the next screen? This is the action that needs to be added to the macro.

I suspect it's the Gesture that needs changing.
 
Thanks for quick response.
I did change as per your suggestions but no luck.
If I keep the same gesture co-ordinates and do them on home screen, it opens app drawer on swipe up option so it does work there but not at the lock screen. Not sure why
 

Attachments

  • Screenshot_2024-04-26-22-48-45-057_com.arlosoft.macrodroid.jpg
    Screenshot_2024-04-26-22-48-45-057_com.arlosoft.macrodroid.jpg
    343.7 KB · Views: 1

dhj49er

Well-known member
Thanks for quick response.
I did change as per your suggestions but no luck.
If I keep the same gesture co-ordinates and do them on home screen, it opens app drawer on swipe up option so it does work there but not at the lock screen. Not sure why
Have you done the manual swipe on the lockscreen?

Does it go to the next screen?
 

dhj49er

Well-known member
When you tried different values for the gesture action, did any cause the screen to move up?
 

dhj49er

Well-known member
Yes I did. manual swipe works ..Also tried different values but no luck
I suggest trying the swipe Gesture on another screen.

Change your test macro to launch Settings, wait 2 secs, Gesture action.

Does Settings scroll?

If not, there is something wrong with the gesture action.

This is a good way to check out the swipe with different values, as more or less screen will scroll as with varying the length of the swipe. Also try different durations as this will vary the speed of the swipe.
 
Last edited:
Top