Corrupted SDCard due to Android 7.0 G930VVRU4BQA4 Upgrade - Verizon Samsung Galaxy S7 Questions & Answers

My sdcard was mounted prior to the 7.0 upgrade pushed out today. After upgrading, it won't mount. In the setting it just says that it's corrupted and it wants me to format it.
Also my phone used to have encryption on it, such that when you booted it from scratch, you were required to enter the PIN before the boot would continue (this happens before the login screen where you have to enter the PIN), but since the 7.0 upgrade this is no longer required, and if I search the settings app for "encyrption" it comes up empty. Did android drop this feature and un-encrypt my storage on upgrade!??! Is this related to it not being able to read my sdcard?

It might be if you also encrypted your Sdcard. The option that you are talking about is now called secure startup, it is still under lockscrean and security. Try enabling that using the same password you had before the upgrade and reboot your phone. If the card is not truly corrupted it will unlock the card and give you access.
Sent from my SM-G930V using Tapatalk

Thanks for the reply! Yes turning that setting on re-enabled my encryption and enforcement of entering the PIN on boot. Unfortunately it didn't seem to help the SD card. I hope it actually didn't go bad.

Related

[Q] Bricked after SD to internal and unlock

Im looking for any suggestions. I just got my moto x 1575 and soon after upgrading to MM, I installed a new micro SD and found that I could use it as a part of the internal storage. I opted for this feature and proceeded on to unlocking my BL afterwards (http://forum.xda-developers.com/moto-x-style/general/guides-how-to-guides-beginners-t3200808).
All seemed to be going well when I ran 'fastboot reboot' until it wouldnt let me get past the google account login window. This page just loaded endlessly. I rebooted and tried again multiple times with no success.
Next I go into TWRP and wipe data. After that, the phone started to freeze at the blue Motorola logo (before the animation).
Is there anyone who can help? I am wondering if I can simply flash and image and if so which image do I need to flash?
I have fastboot access but ADB will not connect.
I can boot into TWRP but SD memory seems to be messed.
If would really appreciate if someone could assist me with this and willing to donate to anyone who can get me going.
Which phone do you have/where you located (USA?)? Can't point you to a image to flash without knowing. Once you do find the correct image, format microsd card outside phone and put the image on the microsd.
bw03 said:
Which phone do you have/where you located (USA?)? Can't point you to a image to flash without knowing. Once you do find the correct image, format microsd card outside phone and put the image on the microsd.
Click to expand...
Click to collapse
Thank you for your reply. I am using the US model, XT1575.
I am unable to access the SD card. I may be able to push files to it but my computer will not recognize the phone in ADB devices right now. Im still trying to work on that.
check device manager on your pc while booted to twrp. look to see if the device has the drivers installed.
rsa 329 said:
check device manager on your pc while booted to twrp. look to see if the device has the drivers installed.
Click to expand...
Click to collapse
Ive installed ever driver I can find. It shows up as being installed correctly in in device manger.
ay0ung said:
Ive installed ever driver I can find. It shows up as being installed correctly in in device manger.
Click to expand...
Click to collapse
it shows up installed while in adb sideload?
Since you say you already have TWRP on the phone, pull sd card from the phone and format it in windows. No need to use ADB.
Put this image in: http://forum.xda-developers.com/moto-x-style/development/rom-trupurex-fast-smooth-t3237155.
Put sd card back in phone, boot into TWRP and flash your phone.
BTW, I'm using the linked ROM and its good.
bw03 said:
Since you say you already have TWRP on the phone, pull sd card from the phone and format it in windows. No need to use ADB.
Put this image in: http://forum.xda-developers.com/moto-x-style/development/rom-trupurex-fast-smooth-t3237155.
Put sd card back in phone, boot into TWRP and flash your phone.
BTW, I'm using the linked ROM and its good.
Click to expand...
Click to collapse
Thanks I was actually returning to say I got it resolved. In a similar was as you suggest.
The Micro SD is trash now I think (a shame to b/c I got the 64Gb card yesterday) windows will not format it, in any type format.
However, the adb issue I was having was related to the laptop I was using (running Win10) it seems. I got a laptop from someone else (running Win7) and connected while in TWRP and copied the exact ROM you suggested, bw03.
Wiped, flashed, wiped, and held onto my butt cheeks and it finally booted. I'm ecstatic as this was a Christmas gift.
Anyways... I found a place on Christmas Day with micro SDs (tried to charge me $20 for 8Gb.. lol) poped it in and chose the portable format option in MM and again, I am unable to access memory card and internal storage. I'm still trying to figure this out and will post anything worthwhile.
When you say you can't access card, you mean through windows? If so, you need to pull the menu down on the phone and select mtp when connected via the USB.
bw03 said:
When you say you can't access card, you mean through windows? If so, you need to pull the menu down on the phone and select mtp when connected via the USB.
Click to expand...
Click to collapse
Yea, i know that. It does nothing when I select mtp. It reverts back to charging right after.
Yeah, I was reluctant to make sd card into internal. You get a warning that sd card will only work on MXP prior to execution. Not doing it until we get to bottom of this.
Sent from my XT1575 using XDA Free mobile app
chindynasty said:
Yeah, I was reluctant to make sd card into internal. You get a warning that sd card will only work on MXP prior to execution. Not doing it until we get to bottom of this.
Sent from my XT1575 using XDA Free mobile app
Click to expand...
Click to collapse
That's a smart move. I have been trying to understand how I fudged it.. I'm certainly not new at this and currently work as a server tech so I know most things like this are user error, but I did everything normally.
I've been trying things all kinds of ways. Installed Ubuntu just to see if I could have any luck there, but nothing.
At my work computer (Windows), I went back to the driver idea. I pluged it in but thought to revoke its previous auths... something I never tried before. Windows checked for the drivers and everything worked well after that.
I'm not sure if that would have resolved it the whole time, but it works well now.
Now i'm worried to even flash another ROM from storage. Ill likely transfer it to internal storage with ES explorer.

Need to decrypt micro SDXC that was formatted as internal storage on my Moto X Pure

So recently my device stopped recognizing the SanDisk 64gb micro-SDXC I had formatted as internal storage. As far as I am aware when you format a SD this way the phone turns it into an encrypted volume and stores the key on internal storage, presumably somewhere the user cannot normally access it. The card itself is not dead, plugging it into my computer verifies this, but I cannot access it. I think some write operation failed and made it invisible to the phone. the phone did the same thing to a 128gb PNY card, but I reformatted it on PC, then reformatted it again on the phone and now the PNY is working fine. my question is, is there any way to extract the encryption key for my 64gb card(Root based tool or otherwise) from the card profile on my phone and decrypt it on a PC so I can reclaim my data? The phone still has a profile for the card, so presumably the key is still in internal storage somewhere. I had about 40gb of media on that card that I had not backed up (photos, videos, music and such). My ohone is not currently rooted but i wouldnt mind rooting it if someone has a root only solution.
I would wipe cache, then data then try another ROM.
sciencetor2 said:
So recently my device stopped recognizing the SanDisk 64gb micro-SDXC I had formatted as internal storage.
Click to expand...
Click to collapse
It is possible, though I have not done it before, I avoid adoptable storage for this reason. Do NOT wipe your ROM, or you will permanently lose your encryption key to your data that you have on the card.
If you put the SD card into a Linux PC that can recognize the partitions (Windows will not show it), you will see two partitions, android_meta and android_expand. To decrypt the big one, android_expand, you will need to recover your key from the phone.
To recover the encryption key, you will need either root access or a custom recovery like TWRP, to access '/data/misc/vold' to retrieve the encryption key (aes-cbc-essiv:sha256). Save the .key file to somewhere safe.
Then something like
dmsetup create crypt1 --table "0 `blockdev --getsize /dev/sdb2` crypt \
aes-cbc-essiv:sha256 00010203040506070809010a0b0c0d0e0f 0 /dev/sdb2 0"
mount -t ext4 /dev/mapper/crypt1 /mnt/1/
More info here - http://nelenkov.blogspot.com/2015/06/decrypting-android-m-adopted-storage.html
Once you have recovered your data, reformat the card and use it as portable storage
SenK9 said:
More info here -nelenkovDOTblogspotDOTcom/2015/06/decrypting-android-m-adopted-storageDOThtml
Once you have recovered your data, reformat the card and use it as portable storage
Click to expand...
Click to collapse
(url edited due to new user restrictions)
Thank you! this is exactly what I was looking for, but i couldn't find anything on google about anyone figuring out all the details (encryption key location, encryption method, usable tool for decryption)
now is there any way i can root, extract the key, then unroot so that i can RMA the phone? It seems to now render any sd i put into it unreadable by itself within about 5 minutes of formatting, regardless whether i format as internal or portable. not sure if this is hardware (reader malfunction) or some software is writing to the card incorrectly, but it is now doing it consistently.
sciencetor2 said:
(url edited due to new user restrictions)
Thank you! this is exactly what I was looking for, but i couldn't find anything on google about anyone figuring out all the details (encryption key location, encryption method, usable tool for decryption)
now is there any way i can root, extract the key, then unroot so that i can RMA the phone? It seems to now render any sd i put into it unreadable by itself within about 5 minutes of formatting, regardless whether i format as internal or portable. not sure if this is hardware (reader malfunction) or some software is writing to the card incorrectly, but it is now doing it consistently.
Click to expand...
Click to collapse
I do not believe it's possible to root or change the recovery without unlocking the bootloader, unless there's some other method I'm not aware of. Even MM systemless root method - http://forum.xda-developers.com/mot...t-moto-x-style-xt1572-br-marshmallow-t3259380, requires unlocking the bootloader, which of course then technically voids the warranty.
However, in this case, it might be worth contacting Moto to inform them of what's happened, it's definitely some kind of bug in the software which has caused this, and thus you are stuck in this catch-22 situation. They might make an exception or have some other solution. Let us know how you go.
SenK9 said:
... requires unlocking the bootloader, which of course then technically voids the warranty. ...and thus you are stuck in this catch-22 situation.
Click to expand...
Click to collapse
Even more of a catch 22 situation, because if i read that correctly, the process for unlocking the bootloader also requires wiping the phone (and thus, the encryption keys) (i miss geohot with his 1 click soft roots). I will wait a little while and see if I or anyone else reading this thread can find a way around that, but it seems ill have to contact Moto support either way, since my 16gb model is barely usable without an SD card.
This is another example of why taking control of your phone before something goes wrong is so important.
Did you try wiping cache yet?
lafester said:
This is another example of why taking control of your phone before something goes wrong is so important.
Did you try wiping cache yet?
Click to expand...
Click to collapse
I checked the recovery menu but there didn't seem to be an option for wiping cache on this device (recovery menu was a little different than I am used to, only had option for factory reset) Also, while wiping cache might conceivably prevent it from screwing up future cards, I don't know if it will fix this one, and i'm not sure if i wanna risk wiping anything without getting my hands on the encryption keys first. if it becomes apparent that i'm just not getting root without wiping, then I'll try playing around with recovery options to at least get back SD slot usage.
You can erase cache in fastboot. If you are locked there is no way to root without wiping data.
lafester said:
You can erase cache in fastboot. If you are locked there is no way to root without wiping data.
Click to expand...
Click to collapse
Isn't that what the setting "OEM Unlocking" under "Developer Options" is for? I thought I read that, if you enable this option before you unlock the bootloader, it allows you to unlock without the wipe/factory reset?
YITBOS said:
Isn't that what the setting "OEM Unlocking" under "Developer Options" is for? I thought I read that, if you enable this option before you unlock the bootloader, it allows you to unlock without the wipe/factory reset?
Click to expand...
Click to collapse
I hadn't heard that... Got a source?
YITBOS said:
Isn't that what the setting "OEM Unlocking" under "Developer Options" is for? I thought I read that, if you enable this option before you unlock the bootloader, it allows you to unlock without the wipe/factory reset?
Click to expand...
Click to collapse
No all that does is allow you to unlock (providing you have a key of course).
well it looks like nobody has found a non wiping solution to root my phone, so I'm going to have to give up on the data and see if I can get back SD functionality, or just RMA the phone. I think i will also publish a script that allows you to plug in your phone and the SD at the same time and allow you to decrypt an internal formatted card by pulling the keys and using them to mount the drive to help people who are in similar situations, but have root. Thanks anyway for the help.
Hi Everyone, I'm stuck in the same catch 22 situation. Device is not rooted or bootloader unlocked, so can't access the key, and trying to root/unlock bootloader will wipe the keys. Any updates, @sciencetor2??
Have you written to Motorola/google about this?
I'm still not ready to give up on the data... hundreds of vacation pictures, that couldn't get backed up.
I'm in the same boat any good news on this?
As long as the phone can see the card, you can change it to portable storage. However, if something goes wrong and phone can not see the card anymore, it's nearly impossible to access the volume without the retrieving the key from the phone, and you must root the phone in order to get the key, as I understand.
I have another similar problem, SD card becomes locked writing and disappears from phone, even I used it as portable storage. And the card can't be formatted at all. So I believe the phone somehow does something and change the state of SD card!
Did anyone find a solution yet. Stuck with same problem. Will loose very important data.
Same here.
I adopted my sdcard as internal storage in CM13.
It was constantly in bootloop, so I formatted the internal memory of the phone to install a new rom ...
But now I can not recover the data within the sd because I can not access it nor with the new rom (I can not even mount it from TWRP) nor from a linux PC (the filesystem is unknown).
Pretty much ... I did not know that the sdcard adopted were encrypted!
Any solution? :\
Hello everybody!
Is there any way to recover the deleted ".key" file?
so i havent gotten back on this thread in a while but i think i at least figured out the "why" on why the card was no longer being recognized. it seems to come down to read/write speed. my 64GB and 128GB cards that i was having the issue with were both U1 cards, which means their read/write is only sitting around 10Mbps, and both of those had issues being detected by the phone after a little bit of time in use. I replaced the card in the same phone a few months back with a high throughput U3 card, and it has been running smoothly ever since. this leads me to the hypothesis that if the card is not fast enough for the phone's taste, it will just ignore it (or timeout on reads, not sure which is actually happening) which is leading to the issues we are experiencing. unfortunately this doesnt lead us to a solution for recovering from the existing cards, but hopefully it will help avoid making the mistake of using a slow card in the future.

Sudden Power off during decrypt, Card Replaced - How to continue decrypt on new Card?

Hi,
So I actually think this issue may be two fold. But first, I must say that to date, the GN4 had been the best handset I've had to date hands down.
Ever since I've updated to Marshmallow however, on occasion the handset will suddenly shutdown due to reported battery drain. This typically occurs around 30% mark. I've seen on some forums that by doing a factory reset could resolve this.
In preparation to do this reset, I decided to decrypt my handset including card so that I could back up my data. However, during the decryption process the handset shutdown. In restarting the GN4 (N910c) the card is now no longer able to mount (getting card not inserted).
If I connect the card to my pc/mac I can see my data filenames but unable to open some of them presumably due to encryption from the GN4. I have managed to create a backup of the card, with what looks like partially encrypted and decrypted files (looks like it was cut off 50% of the way) so i guess what i want to do now is copy those files to a new card and then decrypt the remainder somehow.
I haven't performed a factory reset yet, and I really don't want to lose that data so I've bought a new card. Does anyone have an idea on what I can do to decrypt the data on the new card? I do have the initial GN4 password used to encrypt.
Thanks!
Cheeky bump.. Anyone have a clue?

ENCRYPT SD card

Hi, Just get this tab. My only problem it's I can't find the encryptage SD in parameter .
Someone can help me on this one please?
I have Emui 4 , android 6.0 , build B035
This device is not encrypted and there are no settings to encrypt it. I'm on Nougat and there is an option under advanced, security that allows you to set up a password for the sd card but I'm not sure what it actually does, it definitely doesn't encrypt it.
This is really weird. I thought Nougat encrypted root by default and had options to encrypt SD cards. I have encrypted option on my Samsung devices. Was considering this Mediapad but now not so sure... can anybody confirm>

Encrypting Phone/SD card

Hi,
I added an sd card to my G6 as a "normal" external card (not system extension).
Now I want to encrypt the sd-card. But if I try it asks me to set a pin/password. I do have a pattern lock and want to keep that.
Is it not possible to encrypt the sd card if I have a pattern lock?
Is there another way to make my files encrypted on the sd-cards?
Second question: as far as I read the G6 has system encryption by default. Is this true?
Thanks for you help.
G-Ultimate said:
Hi,
I added an sd card to my G6 as a "normal" external card (not system extension).
Now I want to encrypt the sd-card. But if I try it asks me to set a pin/password. I do have a pattern lock and want to keep that.
Is it not possible to encrypt the sd card if I have a pattern lock?
Is there another way to make my files encrypted on the sd-cards?
Second question: as far as I read the G6 has system encryption by default. Is this true?
Thanks for you help.
Click to expand...
Click to collapse
1. Why not password plus fingerprint? I have it that way and need to enter the password only after boot.
2. Yes
I already have fingerprint. And I like the pattern lock so much. I can turn on and unlock the phone at once when it is on the desk. I like that very much. Therefore I would prefer that way. But it seems like there is no way for that.
As an aside, if we use a fingerprint for security someone (like a GF) could unlock your phone while you are taking a nap or sleeping over. Fingerprint reads are less secure!

Categories

Resources