If so, what limitations are there, and does it affe the performance of the flash storage?
Related
I tried to encrypt my i9505 on Kangpop and it ****ed the /data partition. TWRP couldn't even wipe or mount it, the phone was stuck on the boot screen when I tried to start it normally. I had to flash the stock recovery and factory reset with that to fix it.
Anyway, I am now using Danvdh's ROM. This seems a lot cleaner but it uses the same GPE base and the same kernel (GooglyMax) so I'm worried about trying to encrypt it again lest I get the same problem come back.
So I just wanted to ask if anyone has successfully encrypted their data on any custom LP ROM? I'm worried the issue might be Lollipop's new security measures blocking encryption from working in rooted phones.
Thanks in advance all
I have a i9505 S4 with OmegaROM 4.3.1 and TWRP v2.6.3.1
Recently I had to encrypt my phone as a work policy and now I am unable to do backups via TWRP.
It keeps failing at trying to mount /data
It is not possible to do backups when encrypted or is there a work around?
You can't do the backups with encryption active. The custom recoveries don't support it, which is one reason the bootloader notifies you about the recovery whenever you boot into it.
Try to flash a different recovery like Philz or try some newer version of TWRP.
Some people claim that it should just work, so it's maybe a bug.
Or maybe you just can't do it like Strephon Alkhalikoi says, i have no idea tbh.
TWRP as of 2.2.0 supports decrypting an encrypted partition on the Galaxy Nexus, but that may well be an experimental thing. You'd need to enter the password used to encrypt the volume in TWRP's terminal window. However, the fact you're not being prompted likely means Android 5.x encryption works in a completely different fashion from the Galaxy Nexus, which is why you're getting an error. Whether the TWRP team is aware of the issues with encryption is something I don't know, but I have found plenty of anecdotes from other Android users regarding encryption issues. The general consensus is that encryption does in fact render the recovery less useful because of the inability to make a nandroid backup.
I don't believe CWM currently supports encrypted volumes. Philz will never support encrypted volumes as it's no longer being maintained.
Hi, now I have custom Marshmallow ROM, and as far as I know in MM all storage is encrypted by default, internal and sd. But my ROM is slow as hell and I must flash another one, and my question is, do I have to decrypt this storage before or something? If I make a full wipe, and flash another ROM can I loose access to my data, because it will be encrypted?
I've been curious as to whether or not I can use device encryption (root '/' filesystem encryption + SD card encryption via dm / luks / whatever android uses) and still be able to use TWRP, custom ROMs (I am using RR 6 w/ tuned kernel for s5 based on los 15)? When I boot into recovery TWRP, do I just simply enter my passphrase to unlock the partitions on the device such as root and sd card, or is there some other trick to it?
I don't want to encrypt to find out I screwed the pooch. I have searched various forums but for one reason or another been unable to find a good answer.
Thanks in advance,
dataslanger
dataslanger said:
I've been curious as to whether or not I can use device encryption (root '/' filesystem encryption + SD card encryption via dm / luks / whatever android uses) and still be able to use TWRP, custom ROMs (I am using RR 6 w/ tuned kernel for s5 based on los 15)? When I boot into recovery TWRP, do I just simply enter my passphrase to unlock the partitions on the device such as root and sd card, or is there some other trick to it?
I don't want to encrypt to find out I screwed the pooch. I have searched various forums but for one reason or another been unable to find a good answer.
Thanks in advance,
dataslanger
Click to expand...
Click to collapse
Any rom that fully supports selinux is able to use encryption and the latest version of twrp can decrypt it
It will ask for you to enter your decrypt key to decrypt data
Lineage 15.1 (and roms based on it) support encryption
The test versions of lineage 16 currently at time of writing don't support selinux (but will once they become official)
Thanks, I will perform a TWRP full system backup, copy it to computer, and then give the full encryption a try.
Hey,I have a few questions about formatting data in twrp. Every custom recovery I've tried has issues with decrypting storage and mounting it. So my questions are:
1. If I format data in twrp(in order to enable it to mount storage) and than flash Magisk will I loose encryption permanently or will it re-enable itself after booting to system?
2. Can I flash Magisk from sdcard without mounting internal storage or will it mess up the device/not work at all?
I don't want to flash Magisk or custom roms unless I can keep encryption. Thanks for help.