Android (HTC M8) has "forgotten" my SD Card is encrypted. Help! - One (M8) Q&A, Help & Troubleshooting

Hi there,
Having a bit of a stressful problem. My HTC m8 (Marshmallow) is encrypted, as well as the external SD card. All my photos are on the SD card. I have lots backed up but I'm having a great trip to NYC that didn't backup to google because I was roaming (it seems). Anyway, today my phone crashed (I think the battery is failing, it turned off instantly at 14%). When it turned on, all my photos are showing a gray icon (like they are corrupted). I cannot imagine how every single photo (of thousands) in multiple folders has corrupted.
Now, I noticed that when I go into Storage options the "Encrypt SD Card" box is UNTICKED. Implying the phone has forgotten the card is encrypted and thus cannot read the images. Though I thought it was weird that it can read the directories at all, implying its doing a file by file encryption rather than a full card encryption.
Anyway, obviously I know my PIN number that I need to decrypt the phone at boot up, is there any tool I can use to decrypt the images using this PIN? My fear is that (upon some research) that this is "encFS" encryption, which uses an encfs6.xml file to read the data and consequently the crash has deleted/corrupted this file. If so, this seems like a very delicate encryption mechanism.
Something else, when the phone started up again, it had reset a few other things. My default keyboard was no longer SwiftKey, I'm getting Android "tips" for scrolling etc. Also, I used to have a DND (Do Not Disturb) button in my pull down menu which is gone. Is it possible a carrier update occurred and wiped the encryption key file? Or the crash reset it and other default settings? Does Android by default use encFS to encrypt SD Cards? If this is encFS, is it a file I should be able to find on the internal storage called "encfs6.xml"? I did it as so (months ago, without issue until today... on holiday sigh)
Settings -> Storage -> SD Card (SanDisk) -> Encrypt SD card content.
As mentioned, it's currently unticked
Anyway, please, anyone, help me get my photos back
Many Thanks, WA
Spec:
UK Carrier - Vodafone.
Phone isn't rooted.
Version 6.12.161.4
HTC Sense 7.0
HTC M8

Related

Windows Phone 7 storage not recognized

I am posting this hoping it helps someone with the same problem.
I had my HTC Surround resetting itself several times a day, finding it without all the configuration (people, email, carrier hubs on the home screen, etc.) and reporting the storage as 15.73 MB instead of the 16 GB. In the last part of the problem, my phone did not recognized the storage at all, no matter what I did.
Windows Phone 7 uses the internal SD (yes, our Surrounds and most, if not all, of the HTC 7 devices have Internal SDs but covered under the phone case http://www.anandtech.com/show/4015/h...cket-boombox/8) as part of the Windows file system, it does not differentiate between on chip storage and SD storate, WP7 treat the storage as a big one, storing all kind of OS configuration (http://support.microsoft.com/kb/2450831/en-us) on it (SD card). Hence when the SD problem presents, the phone resets because the OS can not continue to run due to data missed, and also this is why all the configuration (email, hotmail, also the carrier personalizations, etc.) is lost, because is stored on the SD that is not recognized by that time.
An excerpt from the link above:
The phone’s operating system integrates the SD card with the phone:
•When you start your phone for the first time.
•When your phone is reset to its original factory settings. This is called a factory reset. This is a task that is typically only performed by OEMs or MOs.
When the operating system integrates the SD card with your phone:
1.It reformats the SD card.
2.It creates a single file system that spans the internal storage and the SD card.
3.It locks the card to the phone with an automatically generated key.
So we conclude that the problem is caused by the internal SD not correctly integrated with WP7. In my case a factory reset did not help, no matter what I did the phone did not recognized the card, reporting storage as 15.73 MB. The solution involved opening the phone (I did not care to void warranty, anyway I am far from the States where I bought the phone and can not get a new one. But for you, your best bet is to get a new one, and make a factory reset as soon as you use it FOR THE FIRST TIME, and let the phone finish to do its thing). I had to open the phone, get the SD out of the phone, turn the phone on, do a factory reset, turn off the phone, insert the SD card in the phone, turn on the phone and finally do a factory reset. This procedure had WP7 reintegrating properly the SD. My phone now is rock solid, it has not reseted even once.
Thanks for sharing this. I had this very exact same issue with my developer device, a Samsung Taylor. I even made a thread in the App Hub Forum and concluded that the SD was corrupted. Unfortunately for me, the SD could not be removed as it was super-glued in place.
Another member on that forum also experienced this, so it seems like this can be potentially become a very bad problem.
http://forums.create.msdn.com/forums/t/64364.aspx?PageIndex=1

Galaxy Tab S deleted my SD card files

Hello all; I just got the T-mobile Tab S LTE variant, SM-T807T, and I am/was absolutely loving it.
then 30 minutes ago...
I inserted my SD card from my nook, a 64GB card with about 55GB worth of comics, music, ebooks and photos. At first no app could see anything on the card (although the Storage menu in the Tab's settings showed the correct space and how much was full).
Rebooted and I could see all my pictures using my favorite galary app, QuickPic.
However, some files wouldn't open so I unmounted the card through the menu, took it out, inserted it back in and no files show up at all.... OK
Rebooted the tablet and now it looks like I lost about 30GB of files! the "comics" "ebooks" "music" folders are all completely gone. and almost all folders are gone from my "photos" folder. I unmounted the card and put it into the PC and same thing.
Some folders are still there with a few files here and there.
I'm pretty devastated. The SD card worked this morning in my nook and I have been organizing comics on it for months.
I will try recovery software when I get home but this is awful and so much time is lost on the organization of the folders. That's assuming I can even recover the files. Anyone have any suggestions?
My tab is unrooted (couldn't find T807T root anywhere) and 2 days old. Should I return it or could it be my card or stock KitKat or what?
Any help is greatly appreciated.
Update:
While I'm not sure what exactly went wrong, my LOST.dir folder had over 20GB worth of files in it so I used "MiniTool Power Data Recovery" to scan the card and was able to find all the files and restore them to my desktop in proper directory hierarchy and file names (which if you've ever used data recovery software you'll know is quite rare). I had the software from before when I had some SD failure in my dSLR (I'm sensing a pattern here, and I actually invest in good branded cards!) and the program worked perfectly.
postulio said:
Update:
While I'm not sure what exactly went wrong, my LOST.dir folder had over 20GB worth of files in it so I used "MiniTool Power Data Recovery" to scan the card and was able to find all the files and restore them to my desktop in proper directory hierarchy and file names (which if you've ever used data recovery software you'll know is quite rare). I had the software from before when I had some SD failure in my dSLR (I'm sensing a pattern here, and I actually invest in good branded cards!) and the program worked perfectly.
Click to expand...
Click to collapse
Exactly don't use them cheap cards they are crap
I did use a branded card, Team 64GB SDXC from newegg. I always get cards with reviews form reliable sources.
update:
After reformatting the card in the tablet, and moving all the files back to it and trying to use it in the Tab S it still wouldn't work. It wouldn't delete my files anymore but it had a very strange behavior whereas I could see the card's contents for about 20 seconds after mounting it but then everything would disappear completely. The used/free capacity would still show accurately in the Storage settings tab but I could not access any of the data through any programs (including Samsung's My Files).
Funny enough, I had the same sd card in my phone (same brand/model/capacity) and that one works fine in the tab. My phone (galaxy note 2) reads both so i swapped them.
Everything running smoothly now, except of course for Google's douche move to disable write to sd card in 4.4.2. I hope root for the SM-T807T comes soon...

Can't read SD Card from bootlooping G4 (on Windows/repaired phone)

I got the dreaded bootloop two weeks ago, but I didn't think this should affect data on my SD card. However I cannot read it in Windows. I've just got my repaired phone back and booted with the SD card in (phone has been factory reset of course) and I just got a notification saying "SD card is corrupt. Touch to fix" and it takes you to format SD card.
Just wanted to check the SD card really is toast or is it somehow locked to the original install or my google account somehow and I can still get the data off somehow?
zeroid said:
I got the dreaded bootloop two weeks ago, but I didn't think this should affect data on my SD card. However I cannot read it in Windows. I've just got my repaired phone back and booted with the SD card in (phone has been factory reset of course) and I just got a notification saying "SD card is corrupt. Touch to fix" and it takes you to format SD card.
Just wanted to check the SD card really is toast or is it somehow locked to the original install or my google account somehow and I can still get the data off somehow?
Click to expand...
Click to collapse
Have you selected adoptable storage in settings? This means extending your internal storage with sd card space.
If yes no chance. The sdcard gets encrypted when doing so and you can access it only from within android.
.
Sent from my LG-H815 using XDA Labs
No that wasn't how I formatted it. Oh well, not too worried about it as Google photos backed up everything I really wanted from it.
zeroid said:
I got the dreaded bootloop two weeks ago, but I didn't think this should affect data on my SD card. However I cannot read it in Windows. I've just got my repaired phone back and booted with the SD card in (phone has been factory reset of course) and I just got a notification saying "SD card is corrupt. Touch to fix" and it takes you to format SD card.
Just wanted to check the SD card really is toast or is it somehow locked to the original install or my google account somehow and I can still get the data off somehow?
Click to expand...
Click to collapse
Ok what i did on my wifes. If u have even a old cheapy rooted device. Format the card but dont save anything on it yet or ypu will start writing over old data marked for deletion I use disk digger pro. It can recover most of ure pictures some movies and music. The larger the files harder it is to recover. I know its not a surefire method to save all but i was able to pull 800 of 850 pics and movies of my wife sd that kept corrupting. As long as u do a quik format. And dont write over any of the card. The datA is on the marked for delete side. But is techñichly still there. Do not to full format. Will replace the data with loads of 1$ and0$. And the data will be gone forever.

Does someone try the adoptable storage since the last Nokia 6.1 update?

Hello,
Normally, in a perfect world, adoptable storage should allow to enhance memory thank to the sd card.
Anyone who tried to use the adoptable storage with the Nokia 6.1 encountered the problem of corrupt datas.
See
https://forum.xda-developers.com/nokia-6-2018/how-to/adoptable-storage-available-pie-update-t3873841
Does someone enough brave already try again to activate this adoptable storage?
Thanks you
yes, I retried it last week (with latest official patch applied).
I migrated > 10GB of data. Afterwards I checked 'DCIM' and 'Download'. All files got totally corrupted (looks like every byte different).
It seems that newly created files were not corrupted. (Was just a fast check with 2-3 pictures)
I migrated back and removed SD card. Files still corrupted. During the last test in ~2019 I figured out that the files some when magically got fixed again some time after migrating back. Hope this happens again this time...
Maybe it also just needs some time after migrating to reencrypt the files for the SD card?
Does anybody know more about the internal processes during and after migration?
Hi, I didn't try the above method, but I used adb commands to format the SD-Card as internal. It basically worked and I am able to run the apps that I migrated to the external card.
HOWEVER:
1. The external card and it's files are completely invisible to any file-system-apps. So I can't see the data.
2. Apps that require some kind of login never keep that login. If you close the app and start it again, you need to login again. This seems to indicated that the apps have been migrated, but are unable to actually use the external space to save new files.
Does anyone think that rooting the device would help?
Cheers,
Calon
my experience with adaptable storage was the same as krisha2k's. all migrated user data I had appeared to become corrupted, and most apps that I moved to the sd card either couldn't save any app data (game saves/logins) or even lost functionality (Snapchat friends list disappeared). some really old and ancient apps that I moved to adoptable storage kept their saves etc (ice cream jump, Neko atsume).
I also found that games with in-app downloads would save their download to the internal storage, as well as external when the app appeared to be stored on the external only.
most apps are broken because of newer android changes that protect external storage write access (and i think read too). I'm not an expert in that though. just speculation
in the end, I just did a factory reset and I've settled with using the sd card as portable storage and storing large files on there (4k video from camera etc).
its a shame because it was a spare 128GB card I had lying around, and I would have liked to have some bigger apps installed, but it doesn't matter too much. but I guess that's just how things are now.
i personally wouldn't recommend doing it. you have potentially everything to loose if you accidentally migrate all your internal data, and what seems to be absolutely nothing to gain.

cannot access phone internal storage (a2 lite).

hi folks,
So i chose the wrong SD card handling (the merged kind?) a while ago and after ejecting the card to set up a bigger one, I realise I now can't access the internal storage on the phone.
installed apps work fine
I can remove apps fine (but not reinstall!)
i can sideload apps fine (oddy!)
I cannot access e.g. photos with gallery apps
file browser apps cant access the internal space at all.
I cannot install anything from the play store, it just shows insuffucient space
apps like twitter crash.
whatsapp works (calls and text), but cant download photos sent, or attach photos.
There is loads of space free (14.65gb used of 32gb internal).
I also have an SD card with loads of space now set as portable storage.
I have the original SD card that was in before, but not in phone (still shows in storage manager).
Any ideas please?! Before i reset the phone and start again!
I have rooted it, but not sure what to fiddle with (the problem started before rooting).
nope? ok i guess i'll be wiping and hoping that fixes it!
moving to another phone for a while...
just to be clear, doing a full reset on the phone while rooted with magisk is ok? (unlocked bl). don't want to brick. android 10 up to date.
thanks, if anyone out there?
alright for the record and anyone else suffering this, i figured it out, and is slightly embarrassingly stupid.
if you set up the sd as combined storage, and still have the sd, put it back in and use the migrate data back to internal option which is hidden in the storage dot top right menu. voila.
then you can eject card, and still access the internal storage.
what you do if you've already wiped the old sd, i've no idea! you're maybe stuffed? hopefully wiping phone would fix it??
don't ever set your sd card as merged, use portable (i knew this, was a mistake).
so anyway, phone working again yay!

Categories

Resources