recover lost photo with root access - General Questions and Answers

hello,
I have a xiaomi redmi 9 pro phone.
rooted.
I used fstop app to move 80 photo from internal memory to sdcard. sdcard was full and the move has been done and create 0kb file in sdcard.
Photo from inernal memory have been deleted by the app.
I used a lot of app to look for my lost photo but I don't find stuff. I found a lot of "not deleted photo". I don't find any usefull tool that could ignore not deleted files (whatapp and my personnal photo are quite huge, more than 4000 photos).
also I'm surprised not to find a lot of thumbnail because there should be a lot of thumbnail on my phone and also a lot of deleted thumbnail.
I have the date and name of deleted photo isn't there a clever tool that exist and could find them ?
using tool like diskdigger or undeleter that need root access, I don't find stuff, even when looking in a lot of volume. What I'm missing ?
My dream tool :
look for really deleted file
if there are real file : filter by folder, by filename, date, etc.
do you have some tips for me ?

If you have rooted your phone and used several Android recovery tools, but none of them have scanned your lost photos. It is possible that they have been overwritten by new files. The overwritten files cannot be recovered.

That's what happens when you MOVE a file from one drive ( internal sdcard ) to another drive ( external sdcard ):
The file contents are copied in full to some location on the target disk drive.
The directory of the target folder on the target drive is updated to include the new file copied.
The directory of the source folder where the file used to reside is updated to no longer list the file. This causes the actual data for that file on the source drive to be released and marked as unused space.

Related

[Q] Space not freed after messing with .thumbnails

Heya guys,
this is mostly a copy of a thread I created in a device-specific forum (original thread), but since nobody was able to answer the question there and considering it doesn't seem to be device-specific after all, I figured I'd go ahead and ask here as well. The copy & paste part begins here, with slight modifications:
A few days ago, I found that I was in dire need of some more free space on my Samsung Galaxy S4 / GT-I9505's internal storage and found that only the contents of /sdcard/DCIM/.thumbnails were taking up space. After a while of trying to get rid of those files that kept creating themselves again, I followed some advice I read on an Android forum: I deleted the contents of the .thumbnail folder, went to Settings -> Apps and cleared the data of the Gallery and Media Storage apps, respectively, before rebooting the phone.
The contents did disappear for good, but neither Total Commander nor the list of installed apps in the settings nor the Storage summary in the settings showed any different amount of free space than before. To make matters worse, the number didn't even change after I found and deleted about 1 GB of files left by an already uninstalled app, i.e. it seems to be stuck on that value. At the same time, SD Maid tells me that I should have a good 5 GB of free space more than the system is showing. Neither restarting nor wiping the cache and dalvik cache helped.
My rooted GT-I9505 is running this unofficial port of AOKP 4.3, Milestone 1, and version 6.15.6 of PhilZ/CWM Advanced. I'm not sure whether there's more information I might need to provide, other than that the size of the thumbnails files apparently exploded (about 4 GB) when I moved quite a lot of data and obb folders to my external storage using FolderMount.
I didn't find any information about this kind of problem anywhere and am afraid I messed up so badly that I might need to reflash...or worse. Do you have an idea how I can try to fix it?
You could try installing Disable Service and forcing the media indexing service to never run.
gordon1986 said:
You could try installing Disable Service and forcing the media indexing service to never run.
Click to expand...
Click to collapse
Thanks for the input! That sounds like a plan, but I'm not really sure whether I'm doing it right. I got the app, figured the media indexing service had to be found in the Media Storage app's entry, but I only found "MediaScannerService" and "MtpService" there. Since I try to be more careful now, I'd rather not deactivate any of those without being sure that it is what I am aiming for.
So, long story short: Is either of those the media indexing service or do I have to look somewhere else?
Best thing to do is delete the .thumbnails folder in DCIM folder. After this create a new file with the name .thumbnails in the DCIM folder.
Note: You have too delete .thumbnails FOLDER and create .thumbnails FILE. You can use es file explorer to do this.
It is based on the simple principle that in Linux ext file system a file and folder cannot have the same name.
Sent from my LT28at using xda app-developers app
Hit Thanks if this helped you.
osamaanjum said:
Best thing to do is delete the .thumbnails folder in DCIM folder. After this create a new file with the name .thumbnails in the DCIM folder.
Click to expand...
Click to collapse
While I wasn't sure it would help, I tried what you suggested. Alas, it didn't work; the .thumbnails folder is empty without freeing the space taken by its former contents since I did what I described in my original post, after all. However, should I manage to fix this problem with a reflash, I suppose I'll do just that, replacing the folder with an empty file of the same name. Thanks.
It works for me.
I 've uploaded the image of DCIM directory (folder). In place of .thumbnails folder you can notice .thumbnails file.

Recovering deleted / lost files from dump

Good evening everyone!
I was playing with ES File Manager and renaming some pictures by removing file extension to test Gallery and some other file browser. When i decided to rename back these files with their extension (.jpg) i've accidentally deleted a couple of them. Is there any way to recover no-extension files? As far as i've been looking for, most of tools i've used search for files by their extension (.jpg , .mp4, ... ) in the whole memory, and this is troublesome since the files i've deleted have got no format! So i was thinking to dump the memory (copying /dev/block/mmcblk0 to a raw file mmcblk0.raw with "cat" + ">" commands) and then proceeding with TestDisk + PhotoRec: the fact is that after i've copied the mmcblk0 there seems to be no way to browse its content. Does anyone know how to explore dumped memory file or how to recover files that had no extension?
Thank you in advance, :good:
P.S. please forgive my grammar: i'm not English and not used to write on forums >.<
Up.
Each time i copy the memory on computer (via ADB shell) the file copied reaches very large size: 14,7GB when i copied mmcblk0 and more than 9GB mmcblk0p36 (that should be the partition which contains user data from /sdcard/ right? )

[Completed] [Q] deleted file recovery in root directory

The file that has been deleted is data/data/com.kakao.talk/databases/KakaoTalk.db
The told kakaotalk.db file has been deleted and was replaced by a new kakaotalk.db
I tried use data recovery programs but those only appear to recover data that is located in either internal storage (storage/sdcard0) or sd card (storage/sdcard1)
Is there any method to recover this file? I know root explorer can access and titanium backup can back up app data located in this directory, but wondering if there are any specialized deleted file recovery program that can scan this area to recover deleted application data
wsuh said:
The file that has been deleted is data/data/com.kakao.talk/databases/KakaoTalk.db
The told kakaotalk.db file has been deleted and was replaced by a new kakaotalk.db
I tried use data recovery programs but those only appear to recover data that is located in either internal storage (storage/sdcard0) or sd card (storage/sdcard1)
Is there any method to recover this file? I know root explorer can access and titanium backup can back up app data located in this directory, but wondering if there are any specialized deleted file recovery program that can scan this area to recover deleted application data
Click to expand...
Click to collapse
There are many recovery/undeleter apps available in Play store.
Here is a thread about it: General discussion > General > Storage Card - Deleted file recovery.
Some apps are free, some not. You have to read the app description and ratings, then check yourself.
Good luck !
Tried every recovery app available on google store. Only DiskDigger undelete appears to be able to scan the root area (other apps only scans internal storage and sd card). However that app only appears to have option to scan for and restore certain file extension (only pictures images and document files), and not .db files...
Is there any way to mount the root directory as a drive that could be recognized by the PC, so I can scan it using recuva or something? When I connect the device, only SD card mounts as a removable drive. Device I use is Pantech Vega LTE-A IM-A880S
wsuh said:
Tried every recovery app available on google store. Only DiskDigger undelete appears to be able to scan the root area (other apps only scans internal storage and sd card). However that app only appears to have option to scan for and restore certain file extension (only pictures images and document files), and not .db files...
Is there any way to mount the root directory as a drive that could be recognized by the PC, so I can scan it using recuva or something? When I connect the device, only SD card mounts as a removable drive. Device I use is Pantech Vega LTE-A IM-A880S
Click to expand...
Click to collapse
Yes, recuva is good ... used it myself to restore files on an external sd card.
As I am notr sure about our device and there is no specific forum for it on xda, please post your question in the General discussion > Questions and Answers forum.
Hopefully someone there can give a better advice.
Thread closed and thank you.

Empty directories

Hi. I need to find all empty dirs in the specific dirs, so I started google that question and found following:
1. "find" on android doesn't work with "-empty" arg.
2. Google shows me some play store apps, which should find empty dirs, but they delete ALL of them right away on the whole system (or Android dir) and some of them can't even see SD card, but in my case I only need found them only, not auto delete.
So how one can find all empty dirs on android ?
Xda801 said:
Hi. I need to find all empty dirs in the specific dirs, so I started google that question and found following:
1. "find" on android doesn't work with "-empty" arg.
2. Google shows me some play store apps, which should find empty dirs, but they delete ALL of them right away on the whole system (or Android dir) and some of them can't even see SD card, but in my case I only need found them only, not auto delete.
So how one can find all empty dirs on android ?
Click to expand...
Click to collapse
I use an app called "Empty Folder Cleaner" on Google Play store. It's never deleted a folder that couldn't easily be re-written by a seldom used app. Been using for over a year now with no problems. Ad-Free, too.
Only catch, is you can't do your SD card w/o root access. Internal storage works fine though, (non-root)
Description by the app publisher;
Annoyed with loads of empty folders in your file manager? Use this app.
Key Features
1)Multiple options to delete empty folders
2)Delete empty folders from internal storage(No root required)
3)Delete empty folders from external storage/memory card(Root required for this feature only)
4)No advertisement
With a single click all the empty folders will be deleted.
Options to delete empty folders
1)Show progress - get the progress of which file is being checked for empty folders
2)Log deleted empty folders - get the list of all the empty folders deleted
3)Scan ANDROID created folders - will not delete empty folders from the directories /Android/data, /LOST.DIR, /DCIM
Note: folders with ".nomedia" and other hidden files will not be deleted as they might be required by the system or the app which has created it. Developer is not responsible for any problem created by the app. You use the application at your own risk
Sent from my SM-N950U using Tapatalk
darth_vapor said:
I use an app called "Empty Folder Cleaner" on Google Play store. It's never deleted a folder that couldn't easily be re-written by a seldom used app. Been using for over a year now with no problems. Ad-Free, too.
Only catch, is you can't do your SD card w/o root access. Internal storage works fine though, (non-root)
Description by the app publisher;
Annoyed with loads of empty folders in your file manager? Use this app.
Key Features
1)Multiple options to delete empty folders
2)Delete empty folders from internal storage(No root required)
3)Delete empty folders from external storage/memory card(Root required for this feature only)
4)No advertisement
With a single click all the empty folders will be deleted.
Options to delete empty folders
1)Show progress - get the progress of which file is being checked for empty folders
2)Log deleted empty folders - get the list of all the empty folders deleted
3)Scan ANDROID created folders - will not delete empty folders from the directories /Android/data, /LOST.DIR, /DCIM
Note: folders with ".nomedia" and other hidden files will not be deleted as they might be required by the system or the app which has created it. Developer is not responsible for any problem created by the app. You use the application at your own risk
Click to expand...
Click to collapse
Yes, this is one of the apps I found, but it is not what I need, as I said in the first post.
Sent from my santoni using XDA Labs

A doubt regarding cache

I basically use my android file manager ... Recently i found out one thing... If i capture few photos from camera app or download few photos from websites and view them from my file manager ... The File manager cache storage increases...
I can understand that it creates temporary files to make the photos load faster the next time (around 10mb) but my doubt is
I deleted all my camera photos and cleared the recycle bin in my file manager ... But still the file manager cache storage is 10 mb... It is still in the cache space...
I know the deleted images will be taken out from normal file list but still it will be there hidden
Until rewritten by some other thing ..
But my questions are
So does the deleted images stored as cache in the file manager ????
Or is it just useless after the original image is deleted??
Without using recovery softwares, will the original image be recovered with this file manager cache??
Kindly give an answer with detailed explanation
Each app, so also the File Manager app you use, has its own cache where the app is storing files to reference later. If the File Manager app currently doesn't have a setting for how much disk space the cache is allowed to take up, so it just keeps getting larger and larger until the entire drive is full.
Whatever data the File Manager app stores in its cache, they aren't accessible by any recovery softwares, AFAIK.

Categories

Resources