[TOOL] Advance Tool for Android™ - ADB and fastboot commands

CXZa

Senior Member
Apr 9, 2013
604
192
73
cxzstuff.blogspot.com
One piece of script I use - because I tend forget to charge my phone...
I just plug it to pc and can forget it again...
Requires that the phone starts automatically when charged enough...
Add if you like the idea...

Code:
set/p passs= Pin: 
rem To remove the pin from the screen.
cls
echo Waiting for device...
adb wait-for-device
rem Let it start fully...
echo Waiting for 3 more minutes...
timeout /T 180
adb shell input text %passs%
adb shell input keyevent 66
set passs=
 

SwayWasTaken

Senior Member
Apr 3, 2019
75
40
28
One piece of script I use - because I tend forget to charge my phone...
I just plug it to pc and can forget it again...
Requires that the phone starts automatically when charged enough...
Add if you like the idea...

Code:
set/p passs= Pin: 
rem To remove the pin from the screen.
cls
echo Waiting for device...
adb wait-for-device
rem Let it start fully...
echo Waiting for 3 more minutes...
timeout /T 180
adb shell input text %passs%
adb shell input keyevent 66
set passs=
Will it start automatically? or will it remain in the battery screen?
 

Heamnath

Senior Member
Jan 6, 2017
53
1
0
Chennai
Can you add wipe efs and modem partition?, if I am wrong , sorry. Because recently somehow my imei erased, so I have to flash original imei, wiping efs in poco is write protected, pls add the feature
 

SwayWasTaken

Senior Member
Apr 3, 2019
75
40
28
Can I use this to unlocking bootloader of smart watches too?
I own mi watch which I am trying to unlock bootloader or get root access...
I'm not very sure you can, but you can try to start ATA while the smartwatch is attached to your pc, if ATA detect your smartwatch you can try to reboot to fastboot and unlock it. (I never unlocked a smartwatch, so if you don't want to mess with it, don't do it. this is not a guide so all you do is under your responsibility)