└ Here currentpassword is the old/current PIN and newpassword is the new Password you wish to set. Locksettings set-password -old xxxx xxxx Example: locksettings set-password -old currentpassword newpassword Change lock screen password: To change the lock screen password, issue the following command:.└ Here 0000 is the old/current PIN and 8888 is the new PIN. Locksettings set-pin -old xxxx xxxx Example: locksettings set-pin -old 0000 8888 Change lock screen PIN: To change the lock screen PIN, you need to issue the following command:.└ Here 1456 is the old (read: current) pattern lock and 6987 is the new pattern lock. Once you’ve understood the numbering pattern, issue the following ADB command to change your pattern lock:Įxample: locksettings set-pattern -old 1456 6987 Check the image below to better understand pattern lock numbering system on Android: It goes like like this: Top-left is number 1, middle dot is 5 and the last dot is number 9. Change lock screen pattern: To change pattern lock via ADB you first need to understand how Android numbers each dot on a pattern lock screen.Once into ADB shell mode, issue the following commands to change your lock screen pattern, PIN or password:.└ You might get a prompt on your device to “Allow USB Debugging”, select Yes/Ok/Allow. Now open a command prompt window on your PC, and issue the following command:.Connect your Android device to PC using a USB cable.Enable USB debugging from Developer options.Setup ADB and Fastboot on your Windows PC.
How to change lock screen Pattern, PIN or Password via ADB How to remove lock screen Pattern, PIN or Password via ADB.How to change lock screen Pattern, PIN or Password via ADB.