Anybody tried encryption on Android 10 stable with Mix2S?


hoehm

Members
Jan 21, 2019
10
13
Wondering if anybody has installed the stable Android 10 version for Mix2S and encrypted the phone? Is it still good to go if I change the fstab.qcom file in TWRP after flashing the ROM?
 

LOLO9393

Members
Feb 8, 2016
1,462
222
Wondering if anybody has installed the stable Android 10 version for Mix2S and encrypted the phone? Is it still good to go if I change the fstab.qcom file in TWRP after flashing the ROM?
Yes, without a working TWRP at encryption level, the only solution is to trip fstab as we were doing before.
That perfectly work on android 10.
Already Checked on MI8 and MI8SE.. May be many more people can confirm it as well.
No hope to have an updated TWRP release for these "old" phone model.
 
  • Like
Reactions: hoehm

PatrickZ

Members
Feb 7, 2020
3
5
It is located in vendor/etc folder.
You must MOUNT vendor before to see it.
Thanks a lot! I have tried many methods in about 2 days and finally failed. Now I succeed to encrypt it with your help.

My device is MIX 2S and (with MIUI.eu beta version MIMix2S_20.1.21_v11-10, not stable version). Modification to fstab.qcom works well.
 
  • Like
Reactions: LOLO9393

LOLO9393

Members
Feb 8, 2016
1,462
222
Thanks a lot! I have tried many methods in about 2 days and finally failed. Now I succeed to encrypt it with your help.

My device is MIX 2S and (with MIUI.eu beta version MIMix2S_20.1.21_v11-10, not stable version). Modification to fstab.qcom works well.
Best to use the fencrypt.zip file to be flashed after any rom update.
You have a story about this to read there:
Change the fsatb file or try it like it is. I am almost sure they are very similar.
 

PatrickZ

Members
Feb 7, 2020
3
5
Best to use the fencrypt.zip file to be flashed after any rom update.
You have a story about this to read there:
Change the fsatb file or try it like it is. I am almost sure they are very similar.
Thanks. I enable encryption by modifying fstab.qcom file manually. Now the encryption works.
(I also checked the thread you give, and create my fencrypt.zip for MIX2S. Maybe it can be used for the next time)
 

bedson

Members
Jul 1, 2017
12
15
Has anyone tried to modify fstab in new releases? Modification in 20.2.20 and earlier causes reboot to twrp for me.

Edit: It works after edit fstab, format data and boots :)
 
Last edited:

mcschweg

Members
Feb 26, 2020
1
3
Could one of you post a short Tutorial on how this can be done. It bugged me, that every Mi device i rooted with magisk is at least encrypted except for my Mix 2S.
A quick tutorial would be highly appreciated.

2nd thought: Why does EU-Rom not come encrypted in the first place?
 
Apr 15, 2020
1
3
Has anyone tried to modify fstab in new releases? Modification in 20.2.20 and earlier causes reboot to twrp for me.

Edit: It works after edit fstab, format data and boots :)
Same happened to me (Mi8), but didn't format.
I'm pretty sure in MIUI11 this worked without formatting data.
Is there any way to enable encryption without format?
Is the procedure shown below still actual with MIUI12?

/system/vendor/etc/fstab.qcom" then change "[...] /data [...] encryptable=ice,quota" to "[...] fileencryption=ice,quota"