[Q] Internal SD undelete tool? - Android Software/Hacking General [Developers Only]

First post- I did search but found nothing.
Is there a tool to undelete files on the internal SD memory after a full reset?
I thought I'm safe to factory reset the phone (Samsung Captivate) after backing up to internal SD with MyBackup pro, but the SD looks to be reformated. I know the files are still there, because actual deleting of few GB of info takes quite a while, so it's just the directory that got reset. A full scan will find the files. If I could remove the internal storage, there are tools to perform this operation on a Linux computer, but what about internal storage that's accessible only through USB?

Related

partition undelete on memory card...

i accidentally deleted the FAT32 partition on my memory card (microSD). does anyone know how to rebuild the formatting without formatting the whole card? i can view the files with file recovery software and i know they are there, but would rather rebuild it than buy software specifically to recover deleted files... any help is greatly appreciated.
Just woke up, but there are free recovery tools.. google better
As far as i know, you cant put back the partition without overwriting the old files. some can still be recovered afterwards placing a new partition, but most will be broken.
in a sdcard reader all the same undelete tools on pc's which work on harddisks work on the sdcard
If you need only certain files like pictures, movies and office files I can recommend PC Inspector Smart Recovery. I use that when I recover erased pictures from SD cards.

Format as internal storage in Nougat?

I have searched for this but not really found any good answers. Most answers relate to marshmallow...
I bought a used phone and installed a memory card that came with it. Seems like it was formatted as internal. Shared internal storage shows up in settings but I'm not sure if that is the sd card or the actual internal storage.
Also in many apps and file managers either the internal storage doesn't show up or I'm not even sure which is which. In SD bench the SD card gets much faster result than internal memory which indicates that is the internal memory.
All of this doesn't really matter perhaps but it's still annoying since I used to be able to know what was stored where. If someone could tell me more about this I would be grateful. Here are some questions...
It says in some guide about formatting as internal storage that the sd card then replaces the actual internal storage. Is that the same in nougat and what happens to the internal storage and is it even used? Apps can't be moved but they still seem to take up space in both storages.
It said in guides relating to marshmallow that the SD card becomes encrypted when formatted as internal storage. Does that happen after migrate data is chosen or before? I have not done that yet.
When flashing ROMs can files be read on the encrypted SD card from recovery? What happens after flashing and restoring to factory settings? If the SD card is encrypted and can't be read from recovery that would be a serious problem. So where should backup be stored and what SD card used when flashing?
I'm sorry if these are stupid questions but I'm new to formatting as internal storage. The card also was formatted that way when I got it and since then I've installed apps.
I found this info on a page.
If you try to remove it, things go haywire. Your phone will throw errors until you are forced to factory reset it and you can't read the data on the SD card with any other device or the original phone once it's been factory reset.
Click to expand...
Click to collapse
https://www.google.com/search?q=and...le+manager&client=ms-opera-mobile&channel=new
What happens if the phone is flashed with a new ROM if the SD card is acting as internal storage? Then if the phone is factory reset the sd card wouldn't be able to be accessed?
How can I convert the card back to normal storage and is that possible without losing apps or factory reset?
Many questions and again I'm sorry if they're stupid. Is this posted in the wrong section I also kindly ask any moderator to move the thread to an appropriate section.
I would still like to have answers to these questions.
I tried to format sd card as portable storage instead. After that I noticed it wasn't possible at all to use the sd card to install apps.
Moving apps to SD card isn't possible. So now there are only two options. Either format as internal storage or not being able to use the sd card to install apps.
But there are apparently downsides to using the sd card as internal storage. The phone uses the SD card more which puts more strain on it.
I'd also really like to know what happens after a new rom is flashed or after a reset from recovery? What apps are restored? Only what was in the internal storage? But what if the apps were on the shared internal memory?
I made a backup in TWRP. Then I formatted as internal storage again. Everything was working like it should...
Then I migrated data to SD card under storage in settings. Then I got problems. Apparently some files related to TWRP was moved from the internal storage to the sd card. At least the backup I made in recovery was.
When I entered recovery the language had first been changed to Chinese. Also the backup couldn't be found. When I tried to backup to the SD card it said "memory full" or something and couldn't be completed. It seems the sd card can't be accessed from recovery at all any longer.
Also when reboot the phone it first says shortly "sd card not found". So something has indeed changed. Seems like the SD card is only fully adopted after data is migrated. But how can I move it back to internal storage if I have to reformat the sd card again? Seems like the only accessible storage now is the card.
So what should I do? Couldn't anyone please help me to answer at least some of my latest questions?
How are flashing of roms and backups handled if adoptive storage is used? I guessed there could be problems and apparently there was. A thread offers solutions but that should only be necessary in marshmallow from what I've read.
https://forum.xda-developers.com/moto-e/general/trick-switching-roms-loosing-adopted-sd-t3314647
Come on! Doesn't anyone know anything about this? I would be highly grateful for any clarification regarding these matters.
Lots of people probably have questions about this but I've found few answers on the internet.
Having been through the same BS, all I can say is I have wasted time like yourself trying to understand why google have botched the handling of storage so bad in nougat.
From what I can make out all apps need to use a new api for permission to access external SD when used as portable storage, even though mines formatted as ext4, the native android FS.
Best work around I've found so far is the xposed module xinternalsd.
I still can't get it to properly use both as sperate drives.
There is a thread on here from the dev of the module
I'm going to wade through it to see if it's possible to not just redirect all data to the external SD but select different locations for different apps reliably.( when I've had both usable to apps, MTP can't access the files on external sd)
Update: this now works reliably with latest 4.8.
The packages.XML edits didn't seem to work either.
First non removable battery's, now they want to get rid of SD cards and headphone jacks so you buy the more expensive phone with less features.
Yeah, we need to slow down your phone because of the battery and stuff.
A post I found while searching about this issue on reddit is worth a laugh.(I'm glad it's not just me)
https://www.reddit.com/r/Android/comments/496sn3/lets_clear_up_the_confusion_regarding_storage_in/
External SD permissions lineage 14
From searching around this is a common problem that was driving me nuts.
Even with xinternalsd it was still crap.
Mtp couldn't do anything with them unless used from recovery.
What was odd is it would work for days then all of a sudden, you need to delete or copy something, access denied.

SD card data deleted

Hi everyone,
I've lenovo c2 power running android 6.0 with sd card formatted as internal storage "Adaptive Storage"
I had a problem with some apps like whatsapp which can't download media unless I have to eject and remount the sd card from settings
Now, I done the same thing today but all the data from sd card are deleted after mounting,
I didn't format or anything
Tried some apps to recover data but all require root, and there is no way to root this phone till now
Any help??
sherif011 said:
Hi everyone,
I've lenovo c2 power running android 6.0 with sd card formatted as internal storage "Adaptive Storage"
I had a problem with some apps like whatsapp which can't download media unless I have to eject and remount the sd card from settings
Now, I done the same thing today but all the data from sd card are deleted after mounting,
I didn't format or anything
Tried some apps to recover data but all require root, and there is no way to root this phone till now
Any help??
Click to expand...
Click to collapse
I have the same problem. Data on sd memory (the partition) seems to be almost delete, but system reconize is empty.
the sd is mounted as internal storage so i can't read on pc.
Any idea for recover data or make a image mirror of the memory to intend recovery?
Perhaps in linux is possible?
please help!!

Deleting files on SD card does not free up space on SD card

I'm facing this issue: https://www.reddit.com/r/GalaxyS7/comments/5dpuqi/deleting_files_on_sd_card_does_not_free_up_space/
when I delete a big folder, it's not deleted, but moved in "system data" instead, I remove the card, I plug it in my pc and my pc says that the device has to be checked for errors, it runs the check and then creates a folder named found.000, if I delete this, the free space is regained! I've already formatted my sd card, same issue happened!
I've got a similar 1gb of data in internal too but this should be the mi cloud backup?
is it stored locally?
how can I delete it?
(I'm root)
I noticed the same thing happens when I delete a large file from the internal storage,
is this a nougat feature or a miui one?
any way I can force android to delete these files instantly instead of moving them to system data
and maybe deleting after reboot?
I formatted it to exfat and I think it does the job (instant delete), finally!

Please Help Recover Data on Corrupted Adoptable SD Card!

My SD card is set as adoptable storage, but it has gotten corrupted. It happened when I was copying files from my phone to PC via USB (ironically I was doing this to backup my files from my phone). Somewhere during copying, the phone virtually disconnected from the PC, and on my phone it said that it couldn't read my SD card.
Couple of things to note:
I'm using Lineage OS.
The SD card isn't encrypted.
When connecting the SD card directly to my PC, the SD card shows as two drives, D: and E:, with D: being accessible showing an almost empty drive of 29,4 GB (which is the full logical capacity of this drive), and E: inaccessible, requiring a reformat (no idea what E: is). On D: the folders that I can see are .android_secure, Android (with the sub folders data and media) and LOST.DIR. All folders are empty.
This SD card should be filled with data almost up to max capacity.
I haven't changed a thing to the corrupted SD card. I did not reformat, used CHKDSK or w/e. The only things that I have done is attempting to make raw copies with HDD Raw Copy Tool and R-Studio.
I've read here and there that it is (almost?) impossible to logically fix a corrupted adoptable storage SD card in that I could just pop it back into my phone to resume where I exactly left off. So I'm looking to recover as much data from the SD card as possible. I'm most concerned about recovering my Whatsapp folder (I haven't got a complete GDrive backup of this), but I'd prefer to recover everything else as well.
What must I do?

Categories

Resources