Hi,
I have a galaxy note 4 that isn't rooted but has TWRP 2.8.5 installed. I wanted to factory data reset the device, however, I was getting the error that it was unable to mount /data. I read on XDA that I had to format data. I clicked on format data and typed in yes.
I got the message "Formatting Data using make_ext4fs function. You may need to reboot recovery to be able to use /data again. Updating partition details ... done". I see the status as "Data Format Complete Successful".
I rebooted the device, and I know the OS loaded, but I was greeted with the error "Encryption failed, cannot decrypt your device storage. You need to reset your device to factory default settings". And a reset device button. I click on the reset device button, it boots me to recovery and runs a script and again reboots to the previous error.
I tried to factory data reset it now, although it showed as successful, I was directed to the same error.
Can you please advise what should be done?
Thank you
Any update? Thanks
Bumping
You will need to take your device to a Samsung Service Centre and let them take a look at it. However seeing as you have TWRP 2.8.5 there is a chance that they won't help you. What you should have done is decrypt your device then perform a hard factory.
Are you able to go to download mode and reflash OS?
My device is not rooted. Will I be able to reflash a new OS? Please let me know. Thanks!
abhishek_turbo911 said:
My device is not rooted. Will I be able to reflash a new OS? Please let me know. Thanks!
Click to expand...
Click to collapse
No root required and it will not void your warranty and will not trip knox. You can download the the right version of OS from Sammobile site and flash it via odin in download mode. There are several guides available for it.
Related
Hi Guys,
Yesterday i wanted to enable my company email in my Samsung S4 at&t (SGH-I337) mobile. It said, it has to encrypt the mobile to enable email.
I said "Yes", for that. Then after the reboot it said it failed to encrypt the device, and asked me to reset the phone. After i reset the phone it started asking for encryption password... Even if i give the correct password it was not accepting the password. After "Nine" attempts, it said it is going to erase the phone to factor defaults, and rebooted the phone. After the reboot it is still asking for the password, but the moment i enter the password it will reboot.
Finally i decided to write the stock ROM using the odin. Then i downloaded "AP_I337UCUEMK2_1921628_REV06_user_low_ship_MULTI_CERT.tar.md5" from the web. After few attempts i was able to write this ROM on the flash.... but when i try to boot this it says "Device memory damaged" + "The data partition has been corrupted. You need to reset your device to factory defaults....".. I tried to format the data partition from recovery multiple times, but it is of no help.
Anybody has any idea on why the device thinks the data partition is corrupted?
I know nothing about how to solve encryption issues. I'm not sure why you have the data partition issue, but I have a guess. You didn't say what version of the OS you were on before you tried to flash the MK2 stock firmware, but if you were on a later version and later bootloader, then you may have a bootloader incompatibility. If your phone was already on 4.4.2 or 4.4.4 or 5.0.1, then you couldn't go back to MK2. I think you should flash stock NB1 and see if that solves the problem. You can get everything you need here.
Hi,
I have G935F, installed TWRP 3.0.0.0 and rooted, WITHOUT wiping. System boots correctly, but I cannot do factory reset or wipe with TWRP, because I got some messages like "Cannot mount Data" and "Failed crypto loader". I understand that it has to do with encryption. Can someone please enlight me, and give me tips about the issue?
Thank you
Polemos82 said:
Hi,
I have G935F, installed TWRP 3.0.0.0 and rooted, WITHOUT wiping. System boots correctly, but I cannot do factory reset or wipe with TWRP, because I got some messages like "Cannot mount Data" and "Failed crypto loader". I understand that it has to do with encryption. Can someone please enlight me, and give me tips about the issue?
Thank you
Click to expand...
Click to collapse
You have to download dm-verity and force encryption disabler from here , put it to SD card, reboot into TWRP, FORMAT DATA (not wipe) and flash that file (dm-verity and force encryption disabler). All your data will be erased.
No way to unencrypt without loosing you data for the moment(
"All your data will be erased" means that after boot I'll find a clean system installation (as factory reset)?
I hope not to be posing stupid questions, I'm completely new to this world
Thank you very much
Yes just as a factory reset
Sent from my SM-G935W8 using Tapatalk
Ok, thank you all!!! ???
s it very important to wipe data?
Can I first flash the twrp ,second back up the rom by TWRP recovery
and then after factory reset ,I restore thw rom by twrp??
IS IT possible?
AGU PENG said:
Can I first flash the twrp ,second back up the rom by TWRP recovery
and then after factory reset ,I restore thw rom by twrp??
IS IT possible?
Click to expand...
Click to collapse
No, you cannot perform a backup, because your data is encrypted by default and the only way to disable it is to format your data.
I have a unique problem. I have a HTC Desire 612 from Verizon and I decided to revive it to playe PoGo. But it was stuck in a boot loop and I couldn't get any custom ROM.
Finally a gentle soul here gave me the stock rom and I flashed it vide TWRP and played PoGo for weeks. Then yesterday the phone bro led and when it came up it was stuck in a boot loop.
So I decided to flash the stock ROM again. But before that I tried to factory reset. I could go to TWRP, select wipe data, enter yes and the wiping was successful, then clear dalvic and cache and system beforehand finally I flashed the stock ROM.
Surprise surprise is NOTHING happens. The phone boots without the apps telling me they are installing. Then I get back the exact same data in my phone including my selected wallpaper and apps. Before I can do anything the phone restarts.
Point is wiping and restoring the stock ROM does NOTHING to the phone yet the processes are successful. Can somebody help?
vooks said:
I have a unique problem. I have a HTC Desire 612 from Verizon and I decided to revive it to playe PoGo. But it was stuck in a boot loop and I couldn't get any custom ROM.
Finally a gentle soul here gave me the stock rom and I flashed it vide TWRP and played PoGo for weeks. Then yesterday the phone bro led and when it came up it was stuck in a boot loop.
So I decided to flash the stock ROM again. But before that I tried to factory reset. I could go to TWRP, select wipe data, enter yes and the wiping was successful, then clear dalvic and cache and system beforehand finally I flashed the stock ROM.
Surprise surprise is NOTHING happens. The phone boots without the apps telling me they are installing. Then I get back the exact same data in my phone including my selected wallpaper and apps. Before I can do anything the phone restarts.
Point is wiping and restoring the stock ROM does NOTHING to the phone yet the processes are successful. Can somebody help?
Click to expand...
Click to collapse
HTC?? Wrong thread.
B3311 said:
HTC?? Wrong thread.
Click to expand...
Click to collapse
It really is about TWRP failing to wipe
Hi every one
i recently bought a p9 lite.
I unlocked it and rooted it. I have not set any security measure
After that I did a reset from android and rebooted in some kind of windows
Asking me for a password
When I enter my password I used in my google account, it accept it but cannot continue and reboot. And so it does in an infinity loop.
Then I booted to TRWP recovery
When I try to format or wipe /data it gives me error.
I looked a lot and what I understand is that the data partition is somehow encrypted and TRWP cannot handle that
I did solved this by the following steps:
I installed a stock recovery and booted the phone
When asked for password I gave it and started to do a factory reset. The reset stopped at 10% and a message that reset failed.
However, when the phone rebooted, it miraculously completed the boot and he is live again
*****
What I do not understand is: why and where is the problem
And If it will give me another headache again
You had some strange encryption/security problem, if it happens again you should be able to reset your phone booting to TWRP, click on wipe, select Format Data (Not wipe!), type yes and the data partition will be formatted.
Potato997 said:
You had some strange encryption/security problem, if it happens again you should be able to reset your phone booting to TWRP, click on wipe, select Format Data (Not wipe!), type yes and the data partition will be formatted.
Click to expand...
Click to collapse
thx
I did that and it did not work
and i tried to change the file system and did not work
it show that the size is 0 mb
targat said:
thx
I did that and it did not work
and i tried to change the file system and did not work
it show that the size is 0 mb
Click to expand...
Click to collapse
In the first post you said you did a factory reset and not a Format Data. Anyway if you can flash stock recovery and it boots, it should always able to do a factory reset and allow you to boot up the phone
Potato997 said:
In the first post you said you did a factory reset and not a Format Data. Anyway if you can flash stock recovery and it boots, it should always able to do a factory reset and allow you to boot up the phone
Click to expand...
Click to collapse
yes i said i did a factory reset in the first and this what started the problem
Every time I try to root my phone weather through cf auto root or the method here I get the screen "Verification failed. Unable to restart your device. The integrity verification has failed. You need to reset your device to factory default settings. This will erase all your data." Even after I press reset it still comes back to that screen. Resetting through TWRP always fails as it says can't mount /data. The only way I can fix this is by doing an emergency firmware recovery through smart switch pc. I had my phone previously rooted with cf auto root then I flashed back to stock. Now I'm trying to root again and it just doesn't seem to work. I'm using all the right files for my device and following the steps correctly.
I'd appreciate any advice.
Florad77 said:
Every time I try to root my phone weather through cf auto root or the method here I get the screen "Verification failed. Unable to restart your device. The integrity verification has failed. You need to reset your device to factory default settings. This will erase all your data." Even after I press reset it still comes back to that screen. Resetting through TWRP always fails as it says can't mount /data. The only way I can fix this is by doing an emergency firmware recovery through smart switch pc. I had my phone previously rooted with cf auto root then I flashed back to stock. Now I'm trying to root again and it just doesn't seem to work. I'm using all the right files for my device and following the steps correctly.
I'd appreciate any advice.
Click to expand...
Click to collapse
start phone go to settings/dev settings an enable oem unlock
ever find a fix??? im having the same issue !
Koleboy9 said:
ever find a fix??? im having the same issue !
Click to expand...
Click to collapse
Yeah, in twrp remember to format data. Not the regular wipe data but the option that says format, you will need to type yes when you select it.
Florad77 said:
Yeah, in twrp remember to format data. Not the regular wipe data but the option that says format, you will need to type yes when you select it.
Click to expand...
Click to collapse
I could kiss you right now, thanks!
just wipe cache partition to get to normal system again
Florad77 said:
Every time I try to root my phone weather through cf auto root or the method here I get the screen "Verification failed. Unable to restart your device. The integrity verification has failed. You need to reset your device to factory default settings. This will erase all your data." Even after I press reset it still comes back to that screen. Resetting through TWRP always fails as it says can't mount /data. The only way I can fix this is by doing an emergency firmware recovery through smart switch pc. I had my phone previously rooted with cf auto root then I flashed back to stock. Now I'm trying to root again and it just doesn't seem to work. I'm using all the right files for my device and following the steps correctly.
I'd appreciate any advice.
Click to expand...
Click to collapse
if you experience like this(verification failed) and you dont want to lose your date. just hold and press power+up+home, this will jump to recovery mode, and if you see installing update and got error, just press again power+up+home till you reach the recovery option. after that just wipe cache partition. the verification failed will disappear and youll have the normal system again. i experienced the same issue but i manage to fixed it after doing the rooting twice. i didnt reset my device. you dont need the emergency firmware repair. just wipe the cache partition.
Florad77 said:
Yeah, in twrp remember to format data. Not the regular wipe data but the option that says format, you will need to type yes when you select it.
Click to expand...
Click to collapse
I won't kiss you but I will say THANK YOU, THANK YOU, THANK YOU. I was starting to give up on flasing my S7 with TWRP and another ROM.
ah thanks man
could kiss everyone in this thread thanks for all the help u saved my ass
Some things you can try...
Florad77 said:
Every time I try to root my phone weather through cf auto root or the method here I get the screen "Verification failed. Unable to restart your device. The integrity verification has failed. You need to reset your device to factory default settings. This will erase all your data." Even after I press reset it still comes back to that screen. Resetting through TWRP always fails as it says can't mount /data. The only way I can fix this is by doing an emergency firmware recovery through smart switch pc. I had my phone previously rooted with cf auto root then I flashed back to stock. Now I'm trying to root again and it just doesn't seem to work. I'm using all the right files for my device and following the steps correctly.
Click to expand...
Click to collapse
Are you sure you're following the steps correctly? Try some of these tips:
After flashing TWRP, instead of switching volume buttons on the fly (requires dexterity and timing! ), hold the VOLUME DOWN and POWER buttons until the phone turns off. You can then proceed to recovery by holding VOLUME UP + HOME + POWER.
Are you using the latest TWRP for your S7 Edge? Some older versions of TWRP have problems mounting folders and flashing ZIPs.
Did you update to the latest firmware before attempting root? Later Android versions become very finicky about device security, essentially locking you out of your phone.
Note that once your device detects that it has been tampered with, you won't be able to update. Download your stock firmware from some place like SamMobile and flash all the required tar.md5 archives through Odin (keep in mind: HOME_CSC keeps your personal data, while CSC erases it). If that doesn't fix it, backup whatever you can through TWRP and factory reset.
Did you enable OEM Unlock? Once you can access your settings again, if it is on, you may want to tap it off, then back on again. Sometimes it gets buggy.
You did remember to flash something that disables dm-verity, right? You may want to try flashing the dm-verity and force encryption disabler ZIP first before truly rooting.
i am having the exact same issue but i tried wiping cache that didnt work so i dont know what to do
Please Help
suljo94 said:
start phone go to settings/dev settings an enable oem unlock
Click to expand...
Click to collapse
how to remove Verification Failed or root in the TWRP file manager without losing data
what do i do?
i am having the same problem on my S8+, it says verification fail, and i click on reset and as phone loads it goes back to the same screen that says Verification fail!
Florad77 said:
Yeah, in twrp remember to format data. Not the regular wipe data but the option that says format, you will need to type yes when you select it.
Click to expand...
Click to collapse
I don't mean to necropost, but this is an important detail for anyone out there having trouble with these "verify failed" messages. I knew I was missing something b/c there is an advanced option with formatting options that is not the same as the format button on the main wipe page. This did the trick for me trying to get my SM-G9600 (Chinese Samsung Galaxy S9) up and running with TWRP + Stock Oreo 8.1.
Big ups, @Florad77!
When to format data in rooting process?
Florad77 said:
Yeah, in twrp remember to format data. Not the regular wipe data but the option that says format, you will need to type yes when you select it.
Click to expand...
Click to collapse
When do you format data? Before installing supersu or after?
tarocco said:
I don't mean to necropost, but this is an important detail for anyone out there having trouble with these "verify failed" messages. I knew I was missing something b/c there is an advanced option with formatting options that is not the same as the format button on the main wipe page. This did the trick for me trying to get my SM-G9600 (Chinese Samsung Galaxy S9) up and running with TWRP + Stock Oreo 8.1.
Big ups, @Florad77!
Click to expand...
Click to collapse
the "advanced" tab in Odin is primarily used for the PIT file in the firmware zip package. It is not advised to flash the PIT unless necessary. Often times, the "verify failed" message means that your bootloader is still locked or youre flashing the wrong file. Just fwiw.
Florad77 said:
Yeah, in twrp remember to format data. Not the regular wipe data but the option that says format, you will need to type yes when you select it.
Click to expand...
Click to collapse
Yeah, and now my Galaxy Tab Active 2 (Android 9.0) , can't boot. Only the Welcome logo appears, and resetting it indefinitely.
I have a SM-G935FD which I rooted using Wondershare Tunes Go. It rooted successfully and I installed TWRP via Odin. But afterwards i noticed than when ever I tried to wipe the cache it failed giving a write error.
I decided to reinstall the original firmware and downloaded it from Sammobile and flashed via Odin. Now i can't boot the phone as it gives an error saying data partition is corrupted and I need to reset the phone to factory settings and there is a reset button at the bottom of the screen. when i press that it reboots, goes to TWRP but gives a write error and again comes to the same Data partition error screen.
I can reboot to download mode.
I am a noob so please help me restore the phone if possible.
RoshanD said:
I have a SM-G935FD which I rooted using Wondershare Tunes Go. It rooted successfully and I installed TWRP via Odin. But afterwards i noticed than when ever I tried to wipe the cache it failed giving a write error.
I decided to reinstall the original firmware and downloaded it from Sammobile and flashed via Odin. Now i can't boot the phone as it gives an error saying data partition is corrupted and I need to reset the phone to factory settings and there is a reset button at the bottom of the screen. when i press that it reboots, goes to TWRP but gives a write error and again comes to the same Data partition error screen.
I can reboot to download mode.
I am a noob so please help me restore the phone if possible.
Click to expand...
Click to collapse
Flash latest twrp and you problem will b fixed
Ordinary person with extraordinary wishes.
Thanks,
Managed to fix it.