- Sep 15, 2017
- 1,192
- 222
I hesitated to flash xiaomi.eu ROM on my RN7 Pro since I got the device 2 weeks ago because It doesn't support encryption by default (at least that's what I read from many threads and forums).
After reading a few threads on how to manually activate the encryption (i.e. editing the fstab.qcom file), I finally flashed the Xiaomi.eu ROM last night, and it turned out this EU ROM (10.3.11.0) does support FBE encryption by default ! No need to edit the fstab.qcom since the FBE is enabled right out of the box.
I did check the fstab.qcom file right after I flashed the ROM, it's exactly the same as the one in the MIUI ROM, minus the 'avb' flag on the System partition.
I also checked the encryption by booting to TWRP and not entering lock screen pattern, and all files in /sdcard & /data/data are unread-able, this is a proof that the Data partition is encrypted.
These are the steps I took :
1. Boot to TWRP (I use Peter TWRP)
2. Format the Data partition, wipe cache & dalvik
3. Reboot to TWRP
4. Flash Xiaomi.eu ROM
5. Reboot to System, finish the initial setup and set a lock screen password.
These are pretty much the steps as written in the Xiaomi.eu ROM's thread.
Hopefully the encryption right out of the box is by design by Xiaomi.eu's Developers.
I have been using the phone for a whole day, no problem at all so far, all smooth, battery backup is also good, 6% batt / hr sot (wifi with 2 sim card, no game, mostly chats & browsing).
Notes :
* For those who don't want encryption, can flash 'DecScript-Universal-v2.zip' right after flashing eu ROM (step no 4), before rebooting to system, but please remember if your phone is currently encrypted, you need to do step no. 2 above.
* Step no. 2 is not needed if you're currently on eu ROM and you want to keep your phone encrypted.
* I am not responsible if you brick your phone, get stuck in a bootloop, or if your phone grows arms and tries to kill you. Do this at your own risk!
After reading a few threads on how to manually activate the encryption (i.e. editing the fstab.qcom file), I finally flashed the Xiaomi.eu ROM last night, and it turned out this EU ROM (10.3.11.0) does support FBE encryption by default ! No need to edit the fstab.qcom since the FBE is enabled right out of the box.
I did check the fstab.qcom file right after I flashed the ROM, it's exactly the same as the one in the MIUI ROM, minus the 'avb' flag on the System partition.
I also checked the encryption by booting to TWRP and not entering lock screen pattern, and all files in /sdcard & /data/data are unread-able, this is a proof that the Data partition is encrypted.
These are the steps I took :
1. Boot to TWRP (I use Peter TWRP)
2. Format the Data partition, wipe cache & dalvik
3. Reboot to TWRP
4. Flash Xiaomi.eu ROM
5. Reboot to System, finish the initial setup and set a lock screen password.
These are pretty much the steps as written in the Xiaomi.eu ROM's thread.
Hopefully the encryption right out of the box is by design by Xiaomi.eu's Developers.
I have been using the phone for a whole day, no problem at all so far, all smooth, battery backup is also good, 6% batt / hr sot (wifi with 2 sim card, no game, mostly chats & browsing).
Notes :
* For those who don't want encryption, can flash 'DecScript-Universal-v2.zip' right after flashing eu ROM (step no 4), before rebooting to system, but please remember if your phone is currently encrypted, you need to do step no. 2 above.
* Step no. 2 is not needed if you're currently on eu ROM and you want to keep your phone encrypted.
* I am not responsible if you brick your phone, get stuck in a bootloop, or if your phone grows arms and tries to kill you. Do this at your own risk!
Last edited: