Data partition killed (encrypted?!) - Samsung Galaxy S8+ Questions & Answers

Hey guys
after installing the Android Oreo beta ZIP I got a problem. (used this zip here https://forum.xda-developers.com/showpost.php?p=74406679&postcount=36)
The first boot was great, everything worked okay.
Then I just restarted my device - boom. I am in a boot loop now. It only vibrates one time then three times and stays at the samsung logo.
So I wanted to reinstall the old ROM - "Data could not be mounted". It looks as my data partition got encrypted
Is there a way to access my data again? Havent reinstalled anything yet, no TWRP Backup restore, nothing.
Thanks!
Robin

Try flashing the original Samsung firmware with Odin

I want to "save" my data partition. If I refresh via ODIN, isn't the data partition deleted?
thanks!

Related

"Encryption Failed" - Phone Will Not Factory Reset

After searching through countless threads on this site, I've had no avail in resetting my Rogers Samsung Galaxy S6 running XtreStoLite 2.2.
A little while ago, I thought it would be a good idea to encrypt my phone with a custom ROM installed. I knew I had recovery and download mode, so I thought It'd be no biggie. Left the phone on overnight encrypting, came back 24 hours later and knew that it hung somewhere. Booted it up and this screen came up: Reset it and restored from TWRP backup, the same screen right here came up: http ://i.imgur.com/J37aZaq .png (sorry XDA will not let me post links, remove spaces) after this, I tried pressing the "reset device" button without success. It just rebooted the phone. Tried to restore from a different backup, no avail, then I tried to flash my custom ROM again through TWRP, no avail. I download ODIN and flashed stock Samsung firmware onto it and it still gave me this screen when I was done. Tried going into TWRP and factory resetting (where it wipes all partitions) and nothing happened. Currently, I'm trying to flash my Samsung Galaxy S6 with the stock firmware through ODIN with the "re-parition" box checked.
It seems there's a hardware flag of some sort stopping this from working. I mean, my file system is brand new, reset to factory defaults, I even checked with ADB and everything has been formatted. Checked with TWRP file manager and everything is good. But I can't get past the "Encryption Failed" screen.
Help me! Thanks.
fix
did you fix this?
Hi, i am encountering the same problem with my G920F.
I have the XtreStoLite_Deo_Mod_v.2.3 and also TWRP installed
I started encrypting but it got stuck so i rebooted my phone and got the same message (Encryption failed, please do a factory reset). So i did the reset but the same screen appeared. I also tried restoring from a back-up from TWRP but the same screen was still there. So i decided to do a full wipe and restore the phone with a twrp back up witch was on my laptop. But when i am in TWRP i can not copy files to (or from) my phone. So it is not possible to get the backup on my phone. I am able to get in to download mode and connect the phone with odin.
My questions are :
- what was the solution to the problem?
- What causes the copying error? And what is the solution? So i can put the backup on my phone and try to restore it this way.
- What are my option with odin? Can i use the TWRP files in odin?
Thanks a lot in advance
Jules
Solved the issue. After a full wipe i installed a stock firmware with odin. It still displayed encryption failed after reboot. But after the factory reset the notification was gone.
I have fixed this
Best solution is on a stock rom to reset. If rooted with recovery -format and wipe all data, reset, let sit at boot for a while, go into recovery and install new rom from USB-OTG, or odin from download mode.

Xperia mini issue - recovering from boot loop - how to recover data

Ok, so I asked this in XDA Assist but can't post reply there.
This is what happened on my Xperia mini St15i, with firmware 4.1.B.0.587:
1. I turned on Bluetooth and the phone got stuck in infinite boot loop - apparently this is a known bug.
2. I decided to try out CM 9. Installed CWM Recovery and did backup on sd card and flashed CM.
3. I remembered that I did the backup earlier so I thought maybe there is a way to keep my apps and data.
4. I went back to CWM and restored from backup. CM didn't boot then, so I flashed back stock rom with flashtool and booted the phone. The apps and data was there( at least for one app which was very important), but contacts and messages were gone.
So my question is, is there a way to recover ALL user data from the backup? I don't care if it's on stock rom or CM at this point.
I hope some of you knowledgeable people can help!
Many thanks,
Paul
Can someone please help. :crying:
I managed to restore it with all the data by trial and error (I don't know HOW). Then at night the phone lost battery and is back to rebooting forever.
If I restore all via CWM and then flash stock, it boots up saying "Android is upgrading" and then keeps rebooting.
If I do a factory reset via CWM and flash stock rom, the phone is back to factory setting with no data.
WHICH partitions should I recover and which should I flash to retain the data??? HELP :crying:

[SOLVED] Google Apps Not Working And Recovery Refusing To Open

About two weeks ago just before CyanogenMod's announcement of its closure I updated my Moto G2015 (1GB) to the latest nightly, which was CM14.1 released on the 25th of December, with its corresponding GAPPS version also released on the 25th of December (ARM, android 7.1, Full)
Yesterday the 7th of January my Google Apps decided that they didn't want to open, at first I thought it was just updating and since my battery was low I plugged in my device, I later realised that my device randomly went to a boot loop and stayed there. I grew impatient so I restarted the phone and went to the Recovery Mode (To Re-Flash the ROM), but to my annoyance the recovery (TWRP) just stayed on the 'Teamwin' logo forever, it would randomly go black then return to that logo. infuriated I turned on my phone and went to backup/reset and clicked 'factory reset'. it annoyingly booted me into recovery to reset the device, which of course I couldn't do.
Now the simple answer would have been for me to go and wipe the cache and data from 'google play services' and or 'launcher3' but I did, either it always shows 'calculating' preventing me from clicking 'manage space' or clearing 'cache' or when it did finally show, after I did click the button for the cache and or data to be cleared it would say 'calculating', and a quick check would discover that nothing was actually cleared.
Kind Regards, and Thank You to any help recieved,
NotSoGreat
Boot TWRP or CWM Recovery (not sure if it's still called CWM Recovery now that LineageOS has replaced it) with the command 'fastboot boot recovery.img' but replace recovery.img with your actual recovery image filename. If TWRP won't boot wait, sometimes a theme or corruption in the TWRP directory on internal storage can pause the startup of TWRP by several minutes, if that still fails boot CWMR and remove the TWRP directory or wipe internal storage.
Once you can get TWRP to boot properly, backup everything (MPT works in TWRP) and wipe and reflash, should be good to go.
acejavelin said:
Boot TWRP or CWM Recovery (not sure if it's still called CWM Recovery now that LineageOS has replaced it) with the command 'fastboot boot recovery.img' but replace recovery.img with your actual recovery image filename. If TWRP won't boot wait, sometimes a theme or corruption in the TWRP directory on internal storage can pause the startup of TWRP by several minutes, if that still fails boot CWMR and remove the TWRP directory or wipe internal storage.
Once you can get TWRP to boot properly, backup everything (MPT works in TWRP) and wipe and reflash, should be good to go.
Click to expand...
Click to collapse
Thanks for the reply, what you're saying makes sense and would probably work, but I found a simpler work around. I'm actually annoyed I didn't do it earlier.
So simply put, I downloaded my stock recovery which worked and then I just factory reset my device from there, that reset the CM14.1 ROM and let my Google Apps work again. Now about the recovery, I'm a bit skeptical about Re Flashing it, but I think I'll try it next weekend and post the results.
NotSoGreat said:
Thanks for the reply, what you're saying makes sense and would probably work, but I found a simpler work around. I'm actually annoyed I didn't do it earlier.
So simply put, I downloaded my stock recovery which worked and then I just factory reset my device from there, that reset the CM14.1 ROM and let my Google Apps work again. Now about the recovery, I'm a bit skeptical about Re Flashing it, but I think I'll try it next weekend and post the results.
Click to expand...
Click to collapse
Have you tried it since you wiped? It might just work now that the reset wiped internal storage...
acejavelin said:
Have you tried it since you wiped? It might just work now that the reset wiped internal storage...
Click to expand...
Click to collapse
I'll try now.
acejavelin said:
Have you tried it since you wiped? It might just work now that the reset wiped internal storage...
Click to expand...
Click to collapse
Right, so I reinstalled and flashed the latest version TWRP, when I opened into it, it took about 1 minute before it opened up, it ran a quick operation that I just glimpsed, it looked like it was wiping cache and user data, my phone was rebooted and I was right, my phone had been reset for the second time today (I'm almost a pro at reinstalling all my apps). I rebooted into the recovery and Look and Behold, it was working.
Thanks slot for your help and time.

Unsuccessful decryption

Okay, I'm not sure if this entirely the right place. Have updated to Viper 2.1.0. Rebooted my phone, as I do each morning. It came up with needing to to enter a decryption key, ie; my password. Did said & it failed saying that data is corrupt. TWRP can no longer read the data portion either. Therefore can't wipe it in TWRP.
Is there a way to format or wipe the data partition through either fastboot or adb?
Factory reset but your data will be gone.
Random Pinenut Joy said:
Okay, I'm not sure if this entirely the right place. Have updated to Viper 2.1.0. Rebooted my phone, as I do each morning. It came up with needing to to enter a decryption key, ie; my password. Did said & it failed saying that data is corrupt. TWRP can no longer read the data portion either. Therefore can't wipe it in TWRP.
Is there a way to format or wipe the data partition through either fastboot or adb?
Click to expand...
Click to collapse
Try this, Venom helped with it a while ago and it worked, you will just have to re activate smart lock in google setting.
TWRP-Advanced-File Browser.
Navigate to /data/system and delete the locksettings.db.
I got my phone back from HTC after repair my phone screen and they wiped my custom rom and recovery but still have unlocked bootloader and restore oreo 8.0.
I managed to re-install twrp and tried to install a customed rom and experienced the same "decryption unsuccessful". But there is no lockingsettiings.db in the folder.
I will later try this method and report.... been a frustrating day....
=https://forum.xda-developers.com/showpost.php?p=59685278&postcount=3

Need Help to restore backup with TWRP

Can anybody help?
My HTC U11 still run on Nougat.
Yesterday I want to update with the newer version of Nougat (Not Oreo)
I already make a data backup with TWRP, big backup 22Gb.
Then I update the new stock Rom from PC, it had no problem.
Go to download mode, and then install TWRP again with ADB from PC.
Go to TWRP Recovery, it still works.
The last thing I do is to try to restore the 22Gb data back to my phone.
And it always get error on 9% with "extractTarFork() process ended with ERROR: 255"
I already change with difference TWRP from 3.1.1.0 to 3.2.3.0, still the same.
Restore to previous version of Nougat with TWRP (system, system image, boot image, recovery). Try to restore backup data again with no luck.
Try to check MD5 with the backup data, and it said matched, no corrupt.
Already try searching in the web, but with no solution too.
Do anyone ever have the same problem and solved it?
A San said:
Can anybody help?
My HTC U11 still run on Nougat.
Yesterday I want to update with the newer version of Nougat (Not Oreo)
I already make a data backup with TWRP, big backup 22Gb.
Then I update the new stock Rom from PC, it had no problem.
Go to download mode, and then install TWRP again with ADB from PC.
Go to TWRP Recovery, it still works.
The last thing I do is to try to restore the 22Gb data back to my phone.
And it always get error on 9% with "extractTarFork() process ended with ERROR: 255"
I already change with difference TWRP from 3.1.1.0 to 3.2.3.0, still the same.
Restore to previous version of Nougat with TWRP (system, system image, boot image, recovery). Try to restore backup data again with no luck.
Try to check MD5 with the backup data, and it said matched, no corrupt.
Already try searching in the web, but with no solution too.
Do anyone ever have the same problem and solved it?
Click to expand...
Click to collapse
Did u try a format in twrp before installing the backup? Just thought
No, not format anything. Afraid did something would make the phone brick.
A San said:
Can anybody help?
My HTC U11 still run on Nougat.
Yesterday I want to update with the newer version of Nougat (Not Oreo)
I already make a data backup with TWRP, big backup 22Gb.
Then I update the new stock Rom from PC, it had no problem.
Go to download mode, and then install TWRP again with ADB from PC.
Go to TWRP Recovery, it still works.
The last thing I do is to try to restore the 22Gb data back to my phone.
And it always get error on 9% with "extractTarFork() process ended with ERROR: 255"
I already change with difference TWRP from 3.1.1.0 to 3.2.3.0, still the same.
Restore to previous version of Nougat with TWRP (system, system image, boot image, recovery). Try to restore backup data again with no luck.
Try to check MD5 with the backup data, and it said matched, no corrupt.
Already try searching in the web, but with no solution too.
Do anyone ever have the same problem and solved it?
Click to expand...
Click to collapse
Try to restore os without data , restart system, and if it works restore data
fabrizio b92 said:
Try to restore os without data , restart system, and if it works restore data
Click to expand...
Click to collapse
I have 2 backup. One is for system and one is data. I can restore system feom TWRP recovery, but can't restore data
After restore system,reboot to twrp and restore data
I had this problem and it took me two days to resolve it. I had a good backup and I know it was good because I had used it several times and it worked. But then after doing some system installs I got the error 255 when I tried to restore it. I tried several things to fix it and nothing worked and I really did not want to lose my backup. What did work for me was to use TWRP wipe function to FORMAT the phone. Wiping or factory reset did not work. I lost the contents of my internal SD card but I was able to transfer most to my external SD card. You could also connect the phone with a cable to a computer and use the pull command in ADB to backup the contents f the internal SD card. Given the choice between losing the SD card and the data files I come to lose some of the SD card. Anyway, a FORMAT worked when nothing else did. I read that this error is caused by a lack of space. When I checked the log it seemed that the restore was failing with a particular file which misled me to thinking I had to remove the corrupt file, but since after the format I was able to restore without any problem, it would seem that there was no corrupt data. Hope this helps someone.

Categories

Resources