Find Device Storage Corrupted, Your Device is Unsafe Now


Areusure

Members
Dec 21, 2017
13
13
Find Device Storage Corrupted, Your Device is Unsafe Now

Started seeing this error every time my note 3 is turned on - anyone one else haveing the same or know the fix?

Currently running 10.3.1.0CHCNXM Stable with unlocked bootloader, found these sites which say I need to flash persist partition


When I try to flash it via FastbootI get the following error

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot devices
bf00c219 fastboot

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash persist persist.img
target reported max download size of 536870912 bytes
sending 'persist' (5184 KB)...
OKAY [ 0.156s]
writing 'persist'...
FAILED (remote: Partition is write protected)
finished. total time: 0.156s

Can anyone tell me how to fix this?, any help much appreciated

Thanks
 
Thanks for the response Shady88 I've read that thread and checked my sensors using Aida64 and all my sensors appear to be working fine
You are running xiaomi.eu rom or the official china rom? If you are using the first one flash the official rom with MiFlash and check if the problem persists. If everything is good flash recovery and eu rom again.
 
I've had that problem and the only thing that fixed it was flashing in order china developer, china stable and global stable from fastboot (flashing global stable only didn't fix it for me). I'm not sure but i've read that that problem is related to the persist image, it might be corrupted even if drivers are okay, it containts other drivers other than accelerometer etc etc. You can try backup persist from twrp and try flashing the one in the link, if it doesn't work you can flash back the backup. Other tentative is flashing from fastboot as i told you those roms in those order
Just make a complete backup just to be sure
 
You are running xiaomi.eu rom or the official china rom? If you are using the first one flash the official rom with MiFlash and check if the problem persists. If everything is good flash recovery and eu rom again.
Thanks Werty, will look at it over the weekend
 
I've had that problem and the only thing that fixed it was flashing in order china developer, china stable and global stable from fastboot (flashing global stable only didn't fix it for me). I'm not sure but i've read that that problem is related to the persist image, it might be corrupted even if drivers are okay, it containts other drivers other than accelerometer etc etc. You can try backup persist from twrp and try flashing the one in the link, if it doesn't work you can flash back the backup. Other tentative is flashing from fastboot as i told you those roms in those order
Just make a complete backup just to be sure
Hi Shady88 I flashed persist with your file above and still the same I'm afraid - looks like its going to be a complete wipe and try different roms to get rid of this annoying problem.
 
Yeah, i hated it too! It took me days to fix it!
Try with the chinese and global fastboot rom flash as i told you! Wipe all except persist from twrp before doing it!
 
I'm having the same issue now because i well thought of formatting vendor from twrp to clean flash everything from scratch.
Not fixed until now. Have you tried to get in edl mode? I seem to remember that when i have had that problem i tried to flash rom in edl mode and also to edit the fastboot rom flashing file to only flash persist, i didn't work but once i flashed older china rom it all came back working. Also i don't have any network at all
 
I fixed it. Apparently, since flashing persist from twrp the actual system can't get it to work at all. I tried to flash from fastboot the oldest china rom i have and started it (9.2.1.0) and everything was back working, networks working and that hateful message didn't appeared. You can try to dirty flash the latest rom over the actual one or even the same version and see if it fixes it. If it doesn't, you can try a clean install with older china roms like i said in other topics, from older to latest, and see it it works
 
Hi Shady88

I have at last managed to fix this - I noticed a problem with apps using the compass since I flashed persist partition with your file above. So in an effort to fix this before a complete wipe and flash with various roms - I re-flashed the persist partion with the backup I made of it before flashing it with the file you posted and now the compass is working fine and I no longer see the 'Find Device Storage Corrupted, Your Device is Unsafe Now' every time thephone is turned on.

I dont know if doing this would help any others with the issue but it worked for me.

Thanks again
 
I remember reading that persist stores calibrated settings that are specific to your phone. If you replace it with stuff from another phone else things are gonna work less effectively. For example, stuff like your compass, gps, network signal strength, etc.
 
I had the same error and found 2 ways to solve it:
1st:
I had flashed the MIUI 11 Rom from August 27 2019. I simply replaced it by the latest stable EU Rom and the error disappeared . Next I flashed the Rom from August 27th back.

2nd:
Find device storage corrupted your device is unsafe now
1. You need Unlocked Bootloader and TWRP. You can boot in TWRP instead of flashing it.
2. Download the fastboot ROM for the device. Extract it and copy persist.img file to the internal memory of the phone. Make sure put the file in internal storage rather than in any folder.
3. Put the phone in fastboot Mode, Power Button and Volume Down key.
4. Boot in TWRP by "fastboot boot twrp.img" command.
5. In the TWRP Main Menu. Go to Advanced ------ Terminal
6. Write the below 2 lines:
simg2img /sdcard/persist.img /sdcard/persist_EXT4.img
dd if=/sdcard/persist_EXT4.img of=/dev/block/bootdevice/by-name/persist

7. Reboot the Phone and check.
 
I had the same error and found 2 ways to solve it:
1st:
I had flashed the MIUI 11 Rom from August 27 2019. I simply replaced it by the latest stable EU Rom and the error disappeared . Next I flashed the Rom from August 27th back.

2nd:
Find device storage corrupted your device is unsafe now
1. You need Unlocked Bootloader and TWRP. You can boot in TWRP instead of flashing it.
2. Download the fastboot ROM for the device. Extract it and copy persist.img file to the internal memory of the phone. Make sure put the file in internal storage rather than in any folder.
3. Put the phone in fastboot Mode, Power Button and Volume Down key.
4. Boot in TWRP by "fastboot boot twrp.img" command.
5. In the TWRP Main Menu. Go to Advanced ------ Terminal
6. Write the below 2 lines:
simg2img /sdcard/persist.img /sdcard/persist_EXT4.img
dd if=/sdcard/persist_EXT4.img of=/dev/block/bootdevice/by-name/persist

7. Reboot the Phone and check.

The 2nd method worked perfectly on my Mix2s MIUI 9.6 stable, many thanks !
 
If you play with persist.img you can mess up all your sensor that even CIT wont be able to help, especially with fingerprint. you will loose it
 
I had the same error and found 2 ways to solve it:
1st:
I had flashed the MIUI 11 Rom from August 27 2019. I simply replaced it by the latest stable EU Rom and the error disappeared . Next I flashed the Rom from August 27th back.

2nd:
Find device storage corrupted your device is unsafe now
1. You need Unlocked Bootloader and TWRP. You can boot in TWRP instead of flashing it.
2. Download the fastboot ROM for the device. Extract it and copy persist.img file to the internal memory of the phone. Make sure put the file in internal storage rather than in any folder.
3. Put the phone in fastboot Mode, Power Button and Volume Down key.
4. Boot in TWRP by "fastboot boot twrp.img" command.
5. In the TWRP Main Menu. Go to Advanced ------ Terminal
6. Write the below 2 lines:
simg2img /sdcard/persist.img /sdcard/persist_EXT4.img
dd if=/sdcard/persist_EXT4.img of=/dev/block/bootdevice/by-name/persist

7. Reboot the Phone and check.
THAAAAAANKSSSSS!!!!!! SECOND METHOD WORKING HERE!!!!
 
I had the same error and found 2 ways to solve it:
1st:
I had flashed the MIUI 11 Rom from August 27 2019. I simply replaced it by the latest stable EU Rom and the error disappeared . Next I flashed the Rom from August 27th back.

2nd:
Find device storage corrupted your device is unsafe now
1. You need Unlocked Bootloader and TWRP. You can boot in TWRP instead of flashing it.
2. Download the fastboot ROM for the device. Extract it and copy persist.img file to the internal memory of the phone. Make sure put the file in internal storage rather than in any folder.
3. Put the phone in fastboot Mode, Power Button and Volume Down key.
4. Boot in TWRP by "fastboot boot twrp.img" command.
5. In the TWRP Main Menu. Go to Advanced ------ Terminal
6. Write the below 2 lines:
simg2img /sdcard/persist.img /sdcard/persist_EXT4.img
dd if=/sdcard/persist_EXT4.img of=/dev/block/bootdevice/by-name/persist

7. Reboot the Phone and check.
sorry to bump this, but where do I find the persist.img? I downloaded 12.5.9 xiaomi.eu rom from here (it's the redmi note 10 pro one) but I don't have such .img file inside the folder, I know it should be inside the fastboot.tgz file but xiaomi.eu doesn't seems to have one...should I download global 12.5.9 and take the persist.img file from there?
 
sorry to bump this, but where do I find the persist.img? I downloaded 12.5.9 xiaomi.eu rom from here (it's the redmi note 10 pro one) but I don't have such .img file inside the folder, I know it should be inside the fastboot.tgz file but xiaomi.eu doesn't seems to have one...should I download global 12.5.9 and take the persist.img file from there?
Take it from the corresponding to eu rom China fastboot rom.
 
simg2img /sdcard/persist.img /sdcard/persist_EXT4.img
when i run this command i get "failed to read sparse file", second line runs fine but nothing happens on reboot, do you suggest trying first method and reinstall the whole thing?