Verification Failed, Unable to restart your device. - Samsung Galaxy S5 Neo Questions & Answers

This dreadful error: "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."
And a "Reset" button.
Nothing seems to have caused this. One minute phone was sitting on my desk happily, the next it rebooted itself (I assume) and this error appeared. Given that I'm not interested in losing my data I haven't pressed the factory reset button... because that's just silly.
- Phone is S5 Neo (W version). Rooted (CF-autoroot) with TWRP installed. Has been this way for months.
- Software updates are turned off
- ADB is disabled but I can access terminal using TWRP.
- Data partition is encrypted
What I've done so far:
- Backed up my Data partition using DD; but as it's encrypted I can't access the data
- Attempted terminal "twrp decrypt mypassword" using the password I used to unlock encryption at boot (result: "Failed to decrypt data")
What do I do now? Is there any way to decrypt this partition on my PC (I have linux and windows available to me) to at least rescue my data?
Thanks in advance...

I just had the same thing happen to me with the exact same model with the exact same settings as well today about a couple hours ago EXCEPT I never rooted the phone like yourself. So it isn't developer mode or anything like that. That can be ruled out. It's such f**king BS!
I heard rumors about nonsense like this years ago and the only way to supposedly fix the problem is to send the phone into samsung where they fiddle with the phone, never fix it, keep it (for whatever reason ??), and send a new phone back out IF we fall into warranty.
With all the corruption in the world and the shady happenings with government and businesses, why in the hell would any logical person send their phone back in to an OEM after it's been used? I'm a good person and come from a good family and all that, but ever since I had my information stolen from me a little over 5 years ago I really don't want to send my phone in and have my life in shambles again. No damn chance!
I'm thinking about calling in but I want all my info! I have important work related documents on here!
Only thing I am going to ask you is what software did you use to back it up (DD?)

Do these exact steps, Do not miss.
1. Reboot to recovery.
2. Do a data wipe (WIPE>FORMAT DATA) And Say "Yes"
3.Go to Reboot and Reboot back to recovery.
4.Download DM Verify Disabler https://build.nethunter.com/android-tools/no-verity-opt-encrypt/, Get the latest.
5.Copy in to the phone and flash it.
6.Go to Reboot and Reboot back to recovery.
7.Now Flash any rom as you wish.
8.Make Sure to Wipe Dalvik, Cache after.
Enjoy!!

Shameera_N said:
Do these exact steps, Do not miss.
1. Reboot to recovery.
2. Do a data wipe (WIPE>FORMAT DATA) And Say "Yes"
3.Go to Reboot and Reboot back to recovery.
4.Download DM Verify Disabler, Get the latest.
5.Copy in to the phone and flash it.
6.Go to Reboot and Reboot back to recovery.
7.Now Flash any rom as you wish.
8.Make Sure to Wipe Dalvik, Cache after.
Enjoy!!
Click to expand...
Click to collapse
Shameera_N you sound pretty smart....but why didn't you read the comments we posted and actually try and answer what we asked? WE DO NOT WANT TO WIPE OUR DATA and there is no way that wiping is part of the solution.

For this do we need a rooted phone?

This happened to me on a completely stock SM-G903F with data encryption enabled. So it has nothing to do with custom recoveries or root. It seems that the encryption method is flawed.
I don't think there is a way to get out of this one, so I wiped it. I don't have all that much stuff on the internal SD of my phone except for apps and messages. Your SD card won't get formatted, so if you save your photos there, they should be safe.
It's a pain, but this means you can't really safely use data encryption unless you regularly take backups (and even then, factory resetting a phone is no fun), even if errors like this only happen once in a blue moon.

This happend to me on my SM-G920P. I just odin flashed stock rom and back to new no data wipe or loss.

Same problem with a samsung galaxy s5 neo. Envrypted partition, Stock firmware, no root and updated.
At least i understood what caused it. I was listening to a youtube video. While the video was playing, i pressed the power button and switched off. When i switched on, i could not start android anymore

Shameera_N said:
Do these exact steps, Do not miss.
1. Reboot to recovery.
2. Do a data wipe (WIPE>FORMAT DATA) And Say "Yes"
3.Go to Reboot and Reboot back to recovery.
4.Download DM Verify Disabler https://build.nethunter.com/android-tools/no-verity-opt-encrypt/, Get the latest.
5.Copy in to the phone and flash it.
6.Go to Reboot and Reboot back to recovery.
7.Now Flash any rom as you wish.
8.Make Sure to Wipe Dalvik, Cache after.
Enjoy!!
Click to expand...
Click to collapse
Thanks for the link, do you know who built this? Need update for 7.0...

githyanki said:
Thanks for the link, do you know who built this? Need update for 7.0...
Click to expand...
Click to collapse
You can use same for 7.x.x Use latest version from the link

I know this isn't exactly related to the issue in this thread, but I'm not having much luck elsewhere.
My completely stock J3 (2017 model, J327A) was hit with verification failed. From what I've seen, I can fix my issue merely by flashing the original OS back into my phone. I have the files and programs I need to do this.
But I can't get the phone into download mode. I can boot it up to the warning screen. It tells me to press VolUp to enter download mode, or VolDn to cancel and restart the phone. However, neither pressing nor holding either of them does anything. I know they aren't broken, as I can boot into recovery mode as well, which requires VolUp. The buttons just don't respond when I'm at the warning screen. Is this something I can work around, or something I have to be patient with, or something I can't fix?
(Data partition is encrypted, though. Not sure if that will affect this.)

Simply long press the Shut Down Button !!!!!!!!
I simply pressed the shut down button and restarted my phone and it worked !!!!!

A light at the end of the factory reset error tunnel!
Well I had an encounter with that dreaded 'factory reset losing all data' message and I'm telling you I was furious! Anyways, after a few seconds of gasping and wondering how the heck am I gonna retrieve all of my data and stuff, the thought came to me to try some 'old school tactics' which involved removing the battery and pressing the power button to drain any residual power remaining on the phone's circuit board and then try powering up after reinserting the battery. Low and behold, the phone booted up with no issues at all. I was able to log in and access my phone as if nothing happened. It's funny how that one message can just change your whole outlook on things. I just hope that folks out there will try this and perhaps it will work for them instead of losing all their data and jumping through all sorts of hoops. Most importantly, BACK THAT THING UP!! You never know what next will come out of the woods at any given time!

Resolved error without loss of data
Hi,
I came across this problem today as soon as I woke up today, but was able to solve it.
I have a Samsung J5 prime phone and did the following steps:
Why this occurs?
The system thinks you wish to root your phone.
How to solve this?
1) when you have the verification failed screen, press "power" button + "Home" button + "Volume Down" button.
you'll be presented with a new screen which gives you 2 options-first, installing a custom OS and second, canceling it.
NOTE: I did not want to root my phone.
2) Hence, I chose the 2nd option and after that, my phone restarted with no loss of data.
Hope this helps!

if u can boot into recovery, go ahead and wipe cache/dalvik cache and reboot
this worked for me without any loss (i used twrp recovery to wipe and my device is SM_C900F /INS variant)

zay2046 said:
This happend to me on my SM-G920P. I just odin flashed stock rom and back to new no data wipe or loss.
Click to expand...
Click to collapse
Sir, can you guide me a bit further ? it just happened with my J7 prime and i don't want to loose data.

Same Problemo
I Jst Had The Same Issue, Bit I Fixed It Straight Away, Jst By Restarting It, Hold Both "Up & Down Volume", "Power Button" and "Home Button", And It Restarted & Worked

This works!
This worked with my daughters J7. THANK YOU!
udit_e said:
Hi,
I came across this problem today as soon as I woke up today, but was able to solve it.
I have a Samsung J5 prime phone and did the following steps:
Why this occurs?
The system thinks you wish to root your phone.
How to solve this?
1) when you have the verification failed screen, press "power" button + "Home" button + "Volume Down" button.
you'll be presented with a new screen which gives you 2 options-first, installing a custom OS and second, canceling it.
NOTE: I did not want to root my phone.
2) Hence, I chose the 2nd option and after that, my phone restarted with no loss of data.
Hope this helps!
Click to expand...
Click to collapse

Shameera_N said:
Do these exact steps, Do not miss.
1. Reboot to recovery.
2. Do a data wipe (WIPE>FORMAT DATA) And Say "Yes"
3.Go to Reboot and Reboot back to recovery.
4.Download DM Verify Disabler https://build.nethunter.com/android-tools/no-verity-opt-encrypt/, Get the latest.
5.Copy in to the phone and flash it.
6.Go to Reboot and Reboot back to recovery.
7.Now Flash any rom as you wish.
8.Make Sure to Wipe Dalvik, Cache after.
Enjoy!!
Click to expand...
Click to collapse
Came here to thank you with all my heart, this worked. I've been using TWRP for years on several phones, and I never knew that Wipe > Format Data did something different than Wipe > Advenced Wipe > Selecting Data > Swiping. I thought it served the same purpose. I don't know if the script did anything, though (because I used it before, but without formating data, and it didn't help at all).
Anyway, thank you so much!

how to remove Verification Failed or root in the TWRP file manager without losing data

Related

[Q] REWARD for Verizon Tab fix..

$20 to anyone that solves my problem.. (will pay through paypal)
I have a Verizon Galaxy tab that I had received for free from Verizon on a concession line.
Model: SCH-I800
Frimware: 2.2
I know my way around Android and rooting, but I had NOT yet rooted the Tab. Everything was going fine up until two nights ago when applications started to force close all the time. So I backed up my stuff and went to Settings -> Privacy -> Factory Reset. The Tab restarted itself and brought me to a black screen with blue text that says "Android System Recovery <3e>" at the top. I scroll down to where it says "wipe data/factory reset" and "wipe cache partition". I select both of these and then restart the tab.
The Tab restarts and looks almost exactly as before. All of my data and programs are on there, except it makes me go through the user setup like I was turning it on for the first time. Almost any program you go into at this point causes a force close.
So I went online and found that I could flash the stock firmware back on with Heimdall. I flashed the stock firmware on and figured all was fixed. When the tab booted it looked the exact same.. Still had all the programs on it from before, but this time made me call Verizon to activate the Tab. Then it forced me through the initial user setup again..
I went and deleted all third party apps of the device and simply turned it off. When I turned it on, it had reverted back and had ALL of the apps installed again!
It is obviously booting up some sort of saved image every time I boot it up.. Anyone that can accurately get me to get this thing back to factory will receive the $20 reward via paypal.
Cheers
Kevin
If you haven't already, try this:
Remove your memory card.
Press and hold the Power button until device powers off.
Press and hold the Volume Up key then press and hold the Power button (simultaneuously).
When the Samsung logo appears, release the Power button only.
When the Android system recovery screen appears, release the Volume key.
Press the Volume down key to select wipe data / factory reset.
Select Home.
Press the Volume Up key to continue.
Ensure reboot system now is selected.
Select Home.
Yes, I have tried that. Tried it again without the SD card and the same thing happens. It restarts at some sort of image that was saved on there from a few days ago. It makes me go through the user setup but it still has all of my old apps.
I personally use Odin not heimdall and not sure if Odin works with vzw tabs but I assume it does. When you reflash make sure you have a full reflash (pit/PDA/CSC/modem) and make sure repartittion is checked. I don't see any way info could be left after this
Sent from my GT-P1000 using Tapatalk
charliebrown1321 said:
I personally use Odin not heimdall and not sure if Odin works with vzw tabs but I assume it does. When you reflash make sure you have a full reflash (pit/PDA/CSC/modem) and make sure repartittion is checked. I don't see any way info could be left after this
Sent from my GT-P1000 using Tapatalk
Click to expand...
Click to collapse
I looked into trying to flash the Verizon Tab with Odin, but couldn't figure it out. The stock firmware files from Verizon are:
zImage
system.rfs
Param.lfs
cache.
I followed these steps in Heimdall..
The zImage goes in both the Kernel AND Recovery slot.
The system.rfs goes in Factoryfs
The Param.lfs goes in Param.lfs
and the cache goes in the cache slot.
What slots do these files go into in Odin?
$30 for fix.
I'm in the same boat, any help would be appreciated..
I've been through the heimdal process with no luck. My tab does not fully wipe/reset. It retains root and 3rd part applications that constantly force close.
If this is a recovery file in the system, can someone help locate it? I've tried everything I can think of.
I've got this same issue. Heard somewhere I need to "fix permissions" on all the apps... uhm, time to go digging through XDA!
You need to flash the kernal to something that supports CWM ... that will allow you to wipe the Davlik Cache .... all my issues with FC have been solved by doing that
I used this kernal - KhasMek.Voodoo.Plus.CDMA.Tab.v5.OC
You can find it on this thread
http://forum.xda-developers.com/showthread.php?t=941781

Phone restarts at startup.

Well this is my 1st post so first of all hey everyone
I just spent a week in Amsterdam and my phone restarted twice, different times different days and I dont remember what I was doing with it back then.
But as I landed back home I put the phone back from "Airplane Mode" and went on to toggle "Cellular Data" on.
The second I pressed the cellular data shortcut on my the phone restarted itself but this time whenever it would finish the screen would be on but fully black and sometimes it'll show battery precentage at the top but then will restart again in an infinite loop.
Sometimes it'll pop up the "Optimizing Apps" window and will go through all 24, upon finishing it will restart once more and do the same.
I tried using the bootloader and it worked (the bootloader that is) but the phone would do the same thing even after Rebooting from there or shutting down from there and then turning back on.
I contacted tech support on chat but they couldnt help past telling me to go to bootloader and reboot, said I should factory wipe when it failed.
Also tried wiping cache but to no avail.
I have no backup of my phone (wanted to do one before the flight but got lazy and I suck for not doing one sooner) since probably October and google doesnt backup my contacts properly for some unknown reason.
I already downloaded Android Studio with everything included for me to try using adb to sideload stock without wiping but its my first time and I couldnt get it to do anything at all...
I already got the official stock .gz file from the motorola website.
Anyway here are the specs to my phone:
XT1575
Everything is stock. didn't root or change recovery once in my life.
Was fully updated and had plenty of drive space (I have almost 128GB with the 64GB version + 64GB SD)
I'm really lost here so help will be very appreciated.
Thanks in advance,
-Noam
Start with a full wipe and if that doesn't work flash the stock image. Not sure what your question is though as you never really say. Once fixed I would unlock and make a backup so you don't have to deal with this again.
lafester said:
Start with a full wipe and if that doesn't work flash the stock image. Not sure what your question is though as you never really say. Once fixed I would unlock and make a backup so you don't have to deal with this again.
Click to expand...
Click to collapse
The thing I pretty much want to know is if theres a way to either backup the phone now with it connected to the computer while in bootloader or recovery. or a way to flash the stock rom without wiping which I read someone did with his tablet. I cant post source normally because I'm a new user so here it is but change spaces to dots: schnouki net/posts/2014/08/13/flashing-a-stock-android-image-without-wiping-user-data/
Also while in recovery I noticed 2 options under wipe: 1. userdata only. 2. userdata+(insert something I dont remember here) and I was wondering what gets deleted in both? if I delete only userdata what data will remain? something helpful?
Sure you can try flashing without wiping data but being locked I personally wouldn't risk it. No idea about backing up in your state... somewhere I remember a thread on backing up without root try searching in q&a.
lafester said:
Sure you can try flashing without wiping data but being locked I personally wouldn't risk it. No idea about backing up in your state... somewhere I remember a thread on backing up without root try searching in q&a.
Click to expand...
Click to collapse
Out of curiosity why shouldnt I try flashing with no wipe if ill lose the data anyway? worst case wont I just have to wipe after it fails and flash again?
And I will try thank you
Do you have any knowledge about the 2 wipe options?
Thanks in advance
Well I tried turning the phone on and it took a couple of minutes before loading to a fresh start. It apparently wiped itself on its own. Managed to restore almost everything.
Anyhow the phone takes too long to boot now. Was even stuck at boot and I had to restart it.
Anyway to fix my software? Or at least check for corruption?
Sent from my XT1575 using XDA-Developers mobile app

Bootloop after updating to nougat via ota

Just posted this on Lenovo forums, if someone here can help me i would appreciate :
Finally received the Nougat update today via OTA, I had enough battery and space internally and SD so i decided to download and install.
After the install finalized the phone is boot looping, it won't stop, i cant even turn off the phone! I already tried removing the SD and SIM card but it keeps boot looping!
What can I do? I waited ages to receive Nougat and my phone is bricked!
Very important note: XT1572 (Style) I never installed any custom ROM, i never rooted my phone, i don't even know how to do it...so that is not the problem.
abdielmaiden said:
Just posted this on Lenovo forums, if someone here can help me i would appreciate :
Finally received the Nougat update today via OTA, I had enough battery and space internally and SD so i decided to download and install.
After the install finalized the phone is boot looping, it won't stop, i cant even turn off the phone! I already tried removing the SD and SIM card but it keeps boot looping!
What can I do? I waited ages to receive Nougat and my phone is bricked!
Very important note: XT1572 (Style) I never installed any custom ROM, i never rooted my phone, i don't even know how to do it...so that is not the problem.
Click to expand...
Click to collapse
Press the power button. Keep it pressed for about 10-12 seconds. Maybe this will help. If this doesn't help press the volume down button and keep it pressed (while phone is bootlooping) it will take you to bootloader menu then press volume down button until you see recovery. When you see recovery press the power button. It will show "no command" then press the power button,keep pressed and press the volume up button twice it will now show you recovery menu. Then navigate using volume button and erase all data. Maybe this will help.
yk1999 said:
Press the power button. Keep it pressed for about 10-12 seconds. Maybe this will help. If this doesn't help press the volume down button and keep it pressed (while phone is bootlooping) it will take you to bootloader menu then press volume down button until you see recovery. When you see recovery press the power button. It will show "no command" then press the power button,keep pressed and press the volume up button twice it will now show you recovery menu. Then navigate using volume button and erase all data. Maybe this will help.
Click to expand...
Click to collapse
I tried wiping the cache, still doesnt work, i dont want to erase all data, i have pictures in internal storage i dont want to loose
I don't know what to do
abdielmaiden said:
I tried wiping the cache, still doesnt work, i dont want to erase all data, i have pictures in internal storage i dont want to loose
I don't know what to do
Click to expand...
Click to collapse
Did you tried pressing power button for 10 seconds?
Is your bootloader unlocked?
yk1999 said:
Did you tried pressing power button for 10 seconds?
Is your bootloader unlocked?
Click to expand...
Click to collapse
Yes I tried pressing power button 10 secs but it just restarts, and yes i can access the bootloader menu, im kinda lost here, If I wipe data will I go back to lollipop?
Goddamn i wish i never updated this crap, I had my 1 year old birthday photos i took yesterday in internal storage...
Should I wipe everything now or wait for an official fix?
abdielmaiden said:
Yes I tried pressing power button 10 secs but it just restarts, and yes i can access the bootloader menu, im kinda lost here, If I wipe data will I go back to lollipop?
Goddamn i wish i never updated this crap, I had my 1 year old birthday photos i took yesterday in internal storage...
Should I wipe everything now or wait for an official fix?
Click to expand...
Click to collapse
What is your bootloader status locked or unlocked?
You can see it in bootloader menu.
yk1999 said:
What is your bootloader status locked or unlocked?
You can see it in bootloader menu.
Click to expand...
Click to collapse
Here's an screenshot of the Bootloader Menu, i cant tell if it's unlocked or not.
Btw, thank you alot for trying to help me bro. :good:
abdielmaiden said:
Here's an screenshot of the Bootloader Menu, i cant tell if it's unlocked or not.
Btw, thank you alot for trying to help me bro. :good:
Click to expand...
Click to collapse
Looks like your bootloader is locked. Sorry but with an locked bootloader i can't think of any ideas.( Don't try to unlock your bootloader unlocking it will erase all your data and void your warranty). You can wait for official fix or take it to a Motorola official repair center. I am not sure that erasing all data will fix your device. And erasing your data won't restore marshmallow (did you write lolipop by mistake? Because you can ota to nougut only from marshmallow i think). It will still be nougut.
Can you tell me how much it boots before restarting. does it shows the boot animation fully?
If it shows boot animation fully than maybe erasing all data can fix it.(I can't say for sure)
I will recommend you to wait for official fix.(If the data on internal storage is very important).
yk1999 said:
Looks like your bootloader is locked. Sorry but with an locked bootloader i can't think of any ideas.( Don't try to unlock your bootloader unlocking it will erase all your data and void your warranty). You can wait for official fix or take it to a Motorola official repair center. I am not sure that erasing all data will fix your device. And erasing your data won't restore marshmallow (did you write lolipop by mistake? Because you can ota to nougut only from marshmallow i think). It will still be nougut.
Can you tell me how much it boots before restarting. does it shows the boot animation fully?
If it shows boot animation fully than maybe erasing all data can fix it.(I can't say for sure)
I will recommend you to wait for official fix.(If the data on internal storage is very important).
Click to expand...
Click to collapse
Sadly, warranty expired and here in Mexico will cost me tons of money to repair, I would rather buy a new phone.
About your question:
1. It shows boot animation fully, I can even see the main screen for at least 1.5 seconds (where it asks me for password)
I'll have to try to erase all data, i need my phone for work purposes i cant wait Lenovo for an official fix, im sure it will take AGES for that...f*ck them.
By the way, here's the official response of Motorola Support in Lenovo forums:
It's correct to try removing the SD and SIM cards to attempt to recover the phone. Since it did not work, the next step is factory reset. Are you still able to access wipe data/factory reset in recovery?
Regards,
JM
Motorola Support
Click to expand...
Click to collapse
Again, thank you mate for trying to help me, i really appreciate :good:
A factory reset may fix it if borked data already on the phone from the previous version or an app is the cause.
I'm gonna have to say a factory reset is going to be the best route as I've had bootloops before with this phone and factory reset has always fixed it.
You "could" try plugging the phone to a computer to see if you can get MTP running and access to the partition and maybe that might stop the loop. During my WM/WP days when flashing my roms and radios, accessing the partition via MTP mode stopped the bootloop.
abdielmaiden said:
Yes I tried pressing power button 10 secs but it just restarts, and yes i can access the bootloader menu, im kinda lost here, If I wipe data will I go back to lollipop?
Goddamn i wish i never updated this crap, I had my 1 year old birthday photos i took yesterday in internal storage...
Should I wipe everything now or wait for an official fix?
Click to expand...
Click to collapse
So far you are the first with bootloop - will not be a fix.
I haven't stock recovery and don't remember - is there option "backup"?
Did you have "google photos app"? You should have all photos on google drive. Check it with pc(www.google..).
Only factory reset you can do for help.
More option has authorized service.
With locked bootloader you can't do anything more.
Thank you all, you were right, I just wiped data and phone is working again, unfortunately lost many important pictures that wasn't saved in the Drive :'(
Anyway, I'm testing nougat, looking good atm
You learned a valuable lesson. Always have more than one backup and always use an SD for the camera. Glad your phone is working again .
abdielmaiden said:
Thank you all, you were right, I just wiped data and phone is working again, unfortunately lost many important pictures that wasn't saved in the Drive :'(
Anyway, I'm testing nougat, looking good atm
Click to expand...
Click to collapse
Please edit your Original Post on the first page and add the solution that worked for you. It will help people who might face this issue in future.
autosurgeon said:
You learned a valuable lesson. Always have more than one backup and always use an SD for the camera. Glad your phone is working again .
Click to expand...
Click to collapse
^^^ THIS!!!
People need to consider phones for what they are... a big chunk of plastic, metal, and GLASS that we fumble with hundreds of times a day. You need to anticipate it will break, brick, bootloop, get lost, stolen, have an update fail, or whatever once in a while, they are not infallible and neither are we. Be prepared, it doesn't take much and it isn't complicated.
Pictures seem to be the most important things to people... INSTALL GOOGLE PHOTOS and set them to backup automatically, it is super easy, and assuming most people charge at home every night, the most photos you would ever lose are 1 days worth. And go to https://photos.google.com once in a while and open the app once in a while and see if they are backing up.
Install an SD card in your phone, even if it's a little 16GB or something, set it up as portable storage (important), and set the camera to save items there instead of internal memory... This in combination with the above measure will be a 99.9% guarantee you won't lose any pictures or videos.
People seem to really like having SMS and MMS copies, then INSTALL SMS BACKUP & RESTORE by Carbonite and setup daily, weekly, or monthly backups of all your text and picture messages to your online service of choice (I recommend Google Drive). Then log into Drive and check it once in a while.
Use Google's Backup Transport, it's built into Android... it will maintain a list of apps you have installed and if the app developer is relatively current with the features of Android, it will backup your settings too, and in the event you need to restore, factory reset, move to another device, or whatever, you can restore all your apps pretty quickly.
Use the Google services and your account, when creating contacts, calendar appointments, notes, etc... Use the Google account option so contacts and appointments are saved permanently to Google and you can access them from anywhere. Use cloud based services like Keep, Drive, etc. so you always have backups of stuff and avoid apps that don't support Google (or other cloud based) storage for important data.
Other apps have some facilities to backup settings, data, and other things related to the app.
Oh, and keep your Google account secure... know the password, have your backup and recovery information up to date so if you lose the password you can reset it via your work email, a SO's phone number, etc. Your Google account is your key to everything if you follow my suggestions.
All of these things can be done a stock device, without root or anything else special... As much as I hate to say it, if you lose data on your device it isn't Moto's fault, Google's fault, or anything/anyone else's issue, but it's your fault. This is no different than the data on your computer, laptop, tablet, or anything else you might own, it takes a little bit of prep and planning to keep from losing anything.
I have thought to myself many times I should write a tutorial on doing these things, and some other common apps and Android tools to backup data and maintain it automatically, but with the way people blame me sometimes for bricking their device with my other tutorials I have decided not to do so.
It always blows my mind how many of my students post on Facebook that they got a new phone and need them.digits. millennials who are sposed to be so tech savvy cannot turn on the features to backup their address book much less anything else.
Maybe as an early genx myself as I grew up with DOS and windows 1.1 beta o better understand the need for a backup....lol

My rooted samsung galaxy s4 is soft bricked, Can I save the data?

Yes this post is correctly dated. I've had this device a LOOOONNNGGG time.
The device has been rooted since shortly after I bought it new years ago. I've had very few problems since... which is why it's never been replaced.
I believe I have the stock ROM, sorry it's been a while.
When I start the device it gets stuck at the splash screen with the sprint logo.
I can get the device to "download mode" but I don't know what to do once there and I'm not sure I can do anything from here.
I can get the device to "android system recovery."
I know I installed TWRP when I rooted and installed the rooted ROM but when I boot to recovery it doesn't go there.
I've wiped the "cache partition" but the problem remained. I'm not sure what else to do from here and still be able to salvage data.
I'm trying to salvage the data on the internal storage. I'm pretty sure I could successfully "wipe data/ factory reset" and get it to "function" again but that's not the priority. I'm going to replace it regardless of success or failure. Data recovery is the priority here. (pictures and videos of my young children as well as less important stuff like contacts.)
I have an old laptop with an old version of ubuntu I can use or a newer one with windows 7 to work with. I mention this in case it makes this easier to help?
Thank you very much if you try to take a stab at this or refer someone that might!
Update:
So I managed to install TWRP via Odin.
I booted to this recovery and my data partition appears to be empty?
When I try to back up I get the error message "unable to mount '/data'"
I tried doing a wipe, not one of the fancy extra options ones just the regular wipe and it failed.
Any guidance will be extremely appreciated.
Edit:
So I've come to the conclusion that the data isn't accessible because of encryption and my pass code. Is there any way to enter it via recovery and access this info?
Is anybody out there?
Edit 2:
I hope this helps someone someday. I haven't solved the problem but I think I'm making progress.
First I had an old version of TWRP. I installed the latest for my device and tried backing up again. I'm not sure but I think it's working. TWRP dosen't seem to need my password for the backup. I imagine I'll just need it to access the data later.
Edit 3:
No sooner did I save the last edit and my backup failed.
Process ended with error : 255

Shuttering and dm-verity verification failed

Guys,
I bought used Note 4, that was "broken" in a way that it shutters. Sometimes I have to wait ~1 sec until it responses.
It was with some stock rom 5.1, glitches ware unbearable. Factory reset didn't help.
So I decided to go with other roms. And I found "dm-verity verification failed" and "Need to check DRK first" errors:
Could this have anything to do with it shuttering??
Then I installed TWRP and went with clean Dalvik / Art Cache, System, Data, Internal Storage, Cache.
Installed [ROM][UNOFFICIAL][9] LineageOS 16.0 [tblte][trlte][trlteduos]
Issue still occurs but it's less often. Sometimes it doesn't occurs at all.
And then I ried Havoc-OS
And again issue still occurs but it's less often. Sometimes it doesn't occurs at all.
I have no issues with reboots or permanent hangs. Just those shuttering/glitches/response hangs.
I tried to check logcat but there's to much information and I don't know what to look for.
Guys do you have any suggestions what to look for ?
So I found this video about emmc issue:
https://www.youtube.com/watch?v=5pJ7s9RBtdQ
And I ran this benchmark twice:
And those results seems to be fine, only random read little bit slow, but overall looks good I think.
I also rebooted device and benchmarked it for the third time, just after booting up and results are very similar.
Any ideas what's causing this issue?
no-verity-opt-encrypt-6.1.zip*
instructions
In TWRP go to advanced wipe and select dalvk/cache and data then wipe(do not reboot). Afterwards, go back to wipe and select formate data(must type yes/do not reboot). Next, power of the device (optional pull the battery), reboot back to recovery, install the*
If it works, then flash this after installing on every new rom you flash. Good luck
no-verity-opt-encrypt-6.1.zip, power off and reboot.
https://forum.xda-developers.com/and...ustom-t3549210
Download
https://build.nethunter.com/android-...y-opt-encrypt/
Mr. JAVI said:
no-verity-opt-encrypt-6.1.zip*
instructions
In TWRP go to advanced wipe and select dalvk/cache and data then wipe(do not reboot). Afterwards, go back to wipe and select formate data(must type yes/do not reboot). Next, power of the device (optional pull the battery), reboot back to recovery, install the*
If it works, then flash this after installing on every new rom you flash. Good luck
no-verity-opt-encrypt-6.1.zip, power off and reboot.
https://forum.xda-developers.com/and...ustom-t3549210
Download
https://build.nethunter.com/android-...y-opt-encrypt/
Click to expand...
Click to collapse
I found both proper links, thanks!
https://forum.xda-developers.com/an...zip-lazyflasher-tool-flashing-custom-t3549210
https://build.nethunter.com/android-tools/no-verity-opt-encrypt/
nothing changed, still "dm-verity verification failed"
still glitches and micro-hangs
is no-verity-opt-encrypt even solution for my problems?
crott said:
nothing changed, still "dm-verity verification failed"
still glitches and micro-hangs
is no-verity-opt-encrypt even solution for my problems?
Click to expand...
Click to collapse
It work on my old Note 4 n910p.
I know of another one if you want the link hit me up with a like.
Here another thread that provides a link and a download .zip.
https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389
PS. You'll need to turn off any ad blockers you may have in order to access the download link from the tread.
---------- Post added at 08:37 PM ---------- Previous post was at 08:20 PM ----------
crott said:
So I found this video about emmc issue:
https://www.youtube.com/watch?v=5pJ7s9RBtdQ
And I ran this benchmark twice:
And those results seems to be fine, only random read little bit slow, but overall looks good I think.
I also rebooted device and benchmarked it for the third time, just after booting up and results are very similar.
Any ideas what's causing this issue?
Click to expand...
Click to collapse
Over the years, I've had quite a few N4's. Lost a couple and bought I a couple just for parts. One of then worked well eight months when suddenly it began to has issues for no apparent reason. Even after a complete wipe and a clean official firmware flahing via Odin the issues continued. It wasn't until my N4 suddenly turned off and rebooted inyo a screen I had never seen before. It said "fail to read internal " and "emmc" or "mmc".
With stock recovery you might find some useful information checking "recovery logs"
DM-Verity stands for Device Maper Verification and DRK stands fot Device Root Key. They are part of the security of your phone's deap level software. The common believe that flashing the official factory firmware is a "fix all" is not completely true. It doesn't fix or replace dm-verity or drk issues . However, there are exceptions with mixed results flashing what they call "4files" or in this case 5 files witch includes the PIT ( Partition Information Table) file. I wouldn't recommend this as its a very risky endeavor. The PIT partitions will likely wipe you imei and without that you will not be able to carrier connect your device or even worse heard bricking your device. Its certain not for the novice. This would be my very, very, very last resort if all else fails and if my phone was in worse condition than what you have described.
Before you continue, I strongly recommend making a complete back up to external sd. By complete, I mean checking all boxes when in TWRP. The EFS is not part of a TWRP standard backup.
PS. Its unfortunate the no-opt-encrypted. zip did not have positive results as it did on my Note 4. Even so, its more like a patch .zip than a complete fix.

Categories

Resources