Problem with encryption - Xiaomi Poco F1 Questions & Answers

Hey Guys!
Got my F1 Bootloader unlocked today and flashed then crDroid.
But when I reboot I get that encryption unsuccesful message. (So I cant get in the ROM)
I installed everything exactly in this order:
1. Vendor and Firmware
2. ROM
3. Kernel
4. Gapps
5. DFE (Zip for disabling encryption)
after that I rebooted
Here is a picture of the message I get when I boot:
http://t1p.de/7d7c

Problem solved.

VC-34 said:
Problem solved.
Click to expand...
Click to collapse
Can you post a solution? I'm sure other people with such problem would love to know how to fix it.

V7BHl1fBkTVNzPR9E13I said:
Can you post a solution? I'm sure other people with such problem would love to know how to fix it.
Click to expand...
Click to collapse
Yeah uhm well I had /data still as F2FS formatted. So /data & /cache need to be formatted as ext4.
Strange that LineageOS and crDroid dont support F2FS

VC-34 said:
Yeah uhm well I had /data still as F2FS formatted. So /data & /cache need to be formatted as ext4.
Strange that LineageOS and crDroid dont support F2FS
Click to expand...
Click to collapse
No custom rom support f2fs

VC-34 said:
Yeah uhm well I had /data still as F2FS formatted. So /data & /cache need to be formatted as ext4.
Strange that LineageOS and crDroid dont support F2FS
Click to expand...
Click to collapse
can you please elaborate on that?
never mind, i fixed it.
in my case i was trying to flash LineageMicroG 16 on my Device and i kept getting that error and i did the following to fix it;
wiped everything and wrote "yes" to format the date and swiped for a factory reset through recovery wipe option then i booted into recovery and flashed LineagemicroG 16 after that i flashed optimus drunk kernel and booted into system and everything seemed to work fine, the kernel is what fixed the problem.

Related

Bootloop and poor general performance with mostly of the custom rom

Hi,
I have a problem with my unlocked surnia xt1524. When i change a rom with the last twrp 3.11r some of my old settings remain(for example the name of the hotspot and the security pass) and itsn't related with the restore of my google account(i tried few times install a rom without restore any backup and the result is the same); other than that the most troublesome problem is that the general performance of the OS decrease after few hours and sometimes in the night the phone goes in bootloop(after that it erase some of my data like account, settings and it restart like it's a first boot of a new rom after wipe BUT with all of third party app installed like telegram or whatsapp, photo, music, video and some of other data).
I tried restore the original system with rsd or mfastboot, but it failed when flash bootloader or gpt(i tried 2 roms: italian 5.0.2 and european 6.0) and after that bootloop. Anyone knows how to fix my phone? Obviously my warrianty is gone
Thanks a lot for the help
It sounds like your not wiping data before flashing a ROM. You should copy what ever you have on your internal storage that you want to save and format data, not just a normal data wipe, then try reinstalling.
amarc78 said:
It sounds like your not wiping data before flashing a ROM. You should copy what ever you have on your internal storage that you want to save and format data, not just a normal data wipe, then try reinstalling.
Click to expand...
Click to collapse
I wipe all the partition(including data and microsd) all the time from the wipe button of the twrp. I tried to repair the system partition from the recovery too
IO ME MEDESIMO said:
I wipe all the partition(including data and microsd) all the time from the wipe button of the twrp. I tried to repair the system partition from the recovery too
Click to expand...
Click to collapse
Are you using the official twrp or squid twrp from here? https://forum.xda-developers.com/mo.../twrp-squid-twrp-recovery-moto-e-lte-t3137649
Squid twrp works best.
Sent from my Moto E (4) using XDA Labs
amarc78 said:
Are you using the official twrp or squid twrp from here? https://forum.xda-developers.com/mo.../twrp-squid-twrp-recovery-moto-e-lte-t3137649
Squid twrp works best.
Sent from my Moto E (4) using XDA Labs
Click to expand...
Click to collapse
Squid 3.11r
IO ME MEDESIMO said:
Squid 3.11r
Click to expand...
Click to collapse
When your formatting everything in twrp, as long as your not changing the default file system and wiping everything properly, you shouldn't have these problems. System should be formatted to ext4 and data should be f2fs, and always reboot recovery after formatting before you flash ROM. If this is what your doing, I don't know how else to help.
Sent from my Moto E (4) using XDA Labs
amarc78 said:
When your formatting everything in twrp, as long as your not changing the default file system and wiping everything properly, you shouldn't have these problems. System should be formatted to ext4 and data should be f2fs, and always reboot recovery after formatting before you flash ROM. If this is what your doing, I don't know how else to help.
Sent from my Moto E (4) using XDA Labs
Click to expand...
Click to collapse
thanks for the help. I don't reboot between wipe and flash, i will try tomorrow
could it be an sd(formatted like internal storage) problem? Because with the aokp rom today i don't have problem with the performance and i don't have the sony class 10 32 gb sd that i usually use with this phone
amarc78 said:
When your formatting everything in twrp, as long as your not changing the default file system and wiping everything properly, you shouldn't have these problems. System should be formatted to ext4 and data should be f2fs, and always reboot recovery after formatting before you flash ROM. If this is what your doing, I don't know how else to help.
Sent from my Moto E (4) using XDA Labs
Click to expand...
Click to collapse
i have resolved with this advice and a slim 6.0.1 rom finally

[FIX] How to solve "unable to mount data" error

Hey,
recently many are facing the problem to suddenly receive the above error and aren't able to solve it by formatting data (well, it cannot be mounted).
Here are the steps that I suggest in case you find yourself in that situation (obviously all data including internal storage content will be gone afterwards, so make external backups of important stuff if you can before continuing)
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
This helped a few people already, but please comment if it also does (or doesn't) for you!
Cheers and greetings,
Phil the Thrill
I had this problem, but not always just formatting helps. First time when I install LOS 15.1 I didn't format internal storage then LOS crypt my storage and TWRP couldn't mount it and I can't just format it, I have error when I try to format it in ext4 by default. Then I try to format it to another file system and select ext2. TWRP succesful format data and then I select again to format it to ext4 and install other rom. I don't know why first time TWRP couldn't format data.
I use google translate. Sorry if I have misspellings
aleksandar9999a said:
I had this problem, but not always just formatting helps. First time when I install LOS 15.1 I didn't format internal storage then LOS crypt my storage and TWRP couldn't mount it and I can't just format it, I have error when I try to format it in ext4 by default. Then I try to format it to another file system and select ext2. TWRP succesful format data and then I select again to format it to ext4 and install other rom. I don't know why first time TWRP couldn't format data.
I use google translate. Sorry if I have misspellings
Click to expand...
Click to collapse
I didn't just suggest to format anything...
The important thing is to reflash twrp via fastboot.
The point is that after doing this you might even be able at all again to format data...
If you follow the further steps I think you're good to go and don't need to change any file system.
Phil_Smith said:
Hey,
recently many are facing the problem to suddenly receive the above error and aren't able to solve it by formatting data (well, it cannot be mounted).
Here are the steps that I suggest in case you find yourself in that situation (obviously all data including internal storage content will be gone afterwards, so make external backups of important stuff if you can before continuing)
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
This helped a few people already, but please comment if it also does (or doesn't) for you!
Cheers and greetings,
Phil the Thrill
Click to expand...
Click to collapse
Thats because maybe on a backup you select another storage that nota the internal storage....maybe you select otg storage ir something....put the selection on Internal storage....and it resolves
I've same problem in my redmi note 4 (mido). I tried the same but it not works.
After update of resurrection remix oreo (30-05-2018), I unable to install any zip through twrp.It shows "unable to mount /vendor". I also search for vendor partition in mount menu but I cant found any options for it.
If you found any solution plz tell me......... thanks
Stonner_99 said:
I've same problem in my redmi note 4 (mido). I tried the same but it not works.
After update of resurrection remix oreo (30-05-2018), I unable to install any zip through twrp.It shows "unable to mount /vendor". I also search for vendor partition in mount menu but I cant found any options for it.
If you found any solution plz tell me......... thanks
Click to expand...
Click to collapse
me either, my problem. RRD. pls anyhelp?
Hutabarat said:
me either, my problem. RRD. pls anyhelp?
Click to expand...
Click to collapse
Hi, I had the same problem. (Redmi Note 4, Mido)
But after installing RedWolf (Build 27)
with adb/fastboot and everything works fine - without formating everything.
This maybe can help,
first i enter wipe menu on twrp and advanced wipe, mark data partition then repair or change file system, after that change file system, change to what ever except ext4 (i use ext2 one) then change again to ext 4. Done you get data partition back
*this method will wipe your data on that partition
solution about unable to mount data on s7 edge
Hi,
Make sure to do a backup of your data, all data will be erased
after many attempts to find the solution
i tried to go to recovery latest twrp:
go to wipe
select data
for me i choosed ext3 and make repair
than i select Fat and again ext3
you can choose another file system
Thank you
Thanks this worked for me
This is the best answer to solve the problem:
CHoozen said:
This maybe can help,
first i enter wipe menu on twrp and advanced wipe, mark data partition then repair or change file system, after that change file system, change to what ever except ext4 (i use ext2 one) then change again to ext 4. Done you get data partition back
*this method will wipe your data on that partition
Click to expand...
Click to collapse
This worked for me.
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
I was in Xiaomi.EU 9.3.28 in a "encrypted storage" situation
After messing it up I endend in a situation where I can not mount the data partition.
Follow your steps and now I'm setting up xiaomi.eu 9.5.9 without a problem.
Thank you very much.
Wachuwey said:
This worked for me.
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
I was in Xiaomi.EU 9.3.28 in a "encrypted storage" situation
After messing it up I endend in a situation where I can not mount the data partition.
Follow your steps and now I'm setting up xiaomi.eu 9.5.9 without a problem.
Thank you very much.
Click to expand...
Click to collapse
Thanks to you I was able to recover my wife's Redmi 5. Cheers :good:
could not mount data and unable to find crypto error
Good morning guys im using Xiaomi Redmi note 4x(mido) i installed LineageOS 15.1 then the gapps, but the google photos and other google apps keep crashing and recommended me to uninstall and install again. so i wen to twrp and installed the gapps again, then it keeps crashing again. so what i did is to wipe in twrp then installed linneage and the gapps but when rebooting it asked my password then after than i can't no longer boot it keep sayingf could not mount/data and unable to find crypto. i tried all the steps and fix i found here and in other sites but it does not work when i try changing it to other file system it says mke2fs -t ext3 -b 4096 /dev/block/mmcblk0p49, and error 64. Please help thank you
Still not able to mount storage.
Phil_Smith said:
Hey,
recently many are facing the problem to suddenly receive the above error and aren't able to solve it by formatting data (well, it cannot be mounted).
Here are the steps that I suggest in case you find yourself in that situation (obviously all data including internal storage content will be gone afterwards, so make external backups of important stuff if you can before continuing)
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
This helped a few people already, but please comment if it also does (or doesn't) for you!
Cheers and greetings,
Phil the Thrill
Click to expand...
Click to collapse
I tried everything that is:
-changing file system also gives "unable to mount storage " in every format like fat, ext2, ext3, ext4.
-factory reset also gives same error "unable to mount storage"
-I also tried different recovery.
Please someone help me!!!
Wachuwey said:
This worked for me.
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
I was in Xiaomi.EU 9.3.28 in a "encrypted storage" situation
After messing it up I endend in a situation where I can not mount the data partition.
Follow your steps and now I'm setting up xiaomi.eu 9.5.9 without a problem.
Thank you very much.
Click to expand...
Click to collapse
Format data solved everything. But before format data, you better backup all your files. Because all of it will be erased like new.
Thank you.
CHoozen said:
This maybe can help,
first i enter wipe menu on twrp and advanced wipe, mark data partition then repair or change file system, after that change file system, change to what ever except ext4 (i use ext2 one) then change again to ext 4. Done you get data partition back
*this method will wipe your data on that partition
Click to expand...
Click to collapse
I LOVE YOU!!! U saved me when nothing worked. Ty so much !!
Hey King,
I do not use a Redmi Note 8, yet I had the same problem with my Moto G5 Plus.
Until I read your post and now my phone works.
Thank you!
Hi, i have TWRP 3.6.0 installed on my mi 11 lite (courbet), and then it shows "unable to mount /data". I know, formatting helps, but what to do if i don't want to format it, only i want to update the rom?

How to use TWRP without wide /data?

This is so annoying thing for me. Every time when I want to use TWRP because of encryption I must format /data. Is there any chance to avoid this step? I want to have TWRP but I have no OTA. So, I need to download ROM, enter TWRP /data and always from scratch. So idiotic
How to not format /data and still have TWRP full operational?
stefaca said:
This is so annoying thing for me. Every time when I want to use TWRP because of encryption I must format /data. Is there any chance to avoid this step? I want to have TWRP but I have no OTA. So, I need to download ROM, enter TWRP /data and always from scratch. So idiotic
How to not format /data and still have TWRP full operational?
Click to expand...
Click to collapse
Use Orange Fox Recovery
Wyneg said:
Use Orange Fox Recovery
Click to expand...
Click to collapse
Hint: OrangeFox does not do*anything*(eg, encryption) to your data partition. If your data partition is encrypted, it is normally something done by your ROM. Sometimes it depends on a setting in your ROM's configuration - but some ROMs force encryption by default.
Which doesn't solve problem
Sent from my Redmi 5 Plus using Tapatalk
stefaca said:
Hint: OrangeFox does not do*anything*(eg, encryption) to your data partition. If your data partition is encrypted, it is normally something done by your ROM. Sometimes it depends on a setting in your ROM's configuration - but some ROMs force encryption by default.
Which doesn't solve problem
Click to expand...
Click to collapse
Format your data, install the OrangeFox zip again (because formatting data will have wiped the internal storage - which includes OrangeFox's files), tick "Disable forced encryption" in the OrangeFox settings, and install your ROM. OrangeFox will remove the forced encryption settings in the ROM that you have just installed, and you shouldn't have a problem with forced encryption with that ROM.

Poco F1 internal Memory encrypted after loading MIUI Backup

Hi, I'm fairly new to XDA, flashing custom roms and rooting, but I'm really desperate right now.
I know many people probably already have had the same issue, but after searching all over the internet i didn't find my exact problem.
I used Nitrogen OS on my Pocofone F1, but after 1 Month of usage I wanted to try MIUI again, an important thing I remember is that i flashed a new kernel,
but I don't know if that makes any difference.
I made a backup of MIUI without any data on it (i made a hard reset before, so nothing would go wrong) and then installed Nitrogen OS the correct way (i wiped dalvik, data, ...) and everything, even installed the decrypter and everything worked fine.
Now I deleted dalvik, data, cache, ... and loaded the Backup of MIUI and as soon as I booted I suddenly got a bootup password, even though i should get nothing at all because it's basically a clean install.
I tried the normal password that i used all the time, but it didn't work, so i decided to get back to twrp.
Now i got a decryption password, that i don't know and the internal memory is 0 bytes large.
I loaded the nitrogen os backup that i also made, but it didn't work.
I read on other forums, that i should format my internal memory and try to flash the disable-force-encryption again, but i don't really know what to do exactly. i know how to format the memory, it's on the bottom when you want to delete data, dalvik, cache,... but still... .
Even if my phone is briked now, can anyone help me? I really don't know what to do
xueru said:
Hi, I'm fairly new to XDA, flashing custom roms and rooting, but I'm really desperate right now.
I know many people probably already have had the same issue, but after searching all over the internet i didn't find my exact problem.
I used Nitrogen OS on my Pocofone F1, but after 1 Month of usage I wanted to try MIUI again, an important thing I remember is that i flashed a new kernel,
but I don't know if that makes any difference.
I made a backup of MIUI without any data on it (i made a hard reset before, so nothing would go wrong) and then installed Nitrogen OS the correct way (i wiped dalvik, data, ...) and everything, even installed the decrypter and everything worked fine.
Now I deleted dalvik, data, cache, ... and loaded the Backup of MIUI and as soon as I booted I suddenly got a bootup password, even though i should get nothing at all because it's basically a clean install.
I tried the normal password that i used all the time, but it didn't work, so i decided to get back to twrp.
Now i got a decryption password, that i don't know and the internal memory is 0 bytes large.
I loaded the nitrogen os backup that i also made, but it didn't work.
I read on other forums, that i should format my internal memory and try to flash the disable-force-encryption again, but i don't really know what to do exactly. i know how to format the memory, it's on the bottom when you want to delete data, dalvik, cache,... but still... .
Even if my phone is briked now, can anyone help me? I really don't know what to do
Click to expand...
Click to collapse
First of all your phone isn't bricked. It's going to be ok.
The bad thing is that you will lose your internal storage.
The procedure to format data is :
(While in twrp) "mount"-> check "data"-> "repair change file system" -> format your data partition.
After that, no password will be asked. Now wipe system davlik cache and data and reboot into recovery again.
If you have sd card installed start flashing. If you don't, you need to plug into a pc and copy what you need inside your internal storage.
sotosgolf said:
First of all your phone isn't bricked. It's going to be ok.
The bad thing is that you will lose your internal storage.
The procedure to format data is :
(While in twrp) "mount"-> check "data"-> "repair change file system" -> format your data partition.
After that, no password will be asked. Now wipe system davlik cache and data and reboot into recovery again.
If you have sd card installed start flashing. If you don't, you need to plug into a pc and copy what you need inside your internal storage.
Click to expand...
Click to collapse
when i go to mount, i can't check data, because it doesn't appear, the List:
Cache
System
Vendor
Firmware
Cust
Persist
USB-OTG
Micro SD card
I use twrp on the version 3.3.0-0
when i go to "wipe" -> "format Data" it says that it will also remove the encryption should i do that?
xueru said:
when i go to mount, i can't check data, because it doesn't appear, the List:
Cache
System
Vendor
Firmware
Cust
Persist
USB-OTG
Micro SD card
I use twrp on the version 3.3.0-0
when i go to "wipe" -> "format Data" it says that it will also remove the encryption should i do that?
Click to expand...
Click to collapse
Yes. That's the solution. After that your device will get encrypted again on reboot, unless you flash encryption disabler. I would suggest keeping the encryption and not flashing anything more
sotosgolf said:
Yes. That's the solution. After that your device will get encrypted again on reboot, unless you flash encryption disabler. I would suggest keeping the encryption and not flashing anything more
Click to expand...
Click to collapse
all of the empty memory shows up and the encryption is gone, thanks for helping me, i was really desperate
xueru said:
all of the empty memory shows up and the encryption is gone, thanks for helping me, i was really desperate
Click to expand...
Click to collapse
i still got a little problem tough, if i try to flash a rom (i tried nitrogen os and lineage os), i get error 7, what can i do about it? my phone always boots into fastboot now, but i am still able to enter twrp
thanks for helping me
xueru said:
i still got a little problem tough, if i try to flash a rom (i tried nitrogen os and lineage os), i get error 7, what can i do about it? my phone always boots into fastboot now, but i am still able to enter twrp
thanks for helping me
Click to expand...
Click to collapse
i also still have the backup of nitrogenos on my sd card
xueru said:
i also still have the backup of nitrogenos on my sd card
Click to expand...
Click to collapse
i loaded the backup and it worked ty 4 everything
xueru said:
i loaded the backup and it worked ty 4 everything
Click to expand...
Click to collapse
The error 7 occurs due to outdated vendor/firmware. Download latest firmware and flash it before the rom you want (for example if you want to clean flash a rom: wipe system, davlik, cache, data.. flash firmware.. flash rom [you won't get error 7].. flash gapps.. reboot)
sotosgolf said:
The error 7 occurs due to outdated vendor/firmware. Download latest firmware and flash it before the rom you want (for example if you want to clean flash a rom: wipe system, davlik, cache, data.. flash firmware.. flash rom [you won't get error 7].. flash gapps.. reboot)
Click to expand...
Click to collapse
i'll try that next to get back to miui, i think i'll be able to do the everything else on my own thanks for everything

Android Q ROMs TWRP fails to map file

Hey guys,
I already have done hours of research and I have been trying and failing a lot of times. So here´s my problem. I wanted to flash a new Rom , the newest MSM Extended and the newest Pixel experience. I´m on Twrp 3.2.3-2 and on the newest firmware for the Pocophone (V11.0.5.0.PEJMIXM). Everytime I try to flash the ROM it says "Error 7" for Msm extended and "failed to map file" for Pixel Experience. I already tried all versions of Twrp for Poco F1 and I tried a 3.0.1 vesion of another device but the TWRP simply didn´t work. I always had to flash my old msm Rom which is always working. I think it´s because of the Android Q update. But I already have the latest firmware so I really don't know anymore.
Try latest twrp
Adidas108 said:
Try latest twrp
Click to expand...
Click to collapse
I already have. It's also not working.
3.3.1 beta8?
https://forum.xda-developers.com/poco-f1/development/recovery-twrp-3-3-1-beta01-touch-t3987567
TheSaas said:
Hey guys,
I really don't know anymore.
Click to expand...
Click to collapse
Have you formatted your storage?
sotosgolf said:
Have you formatted your storage?
Click to expand...
Click to collapse
Does that change anything? It's the internal storage right? I always wipe Data Cache Dalvik Cache and System Data.
TheSaas said:
Does that change anything? It's the internal storage right? I always wipe Data Cache Dalvik Cache and System Data.
Click to expand...
Click to collapse
When you get from pie to q, you have to format your storage. It's not only wiping your internal, it's a different option in twrp.
Format your storage, reboot into recovery and then it will work.
Mind that you you have to format again and do some other things too if you decide to get back to pie afterwards.
sotosgolf said:
When you get from pie to q, you have to format your storage. It's not only wiping your internal, it's a different option in twrp.
Format your storage, reboot into recovery and then it will work.
Mind that you you have to format again and do some other things too if you decide to get back to pie afterwards.
Click to expand...
Click to collapse
Alright. So I just have to find the option to format my phone? Doesn't that also wipe my internal?The zips for ROM, GApps etc. are there. Is it possible to transfer files while in Recovery? If yes then I can follow. I don't quite understand right now. Sorry for the late reply. I was busy with school.
TheSaas said:
Alright. So I just have to find the option to format my phone? Doesn't that also wipe my internal?The zips for ROM, GApps etc. are there. Is it possible to transfer files while in Recovery? If yes then I can follow. I don't quite understand right now. Sorry for the late reply. I was busy with school.
Click to expand...
Click to collapse
The button for formatting is next to "advanced" in the wipe menu of twrp.
It will erase everything, yes.
You have to transfer the zips needed from a pc/microsd/usb otg to your storage once it's been formatted while being in twrp.
So I'll have to Advance Wipe>Internal Storage, Dalvik, Cache, Data. Then Magisk will flash easily?
I'm using the POCO X3 right now running MIUI 12.

Categories

Resources