Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Recover deleted photos from android

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
dafunk
Posts: 43
Joined: 2014-12-04 07:48

Recover deleted photos from android

#1 Post by dafunk »

There's any tools for linux (debian) for recover deleted data (photos) from an android device??...
I don't know the version of android os (it's not mine) but surely before kit kat.

Thanks for the advice guys!

User avatar
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Recover deleted photos from android

#2 Post by dasein »

Are you suggesting that you'll reject a solution that doesn't involve Debian?

Because otherwise, you're merely asking how to "Recover deleted photos from android." And I'd bet a year's pay that that larger topic has already been addressed several million times on the Interwebz. (Paste your thread title into your favorite search engine to confirm.)

aplistir
Posts: 141
Joined: 2014-03-26 22:11

Re: Recover deleted photos from android

#3 Post by aplistir »

if the photos are on a sd card, then it is easy in linux. eg. photorec or testdisk, can do that.

If they are on the phones internal memory, then it is more difficult.. probably still possible though.

dafunk
Posts: 43
Joined: 2014-12-04 07:48

Re: Recover deleted photos from android

#4 Post by dafunk »

As you guess I'm searching a tool for debian only and the photo are stored in internal memory of the phone.... :?

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Recover deleted photos from android

#5 Post by GarryRicketson »

Postby dafunk » 2017-07-11 23:03
As you guess I'm searching a tool for debian only and the photo are stored in internal memory of the phone.... :?
Yes, we realize that, but have you tried really doing any searches ?

One thing I read in some searches I was doing, hoping to find something to
suggest, unfortunately I did not find much,
But the one thing, and it makes sense,..
It said that if files or photos were accidentally deleted, if there was any hope
of recovering them, one needs to be sure to not use the phone/device on-line,
the article recommended disabling the wifi immediately.
The reason being that it is important to avoid overwriting the directory with new data and files.
There are many apps for android , designed to help you recover accidentally
deleted files/data, limiting your self to only :
Post by dafunk » 2017-07-11 23:03
As you guess I'm searching a tool for debian only and the photo are stored in internal memory of the phone.... :?
Restricting or limiting your self like that, just reduces the chances of recovering
them.
Hint: Keywords :

Code: Select all

Recover deleted photos from android
and a search.
In the same article, they point out that the files/images/data are not actually
removed, they are moved and hidden , the trick being to find them, before they
get over written with more data.
Dasein is right, there are literally 100s of solutions to this, and some detailed explanations, and Debian does have the commands available, not really "clicky"
windoze type apps or "tools", but the commands are there. It still would be easier for you to just use the tools and apps available for android, instead.
------------ edited --------------------
tools for linux (debian) for recover deleted data (photos) from an android device
Also yields results, for example, as all ready suggested:
https://www.linux.com/learn/get-your-da ... very-tools
Photorec

If you’re looking to recover lost files, photos, videos, etc. Photorec is what you want. This tool is part of Testdisk, so once you’ve installed Testdisk, Photorec is ready to serve. This particular tool completely ignores the file system and looks directly at the underlying data. This means, if your file system is damaged, there’s a chance the data can still be recovered.

To start Photorec, issue the command:

sudo photorec

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: Recover deleted photos from android

#6 Post by pylkko »

how about if you connect using adb to the phone and then mount the internal partitions and use one of the mentioned recovery tools? this should be possible in recovery mode also.

dafunk
Posts: 43
Joined: 2014-12-04 07:48

Re: Recover deleted photos from android

#7 Post by dafunk »

@GarryRicketson: thank you for the suggestions, like you say the first things I'v advise to do is to turn off the phone for avoid overwriting any data...I'v done some search and find android app and windows app that assert to recover data but unfortunately I can't try those solution immediately because I don't have any of these os... :( ...but I'll give to these software a chances when I can...for now I think I'll start with photorec...hoping to be lucky..:)

@pylkko: yes that's the last try cause I'v to investigate how to do that...but may be can works

thank you guys, I'll update in any case!!

User avatar
acewiza
Posts: 357
Joined: 2013-05-28 12:38
Location: Out West

Re: Recover deleted photos from android

#8 Post by acewiza »

dafunk wrote:There's any tools for linux (debian) for recover deleted data (photos) from an android device??...
This is why Google Photos is such a great, free service. You have to try pretty hard to lose data there.
Nobody would ever ask questions If everyone possessed encyclopedic knowledge of the man pages.

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: Recover deleted photos from android

#9 Post by pylkko »

Yes but then again, can't any cloud can do that, even the FOSS ones like OwnCloud? And if you own it, you don't necessarily even need an internet connection (LAN). Furthermore, you could also accidentally delete stuff from your cloud too (in which case google will keep it but never give it back to you). Unless you never delete anything in which case you might run out of space (the free account has only 15 GB).

Alot of people would take issue with this also:
https://www.google.com/policies/terms/ wrote:When you upload, submit, store, send or receive content to or through our Services, you give Google (and those we work with) a worldwide license to use, host, store, reproduce, modify, create derivative works... This license continues even if you stop using our Services

User avatar
Lysander
Posts: 643
Joined: 2017-02-23 10:07
Location: London
Been thanked: 1 time

Re: Recover deleted photos from android

#10 Post by Lysander »

acewiza wrote:This is why Google Photos is such a great, free service.
It is not free, it comes at great cost to the user. I would caution against recommending a service like that on the Debian forums. Freedom, transparency and control are central to Debian philosophy: when you upload your photos to Google you lose all control of that content.

EDIT: thanks to pylkko for digging out that part of the ToS.

User avatar
acewiza
Posts: 357
Joined: 2013-05-28 12:38
Location: Out West

Re: Recover deleted photos from android

#11 Post by acewiza »

pylkko wrote:Yes but then again, can't any cloud can do that...
My intent was not to start a debate about the merits of one cloud service over another. Pick one and use it. Or not.
Lysander wrote:It is not free, it comes at great cost to the user.
Care to elaborate on that? Nah, probably better to spend time scrambling about trying to figure out how to recover lost photos. I suppose that's a GREAT way to spend your time if you're that anal about FOSS. I have better things to with my VALUABLE time. :roll:
Nobody would ever ask questions If everyone possessed encyclopedic knowledge of the man pages.

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: Recover deleted photos from android

#12 Post by pylkko »

Ok, sorry. To me it sounded like you were endorsing Google in particular. Maybe because you mentioned, well, only Google. But I'd still say that in my personal opinion it is not unvaluable to learn how Android works and how you can manipulate the contents with Debian. Mounting partitions/imaging/flashing etc are "general level" skills that can be applied to many other problems besides recovering photos, and are worth studying and understanding even if you choose to store your phone's photos in the cloud. But obviously you are right in the sense that always when you are trying to recover a deleted file you should be thinking about how your backup scheme is not good enough.

User avatar
acewiza
Posts: 357
Joined: 2013-05-28 12:38
Location: Out West

Re: Recover deleted photos from android

#13 Post by acewiza »

pylkko wrote:Ok, sorry. To me it sounded like you were endorsing Google in particular.
Hey, no prob - I just like using specific examples to avoid confusion whenever possible. Obviously that can CREATE confusion as well sometimes.
Nobody would ever ask questions If everyone possessed encyclopedic knowledge of the man pages.

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: Recover deleted photos from android

#14 Post by pylkko »

One thing worth mentioning here is that with custom recoveries like TWRP (https://twrp.me/)it is significantly easier to recover stuff. I believe you can even just boot into it, open a port and netcat stuff from the internal storage to a computer on your LAN.

User avatar
Lysander
Posts: 643
Joined: 2017-02-23 10:07
Location: London
Been thanked: 1 time

Re: Recover deleted photos from android

#15 Post by Lysander »

acewiza wrote: Care to elaborate on that? Nah, probably better to spend time scrambling about trying to figure out how to recover lost photos. I suppose that's a GREAT way to spend your time if you're that anal about FOSS. I have better things to with my VALUABLE time. :roll:
I would love to elaborate on it because it's highly important. If you're thinking of 'free' as in fiscally free, you are correct if you think that you pay no money to Google: you are a Google user, not a customer. Its customers are advertisers who have been passed your data by Google which you volunteer when you use their services - any of their many services. So if you are thinking of it as a simple trade relationship whereby one goes to the off-licence, pays some money and receives a beer, no, it's not like that. You have to revise your ideas of a cost relationship. Specifically with regard to how the relationship is formed, your place it in, your role, as well as the definitions of 'free' and 'cost'.

It is highly likely that Google knows, off the top of my head, your birthday, your phone number, where you live, your musical interests, what you like to watch on TV, films you enjoy, what you like to eat, your physical movements over the last X amount of years, where you are now, what your sexual preference is, what porn you like to get off on, what you look like - as well as your friends, family, your last squeeze etc etc - ad nauseum infinitum. All of this is highly valuable information. We live in an information age where physical things do not [majoritively] make as much money as virtual information [part of the reason why the Internet of Things is so dangerous].

So what is the 'cost' here? The cost to you is not financial but informational. The cost is your privacy, access to the deepest areas of your life and thoughts. The trick is to provide a service which is so convenient and so useful as to be invaluable to you. The second trick is to make users rescind their right to privacy without noticing. The third trick is to ensure that users don't care if they notice they are rescinding their right to privacy, because what they get in return is better than the right to their own privacy. This information is then given to advertisers and app developers and the users targeted.

The amount of data Google holds is immense* because this data makes so much money. But if what Google gives you is too good and convenient for you to change, that's fine, just be aware of what is happening to all your information.

Am I anal about FOSS? No not at all, I just don't use Google [and Android, to keep it slightly on topic].

*if you can't be bothered to watch the video, current low-end estimates are at about 15 exabytes.

Post Reply