0

I have been successfully using adb shell input keyevent 26 to unlock an android phone over adb.

However, when I connect multiple devices to my mac this is reutrned:

error: more than one device/emulator

Is there a way to unlock multiple android devices at once through a shell script?

Thanks,

Liam

Liam Ferris
  • 1,786
  • 2
  • 18
  • 38

1 Answers1

1

You are able to unlock multiple devices (or use shell whatsover by defining their serial number (given by adb devices).

Please check on the official documentation for the syntax of the command

adb [-d|-e|-s <serialNumber>] shell <shell_command>

George Daramouskas
  • 3,720
  • 3
  • 22
  • 51