Is it fully powered off currently? If not, there is luck.
METHOD 1: Requires screen lock to be None or Swipe.
- Plug in USB cable to computer.
- Find your phone in "This PC" in Windows, "Devices" in Linux, or download Android File Transfer (android.com/filetransfer/) for Mac.
- Copy files. If your phone does not show any storage when found it does not have a None or Swipe screen lock. Try something else.
METHOD 2: Requires USB-OTG supported mouse and keyboard (can be Bluetooth if paired before accident).
- Plug in a keyboard and mouse (requires USB-OTG splitter, but also means your kernel has to support multiple USB ports).
- Press the "zzz" key on the keyboard to turn screen on.
- Use the mouse as you would a touchscreen. Remember: hold down left mouse button to right click.
- Use some sort of wireless transfer to copy your data to a computer.
METHOD 3: Requires USB debugging to be enabled for your computer.
- Plug your phone into your computer.
- For Windows or Mac, download ADB tools and unzip to your user folder. For Linux, run
sudo apt-get install android-tools-fastboot android-tools-adb android-tools-adbd.
- Open a terminal (or command prompt) and type
adb devices. If your device is listed, continue. If not, retry or stop.
adb shell input keyevent 26 or
adb shell input keyevent 224 to turn on the screen.
- To "tap", run command
adb shell input tap x y (x and y are coordinates to tap, replace them with numbers)
- Once your phone is unlocked, use Method 1 to transfer files.