Root+encryption?


Mar 27, 2018
6
0
13
#1
Is encryption working togheter with root on Xiaomi eu or any ROM? I couldn't manage so far. And should I first root and then encrypt or first encrypt and then root? Thank you
 
May 4, 2017
34
14
20
#2
Your rom is encrypted by default :)
No matter you flash root or not, it will remain encrypted. (Magisk doesn't ruin encryption, not sure about supersu)
You dont need to encrypt your device again.
 
Mar 27, 2018
6
0
13
#7
It can be safely rooted with encryption. Only system is encrypted. Internal storage isn't, so you can see your photos. Etc. In twrp
Thank you. But I would like to encrypt also internal storage, since my phone got stolen recently, now I'm really sensible to this issue. Isn't it possible to have full encryption+root?
 
Jun 20, 2018
9
2
15
#8
Thank you. But I would like to encrypt also internal storage, since my phone got stolen recently, now I'm really sensible to this issue. Isn't it possible to have full encryption+root?
You can certainly do that by manually edit the fstab.qcom under "vendor/etc". First mount vendor in TWRP, or whatever recovery you are using. And find the /data line in fstab.qcom , change the "encryptable=ice" to "fileencryptaion=ice,quota", save and reboot. Now your whole device is encrypted. P.S. You need a recovery that supports encrypted /data partition. P.P.S. You need to do this EVERYTIME if your vendor partition modifies, i.e., when you flash a new ROM from xiaomi.eu. Cheers.
 
Mar 27, 2018
6
0
13
#9
You can certainly do that by manually edit the fstab.qcom under "vendor/etc". First mount vendor in TWRP, or whatever recovery you are using. And find the /data line in fstab.qcom , change the "encryptable=ice" to "fileencryptaion=ice,quota", save and reboot. Now your whole device is encrypted. P.S. You need a recovery that supports encrypted /data partition. P.P.S. You need to do this EVERYTIME if your vendor partition modifies, i.e., when you flash a new ROM from xiaomi.eu. Cheers.
Thank you, I'm getting back to this only now.
It looks like a more complex procedure than I was expecting and I can't find any reference on the web about this apart from your message. SO basically if anything goes wrong, than I might not receive any help.
Any other "more user friendly" way to accomplish the same result?
 
Jun 20, 2018
9
2
15
#10
Mar 27, 2018
6
0
13
#11
Xiaomi.eu comes encrypted. You dont need to encrypt it again. Just install xiaomi.eu and go to settngs - privacy and you'll see "Device Encrypted"
After several months I'm back trying once again Xiaomi EU, but I'm stiil fighting with having encryption and root at the same time. What you say it's not true, since the device is NOT encrypted by default. If I go to settings I can choose to Encrypt the device, but since I have rooted it before, it doesn't work, it just hang at the mi logo after rebooting