If you enable encryption, can you still update to cm nightly builds?
Or will it not work because it can't access the filesystem from twrp before you enter your passphrase etc.. to decrypt first?
Related
Hi all,
I have a Q about upgrading FXP Cyanogenmod ROMs. I am on FXP 331 atm and have not yet upgraded. I would like to upgrade to FXP 336. I understand that an upgrade is often as simple as installing the ZIP from recovery without wiping any data.
- My phone is encrypted using the Android native filesystem encryption mechanism. Does this mean that the system partition is encrypted as well, or is it just the phone's data partition? Since I have to install from recovery (which presumably is not able to easy read or write from the main system partition) does this effect the upgrade process in any way?
- How often do people who use FXP or other custom ROMs habitually delay before upgrading to the next version?
Daniel
- encrypt /data only, /system is unaffected.
- depends on age, education, sex, etc...
I encrypted my internal drive last nite and just now installed android now, which was not straightforward like before as I had to put the zip on the unencrypted external SD.
I have tried to install xposed but it does not work as it comes up with errors in accessing /data which would be on the encrypted drive.
Is there anyway to get around this or do I just have to unencrypt (not sure i can as i remember it said this operation is not reversible! Lol) or do a clean install from scratch and make sure I dont encrypt it again to ensure compatibility with xposed (and other mods I might want to try in future)?
Sent from my LG-D855 using Tapatalk
Mmh what version of TWRP are you using? Latest TWRP should be able to decrypt the data partition (for CM 12 since 2.8.5.6 i think) , for Stock Roms i am not sure, they can be different though
I had the same thing happen. However, I was running a GPE rom. GPE has it's own encryption that is not standard so TWRP couldn't decrypt it.
However, generally speaking the newer versions of TWRP can decrypt android encryption so you can install and remain encrypted. You'll just need to enter your password. That could be a pin unlock or pattern unlock.
TWRP 3.0 can deal with encrypted data partitions.
So is anyone running encryption on the XT1092 with CM13?
I have installed the latest Lineage 7.1 with twrp 3.2.1.0.
I encrypted the tablet for testing. Unfortunately, I can't decode the tablet anymore. Even a factoryreset does not decrypt the partion: /dev/block/dm-0
After the Factoryreset the decryption key is queried again and again...
Anybody got a hint for me?
You should read before flash. You need to FORMAT /data, not wipe by factory reset...
I switched over from xiaomi.eu to MI Room. Seemed to work fine until a magisk module uninstall screwed up my ROM and caused a bootloop.
Figured I would do a factory reset, however now Orangefox recovery no longer asks for a decryption password. I know the password, so how do I decrypt my storage?
Thanks
It doesn't ask for a password because the encryption files were deleted so twrp would not know what the encryption data is. But miui encrypts your data when you set your pin/pattern and the userdata remains encrypted when the encryption keys get deleted. The only way is to format userdata.
I also want to know a workaround for this. If you format userdata and flash recovery version of your rom, will your data get encrypted again when you set a password? Because then, any backup made with your data encrypted is unusable. Is data encrypted only on official roms but not for lineageOS etc?
editheraven said:
It doesn't ask for a password because the encryption files were deleted so twrp would not know what the encryption data is. But miui encrypts your data when you set your pin/pattern and the userdata remains encrypted when the encryption keys get deleted. The only way is to format userdata.
I also want to know a workaround for this. If you format userdata and flash recovery version of your rom, will your data get encrypted again when you set a password? Because then, any backup made with your data encrypted is unusable. Is data encrypted only on official roms but not for lineageOS etc?
Click to expand...
Click to collapse
My encryption files actually weren't deleted. I did a factory reset and reinstalled the previous ROM I was encrypted on a few times and somehow it decided to allow me to decrypt my storage again... So I managed to back things up, then format and wipe all storage and flash the new ROM. Working fine since.
Thanks for the help though.