Home 9 Apps & Devices 9 How to Enable USB Debugging on Android with Broken Screen

How to Enable USB Debugging on Android with Broken Screen

by | Jan 28, 2024

Dealing with a broken or non-functional screen on your Android phone can be incredibly frustrating. It prevents you from accessing any of your important data or files. In this article, we will guide you on how to enable USB debugging on Android with broken screen. By following these steps, you’ll be able to regain access to your data and find a solution to this frustrating problem. So, keep reading to discover how these methods can assist you. If your Android’s screen is not broken or black read this article: “How to Enable USB Debugging on Android

How to Enable USB Debugging on Android with Broken Screen

Method 1: Use ADB Commands

One way to turn on USB debugging on your Android phone with a black screen is by using a tool called ADB. Here’s how you can do it:

ADB Commands
  1. Start by downloading the ADB toolkit for your computer and extracting its contents to a folder.
  2. Since your phone has a black screen, you’ll need to reboot it into recovery mode. To do this, press both the Volume Down and Power buttons simultaneously.
  3. Connect your phone to your computer and open a Command Prompt window in the ADB folder.
  4. Type the command “adb devices” in the Command Prompt window. This will show you if your device is connected.
  5. Run the following commands one by one: “adb shell“, “mount data“, and “mount system“.
  6. Use the command “adb pull /data/property/persist.sys.usb.config C:\Users[your-username]\Desktop” to retrieve the persist.sys.usb.config file from your phone to your computer’s desktop.
  7. Open the persist.sys.usb.config file with a text editor and change its contents to “mtp,adb”.
  8. Use the command “adb push “C:\Users[your-username]\Desktop/persist.sys.usb.config” /data/property” to send the modified file back to your device.
  9. Download the build.prop file from your phone to your computer using the command “adb pull /system/build.prop C:\Users[your-username]\Desktop”.
  10. Open the build.prop file in a text editor and add the following lines:
See also  How to Transfer Ownership on Discord
ADB Commands
  1. persist.service.adb.enable=1
  2. persist.service.debuggable=1
  3. persist.sys.usb.config=mtp,adb
  1. Save the file and transfer it back to your device using the command “adb push “C:\Users[your-username]\Desktop/build.prop” /system/”.
  2. Reboot your device using the command “adb reboot”.
  3. After following these steps, your phone will start up with USB debugging enabled.

Method 2: Use OTG Cable and Mouse

Use OTG Cable and Mouse

If your phone supports OTG (On-The-Go), you can connect a computer mouse to it and use the mouse to navigate through your device. This way, even if your phone has a black screen that doesn’t work, you can still do different things on your phone. Here’s how you can enable USB debugging on Android with a black screen using a mouse:

  1. Connect your mouse to your Android phone using an OTG cable. Make sure your phone supports OTG functionality.
  1. If you can’t see anything on your phone’s screen, you might need to mirror your phone’s screen to a computer.
  1. Use the mouse to go to Settings > About phone > Developer options. Tap on the Build number seven times to enable the Developer Options.
  1. Go back to the About phone section, and you should now see the USB debugging option. Tap on it to turn it on.

Now, USB debugging is enabled on your device.

How to Recover Data from a Phone with a Blank or Broken Screen

When your phone’s screen goes blank, you can’t access the data stored on it. But there’s a way to recover your data to a computer, and Tenorshare UltData for Android can help you with that. This tool scans your device for recoverable content and allows you to restore that data to your computer. 

See also  How to Connect 2 Monitors to a Laptop | Tutorial

Here’s how it works:

  1. Download and run the Tenorshare UltData for Android program.
  2. Click on the “Recover Lost Data” option in the program.
  3. Connect your phone to your computer using a USB cable. Make sure USB debugging is enabled on your phone.
  4. Click the “Start” button to scan your device for recoverable files. In this case, we’ll focus on recovering photos.
  5. You’ll see a list of photos that can be recovered from your phone. Select the ones you want to retrieve and click “Recover” at the bottom-right corner. The tool will recover the chosen photos for you.

Now, you can view your phone’s photos on your computer screen.

Conclusion

In conclusion, dealing with a broken or non-functional screen on your Android phone can be a frustrating experience, as it limits your access to important data. However, by following the methods outlined in this article, you can enable USB debugging on Android with a broken screen and regain access to your data. If you have any questions or concerns about USB Debugging, please reach out to us through comments or email. We also value your feedback and experiences with USB Debugging, as it can provide valuable insights for our readers. If you found this article helpful, we would appreciate a 5-star rating.

You May Also Like…

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *