1796 shaares
1 result
tagged
adb
In the recovery mode I can enable adb and I tried to delete the file
adb shell rm /data/system/gesture.key
which worked in the past, but now this file does not exist anymore on Lineageos 17.1. ADB unfortunately does not work when the screen is locked.
Is there another way to bypass the screen pattern? Doing a factory reset is the last option I want to do. Making the pattern visible should be enough in principle.
I've had success removing a lock screen with the following sequence of commands:
adb shell settings put secure lockscreen.disabled 1
adb shell mv /data/system/locksettings.db /data/system/locksettings.db.old
adb reboot
Following the device restarting, the lock screen should be gone, with the device booting directly to the home screen.
adb shell rm /data/system/gesture.key
which worked in the past, but now this file does not exist anymore on Lineageos 17.1. ADB unfortunately does not work when the screen is locked.
Is there another way to bypass the screen pattern? Doing a factory reset is the last option I want to do. Making the pattern visible should be enough in principle.
I've had success removing a lock screen with the following sequence of commands:
adb shell settings put secure lockscreen.disabled 1
adb shell mv /data/system/locksettings.db /data/system/locksettings.db.old
adb reboot
Following the device restarting, the lock screen should be gone, with the device booting directly to the home screen.