[Q] Data on the SD card erased, after the encryption !!! - HTC Sensation

Dear Tech Support Team,
After the installation of the new version of Android (4.0.3) everything worked fine. On the Storage Device Information I found that the system does not use the SD card for write purposes but only for read. The system demands the SD card to be encrypted. When I tried to encrypt the SD card, the android asked for a "pin" and after that the SD card got encrypted. But all the data of the SD card disappeared. On the system info I see 7.40GB free space on SD card from 7.40GB maximum!!!
Please can you help me to recover my data or to unencrypt the SD card??? Do you know what went wrong with the encryption? The user guide describes that the SD card data must exist after the encryption.
I Have the HTC Sensation Z710e, HTC Sense 3.6, Software number 3.32.401.5, kernel 3.0.16-gda3fdfc, baseband version 11.69.3504.00U_11.22.3504.07_M)
Thank you for your help ))

Try reboot and factory reset. I used this feature once (maybe a month ago) but the process did not produce this error.

Sorry but I don't understand. If I reboot the phone and then a "factory reset" then I will loose all my phone data not only the data in the sd card.
Is this correct ???

As far as I know the encrypted function a the tools to make only the devices can read the data. Before the encrytion process does you mean "
the system does not use the SD card for write purposes but only for read"
Click to expand...
Click to collapse
are you can store any file on the card. If so either the card has special function or your MicroSD card has been broken or need to be reformatted. Try reformat the card with pc an see if it work again.

Related

[Q] Android 6 and SD Internal Storage

Hi guys. It's me, the stupid guy who formated his SD on Marshmallow with the "Internal Storage option" and then changed the rom . I didn't know all the encrypted stuff!... Well, the problem now is that i have a SD card formated with internal sotage option but i haven't the exactly rom with i did the formatting, only an old backup (before SD formatting). When i put on the SD card in the old backup, it says that cant use it, must format all the stuff. So...
Is there any way to access all my SD data? i tried with the old backup, doing a wipe data... nothing works.
PD: Sorry for my ****ty english
Up!
Any ideas?
You tried putting your SD card into a PC? it might read it though but if it doesnt you have to do the formating. All will be wiped but you can still afterwards try Recuva (program for restoring data) and when downloaded put your SD into your PC and then start it. that would be your best bet.

Recovering an "Adopted" SD Card?

Hi folks,
I have an SD card here that I was using for Adopted Storage but I've managed to get it stuck as an "adopted" card and can't seem to get it back functioning as a normal SD card
Long story short... I wiped the device the card was in but I didn't "unadopt" the SD card before hand - as in set it back to portable mode. While the device could recognise there was an SD card afterwards, it couldn't prepare it for use and suggested a card error or something to that effect.
I figured I'd just pop it in my laptop (Windows 10 x64) and re-format it but this didn't work. Failing this, I decided I'd "nuke" it using Minitools Partition Wizard. While this program had better luck identifying the card, could display and delete the partitions on it and could run the Wipe task - it had no effect on the card... the partitions just re-appear after any attempt to nuke them!
Has anyone any ideas about how I can restore this card back to a normal FAT formated SD card?
Just to clarify - I don't care for the data that might be on it... I just want the card back usable
Thanks
Recovering an "Adopted" SD Card?
The best solution for now would be to plug the sd card into a phone with android 6.0 so that the phone can read the card and then while setting it up,you can format the card as "normal "(the part where it asks you whether to use the card as in adaptive storage or for accessing files).
Sent from my iPhone using Tapatalk
Cruzy12100 said:
The best solution for now would be to plug the sd card into a phone with android 6.0 so that the phone can read the card and then while setting it up,you can format the card as "normal "(the part where it asks you whether to use the card as in adaptive storage or for accessing files).
Click to expand...
Click to collapse
When I try this, I get "Unsupported SanDisk SD card"
I'm then asked to select either Portable or Internal and then Erase & Format but neither work. They fail at 20% and the message "Unsupported SanDisk SD card" is shown again
I'm a bit stumped. I thought surely the encryption used on adopted cards was only to stop external reads. It seems in this case it's stopping me from writing to or formating the card
Running out of options

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.

problem formatting SD card

Hi All,
I have a problem with my SD card. (Sandisk 32gb).
The SD card was used in an android phone and formatted as internal storage, which I'm guessing encrypts the data as well.
In order to use another card in the phone, the card was removed and 'forgotten' in the phone (yeah... not very smart...)
I have already come to terms with the fact that my data is now lost forever, since the key for the encrypted data was deleted. I'm trying to reformat the card so I can use it again.
The problem: I can't format the SD card.
I've tried the following solutions, which did not work:
- Try to format the SD card using the phone. -> this gives an error message.
- Try to format the SD card using a computer:
The card doesn't show up in explorer, so I worked around using EaseUS partition master, when I try to wipe the disk, or when I try to delete partitions, I get an error. When I do a surface check, the program crashes.
- Try to clear the SD card using DiskPart, which gives a 'Data Error (cyclic redundancy check)' error.
What else could I try?
If you format your SD card directly from a PC, your choices are NTFS (which an Android device can't read) or FAT32 (inefficient & doesn't support files greater than 4G).
The best way to format an SD card is using the official SD Card Formatter from the SD Association:
https://www.sdcard.org/downloads/formatter_4/
This will format the card as exFAT which is supported by Android, while maximizing storage space.. Download, install, format, enjoy!
EEngineer said:
If you format your SD card directly from a PC, your choices are NTFS (which an Android device can't read) or FAT32 (inefficient & doesn't support files greater than 4G).
The best way to format an SD card is using the official SD Card Formatter from the SD Association:
This will format the card as exFAT which is supported by Android, while maximizing storage space.. Download, install, format, enjoy!
Click to expand...
Click to collapse
Thank you EEngineer for reacting so quickly!
I've tried the SD card formatter you recommended. However, although the card is recognised by my computer, it is not assigned a drive letter for some reason (I've tried to give it one using disk management, without success (it basically gives a cyclic redundancy check error every time I try to do anything with it)) and it doesn't show up in explorer. It follows that my card is not recognised by the formatting program, and so I can't get it to work.
My hypothesis is that the phone has formatted the card so that it cannot be read by my computer anymore and then threw away the key, so that it cannot be read by anything anymore. (which really sucks, because there's probably nothing wrong with the hardware of the card, and yet I'm going to have to throw it away if I can't get it to work)
Any other ideas?
Josh458 said:
Hi All,
I have a problem with my SD card. (Sandisk 32gb).
The SD card was used in an android phone and formatted as internal storage, which I'm guessing encrypts the data as well.
In order to use another card in the phone, the card was removed and 'forgotten' in the phone (yeah... not very smart...)
I have already come to terms with the fact that my data is now lost forever, since the key for the encrypted data was deleted. I'm trying to reformat the card so I can use it again.
The problem: I can't format the SD card.
I've tried the following solutions, which did not work:
- Try to format the SD card using the phone. -> this gives an error message.
- Try to format the SD card using a computer:
The card doesn't show up in explorer, so I worked around using EaseUS partition master, when I try to wipe the disk, or when I try to delete partitions, I get an error. When I do a surface check, the program crashes.
- Try to clear the SD card using DiskPart, which gives a 'Data Error (cyclic redundancy check)' error.
What else could I try?
Click to expand...
Click to collapse
Have you tried fdisk command?
There has been some time in between posts. Sorry for that. I really appreciate you helping me out.
I'm quite keen to get this issue resolved, since if I don't I've just wasted some money...
[email protected] said:
Have you tried fdisk command?
Click to expand...
Click to collapse
Yes, I have already tried fdisk. It resulted in the same error described above.
Josh458 said:
There has been some time in between posts. Sorry for that. I really appreciate you helping me out.
I'm quite keen to get this issue resolved, since if I don't I've just wasted some money...
Yes, I have already tried fdisk. It resulted in the same error described above.
Click to expand...
Click to collapse
Try SD formatter for Windows, it has some tools to diagnose/repair SD cards.
Sent from my LGL84VL using Tapatalk

unable to mount encrypted SD card on original encryptor phone

hi guys. i have a samsung note 4 n910c running rooted stock mm rom. i've encrypted internal and sd card storage. after several months somehow, the phone is unable to mount its sd card when i turn it on. i have no idea why. the only changes i've recently done was an attempt to make viper4android fx app get work. thus, installed the version of busy box which was on v4a site.
the fun part is when i tried to encrypt a blank sd card on the phone to use that trick that talks about transferring encrypted files to a new encrypted blank sd card, the phone dined to encrypt this new sd card and simply replied unable to mount sd card! that working new sd card formatted by itself is mounting and working unencrypted, but when i try to do encryption, phone gives back that error i mentioned.
i even re flashed system partition *no changes to data - internal encrypted storage is accessible* but no chance to mount that encrypted sd card or even encrypt a new on the phone.
any idea to solve this problem plz?

Categories

Resources