It would have to be phone specific. Most manufacturers have their own spin on the gui, and the ducky only acts as a keyboard, no mouse(touch). You'll also not be able to open a shell, since most android phones don't have that capability without an additional app already installed. I'm not even sure if it's possible.
Most Android phones can easily enable developer mode. If Rubber Ducky can just act like an HID device, and it could run an adb shell, then it could could enable developer mode, enable adb, start an adb shell, and accept the connection with the persistence checkbox checked; assuming that adb and the HID side of things can run in parallel.
How do you use the rubber ducky with androids?
in Classic USB Rubber Ducky
Posted
Most Android phones can easily enable developer mode. If Rubber Ducky can just act like an HID device, and it could run an adb shell, then it could could enable developer mode, enable adb, start an adb shell, and accept the connection with the persistence checkbox checked; assuming that adb and the HID side of things can run in parallel.