Recover Android Messages When Screen Is Black
In this article
Yes, you can recover messages from an Android phone that only shows a black screen, provided the device still powers on and you have either a recent backup or USB debugging enabled.
When a screen goes completely dark, the operating system may still be running, allowing you to access data through a computer or external peripherals. This guide walks you through the safest, officially supported ways to retrieve your text messages without needing to root or install unofficial software.
What You'll Need
- A computer running Windows, macOS, or Linux
- A USB‑C or micro‑USB cable that works with your phone
- Android Debug Bridge (ADB) installed on the computer (available from the Android developer site)
- Your Google account credentials (for Google Drive backup) or Samsung account credentials (for Samsung Cloud)
- Optional: an OTG adapter and a USB mouse or keyboard
- Optional: a USB‑C to HDMI adapter and an external monitor
Step‑by‑Step
- Confirm the phone is actually on. Look for vibration, LED indicators, or a charging sound when you plug it in. If there is no response, the problem may be hardware‑related and data recovery will require professional service.
- If you have a recent Google Drive backup, open a web browser on your computer, go to drive.google.com, click the menu icon, choose Backups, locate the entry that matches your device, and click Download. The backup file contains a folder named "Message" that stores your SMS and RCS conversations.
- For Samsung devices, log into your Samsung account at account.samsung.com, select the Backup section, and download the most recent backup. Alternatively, use Find My Mobile (findmymobile.samsung.com) to remotely unlock the phone, then connect it to Smart Switch on your PC to pull the message data.
- If you had USB debugging enabled before the screen failed, open a terminal or command prompt on your computer, navigate to the folder where ADB is installed, and run:
adb devices
This should list a device serial number. If it does not appear, try a different cable or USB port, and ensure the phone is unlocked (you may need a mouse via OTG to unlock). - Once the device is recognized, pull the messaging database. For the default Google Messages app the database resides at:
adb pull /data/data/com.google.android.apps.messaging/databases/mmssms.db ./mmssms.db
For other messaging apps, replace the package name accordingly (e.g., com.samsung.android.messaging). This command copies the SQLite database to your computer. - Open the .db file with a SQLite viewer (many free tools exist for all platforms). You will see tables such as sms, mms, and thread. Export the rows to CSV if you want a readable format.
- If USB debugging was not previously enabled, you can still activate it blind using an OTG mouse. Connect the mouse to the phone’s charging port via the OTG adapter, wait for the cursor to appear on the black screen (you can feel the click), swipe down from the top to open the notification shade, tap Settings (the first icon), scroll to About phone, tap Build number seven times until you see a developer mode toast, then go back to Settings, open Developer options, and toggle USB debugging. After this, repeat step 4.
- If your device supports video output, connect the USB‑C to HDMI adapter, attach an external monitor, and power the phone. The display should mirror the phone’s screen, allowing you to navigate the UI normally. From there you can enable USB debugging or perform a standard backup via Settings > Google > Backup > Back up now.
- After you have extracted the database, you can import the messages back onto a working Android phone. Install the same messaging app, copy the .db file into the appropriate data folder using ADB (adb push ./mmssms.db /data/data/com.google.android.apps.messaging/databases/), then set the correct file permissions with:
adb shell chmod 660 /data/data/com.google.android.apps.messaging/databases/mmssms.db
Finally, reboot the phone (adb reboot) and open the messaging app; the conversations should appear.
Common Mistakes
- Assuming USB debugging is always on – it must be enabled before the screen fails, otherwise the device will not accept ADB commands.
- Pulling the wrong database file – each messaging app stores its data in a unique package folder; using the wrong path yields an empty or unrelated file.
- Overwriting an existing backup without keeping a copy – always save the pulled .db file to a separate folder before any further manipulation.
- Skipping the step to unlock the phone before enabling debugging – if the device is locked, ADB will refuse commands even when debugging is on.
Tips
- Enable automatic Google Drive backup for SMS/MMS in Settings > Google > Backup > Back up my data. This creates a daily snapshot you can restore without any hardware access.
- Keep USB debugging on in Developer options if you frequently troubleshoot devices; the risk is minimal on a personal phone that is not exposed to unknown computers.
- Regularly export important conversations to a note‑taking app or email to avoid reliance on device storage.
- If you have an OTG mouse, practice navigating the UI blind on a working device so you can replicate the steps when the screen is black.
Troubleshooting
If the phone is not recognized by ADB:
- Restart the phone by holding the power button for 10 seconds (you will feel a vibration).
- Make sure the USB mode is set to File Transfer (you can toggle this by pressing the volume up button while the phone is connected, then selecting the appropriate option with the OTG mouse).
- Update the ADB driver on Windows via Device Manager or reinstall the platform‑tools package.
If no backup appears in Google Drive:
- Confirm you were signed into the same Google account on the broken phone.
- Check the “Backup & sync” toggle in Settings > Google > Backup on a similar device.
- Visit https://takeout.google.com to see if a message export exists.
If the pulled database is empty or corrupted:
- Ensure the phone was not in a low‑power state that prevented file access.
- Try pulling the file again after a full reboot.
- Use a different SQLite viewer; some viewers may misinterpret the file if encryption is enabled by the OEM.
When all else fails, consider using a professional data‑recovery service that can perform chip‑level extraction, but be aware this option can be costly and may void warranties.
Frequently Asked Questions
Can I recover messages without having enabled USB debugging?
Only if you have a cloud backup (Google Drive, Samsung Cloud) or can access the screen via an external monitor or OTG mouse to enable debugging manually.
Will pulling the database delete my messages from the phone?
No. The adb pull command creates a copy on your computer; it does not modify the original file.
Do I need to root the device to access the message database?
No. The database is readable through ADB when USB debugging is on, and it is stored in a location that the ADB shell can access without root.
What if my phone is completely dead and won’t power on?
In that case software methods won’t work; you will need a hardware repair or a professional chip‑off service.
Can I restore the extracted .db file to a different Android model?
Yes, as long as the target phone uses the same messaging app and you place the file in the correct data directory with proper permissions.