Automatic Encryption - Xiaomi Redmi 4X Questions & Answers

My phone gets automatically encrypted every time I flash custom ROM ....I have tried around 5-6 roms ....
Any solution

You need to format data partition in TWRP (format, not wipe) and then install your custom ROM

akkowicz said:
You need to format data partition in TWRP (format, not wipe) and then install your custom ROM
Click to expand...
Click to collapse
I will give it a try ..... currently I m back in miui

akkowicz said:
You need to format data partition in TWRP (format, not wipe) and then install your custom ROM
Click to expand...
Click to collapse
But while opening twrp there is no pop out like encrypted faromat data to decrypt it ....like it used to be in previously in my Redmi note 3 pro ....

May be it happened when u installed a custom rom. it happened to me also. My friends said flashing the fastboot rom will only remove that encryption. Even I enter TWRP, I need to enter password to decrypt. And everytime reboot, I need to enter password to decrypt

akkowicz said:
You need to format data partition in TWRP (format, not wipe) and then install your custom ROM
Click to expand...
Click to collapse
It worked like charm ....thnxx

Related

data encrypted in twrp

hello sorry for the off-topic post but i am in trouble ..i flashed twrp and formatted everything (according to the procedure) but when ever i open twrp it says data is encrypted i hav formatted user data many times and changed many custom recoveries but result is same olease help me any1:crying::crying::crying:
ishan bhanot said:
hello sorry for the off-topic post but i am in trouble ..i flashed twrp and formatted everything (according to the procedure) but when ever i open twrp it says data is encrypted i hav formatted user data many times and changed many custom recoveries but result is same olease help me any1:crying::crying::crying:
Click to expand...
Click to collapse
Go back to stock rom disable password of screen lock.
Reboot into twrp. format ur device. Flash lazyflasher so that ur device wont encrypt automatically again. Then reboot to system. All done?
ishan bhanot said:
hello sorry for the off-topic post but i am in trouble ..i flashed twrp and formatted everything (according to the procedure) but when ever i open twrp it says data is encrypted i hav formatted user data many times and changed many custom recoveries but result is same olease help me any1:crying::crying::crying:
Click to expand...
Click to collapse
Format the data to mount. Once you format the data you now can flash other ROM or enter in your actual system.
ArmandoDago said:
Format the data to mount. Once you format the data you now can flash other ROM or enter in your actual system.
Click to expand...
Click to collapse
thanx alot buddy
jay272 said:
Go back to stock rom disable password of screen lock.
Reboot into twrp. format ur device. Flash lazyflasher so that ur device wont encrypt automatically again. Then reboot to system. All done?
Click to expand...
Click to collapse
thanx man

Help!can't boot after flashing xiaomi.eu

I'm installing xiaomi.eu 8.10.18 on my xiaomi mi8 (dipper)
I can enter twrp recovery normally
After factory reset in twrp, install the zip, clear the dalvik/cache, reboot to system
the phone just stays on the screen with a MI logo and a android logo and 3 loading dots.(approximately 15 minutes already)
Had I done something wrong?
u need to format data and flash dm varety fix
altvolt74 said:
u need to format data and flash dm varety fix
Click to expand...
Click to collapse
thanks! I'll try
what's the difference between format and wipe data anyway?
I though that the only difference is that format will also delete internal storage
altvolt74 said:
u need to format data and flash dm varety fix
Click to expand...
Click to collapse
It works! thanks!

Mi 8 Global can't install any custom ROM

Hi, sorry for bad English.
I'm having trouble installing Custom ROMs on my Mi 8 Global. Any custom rom I install, after reboot on TWRP, the mobile does not start, it only stays on the fastboot screen or returns to the TWRP.
I already unlocked the bootloader, ADB ON, drivers installed on PC, TWRP OK, all neededs WIPEs ...
I can only install the STOCKs ROMs. I think the problem is when doing FLASH in the ROMs. It may be that I can only install ROM by Fastboot, but by Recovery not.
In the TWRP LOG, there is not a single error after installing the ROMs, always success.
I follow all the tutorials, but never start the system after installing by recovery.
Another thing I noticed is that when I install the custom rom, if I go in the TWRP file browser and go there in the SDCard folder, the files do not appear as it usually gets, such as the "Android" folder for example.
I've had several Androids since the Galaxy Y time and I've never had this problem.
Any idea?
format data "yes" then flash dm variety fix re oot recovery then flash any rom
Sent from my MI 8 using Tapatalk
altvolt74 said:
format data "yes" then flash dm variety fix re oot recovery then flash any rom
Sent from my MI 8 using Tapatalk
Click to expand...
Click to collapse
I followed all the tutorials, including the WIPEs
try another dm variety or recovery ........make sure is format data and not just wipe it and last ensure ur in pie firmware and not oreo
Sent from my MI 8 using Tapatalk
altvolt74 said:
try another dm variety or recovery ........make sure is format data and not just wipe it
Sent from my MI 8 using Tapatalk
Click to expand...
Click to collapse
Ill try this. Thanks!
null
I have the same problem as you, and my rom is only 10gb. Other roms can't recognize it. How do you solve this problem?
not
altvolt74 said:
try another dm variety or recovery ........make sure is format data and not just wipe it and last ensure ur in pie firmware and not oreo
Sent from my MI 8 using Tapatalk
Click to expand...
Click to collapse
i tried ,very bad,my phone still into fastboot.
Bruno Wagner said:
Hi, sorry for bad English.
I'm having trouble installing Custom ROMs on my Mi 8 Global. Any custom rom I install, after reboot on TWRP, the mobile does not start, it only stays on the fastboot screen or returns to the TWRP.
I already unlocked the bootloader, ADB ON, drivers installed on PC, TWRP OK, all neededs WIPEs ...
I can only install the STOCKs ROMs. I think the problem is when doing FLASH in the ROMs. It may be that I can only install ROM by Fastboot, but by Recovery not.
In the TWRP LOG, there is not a single error after installing the ROMs, always success.
I follow all the tutorials, but never start the system after installing by recovery.
Another thing I noticed is that when I install the custom rom, if I go in the TWRP file browser and go there in the SDCard folder, the files do not appear as it usually gets, such as the "Android" folder for example.
I've had several Androids since the Galaxy Y time and I've never had this problem.
Any idea?
Click to expand...
Click to collapse
1. wrong section
2. which twrp do you use, which firmware do you use...., what a rom do wanna flash
unlock bootloader , flash this Twrp
reboot to trwp, factory rest with "yes" reboot again to trwp flash the rom that u want
Bruno Wagner said:
I followed all the tutorials, including the WIPEs
Click to expand...
Click to collapse
Follow this step
1. Copy Miui rom 9.0.zip and which rom you want to sdcard.
2. Boot into twrp, then wipe data, cache.
3. Install Miui rom 9.0.zip (dont reboot after done)
4. In twrp, choose reboot twrp again, then then wipe data, cache
5. Install any custom rom you want. And flash disable dm-variety
6. Done and reboot
romano19 said:
Follow this step
1. Copy Miui rom 9.0.zip and which rom you want to sdcard.
2. Boot into twrp, then wipe data, cache.
3. Install Miui rom 9.0.zip (dont reboot after done)
4. In twrp, choose reboot twrp again, then then wipe data, cache
5. Install any custom rom you want. And flash disable dm-variety
6. Done and reboot
Click to expand...
Click to collapse
I ll try this. Thank u
You have to format data via typing "yes", it is not wiping data, it is button in twrp. After that everything gonna be ok.
maybe you should flash a miui based on android pie (globe developer version)
then use the latest twrp recovery (both wzsx and black pitch is ok)
Murik01 said:
You have to format data via typing "yes", it is not wiping data, it is button in twrp. After that everything gonna be ok.
Click to expand...
Click to collapse
Yes, I do. Dont work
Bruno Wagner said:
I ll try this. Thank u
Click to expand...
Click to collapse
Did you do something or you fix your problem?
NewbyCmUser said:
Did you do something or you fix your problem?
Click to expand...
Click to collapse
No, not a tip has solved the problem. Yesterday I spent all day trying different things, searching in several sites but nothing works. I'll have to settle for the ROM stock.
I had the same problem installing pixel experience you need to flash stock fastboot rom via miflash be careful, do not select the relock option, then install twrp, wipe system, caches and data and install your custom rom It worked for me.
Murik01 said:
You have to format data via typing "yes", it is not wiping data, it is button in twrp. After that everything gonna be ok.
Click to expand...
Click to collapse
i had same problem. and this format data has worked with "miui_MI8Global_8.12.20_c7a9af8587_9.0" i can flash it. phone working now but i will change rom tomorrow again.. i guess it will be brick in a couple days
Problem solved!
Sorry bad english, translated by Google Translate ...
Now I've been able to install custom ROMs. :laugh:
I tested Havok and Pixel Experience.
I'll speak the steps I did:
1 - Install the Stock Pie: MIUI Global Stable 10.1.2.0 (dipper_global_images_V10.1.2.0.PEAMIFI_20181211.0000.00_9.0_global_0099f5af5f)
Install with XiaomiMiFlash, at the bottom, check the option "Clean All".
NO INSTALL ON TWRP MODE.
2 - Start the system normal and make ADB ON
3 - Make Root
4 - Start the system normal again
5 - Install TWRP: recovery-TWRP-3.2.2-0711-XIAOMI8-CN-wzsx150 (use this version)
6 - WIPE > Advanced> System, Data, Cache
7 - Flash ROM: PixelExperience_dipper-9.0-20190111-2226-OFFICIAL
8 - Reboot System
9 - Ready!
10 - Optional Step (*recommended*) - Go again in TWRP and Wipe > System, Data, Cache, Internal Storage > Flash ROM > Reboot.
After this procedure I was able to install custom roms without problems.

How to remove encryption in OrangeFox?

Everytime I boot into recovery it asks for my pin lock code. Entering my pin everytime into the recovery is mildly irritating. Anyway to remove this?
Do I have format data everytime I flash a new rom? It is a pain to backup my data everytime to a PC when flashing a new rom.
rv5750 said:
Everytime I boot into recovery it asks for my pin lock code. Entering my pin everytime into the recovery is mildly irritating. Anyway to remove this?
Click to expand...
Click to collapse
It's a minor inconvenience for the security of your personal data in the phone.
rv5750 said:
Do I have format data everytime I flash a new rom? It is a pain to backup my data everytime to a PC when flashing a new rom.
Click to expand...
Click to collapse
You don't need to format data unless you want to remove encryption, but it's advisable to at least wipe data.
When wiping data TWRP will leave the external storage intact (even though external storage is stored in the data partition). So app and ROM data is lost, but personal data is kept.
When you format data, then personal data in external storage is lost too.
Robbo.5000 said:
It's a minor inconvenience for the security of your personal data in the phone.
Click to expand...
Click to collapse
Is there no way to remove it? The thing is I don't want encryption. I saw a file on K20 Pro telegram group named FCrypt Disabler which disables force encryption. Will that do the trick? When should I flash that file?
rv5750 said:
Is there no way to remove it? The thing is I don't want encryption. I saw a file on K20 Pro telegram group named FCrypt Disabler which disables force encryption. Will that do the trick? When should I flash that file?
Click to expand...
Click to collapse
Are you on official MIUI?
If you're on a custom ROM, then after formatting data you should remain unencrypted without needing to do anything else.
Robbo.5000 said:
Are you on official MIUI?
If you're on a custom ROM, then after formatting data you should remain unencrypted without needing to do anything else.
Click to expand...
Click to collapse
I'm on latest Havoc but I don't know how Orangefox is encrypted.
rv5750 said:
I'm on latest Havoc but I don't know how Orangefox is encrypted.
Click to expand...
Click to collapse
Sorry, I'm forgetting that is now standard to encrypt the phone automatically when setting a PIN for unlocking. Try the script linked in the bottom of this post to disable encryption permanently.
https://forum.xda-developers.com/k2...0s-twrp-status-phh-gsis-t3939325/post79720268
Robbo.5000 said:
Sorry, I'm forgetting that is now standard to encrypt the phone automatically when setting a PIN for unlocking. Try the script linked in the bottom of this post to disable encryption permanently.
https://forum.xda-developers.com/k2...0s-twrp-status-phh-gsis-t3939325/post79720268
Click to expand...
Click to collapse
If I used pattern unlock instead of pin it wouldn't have encrypted the rom?
In the linked thread it says to format data and then flash the file. Suppose I want to install a new rom.
The current process for this phone is:
1. Flash MIUI Chinese rom.
2. Wipe everything except vendor and internal storage.
3. Flash rom of choice and gapps.
4. Format data.
5. Boot the device.
At which step should I flash that file? Flashing the decryption file is after formatting data (step 4), right?
What if I already am on a custom rom? Flashing the file would decrypt the rom or not?
Sorry for asking so many questions. The previous device I had was Redmi Note 4 (mido) so it wasn't necessary to do all these things.
rv5750 said:
If I used pattern unlock instead of pin it wouldn't have encrypted the rom?
In the linked thread it says to format data and then flash the file. Suppose I want to install a new rom.
The current process for this phone is:
1. Flash MIUI Chinese rom.
2. Wipe everything except vendor and internal storage.
3. Flash rom of choice and gapps.
4. Format data.
5. Boot the device.
At which step should I flash that file? Flashing the decryption file is after formatting data (step 4), right?
What if I already am on a custom rom? Flashing the file would decrypt the rom or not?
Sorry for asking so many questions. The previous device I had was Redmi Note 4 (mido) so it wasn't necessary to do all these things.
Click to expand...
Click to collapse
My previous phone was a OnePlus 3, and so this was never an issue with that. After that phone had a fatal accident I had a Redmi 6a for 3 months while I waited for a an all screen with SD855 to be released. All I did with that was install TWRP and Magisk. So I've never actually tried to permanently remove encryption, so don't take what I'm saying as definite.
Not all ROMs require you to format data. I'm on the AOSiP ROM and it wasn't required. I'll move to the Havoc ROM soon, and again it's not required to format data.
My understanding is that you will have an unencrypted phone, even after setting a pin, after flashing that script, so I assume that it would be unnecessary to format data where a ROM install instruction tells you to. This is usually done to ensure the data partition is unencrypted before flashing.
I think setting a pattern also encrypts the phone. I have seen a guide on how to replicate the pattern using the keyboard in TWRP, but can't find it again now.
rv5750 said:
If I used pattern unlock instead of pin it wouldn't have encrypted the rom?
In the linked thread it says to format data and then flash the file. Suppose I want to install a new rom.
The current process for this phone is:
1. Flash MIUI Chinese rom.
2. Wipe everything except vendor and internal storage.
3. Flash rom of choice and gapps.
4. Format data.
5. Boot the device.
At which step should I flash that file? Flashing the decryption file is after formatting data (step 4), right?
What if I already am on a custom rom? Flashing the file would decrypt the rom or not?
Sorry for asking so many questions. The previous device I had was Redmi Note 4 (mido) so it wasn't necessary to do all these things.
Click to expand...
Click to collapse
Flash right before first boot
Robbo.5000 said:
Sorry, I'm forgetting that is now standard to encrypt the phone automatically when setting a PIN for unlocking. Try the script linked in the bottom of this post to disable encryption permanently.
https://forum.xda-developers.com/k2...0s-twrp-status-phh-gsis-t3939325/post79720268
Click to expand...
Click to collapse
Hi,
This scripts DecScript-Universal-v2.zip don't works on eu.rom 20.1.16/21 v3. Stuck in bootloop·
Any other solutions?
Thanks.
sfairmm said:
Hi,
This scripts DecScript-Universal-v2.zip don't works on eu.rom 20.1.16/21 v3. Stuck in bootloop·
Any other solutions?
Thanks.
Click to expand...
Click to collapse
See if the disable force encrypt script in this post works. It's more up to date.
https://forum.xda-developers.com/k2...ners-guide-to-raphaelin-t4020543/post81217503
Robbo.5000 said:
See if the disable force encrypt script in this post works. It's more up to date.
https://forum.xda-developers.com/k2...ners-guide-to-raphaelin-t4020543/post81217503
Click to expand...
Click to collapse
Good!!
I will try and after sharing with you.
Just knowledge, yesterday I flashed the script by @AndyYan, and the device starts again only after the 3 installation attempts. This script works on eu.rom 9.8xx i tested there.
Have nice!
Robbo.5000 said:
Sorry, I'm forgetting that is now standard to encrypt the phone automatically when setting a PIN for unlocking. Try the script linked in the bottom of this post to disable encryption permanently.
https://forum.xda-developers.com/k2...0s-twrp-status-phh-gsis-t3939325/post79720268
Click to expand...
Click to collapse
Yo ITS work...but now i cant use lockscreen..how to remove the script
Divapranala said:
Yo ITS work...but now i cant use lockscreen..how to remove the script
Click to expand...
Click to collapse
Get the appropriate firmware and vendor file for your phone from here https://downloads.akhilnarang.dev/MIUI/raphael
Flashing this will remove the effects of the script.
Robbo.5000 said:
Are you on official MIUI?
If you're on a custom ROM, then after formatting data you should remain unencrypted without needing to do anything else.
Click to expand...
Click to collapse
I'm running resurrection remix Android 10 on OnePlus 7t pro, formatted data still data partition is encrypted. Recovery: OrangeFox

Question PLEASE HELP Can't Flash EU rom to Mi 11 ultra without Bricking

I'm having a big problem. I've had to unbrick my Mi11 ultra 5 times with the miflash tool because every time I flash the custom rom through TWRP it complete then reboots with no OS. I copy the rom to the phone. Go in to TWRP and then I go to install and find the zip file. I choose it and it goes through the process but it still reboots into TWRP with no OS. I've tried it with and without root with Magisk. WHAT AM I DOING WRONG?! Please help. Here is the link for the ROM I'm trying to use https://androidfilehost.com/?fid=14943124697586336463
Format data after flashing the EU ROM.
The first time you load the system, the screen will stay a loooong time with the MIUI logo; don't panic and be patient.
Hope it works for you.
Regards.
Yes, as above. If you don't format data with the confirmation of yes in the twrp wipe menu, it will alway go back to twrp.
The reason is that when you change kernal branch, there may be partition differences between them. A format clears out old data crossing the new partition layout and allows boot.
portamento said:
Format data after flashing the EU ROM.
The first time you load the system, the screen will stay a loooong time with the MIUI logo; don't panic and be patient.
Hope it works for you.
Regards.
Click to expand...
Click to collapse
Buddy as best try to flash over Fastboot, then after that install TWRP and mount all partitions. Then klick wipe-- factory reset and wipe and after that format data with confirm yes. after that you need to install inject TWRP inject. You can find it in ADVANCED. After that klick fix Contexts. And reboot.
After that the OS will reinstall . Try it, that will work 100%
portamento said:
Format data after flashing the EU ROM.
The first time you load the system, the screen will stay a loooong time with the MIUI logo; don't panic and be patient.
Hope it works for you.
Regards.
Click to expand...
Click to collapse
Sathelp said:
Yes, as above. If you don't format data with the confirmation of yes in the twrp wipe menu, it will alway go back to twrp.
The reason is that when you change kernal branch, there may be partition differences between them. A format clears out old data crossing the new partition layout and allows boot.
Click to expand...
Click to collapse
THANK YOU BOTH!!! IT WAS CAUSE I DIDNT FORMAT DATA AFTER THE ROM INSTALL!! Thank you so much
Mag_e said:
THANK YOU BOTH!!! IT WAS CAUSE I DIDNT FORMAT DATA AFTER THE ROM INSTALL!! Thank you so much
Click to expand...
Click to collapse
Glad to know that it worked . I had the same problem when I changed from European stock ROM to Xiaomi.eu one. The tutorials I read didn't say anything about formatting data after installing the new ROM.
Mag_e said:
I'm having a big problem. I've had to unbrick my Mi11 ultra 5 times with the miflash tool because every time I flash the custom rom through TWRP it complete then reboots with no OS. I copy the rom to the phone. Go in to TWRP and then I go to install and find the zip file. I choose it and it goes through the process but it still reboots into TWRP with no OS. I've tried it with and without root with Magisk. WHAT AM I DOING WRONG?! Please help. Here is the link for the ROM I'm trying to use https://androidfilehost.com/?fid=14943124697586336463
Click to expand...
Click to collapse
Check this steps

Categories

Resources