'Format Data' in TWRP not working - Xiaomi Redmi Note 3 Questions & Answers

I officially unlocked the Bootloader. Using 3GB variant. On latest MIUI stable Rom. Installed TWRP latest version.
System read only option is unchecked.
Whenever I tried to perform Format Data -> Yes, i got error, "you need to reboot recovery to use /data again".. I tried to reboot to recovery and perform the same but again same error. I tried with other recoveries to, But all failed. I tried so many times, only failure..
Please someone give me solution to perform Format Data without any error/warning.

This is a warning, not an error

n0b0dy666 said:
This is a warning, not an error
Click to expand...
Click to collapse
It's not big deal.. Error or warning. Do you have solution for that or not?

Prasanth20 said:
It's not big deal.. Error or warning. Do you have solution for that or not?
Click to expand...
Click to collapse
Go to twrp.
Go to mount
uncheck box data partition
And try format.

Prasanth20 said:
It's not big deal.. Error or warning. Do you have solution for that or not?
Click to expand...
Click to collapse
I'm saying there's nothing to be fixed. After you get this message, reboot recovery and proceed with flashing ROM or whatever your goal is.

Related

Error during updating partition details

I have the latest TWRP v2.8.7.0.
When I manage to boot into the ROM I've flashed, I will get the pop up as below and all the gapps will be forced close.
There' an internal problem with your device. Contact your manufacturer for details.
Click to expand...
Click to collapse
I suspect it's due to the below error that occurs every time I try to wipe / flash ROM.
Formatting System using make_ext4fs function.
Wiping data without wiping /data/media...
Done.
Formatting Cache using make_ext4fs function.
Updating partition details...
E: Unable to stat '/data/data/com.google.android.gms/shared_prefs/drive.shared_prefs.xml'
...done
Click to expand...
Click to collapse
Any pointer or idea how can I fix this? :crying:
Not sure if related but my HBOOT is 3.42.0.0114
omegachien said:
I have the latest TWRP v2.8.7.0.
When I manage to boot into the ROM I've flashed, I will get the pop up as below and all the gapps will be forced close.
I suspect it's due to the below error that occurs every time I try to wipe / flash ROM.
Any pointer or idea how can I fix this? :crying:
Not sure if related but my HBOOT is 3.42.0.0114
Click to expand...
Click to collapse
I get that when I don't flash the vendor.img when updating android versions. I'm not sure why you get that when flashing a custom rom but I would try flashing the vendor.img with fastboot.
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
I get that when I don't flash the vendor.img when updating android versions. I'm not sure why you get that when flashing a custom rom but I would try flashing the vendor.img with fastboot.
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks, I think somehow somewhere I messed up something, I tried flashing the stock image from Google and from there I root, flash recovery and custom rom all the way without any problem.

First boot ask password

Hello guys, i have a problem, i tried to install RR 5.7.4 via TWRP ZCX, but the first boot asks me for a password
PS: I tried flashing RR while i was in MIUI 8 global stable
Factory reset in TWRP.
using TWRP filemanager go to /data/system
Delete all .key files and also delete locksettings.db file.
Reboot enjoy
Guys, my TWRP ZCX crashed, it is stuck on its logo
theoneofgod said:
Factory reset in TWRP.
Click to expand...
Click to collapse
HI, I am also facing same issue. For every boot I am being asked to draw the pattern. Factory reset in TWRP will not effect my current rom and data stuff ????
[email protected] said:
HI, I am also facing same issue. For every boot I am being asked to draw the pattern. Factory reset in TWRP will not effect my current rom and data stuff ????
Click to expand...
Click to collapse
Yes it will.
Do what's said here https://forum.xda-developers.com/showpost.php?p=70354200&postcount=3
theoneofgod said:
Yes it will.
Do what's said here https://forum.xda-developers.com/showpost.php?p=70354200&postcount=3
Click to expand...
Click to collapse
Thanks for the info
Can you explain what is this feature? because I didn't get this when i am in miui 8. But as soon as I flashed ZCX TWRP and installed RR I started getting this. Thanks in Advance
[email protected] said:
Thanks for the info
Can you explain what is this feature? because I didn't get this when i am in miui 8. But as soon as I flashed ZCX TWRP and installed RR I started getting this. Thanks in Advance
Click to expand...
Click to collapse
What he suggested will delete the lockscreen password/passcode etc so you can boot the phone without any prompts. You do this within TWRP.
theoneofgod said:
What he suggested will delete the lockscreen password/passcode etc so you can boot the phone without any prompts. You do this within TWRP.
Click to expand...
Click to collapse
Many thanks guys..You are quite supportive :angel:
[email protected] said:
Thanks for the info
Can you explain what is this feature? because I didn't get this when i am in miui 8. But as soon as I flashed ZCX TWRP and installed RR I started getting this. Thanks in Advance
Click to expand...
Click to collapse
this is because force encryption of internal storage. do a factory reset in twrp after flashing lazy flasher. and if its stuck on twrp boot logo thn u have to flash latest fastboot dev rom through miflash. thn unlock bootloader thn flash twrp thn flash lazy flasher thn factry reset. .
hope it helps
smustafasms said:
this is because force encryption of internal storage. do a factory reset in twrp after flashing lazy flasher. and if its stuck on twrp boot logo thn u have to flash latest fastboot dev rom through miflash. thn unlock bootloader thn flash twrp thn flash lazy flasher thn factry reset. .
hope it helps
Click to expand...
Click to collapse
oh in that case, should I have to factory reset everytime I flash a rom through my TWRP? I use ZCX TWRP, so Lazy flasher is not required after rom flashing right?
you just need it once . to decrypt your storage
[email protected] said:
oh in that case, should I have to factory reset everytime I flash a rom through my TWRP? I use ZCX TWRP, so Lazy flasher is not required after rom flashing right?
Click to expand...
Click to collapse
In the information about the ZCX TWRP I found below:
ZCX TWRP : http://forum.xda-developers.com/redm...persu-t3462448
- Based on official TWRP 3.0.2-0
- Patches boot.img automatically (Removes dm-verity flag)
- Disables forced encryption
Should I have to tweak anything in TWRP settings to remove this dm-verify flag everytime?
[email protected] said:
In the information about the ZCX TWRP I found below:
ZCX TWRP : http://forum.xda-developers.com/redm...persu-t3462448
- Based on official TWRP 3.0.2-0
- Patches boot.img automatically (Removes dm-verity flag)
- Disables forced encryption
Should I have to tweak anything in TWRP settings to remove this dm-verify flag everytime?
Click to expand...
Click to collapse
no ,but you should flash lazy flasher once . to decrypt ur internal storage. dm-verity flag does nothing to decrypt storage
smustafasms said:
no ,but you should flash lazy flasher once . to decrypt ur internal storage. dm-verity flag does nothing to decrypt storage
Click to expand...
Click to collapse
Thank you very much :angel:
gulshanstrider said:
using TWRP filemanager go to /data/system
Delete all .key files and also delete locksettings.db file.
Reboot enjoy
Click to expand...
Click to collapse
I tried it. Earlier i did not have any issue even if i install custom rom on my Redmi note 3. But today i thought of trying Pure Nexus *Substratum* rom. And on the first boot it asked me to enter password. though i have never kept password for my mobile, i tried all the passwords that i remember, which didnt solve my issue. then saw ur reply and tried it, and still it didnt work for me. Any other way?:crying:
AnilLonely said:
I tried it. Earlier i did not have any issue even if i install custom rom on my Redmi note 3. But today i thought of trying Pure Nexus *Substratum* rom. And on the first boot it asked me to enter password. though i have never kept password for my mobile, i tried all the passwords that i remember, which didnt solve my issue. then saw ur reply and tried it, and still it didnt work for me. Any other way?:crying:
Click to expand...
Click to collapse
Are you coming from MIUI? If so then MIUI encrypts the data partition, hence the new ROM asking for a password.
Before you install the ROM, you must "format data" on wipe in TWRP, this is different from wipe data.
Note that this will delete all your data obviously.
kimxk said:
Are you coming from MIUI? If so then MIUI encrypts the data partition, hence the new ROM asking for a password.
Before you install the ROM, you must "format data" on wipe in TWRP, this is different from wipe data.
Note that this will delete all your data obviously.
Click to expand...
Click to collapse
Yes i am coming from MIUI. I had done that But no use. Tried what ever that has been discussed in the following thread as well, but that also did not work for me.
http://en.miui.com/thread-324522-1-1.html
Posted a thread on MIUI forum as well. Waiting for some sort of help. Earlier i was able to install Custom Rom's without any issue, (though i am coming from MIUI), but now what ever may be the rom that i am trying to flash, the first boot is asking me for password. Unable to understand what is the issue.
AnilLonely said:
Yes i am coming from MIUI. I had done that But no use. Tried what ever that has been discussed in the following thread as well, but that also did not work for me.
http://en.miui.com/thread-324522-1-1.html
Posted a thread on MIUI forum as well. Waiting for some sort of help. Earlier i was able to install Custom Rom's without any issue, (though i am coming from MIUI), but now what ever may be the rom that i am trying to flash, the first boot is asking me for password. Unable to understand what is the issue.
Click to expand...
Click to collapse
Are you sure that you used "format data"?
Wipe data doesn't remove the encryption.
See this page for an image:
http://xiaomitips.com/media/2016/07/Format-Data-TWRP.png
kimxk said:
Are you sure that you used "format data"?
Wipe data doesn't remove the encryption.
See this page for an image:
http://xiaomitips.com/media/2016/07/Format-Data-TWRP.png
Click to expand...
Click to collapse
Perfect. Worked bro. Thanks a lot for the help. I was wiping cache,and internal storage. Now only came to know this. :highfive:

TWRP official "failed to mount data"

This is started when I try to flash the latest build of NOS Oreo. I flashed the ROM (with gapps of course) flawlessly, but when the reboot finished, it tells me to enter pin for start the Android. So, I go back to TWRP and then I try to format data, but it says "can't mount data", "can't create data directory", or something like that. Then, I try to reboot system and it seems that my phone gone bootloop.
Click to expand...
Click to collapse
Does anyone in here has a solution for this? :crying::crying:
Anyway, I'm using TWRP official 3.1.1.0
greenawatterson said:
Does anyone in here has a solution for this? :crying::crying:
Anyway, I'm using TWRP official 3.1.1.0
Click to expand...
Click to collapse
And how about logs?
To solve this u have to wipe ur internal storage..... Then only u will be able to flash the rom..... And the data wipl be mounted

Stuck with recovery and no ROM (OS) - MiPad 1

Hi,
I was installing the lIneage OS 14.1 Mocha and I came across a strange problem. The TWRP and TWRP img installed well, but when I wiped Cache and system and tried to install the Lineage os 14.1 rom, it failed and I was left with a MiPad without an OS. I guess it failed because I did not partition the system before I installed the Rom.
The tablet is turned off and I am not sure hot to get to the recovery of what to do to install a ROM. Could someone please help me with what to do next
Hold Vol up + power button till you see the Mi screen to get to recovery. Go to http://en.miui.com/download-229.html and download Xiaomi's official stock ROM.
cooldude5500 said:
Hold Vol up + power button till you see the Mi screen to get to recovery. Go to http://en.miui.com/download-229.html and download Xiaomi's official stock ROM.
Click to expand...
Click to collapse
I followed this thread http://en.miui.com/thread-118294-1-1.html to merge system partitions but now i am stuck in mi logo. twrp says no OS and i can not wipe system partition or restore from backup as it says 'E:device block not found, unable to mount /system' . Can i flash xiaomi's stock rom to solve this problem?
oreki9 said:
I followed this thread http://en.miui.com/thread-118294-1-1.html to merge system partitions but now i am stuck in mi logo. twrp says no OS and i can not wipe system partition or restore from backup as it says 'E:device block not found, unable to mount /system' . Can i flash xiaomi's stock rom to solve this problem?
Click to expand...
Click to collapse
I tried to flash stock rom but it failed.
oreki9 said:
I tried to flash stock rom but it failed.
Click to expand...
Click to collapse
Sorry, I've no clue what the issue is. I noticed that the ROM seems to be on the external SD, maybe try putting it on the internal might fix it? Or maybe or can try to flash mocha_repartition_stock, wipe, and then flash the stock ROM?
cooldude5500 said:
Sorry, I've no clue what the issue is. I noticed that the ROM seems to be on the external SD, maybe try putting it on the internal might fix it? Or maybe or can try to flash mocha_repartition_stock, wipe, and then flash the stock ROM?
Click to expand...
Click to collapse
the problem is i am unable to flash any file as it gives 'unable to mount /system' error. The system partition shows 0 size. Should i first repair it?
oreki9 said:
the problem is i am unable to flash any file as it gives 'unable to mount /system' error. The system partition shows 0 size. Should i first repair it?
Click to expand...
Click to collapse
Maybe you can try flashing/re-flashing the partition scripts? Or try flashing http://en.miui.com/thread-328108-1-1.html instead, it's a slightly more up to date version of the ROM.
Why do you "restore" when trying to flash?
Palm Trees said:
Why do you "restore" when trying to flash?
Click to expand...
Click to collapse
i was using my nandroid backup to restore my system but it also failed.
oreki9 said:
i was using my nandroid backup to restore my system but it also failed.
Click to expand...
Click to collapse
Have you tried wiping everything?
Which rom are you trying to flash? (by whom, I mean)
Did you confirm re-partitioning was successful?
Palm Trees said:
Have you tried wiping everything?
Which rom are you trying to flash? (by whom, I mean)
Did you confirm re-partitioning was successful?
Click to expand...
Click to collapse
1. I did wipe cache,dalvik,system and data.
2. I tried to flash the stock rom found on the xiaomi website.
3. How can i confirm if repartitoning was succesfull if i cant boot into system? In twrp system partiton is showing 0 size.
---------- Post added at 06:45 PM ---------- Previous post was at 06:39 PM ----------
Can i flash cwm while in twrp ?
oreki9 said:
1. I did wipe cache,dalvik,system and data.
2. I tried to flash the stock rom found on the xiaomi website.
3. How can i confirm if repartitoning was succesfull if i cant boot into system? In twrp system partiton is showing 0 size.
Click to expand...
Click to collapse
Did you follow my guide? https://forum.xda-developers.com/mi-pad/how-to/guide-flash-twrp-merge-partitions-mi-t3611814
Palm Trees said:
Did you follow my guide? https://forum.xda-developers.com/mi-pad/how-to/guide-flash-twrp-merge-partitions-mi-t3611814
Click to expand...
Click to collapse
Didn't see your guide earlier. Now will try to flash your zip file and then a stock rom. Will it work? Also my system partiton is showing 0 size so unable to flash anything. so how can i flash the stock rom?Should i neglect the error and just reboot and hope it works?
oreki9 said:
Didn't see your guide earlier. Now will try to flash your zip file and then a stock rom. Will it work? Also my system partiton is showing 0 size so unable to flash anything. so how can i flash the stock rom?Should i neglect the error and just reboot and hope it works?
Click to expand...
Click to collapse
Give it a try and see what happens.
Palm Trees said:
Give it a try and see what happens.
Click to expand...
Click to collapse
Thanks it worked. The file i downloaded from the miui forum seems to be the problem. I flashed your zip and it succeeded and then i flashed the stock rom and everything worked. Really thanks. Plus the partitions are now merged Thanks again.
oreki9 said:
Thanks it worked. The file i downloaded from the miui forum seems to be the problem. I flashed your zip and it succeeded and then i flashed the stock rom and everything worked. Really thanks. Plus the partitions are now merged Thanks again.
Click to expand...
Click to collapse
No problem Glad it worked.
Hi,
I'm struck on MI logo. I'm on TWRP 3.1.1-0. I've installed miui_MIPADGlobal_V7.3.1.0.KXFMIDD_0d8dcf2bc3_4.4.zip, AOSPExt ROM, AICP, RR ROM but every time it struck on MI logo. All the ROMs are flashed smoothly without any error. I waited for some 30 min but nothing happened. I tried flashing via MIflashtool using flashboot rom but in MIFlash tool it showed 'error: Mismatching image and device'.
Please guide me.
Avee007 said:
Hi,
I'm struck on MI logo. I'm on TWRP 3.1.1-0. I've installed miui_MIPADGlobal_V7.3.1.0.KXFMIDD_0d8dcf2bc3_4.4.zip, AOSPExt ROM, AICP, RR ROM but every time it struck on MI logo. All the ROMs are flashed smoothly without any error. I waited for some 30 min but nothing happened. I tried flashing via MIflashtool using flashboot rom but in MIFlash tool it showed 'error: Mismatching image and device'.
Please guide me.
Click to expand...
Click to collapse
Did you flash stock miui_MIPADGlobal_V7.3.1.0.KXFMIDD_0d8dcf2bc3_4.4.zip using TWRP 2.8.4?
11. Your Mi Pad now boots into TWRP 2.8.4
12. In TWRP select ‘Wipe’ and choose ‘Cache, Data, System and Dalvik Cache’
13. After wiping, press ‘Install’ and flash the ‘Repartition_MI_Pad_1_2GB_zardMi3.zip’
14. Your Mi Pad boots back into TWRP as no OS is installed
15. Install miui_MIPADGlobal_V7.3.1.0.KXFMIDD_0d8dcf2bc3_4.4.z ip (there will be an error, just ignore it and let it finish). Reboot. Wait 5-10 minutes. The MIUI welcome screen will appear, complete the setup.
16. Install DiskInfo from Play Store to confirm your repartitioning was successful.
Palm Trees said:
Did you flash stock miui_MIPADGlobal_V7.3.1.0.KXFMIDD_0d8dcf2bc3_4.4.zip using TWRP 2.8.4?
11. Your Mi Pad now boots into TWRP 2.8.4
12. In TWRP select ‘Wipe’ and choose ‘Cache, Data, System and Dalvik Cache’
13. After wiping, press ‘Install’ and flash the ‘Repartition_MI_Pad_1_2GB_zardMi3.zip’
14. Your Mi Pad boots back into TWRP as no OS is installed
15. Install miui_MIPADGlobal_V7.3.1.0.KXFMIDD_0d8dcf2bc3_4.4.z ip (there will be an error, just ignore it and let it finish). Reboot. Wait 5-10 minutes. The MIUI welcome screen will appear, complete the setup.
16. Install DiskInfo from Play Store to confirm your repartitioning was successful.
Click to expand...
Click to collapse
Thanks. But the problem remains the same. It again struck on MI logo even after flashing through TWRP 2.8.4.
i too have same problem dont know what to do...i tried flashing through fastboot also even that didnt help..

erorr 7

Hi
false When I tried to flash rom
The flash processes stop with a error 7
I have tried both with BLACK and with RR Roms
What could be the problem?
eran66 said:
Hi
false When I tried to flash rom
The flash processes stop with a error 7
I have tried both with BLACK and with RR Roms
What could be the problem?
Click to expand...
Click to collapse
Did you make fastory reset? did you try re-download .zip files?
yes
kihope12 said:
Did you make factory reset? did you try re-download .zip files?
Click to expand...
Click to collapse
I format the memory then delete all the date and the cache
and after i tried to flesh the phone from recovery \install
Make factory reset in twrp then reboot to twrp again. After that install zip file.
storage
LEvvvEL said:
Make factory reset in twrp then reboot to twrp again. After that install zip file.
Click to expand...
Click to collapse
I tride to backup the phone i get error
"unable to mount storage"
"failed to wipe dalvik"
in mount all the 3 first option select
so what to do
eran66 said:
I tride to backup the phone i get error
"unable to mount storage"
"failed to wipe dalvik"
in mount all the 3 first option select
so what to do
Click to expand...
Click to collapse
try this

Categories

Resources