Recover data from corrupted storage - General Questions and Answers

Hi all,
I have a Galaxy S7 Edge SM-G935V and the other day I put my case on and put the phone in my pocket not realizing I had put the case on upside down. With the case on the wrong way, the power and volume buttons were pressed and the phone rebooted several times. I thought I was just getting notifications when my phone was vibrating in my pocket, but in reality it was vibrating because it was rebooting. It must have booted to recovery and/or download mode and then because the buttons were still pressed, rebooted again and again. When I checked my phone after a few minutes of it unknowingly rebooting, it was in recovery mode so I attempted to boot normally. It didn't fully boot, but I got a message "Phone storage corrupt. The data partition has been corrupted. You need to reset your phone to factory default settings. This will erase all your data."
Now, I'm an IT professional so I know how storage disks work. I know that the partition table is probably corrupt but the data itself is probably intact. I would like to recover the data on the partition such as photos, videos, texts etc, but since the phone doesn't fully boot, I can't get to the storage from a PC, and when I connect via ADB I get the message "error:closed" when I try to do anything.
My questions/thoughts:
In the same way you would slave a damaged hard drive to recover the data, is there a way to access the partition without booting to it?
Is there a way to do a full ADB backup of the partition and try to extract the data from the backup?
Is it possible to install a custom recovery and do an image backup of the partition and try to extract the data from that?
What is the likelihood of recovering the data after a reset to factory settings? I have access to professional data recovery software and I'm willing to spend some money on specific software for Android recovery.
Is there any other way that anyone can think of to retrieve data from an Android device that can't boot? Or to repair the corrupt partition?

Related

[q] help please

Anybody who reads this, i have ****ED up. I pressed factory reset on the recovery menu and iT deleted EVERYTHING, i mean every single folder. /System /Data /dbData. My phone wont boot up at all. I mounted the usb and absolutely everything was gone I really need help. Im running Speedmod on the Cyanogen nightlies. SAMSUNG CAPTIVATE
reflash cm and gapps, unless you have a recent backup to restore
No dude, i mean no folders the phone wont even boot up, so i cant flash anything
What happens when you turn the phone on?
It does the att screen than the samsung model screen than its stops. What had happened was i used clockwork recovery and pressed complete data wipe and factory restore and it deleted every single last thing on the internal sdcard because there is not even a systems folder on it
Look up the Odin flash files for your phone. That should do the trick.

Soft brick due to my absolute stupidity.

Alright, I ran the restore factory settings from the phones' official settings, it rebooted in TWRP asking me if I want to keep the system modifiable to what I checked yes and rebooted the phone. Then the phone booted and there was a message saying that the phone cannot be set up due to the data being encrypted (something along those lines), then I checked to keep the system read-only cause TWRP prompted me again but the same message popped up. Then the same "data encrypted window appeared" and I, who knows why, decided to wipe internal storage in TWRP and the phone is now stuck on the blue "Honor" splash forever and boots again if I shut it down manually. I can shut it down via TWRP.
Don't really know what to say other than I really don't know what I'm doing and I was just hoping to format my internal storage quickly so that I can swap my phone with a family member. I'm really disgusted with how I approached this whole scenario and I need help to fix my phone if possible. I can access the internal storage thanks to TWRP and the only folder there is TWRP.
Facts:
1. Did factory reset over official settings.
2. Did very stupid things, then wiped internal storage for the finale.
3. Phone is stuck forever blue splash screen and keeps restarting if I turn it off.
4. I have accesss to TWRP and can mount internal storage.
5. I should have no business owning a rooted phone.
6. The firmware on was(is?) BLN-L21.
Please help.
I was able to unbrick it. Please delete/lock this thread.

My phone continuously reboots itself during booting; only fastboot and recovery mode are accessible -- are there any alternatives of factory reset?

I switched off my phone (Motorola Z2 force, XT1789-06) during ringing. I am not sure if this caused the problem, but since then I can't switch it on. During booting, when it starts to show the animated "Moto" logo, it restarts booting, so I can't get to the normal graphical user interface. If I don't touch it, it repeats rebooting until its battery gets empty. It is not rooted, has latest official Android (version 9, I think, nash_retail) on it.
Until now the only thing I could do is to boot into fastboot mode. There I can log in into recovery mode or do some diagnostics, check some logs etc. As far as I can tell they show no problems at all. Except maybe "failed to read fstab from dt" in /tmp/recovery.log -- is it normal in recovery mode?
I tried some manual reboots from fastboot/recovery menu (on the phone), with and without SIM card inserted, with and without being connected to the charger, but they changed nothing: the phone keeps rebooting at the same stage of booting.
I hoped to be able to adb connect to the phone and pull the files from it, hoping I could use these data after a reinstall. But adb devices show no connected devices. I guess adb is not available in this stage of Android loading. Or is it available somehow?
fastboot devices show the phone, but I am not sure what can I do without triggering a factory reset. E.g. what if I would 'fastboot flash boot boot.img' from the stock ROM? I guess something went wrong on the boot partition, so rewriting it could solve the issue. But I afraid rewriting the boot partition would result in a complete factory reset.
My questions:
* what to try to make the phone booting normally?
* can I change boot config to skip logo animation?
* if booting normally is not possible: can I somehow copy my files from the phone to my laptop (linux)? If I can copy them: is it realistic to be able to use those files to restore the apps' states after a reinstall (after a factory reset)? I would like to keep e.g. my phonebook, SMS, Whatsapp and Signal chat history, OsmAnd favorites, Colornote notes, AndOTP credentials, etc. (I have a backup of some of my files, like photos or gps tracks, synced to my laptop with SnycThing automatically, but many others are not backed up recently.)
* if backing up my data is not possible: can I try to fix the booting issue by e.g. flashing a new boot.img without risking a factory reset? What exactly should/could I flash?
* if none of the alternatives above work: are there any other thing I could try or shall I simply accept the data loss and do a factory reset from fastboot menu?
Thanks a lot for your help and ideas in advance,
Peter

Update 11.1.1.1 installed successfully on OP 6T but is stuck in loading

Hello,
Anyone else having problems after this update? I did it now and my phone does not start anymore. Or at least it hangs in the loading screen with the red and 2 white dots.
I shut it down with power and vol + twice but with no effect. It does not react on the power cable being inserted. When it's powered off and I insert the cable it starts to the loading screen, currently showing 14 %.
How to solve this?
Thank you!
I can boot into recovery or fastboot. Not sure how helpful that is though.
try to format data if you're able to go to recovery. as long you have recovery and fastboot intact, it's basically not ****ed up yet
dewa5227 said:
try to format data if you're able to go to recovery. as long you have recovery and fastboot intact, it's basically not ****ed up yet
Click to expand...
Click to collapse
But how can I save my data? I mean when I'm in recovery I have to enter the password before, so the data gets decrypted. But with USB attached I can only see 5 files on my desktop computer.
I emptied the battery and loaded it fully, then restarted. After a long time it say "This device has entered an unstable state. Please try rebooting your device using the exit button below..." and so on.
I hope a data recovery company isn't the only solution.
Also, is there no way to repair it? Like running the update again or something?
Why is there no „apply update from adb“ option in the recovery menu of OnePlus? Apparently I could have used that to backup all my data from the phone.
I tried wiping the cache partition without success so far.
So did Android squeeze security so much that not even the owner can save his data in this status now anymore? A bit sad when they themself break the phone with an update then.
What about these recovery services that also recover data from harddrives? Do they break the phone when they do their thing?

A42 Bootloop

Hello all, posted this question in a Facebook group and was recommended to bring it here.
I've got a Samsung Galaxy A42 that recently ran a software update and wouldn't properly restart afterwards. It would load up with the normal "Welcome" screen from Verizon, but would freeze during this part of the loading, shut off, then try to restart itself again, and would continue this endlessly until it ran out of battery. The only thing I was able to do was access the safety mode menu, but I've tried everything save for factory resetting to no avail. I attempted downloading a SM-A426U_CCT_A426USQU4DVL2_fac.zip file and installing it from an SD card, but I receive an installation failed message from the safety menu when I do, stating "E: Failed to read 6 bytes of data at offset," "E: Failed to read footer," "E: Signature verification failed," and "E" error: 21." I've also tried recovery software, but none of them recognize my phone being plugged into the USB socket on my computer, nor does my computer recognize it in this state.
I've since gotten a new phone, but I've got some pictures, documents, videos, and other things on this phone that I'd like to get off the A42 if possible before turning it in to my Verizon store, so any suggestions or advice would be very much appreciated. Thanks for reading!
Clear system cache.
Try to boot into safe mode.
If that fails you're probably boned... a data recovery service may be able to help.
Always redundantly backup critical data especially before playing with the firmware. If you fail to backup critical data redundantly it's only a matter of time before you lose it.

Categories

Resources