[Q] How to recover files off of internal storage - Android Q&A, Help & Troubleshooting

HTC One
Does not have external sd card, only the "Internal Storage"
I was trying to multitask and ended up wiping Internal Storage through TWRP.
Is there any app / process I can use to recover files?
Undelete[app] errors out saying it's not a fat filesystem
Disk Digger[app] only searches for specific file extensions, which would cover things like my TitaniumBackup & TWRP Backup files
When I plug it into a computer, it shows up as a Portable Device, and no problem that I've downloaded (Recurva / PCI / EUSUA) is able to search on portable devices, only physical/logical drives.
Is there anything I can do to attempt to get data back from the sd card?

Edit: Should have looked it up first...
http://forum.xda-developers.com/gal...de-internal-memory-data-recovery-yes-t1994705
That's obviously not for your phone, but there might be similar steps or a way to adapt that to work for you. Good luck!

Related

[Q] How to Recover Data from Formatted SD Card, CF Card, Micro SD Card or MMC Card?

Format your camera/phone memory card (including SD card, CF card, Micro SD card or MMC card and more) without data backups? Format camera/phone memory card before uploading stored data to computer or drive? Format your camera/phone memory card for unexpected errors? Don’t worry! Your memory card data is not completely lost as you think.
As long as this formatted memory card is not overwritten by anything else, your stored photos, music, videos, messages and more information can still be easily restored back with a memory card data recovery tool named 4Card Recovery, which is developed to help user rescue data back from all sorts of popular memory cards and USB drives. With its advanced four data recovery types and user-friendly interface, you often can rescue all your assigned data back with ease:
Step1. Free download and run 4Card Recovery on your computer. Just follow its Wizard directions carefully.
Step2. Insert your formatted memory card to your computer. Without a card Reader, you can load it back to your phone/camera and plunge the device to your PC.
Step3. Pick out a proper data recovery type from four. Every data recovery type always can offers different features for you.
Step4. Scan this connected memory card after clicking it in the device list.
Step5. Preview all scanned files and recover wanted ones only. The restored files are supposed to save on another memory card or drive in case of unnecessary loss.
Note: No matter what happens in the future, you should carefully update your data backups timely in case of similar data loss problems.
Are you curious? You can check this data recovery tool here: Mod edit: Links removed

How to avoid mounting external sdcard as sdcard0

Hello,
when inserting an external SD card, the internal memory card is then mounted as sdcard1 and the inserted external card is mounted as sdcard0. So Android starts writing a lot oft data to the external SD card.
How can I avoid this? Android should not touch the external SD card. I want to copy pix, music and backup manually to it.
Any suggestions?
Hi just go to settings =storage and then change default write disk to phone storage
yascooluk said:
Hi just go to settings =storage and then change default write disk to phone storage
Click to expand...
Click to collapse
Hello,
and you have tested this by yourself? If I insert an external SD card, switch to "default write disk to phone storage" and delete ALL data on this SD card, Android
immediately starts to write to data on it:
The folders "LOST.DIR", ".thumbnails" and "Android" are created. In the folder "Android" there is the folder "data" with several App-Data in it.
Even some Apps like WhatsApp start to write data to the external SD card.
So, switching to "default write disk to phone storage" does NOT keep Android away from writing data to it.
For example, on my Galaxy Tab Pro 8.4 the external SD card is mounted as "sdcard1" and no files are written to it automatically.
I browsed the web for hours, but did not find any solutions for this problem. It is not a big thing, but it is annoying.
:crying::crying::crying:
I have the same problem also on an old smartphone with MT6582 processor and Android 4.1.2.
It's an old problem, I think that it's a way of manage memory for smartphones based on MTK processors and there aren't solutions.
But I would like this to be denied
What about changing sdcard1 and sdcard0 , in the mount point file:
https://www.youtube.com/watch?v=sK2O92kgki0
You must be root.
When i have time to root my phone i will try.
I am having the same problem and it is very annoying. Why can't Android leave alone my Sdcard? I only want to storage music and some files there.
@yascooluk
Settings =>storage => default disk write storage "Phone" has no effect. Lots of Apps point to sdcard0, which is now the external sdcard.
@ndouchin
This Solution worked for Android Versions prior 4.3. In Android 5.1 there is no vold.fstab file, and swapping mounting points works differently now, but i didnt' figure it out yet.
Yes you are right, fstab is in boot.img in lollilop, if I believe what I read ;
http://forum.xda-developers.com/showthread.php?t=2426804
Maybe try to unpack and pack boot.img:
http://www.mtkroms.com/2015/02/unpackrepack-bootimg-and-port-kernel.html
Sorry I have no time to work on my device , i have not already rooting it, and the internal memory is enough for me.
I've managed to root my device, but i'm not skilled enough to do this boot.img operation. Too many things that can go wrong. As the source code for this device was already released, I'll wait and hope until some developer can find a solution.
XinternalSD is the solution. Try it. regards
Sent from my HERO1 using Tapatalk

[Help] How to detect internal storage in Windows 7 in MSC mode with drive letter

Not-so-short background:
I deleted "storage" folder in internal storage while connected to my laptop via MTP. I did this to free-up storage space on Xperia Z Ultra. Not knowing that deleting the seemingly empty and useless folder would be a huge mistake, I went ahead and deleted it casually. Needless to say, it did free-up storage space. It wiped both my internal and SD card.
I managed to recover the contents of my SD card with the help of Recuva after changing the USB connection option to mass storage mode. But this process is not applicable on the phone's internal storage. Most of my recent vacation photos and special occasion videos for the last 5 months are saved in my phone's internal storage. This is one of those moments when you realize the importance of backing up your files online or at least on a different storage device.
I already tried several recovery applications available in Google's Play Store as well as Windows software. They only seem to recover media files I've browsed over the internet and Facebook but not the actual pictures and videos I captured with my phone's camera. Now, I've TRIED to follow guides that help you generate raw file of your entire internal storage, mount it using virtual drives then proceed with using Recuva on it. The thing is, I'm not so much technical as you guys when it comes to installing ADB and advanced Linux stuff that is required to successfully pull it off.
http://forum.xda-developers.com/gal...de-internal-memory-data-recovery-yes-t1994705
Question:
Is there an easy way to have my Xperia Z Ultra's internal storage be connected to a computer much like a traditional external storage devices and get a drive letter assigned to it? In this way, I can run Recuva once Windows 7 can detect it as a drive.
I hope someone can help me accomplish this. If you have other procedure on how to recover my files on my internal storage, feel free to suggest.
MegamanNova said:
Not-so-short background:
I deleted "storage" folder in internal storage while connected to my laptop via MTP. I did this to free-up storage space on Xperia Z Ultra. Not knowing that deleting the seemingly empty and useless folder would be a huge mistake, I went ahead and deleted it casually. Needless to say, it did free-up storage space. It wiped both my internal and SD card.
I managed to recover the contents of my SD card with the help of Recuva after changing the USB connection option to mass storage mode. But this process is not applicable on the phone's internal storage. Most of my recent vacation photos and special occasion videos for the last 5 months are saved in my phone's internal storage. This is one of those moments when you realize the importance of backing up your files online or at least on a different storage device.
I already tried several recovery applications available in Google's Play Store as well as Windows software. They only seem to recover media files I've browsed over the internet and Facebook but not the actual pictures and videos I captured with my phone's camera. Now, I've TRIED to follow guides that help you generate raw file of your entire internal storage, mount it using virtual drives then proceed with using Recuva on it. The thing is, I'm not so much technical as you guys when it comes to installing ADB and advanced Linux stuff that is required to successfully pull it off.
http://forum.xda-developers.com/gal...de-internal-memory-data-recovery-yes-t1994705
Question:
Is there an easy way to have my Xperia Z Ultra's internal storage be connected to a computer much like a traditional external storage devices and get a drive letter assigned to it? In this way, I can run Recuva once Windows 7 can detect it as a drive.
I hope someone can help me accomplish this. If you have other procedure on how to recover my files on my internal storage, feel free to suggest.
Click to expand...
Click to collapse
Sounds like you completely wiped your phone xD
I would suggest flashing a stock ftf with flashtool and you'll lose all internal memory but no ext SD files.

[Q] How to Format SD Card as Internal Storage?

I'm running low on internal storage, and also want to enable full-device encryption. The obvious solution is to format the SD Card as "Internal Storage" which in theory lets you move some apps and their data to a partition on the SD Card, while also allowing that partition to be encrypted.
That all sounds great, so I read a half-dozen blogs on how to do this. They all start with "insert the SD Card and choose Set Up." But even if I reformat the card or wipe the partition table completely, the only option I get is "format as portable storage" and never see any set up screen or option to pick internal storage. Am I missing something? Do I need to format the sd card on my desktop as a specific partition type? Do I need to run some adb incantation to enable the option? Is it just not an option in OOS 3.1.4 and I need to install a different ROM?
Eventually answered my own question. Basically, OnePlus disabled the feature, probably because the system is extremely fragile and confusing to users. However, it is possible to enable the feature via adb, using
Code:
adb shell sm set-force-adoptable true
Even then, while the option appeared, phone phone itself had all sorts of problems trying to format the SD Card:
- I could wipe the SD Card, insert it into the phone, format it (as external storage), and then be unable to format it a second time. Buh? Apparently android's external sdcard formatter is capable of screwing up the GPT/MBR distinction in such a way that it can't cope with formatting a card that it formatted itself?
- If I wiped the SD Card, inserted it into the phone and selected to format it as internal storage, it would format to 20%, stop, wait 180 seconds, and then time out, leaving me with a corrupted SD Card that required re-wiping. This is probably related to the first problem - the timeout is because the 'format internal' happens in a second thread, which ran into a similar error about GPT/MBR problems and then the parent thread didn't capture the error or do anything useful with it.
Finally, I tried doing the whole thing in adb, following instructions here: http://blog.sam.liddicott.com/2016/02/android-6-semi-adopted-storage.html
But even then, I ran into the timeout problem when trying to format mixed (50%), until I popped the card out, nuked all existing partitions, inserted the card and immediately started the adb process. Basically, if android's formatted ever touches the SD Card, it is screwed up until it is wiped again.
In the end, this process worked:
- Pop the card out of the phone, put it into a card reader, use MiniTool Partition Wizard Free to delete all partitions, wipe the partition table and set the card to GPT. Don't convert from MBR to GPT, wipe it until you get an option to put a completely fresh GPT table on.
- Pop the card into the phone. Do not touch any of the phone's menus - they are there to temp you into screwing the card up again.
- Connect the phone to computer via usb.
- Run:
Code:
adb shell sm list-disks adoptable
to get the sd card name. It'll be something like disk:179:128 but it will change every time you wipe it.
- Once you have the disk name, run
Code:
adb shell sm partition $DISKNAME mixed 50
but substitute your own disk name and what percentage of the sd card you want to use for external. If you don't want to use any, I think you do something like
Code:
adb shell sm partition $DISKNAME private
but I'm not sure.
So yeah, this is a complete mess and I understand why OnePlus didn't want to subject their users to it.
I recommend don't use adoptable storage, it's not worthed. Better use foldermount apps to move apps data from internal to ext. storage.
I want to do full-device encryption, including (most) of the apps data. Is there a better way to accomplish this without accepting the 16GB internal storage limit?
I wouldn't recommend ever using adoptable storage on the OPX. OnePlus used an incredibly slow microSD reader and it shows.

Adoptable Storage went wrong, issues trying to revert

Greetings and Salutations,
I have a Samsung Galaxy J7 running the stock ROM and bootloader, Android 6.0.1, Kernel 3.10.49-9058927, with 16GB internal storage, and a 128GB U3 microSD card (not 100% sure of SD card speed, its above class 10), the phone is the 2016 version (subtle changes from the 2015 apparently) and has not yet been rooted.
I tried to enable adoptable storage to get a couple of apps to run better, but I want to revert back and seek a different solution, namely rooting and using Link2SD.
I tried the standard method of adoptable storage, and the option was not present in the storage screen on my phone. I tried using adb, and got timeout messages on the sm partition disk:179,64 private command. (Enabled USB debugging, accepted connections, installed samsung drivers, adb server daemon and shell all started successfully). Eventually it showed the sd card as corrupt. I popped it out of the phone, and deleted the partition on my computer, leaving raw, unformatted space on the card. I reinstalled the sd card in the phone, and the format as internal option was now present. I hit that, let it run and tried to migrate data afterward. Migrating always failed between 30 and 45%, and it showed me at 15.92GB or more out of 16GB used. I decided to revert back. I reformatted the sd card as portable in the phone, and it corrupted again. I did the same process, but elected to format as fat32 on my computer. Reinserting the sd card, it asked to format, so I did, as portable. The sd card appears to be back to normal, but I'm still at almost 16GB used on the phone. I tried to delete some music files that I have on the SD card as well, and they won't delete from the internal memory. It always says "could not delete" or "Delete operation failed". I have used the built in file manager, ES file explorer, and I believe I tried on my computer last night (it was getting late, but I remember at least trying). All fail to delete the files. I'm down to very few apps, none can be moved to the SD card, and I can't move much data otherwise. I harbor a suspicion that some hidden files are present on the internal memory, but I could be paranoid. I'm hoping to avoid a factory reset, but I fear that's the only option. I have a backup of the sd card, but not the phone's internals beyond what google saves in the cloud. I'm open to suggestions, and thanks in advance.
~Nick

Categories

Resources