How do I remove a custom MIUI lockscreen via adb or other means? So I downloaded a lockscreen for MIUI from the themes app but apparently it doesn't go well with my phone and it just displays the wallpaper without the actual lockscreen. The problem is, now, I can't unlock the phone as there is nothing to drag on the screen. My phone is also secured by a pattern. How do I remove this problematic custom lockscreen and revert to the stock one?

Obviously I'd either have to do it via ADB or something. Can anyone help me out? I can restart the phone and all but that's really all I can do since everything else is behind the lockscreen.
Fist you need to know MIUI package name

adb shell pm list package -3


This command will display all the third party installed apps. If MIUI lockscreen does not show up here use :

adb shell pm list package -s


OR

adb shell pm list package -f


then copy the package name and use this command :

adb shell pm uninstall &lt;your app package&gt;