Encrypted Data on CM13 - X 2014 Q&A, Help & Troubleshooting

TWRP 3.0 can deal with encrypted data partitions.
So is anyone running encryption on the XT1092 with CM13?

Related

Installing Xposed via TWRP on encrypted internal sd

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.

How to decrypt 7.1.2

Hello, I'm currently using Dirty Unicorns October build.
I want to try some Oreo ROMs, but thing is they do not work well with encrypted devices.
So, I wanna ask how do I decrypt my phone?
The guides that I have seen are very old (for Lollipop). Are these guides still applicable to 7.1.2?
Yes, the guides are still applicable. However, it also depends upon the ROM. None of the Android 8.x ROMs I tried had any issues with encrypted storage.
Backup your internal storage to another device. Using TWRP wipe everything including internal storage and format data. Install ROM that does not force encryption. Copy your data back.
This is correct as far as it goes. What is simply required is a kernel that did not force encryption, not really a full ROM. If you wipe user data before install a "no force encrypt" kernel and then reboot, the user data partition will be encrypted again. You really should flash the kernel (or ROM with a kernel that doesn't force encrypt) first, then format user data. Of course backing up every thing on the user data partition (internal storage) should be done 1st.

After wiping data, TWRP no longer asks to descypt storage. Cant access files.

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.

decrypt without data lose

Hello everybody,
I flashed some rom from other forum which changed my vendor(i guess by twrp messages) and I forgot to flash disable force encryption zip, so now i have encrypted storage, no system and some different vendor which wasn't on my device by default. I have access on twrp and fastboot and all but how can I install system on encrypted device without losing my data(factory reset to decrypt storage) phone?
Edit: by data I mean internal storage not app and rom data. I already wiped them.
copy data to pc or in pendrive using otg then proceed

How to encrypt Nexus 6 7.1.1 Build N6F27M

I have an Nexus 6 Version 7.1.1. The complete Storage is crypted. So it is not possible to wipe the data and system by using TWRP. I did an factory reset but after that the storage also was crypted. How can I encrypt these Version of Nexus 6?
I believe that the stock rom forces encryption.
Use TWRP's format data to remove encryption if you want to install a recent custom rom. Of course, you'll lose all your files by doing that.
Hi, thank you. But if I install twrp on this N6, I need for using twrp a password. If I try to format user Data, the formatting dont work. After start android I have the same crypted data storage. I thing, android install after new starting an crypted storage! I try now to install lineage os after formatting data.
runekock said:
I believe that the stock rom forces encryption.
Use TWRP's format data to remove encryption if you want to install a recent custom rom. Of course, you'll lose all your files by doing that.
Click to expand...
Click to collapse
Hi runcock,
thank you for your help. I installed twrp, formatted all data removed encryption and installed lineageos 17.1 and gaps by using extern otg-storage. All funktions on the nexus 6 works normally. Update to the last version of shamu also worked. Thank you till the next question!

Categories

Resources