ADB Unlocking script for userlock remove

Posted by bfly on 9:46 PM with No comments
This command will unlock all screen lock !!

Requirements :
- root access
- adb driver
- usb debugging

Copy the following commands
and paste in your notepad !
Save as unlock.bat ! After connect with phone , Double click
batch file !!

-------------------------------------------------------------------------------

@echo off
title Unlocker
echo. 
echo Connecting device ... not found !!
echo.
adb wati-for-devices > nul
echo.
cls
echo Device connected !!
echo.
echo Unlocking device....
echo.
adb shell su -c "mount -o remount r-w /system"
adb shell su -c "rm data/system/*.key"
adb shell su -c "rm data/system/locksettings.db"
echo.
echo Completed ! Your device will reboot !
echo.
adb reboot
echo.
echo Press any key to close program !!
echo.
pause > nul

------------------------------------------------------------------------

Categories: