Flashed firmware, unsupported SD - Samsung Galaxy S7 Questions and Answers

Hi I am following the rooting guide for my Sprint S7 and it says to be on PE1. I flashed PE1 without knowing it would wipe all my data..
My SD card was set as adoptable storage. It is now unrecognized/unsupported and the phone wants to format it. Putting the card into a computer does nothing.
Is there any adb command to trip the phone back into adoptable storage? Or to set a flag to turn the card back into portable? Is there anything I can do to make the card readable so I can get all my stuff off of it?

Once you had your phone set up as adoptable storage on a stock Samsung there is the possibility that it was encrypted, as the Samsung Galaxy S7 is encrypted by default. did you use SD card encryption at any time? I'm thinking if I remember correctly you have to format before using SD adoptable and you also have to format to return to use as regular SD card, so I have to say I think your out of luck. Find out what partition type it's formatted as, and Try a data recovery app if u can find one that is compatible with that format. Last of all I know you can use adb to setup adoptable storage again by typing a certain command line but I don't know if it will format the card or if your stuff will be there after. Best to research these things beforehand to avoid crucial data loss but we all learn somehow.
Cheers!

Related

SDCARD (as internal storage) not recognized (file system corrupt?)

Hello, my device doesn't recognize my external sdcard I formatted as internal storage any more. I assume that the file system is corrupt. I tried to open it on a linux-based OS on my computer but it didn't work because the file system is (hopefully not) encrypted. As my last backup is 3 months old, it would be not so nice if I would loose all my photos I made until now.
I tried to acces it via ADB but it didn't work. Is it possible to repair the (encrypted) file system?
Thanks in advance.
if memorycard is encrypted, it will not work in any phone as normal SD card,
what we must do is .. Format as External by keeping in same phone , then memory card will work in other devices ( your data will be lost )
of course I can format it. But I like to repair the file system because I don't want to loose my data.
thirdpartycookie said:
of course I can format it. But I like to repair the file system because I don't want to loose my data.
Click to expand...
Click to collapse
No I doubt it. Only your phone will recognize the encryption and if it becomes corrupted you'll probably lose your data. That's why I also have all my photos also backup to Google Photos.
I cloned the SD with dd on my computer. I'll buy a new card tomorrow to exclude hardware reasons. If this doesn't work, I have to reformat it.
It worked!
It seemed that I had read-only acces to the card cause of hardware failure. The 1:1 copy with dd worked, even with the 16 GB partition table (new card has 32 GB). Now I'm do a big Backup at first.
thirdpartycookie: Can u please explain , it's happened samething for my internal SD card

Get data from sd card fromatted as internal(Android 6 Marshmallow)

I have a micro sd card 32gb Transcend which I use as android internal memory and was working for one year.
Yesterday suddenly stopped working and my Motorola moto g(3rd) device not recognizing it anymore.
When i insert this card and starting my device it shows that it "checking" it for 2 minutes and then it shows "no card".
I would like to get my data from this card(photos and videos) is there a way?
I have a second moto g device to which when i insert this card it shows "cannot read card" and asks format "as internal" or "as storage"?
If i choose "as storage" i will lose my data?
Please move this post to the appropriate thread.
thanks for helping
The card was formatted as internal before it was stopped being recognized. So the card is tied to that phone and is encrypted. No matter which of the options (adoptable or portable) you choose, the second Moto G (or any other marshmallow phone) will format it first deleting all the data. I am not sure if you can recover your personal data though, sorry.
Broadcasted from Zeta Reticuli
Welcome to the joys of adopted storage... It puts incredible amounts of read/write cycles on the card, causing "early" failure. Really this is not early failure, sd cards have limited writing capabilities and using adopted storage does this causing failure.
When you use adopted storage, the data is encrypted to that device and there is a decryption token generated that is stored on the device, for whatever reason that encryption token is no longer valid (likely due to a failure of the card) and the data is lost.
Your card can no longer be trusted, I would suggest replacing it.
This is another reason why regular backups of data, both manually and automatic, are essential in devices. I suggest implementing a backup plan in the future.
acejavelin said:
Welcome to the joys of adopted storage... It puts incredible amounts of read/write cycles on the card, causing "early" failure. Really this is not early failure, sd cards have limited writing capabilities and using adopted storage does this causing failure.
When you use adopted storage, the data is encrypted to that device and there is a decryption token generated that is stored on the device, for whatever reason that encryption token is no longer valid (likely due to a failure of the card) and the data is lost.
Your card can no longer be trusted, I would suggest replacing it.
This is another reason why regular backups of data, both manually and automatic, are essential in devices. I suggest implementing a backup plan in the future.
Click to expand...
Click to collapse
Is there any application that can get this "decryption token" from device and read the sd card?
makis_g3 said:
Is there any application that can get this "decryption token" from device and read the sd card?
Click to expand...
Click to collapse
Nope. The purpose of encryption token is to prevent the use of card in other systems. It will take a great deal of hacking to get the token and put it into another phone, that too if it's possible at all. The token is randomly generated AFAIK and is not supposed to be used between different devices.
Broadcasted from Zeta Reticuli
makis_g3 said:
Is there any application that can get this "decryption token" from device and read the sd card?
Click to expand...
Click to collapse
Not really... IF (and that is a big if) the data is intact AND you are rooted already, the token can be retrieved via an ADB superuser shell, then you need to have a modern Linux installation that has a microSD card reader and you need a fair understanding of using the command line and mounting an encrypted file system manually. The big if here is if the file system is not corrupted, but if it wasn't corrupted then the phone would be able to use it. Also, if you are not already rooted (actually, your bootloader unlocked) then the process will wipe the device including the decryption token.
http://nelenkov.blogspot.com/2015/06/decrypting-android-m-adopted-storage.html
If I unistall from my device applications that used to be in sd card, is there any chance for sd card to work again?
Thanks for your replies
makis_g3 said:
If I unistall from my device applications that used to be in sd card, is there any chance for sd card to work again?
Thanks for your replies
Click to expand...
Click to collapse
No... If it can't read the card it can't use it. The fact it's checking for so long says it can do something with the card, but that operation if failing. If you are already rooted there maybe some options of manually doing an fsck but other than that the best you can hope for is to reformat the card in another device and salvage the media for non-critical usage as standard storage, but the data is lost
You could try rebooting several times, you might get lucky and it will mount by chance, but don't much hope in it.
My GF has a Moto G3 2015 (1GB RAM, 8GB storage) which I had configured with a 32GB SD-card as adoptable storage. After this month's OTA, the SD-card is no longer recognized and there seems no way to recover any of the data. It also checks a couple of minutes for the SD-card and then says 'no card'. If I put the card in an adapter and a Windows pc, it says the card is healthy in disk management but it does not show the card in Explorer, I guess due to the formatting and encryption.
This is the second time her phone has issues with adoptable storage. First time the internal storage was full while there was still plenty of room on the SD-card, but this was apparently because I had only configured the SD-card as adoptable storage after 6 months of use, which caused the internal storage to have filled first. I expected adoptable storage to treat the internal storage and SD-card as one, but this is not true. I gave the phone a factory reset and immediately set the SD-card to adoptable storage before installing any apps, this took care of the problem until now.
I would not recommend using this option on any phone. Just buy a phone with enough storage and use the SD-card as external storage which is what I do on my Honor 7. I had told her to wait for the 2GB/16GB version which was going to be released a couple of months later but you know women, once they have their mind on something, they can't wait .

Adopted SD card, forgot- recover data?

Hello guys,
My partner changed her SD card without realising the exisiting one was "adopted" as internal storage. All of her photos of our kids are on there. She clicked "forget sd card" at the prompt without realising this makes the SD card essentially useless to recover the data.
Is there any way to recover this data? Obviously the PC does not recognise the SD card as its encrypted, so we cannot pull the photos off that way. The phone asks to format the device so I cannot pull the photos off with a usb cable either.
From what I've read, the phone generates a key for the encryption using the screen unlock pattern. We know what this is, so have a chance of unlocking the SD card as we know what the master key is. The phone is not rooted- as far as I know this changes the encryption on that end, so any attempt to root the phone to get access will not work as the keys will not match anymore. Are there tools to brute force the encryption on the SD card? I would hate to lose the data on this.
Thanks

SD card stuck on checking

Hi guys,
I have a samsung sm-t520 which I recently resurrected with lineage os 14.1-20190104-Nightly-n2awifi. I think everything installed correctly, but after I inserted my sd card I put it as an internal storage. Later on I honestly don't know what happened, but the card wasn't being seen by the os. I am getting an sd card checking... I just wiped the system, it recognized the card for a second but after I selected format as portable, I got to where I was in the first place with sd card checking stuck. And nothing happens. I tried formatting the card through pc, but it couldn't (unable to format, I even tried with disk manager). There's nothing on the card, I tried to format in twrp but depending what I do it gives me error 1 after failed formatting. I'm not sure what I can do with it. It's a 64gb card. When I try to change the file type on the sd card twrp just keeps working on it and then it reboots to the os normally. (I'm not sure now if it's not happening randomly, really frustrating)
Help much appreciated.
dziech said:
Hi guys,
I have a samsung sm-t520 which I recently resurrected with lineage os 14.1-20190104-Nightly-n2awifi. I think everything installed correctly, but after I inserted my sd card I put it as an internal storage. Later on I honestly don't know what happened, but the card wasn't being seen by the os. I am getting an sd card checking... I just wiped the system, it recognized the card for a second but after I selected format as portable, I got to where I was in the first place with sd card checking stuck. And nothing happens. I tried formatting the card through pc, but it couldn't (unable to format, I even tried with disk manager). There's nothing on the card, I tried to format in twrp but depending what I do it gives me error 1 after failed formatting. I'm not sure what I can do with it. It's a 64gb card. When I try to change the file type on the sd card twrp just keeps working on it and then it reboots to the os normally. (I'm not sure now if it's not happening randomly, really frustrating)
Help much appreciated.
Click to expand...
Click to collapse
Here is a method discovered by another member here to fix a corrupted sdcard that was used as adoptable storage.
https://forum.xda-developers.com/general/help/corrupted-sd-card-adoptable-storage-t3801250
For future reference, adoptable storage has to be reversed before factory resetting or reflashing the device, then you have to go through the adoptable storage setup again.
In my opinion(many others would agree), using adoptable storage or any other similar feature that uses external as internal is not worth the hassle and exposes your important data to corruption very easily. Also, when using adoptable storage, the device will not boit if the sdcard is removed or corrupted. It can even cause the device not function at all.
Sent from my LGL84VL using Tapatalk
Droidriven said:
Here is a method discovered by another member here to fix a corrupted sdcard that was used as adoptable storage.
https://forum.xda-developers.com/general/help/corrupted-sd-card-adoptable-storage-t3801250
For future reference, adoptable storage has to be reversed before factory resetting or reflashing the device, then you have to go through the adoptable storage setup again.
In my opinion(many others would agree), using adoptable storage or any other similar feature that uses external as internal is not worth the hassle and exposes your important data to corruption very easily. Also, when using adoptable storage, the device will not boit if the sdcard is removed or corrupted. It can even cause the device not function at all.
Sent from my LGL84VL using Tapatalk
Click to expand...
Click to collapse
Thank you for the information. Well, I have worked with Linux last time maybe 10 years ago so I don't really understand what is happening in this post. Is there a translation available anywhere to windows? ddrescue is available on everything but windows from what I'm seeing - great... Also, is there just a way to reset the card so I can use it in an automated way?

Broken storage and /boot missing (or unmounted)

Hi,
so I have a really weird issue with my Redmi 6. As you've read from the title my phone's storage is broken and /boot is missing (or maybe unmounted).
Let me explain what happened.
So my bro needed 16 GB SD card for postmarketos (the SD card was in my phone) so I told him that he could have it. He had 4 GB SD card which wasn't enough for the postmarketos so he gave me the SD card. When I inserted it to my phone, MIUI asked me what to do with it. There were 2 options. Use it as external storage or extend internal storage so I selected extend internal storage. When the process was done, internal storage was unmounted... I tried mount /sdcard but it didn't work. Then I came across a video that has sm command in it and it was a partition management command or whatever. So I tried mounting internal storage, and it worked! BUT when I opened file manager it detected internal storage as USB. I literally have NO idea why (MIUI file manager detects it as USB but Google file manager detects it normally). I tried to fix it with the sm command, but I only made it worse... When I tried mixing the partitions I accidentally typed disks instead is disk (sm partition mixed disk"s":128,179 50). Then I think is started formating the partitions. I was lucky enough to cancel it, before it formats the whole /. It formated only the SD card and I think /boot. I don't think I can give any more info about what is did. I hope someone could help me.
Thanks for your time.
Sucharek
PS I don't have my phone rooted or unlocked bootloader or a custom ROM
Note: Everything happened when the phone was on
Please someone tell me a fix
I'm waiting almost a month and so far, no answer
Please, if you can, tell me a fix
Thanks
Hi guys I have an update that I reset my phone and everything works now!

Categories

Resources