How to Recover Deleted Files from an Android Phone (Xiaomi, Samsung, Redmi Included)

Most deleted files on an Android phone can still be recoverable back, as long as you act fast and check the right places in the right order. The trick is knowing which places actually matter on your phone.

You were clearing space, or a toddler got hold of your Redmi, or a “cleaner” app was a little too eager. Now a folder of photos, a PDF you needed for work, or a voice note from someone special is gone. It happens to everyone, and the first reaction is usually to install the first Android recovery software you find. Please don’t. Read the next two sections first, because what you do in the next hour decides what you get back.

This guide walks through every realistic option, from the free ones hiding in your Gallery to a Android data recovery tool for when nothing else works. The steps use Xiaomi, Redmi and POCO phones as the main example, with notes for Samsung and other brands where things differ.

What really happens when you delete a file on Android?

In most cases, a deleted file first goes into a holding area, not into oblivion. The Gallery, the File Manager and apps like Google Photos all keep a recycle bin. Files usually sit there for about 30 days before they are cleared for good.

Once a file leaves that bin, things get harder. Android marks the space as free, and new data can take it at any moment. A photo you take, an app update, even a WhatsApp sticker can land right on top of it.

There is also something most recovery articles skip. Phones running Android 10 or later encrypt internal storage file by file, and flash memory runs a cleanup command (called TRIM) that wipes freed blocks in the background. So a file that was permanently deleted from internal storage is often gone faster than it would be on an old hard drive.

MicroSD cards are a different story. A card formatted as portable storage (FAT32 or exFAT) is not encrypted by default, and deleted files there often stay readable for a long time. If the lost files lived on an SD card, your odds are much better.

So the honest order of attack is simple. Check the bins, then check any copies (cloud or backup), and only then try advance Android recovery software.

Quick Ways to Recover Deleted Files from an Android

Here are the methods to recover deleted files from an Android phone, in the order you should try them. Each step below works on Xiaomi, Redmi, POCO and Samsung phones, with brand-specific notes where the steps differ.

Free method 1: Check the Recently deleted folders

This fixes the problem for most people, and it takes under a minute. Android phones have more than one bin, so check each of them.

Gallery on Xiaomi, Redmi and POCO (HyperOS or MIUI). Open Gallery, go to the Albums tab and scroll to the bottom. Tap Recently deleted, select the photos or videos you want and tap Restore. On older MIUI versions, the same folder sits inside the Gallery settings as the Recycle bin. Items stay there for 30 days.

File Manager on Xiaomi phones. Documents, APKs, audio files and downloads don’t go to the Gallery bin. Open the File Manager, tap the menu or profile icon and look for Recently deleted. Long-press the file and restore it to its original folder.

Samsung My Files. Open My Files, tap the three-dot menu and choose Recycle bin (or Trash on some One UI versions). Samsung Gallery has its own separate bin under the same menu, so check both.

Files by Google. Many phones use this as the default file app. Open it, tap the menu in the top-left corner and select Trash. Pick your files and tap Restore.

If you see nothing, check whether the bin was switched off in settings. Some cleaner apps turn it off to save space, and that is often why files vanish instantly.

Free method 2: Look for a copy in the cloud

A file deleted from the phone may still live in a cloud account that synced it earlier. People often forget they turned on backup years ago.

Google Photos. Open the app, go to Collections (or Library) and tap Trash. Photos that were backed up stay in the trash for 60 days, and ones that were never backed up stay for 30 days. Also search your main library, because a photo deleted from the Gallery app is not always deleted from Google Photos.

Xiaomi Cloud. If you use a Xiaomi account with Gallery sync on, sign in at i.mi.com from a computer. Open the Gallery section and look through your synced albums, and check any recently deleted area your account shows. Don’t turn sync back on from the phone first, because a sync can push the deletion to the cloud too.

Google Drive and OneDrive. Documents and PDFs are often uploaded here by email apps or WhatsApp. Both keep deleted items in a Trash or Recycle bin for about 30 days. Check it on a computer, where the full list is easier to search.

Samsung Cloud or OneDrive gallery sync. On Samsung phones, Gallery sync now runs through OneDrive on most models. Look in the OneDrive Photos view and its recycle bin.

Free method 3: Restore from a local backup or app folder

If you ever made a full phone backup, the file may be inside it. Restoring an old backup can replace newer data, though, so copy anything recent to a computer first.

Xiaomi local backup. Go to Settings, then About phone, then Back up and restore (on older MIUI it is under Additional settings). Open Mobile device and check whether a backup from before the deletion exists. You can restore just the apps or data types you need instead of the whole phone.

WhatsApp media and chats. WhatsApp saves its own copies of photos, videos and documents. Open your file manager and go to Android, then media, then com.whatsapp, then WhatsApp, then Media. Deleted chats can sometimes come back from the Databases folder there, which keeps up to seven days of dated local backups. Your Google Drive backup is another option if it ran before the deletion.

Telegram and other apps. Telegram keeps downloaded files in its own folder under Android/media or in Downloads/Telegram. Many apps do the same. A quick search in your file manager for the file name, or for the file type, sometimes turns up a copy you forgot about.

Your computer. If you ever connected the phone to a PC and copied the DCIM folder, or used Smart Switch or Xiaomi’s PC Suite, there may be a copy sitting on that machine.

Free method 4: Recover files from the microSD card on a PC

Many Redmi and POCO models still have a card slot, and this is where recovery works best. Put the card in a card reader and connect it to a Windows PC or Mac. Don’t format it, even if the computer asks you to.

A free, open-source tool called PhotoRec can read the card and pull out deleted photos, videos and documents. It runs from a plain text window and saves files with generic names, so expect some sorting afterwards. It works well for people who are patient and comfortable with a basic interface.

One catch applies here. If the card was set up as internal storage (Android calls this adoptable storage), it is encrypted and tied to that phone. A PC can’t read it, so the card has to be scanned through the phone itself, or not at all.

Save recovered files to your computer, never back to the same card.

When nothing free works: use a Android data recovery tool

No bin, no cloud copy, no backup? A android data recovery tool that connects to the phone over USB is the next step. It reads the phone from a computer, so nothing new gets installed from an app store while it works.

Stellar Data Recovery for Android is one such tool. It runs on Windows and supports phones from Android 6 up to Android 16. It can look for photos, videos, documents, audio, contacts, call logs and messages on both internal memory and the SD card. You also get a preview of what it finds, so you can check a photo is intact before you save it.

Be realistic about internal storage, for the encryption and TRIM reasons covered earlier. The longer you waited and the more you used the phone, the less any tool can find. Files on an SD card, or files deleted very recently, stand the best chance.

Small habits that make the next loss a non-event

The easiest fix is the one you set up before anything goes wrong. Turn on backup in Google Photos or Xiaomi Cloud, and take a quick look once a month to make sure it is still running, because a backup that quietly stopped last spring won’t save this week’s photos. While you are in settings, leave the recycle bins switched on. Some cleaner apps offer to disable them to free up a little space, and that trade is rarely worth it.

Big changes to the phone deserve a little extra care. Before a system update, a factory reset or a move to a new phone, make a full local backup from Backup and restore on your Xiaomi device; it only takes a few minutes. And every few months, copy your DCIM and Documents folders to a computer or an external drive. Keeping two copies in two different places is the simple rule most data recovery engineers follow, and it turns a lost file into a minor annoyance instead of a crisis.

Closing thoughts

Most “lost” Android files turn up in a Recently deleted folder or a cloud trash, so always start there. If the files were on a microSD card, pull it out and scan it from a computer. For files wiped from internal storage with no backup, a USB-based tool like Stellar Data Recovery for Android is your best remaining shot, as long as you stop using the phone right away.

Whatever you recover, back it up the same day. It is a lot easier than doing all of this twice.

Frequently asked questions

Can I recover deleted files on Android without a computer?

Yes, if the files are still in a bin or a cloud account. The Gallery, File Manager, Google Photos and Google Drive trash folders all work right on the phone. Deep recovery of permanently deleted files usually needs a computer.

How long do deleted files stay in the Recently deleted folder?

On Xiaomi, Samsung and Files by Google, it is usually 30 days. Google Photos keeps backed-up items for 60 days. After that, they are removed automatically.

Do I need to root my phone to recover deleted files?

No. Rooting can void your warranty and may even wipe the phone on some models. Tools like Stellar Data Recovery for Android work over USB debugging without root.

Can I get files back after a factory reset?

Only from a backup, in most cases. A factory reset on a modern encrypted phone destroys the encryption keys, so the old data becomes unreadable. Check Google, Xiaomi Cloud and any PC backups.

Why can’t recovery apps find my deleted photos?

The space was probably already reused, or TRIM cleared it. It also happens when a recovery app is installed on the same phone after the deletion. Using a computer and acting quickly gives you the best odds.

Can I recover deleted WhatsApp messages on Android?

Often, yes. Reinstalling WhatsApp and restoring from Google Drive brings back chats up to the last backup. The local Databases folder may also hold dated backups from the past week.

Related Articles