Turn on encryption for Oreo S7 with TWRP - Samsung Galaxy S7 Questions and Answers

Hello, I have a Galaxy S7 G930F which I recently updated to stock Oreo (clean flash with Odin), installed TWRP, rooted, flashed xposed etc. The thing is, TWRP does not work with an encrypted stock S7, so it is forcefully decrypted. (please correct me if I am wrong) But now that I've set everything up, I would rather have encryption than a working TWRP, but if I try to encrypt the device (don't care about SD) from settings, it says encrypting for a while, then hangs at booting for a few minutes, then boots but without having encrypted.
So the question: how can I encrypt my already set up device now, even if that means breaking TWRP functionality?

In other device sections some said to disable SuperSU and then encrypt. Not sure how I would do that. Does anybody have other ideas?

Related

[Q] Custom rom encryption

Does on custom ROM works encryption? I tried a couple ROMS, but encryption never works. Always starts encryption and after a a couple seconds phone reboots, do not encrypted. I tried encrypt after fresh install, but always unsuccessful. I googled, some peoples with other devices encrypt their devices. If I remember good, my nexus4 on paranoid was encrypted. Maybe this problem only on s6?
paulyz said:
Does on custom ROM works encryption? I tried a couple ROMS, but encryption never works. Always starts encryption and after a a couple seconds phone reboots, do not encrypted. I tried encrypt after fresh install, but always unsuccessful. I googled, some peoples with other devices encrypt their devices. If I remember good, my nexus4 on paranoid was encrypted. Maybe this problem only on s6?
Click to expand...
Click to collapse
I've got a feeling it's because knox has been tripped.
---------- Post added at 10:16 PM ---------- Previous post was at 10:09 PM ----------
paulyz said:
Does on custom ROM works encryption? I tried a couple ROMS, but encryption never works. Always starts encryption and after a a couple seconds phone reboots, do not encrypted. I tried encrypt after fresh install, but always unsuccessful. I googled, some peoples with other devices encrypt their devices. If I remember good, my nexus4 on paranoid was encrypted. Maybe this problem only on s6?
Click to expand...
Click to collapse
Actually just saw this:
http://forum.xda-developers.com/galaxy-s6/general/device-encryption-root-t3400259
@sofir786, thanks. I checked my logs, the phone always reboots, because he can't unmount files. I found information how temporary disable root, but no succes.
yes encryption works on any rom you just need to unroot ,encrypt ,and root .
1. unroot your phone from su app ( or try to perform a factory reset and wipe Dalvik cache in TWRP )
2. encrypt your phone
3. your phone is now encrypted try flash "CF-autoroot"via odin .
ok, encryption worked, but after encryption boot loop (stuck on samsung logo) Why?
Second time I tried fast encryption, but same end, won't boot, stuck on samsung logo.
booted to TWRP, but can't decrypt or enter to any partition.
so, guys, does somebody has encrypted s6 with custom rom? Always after encryption I get bootloop, but after unrooting device boots without problem. And, after encryption TWRP do not show encrypted partition, do not ask for key or etc.
paulyz said:
so, guys, does somebody has encrypted s6 with custom rom? Always after encryption I get bootloop, but after unrooting device boots without problem. And, after encryption TWRP do not show encrypted partition, do not ask for key or etc.
Click to expand...
Click to collapse
Twrp won't recognise the partition from what I've read that's why you don't see it, have a little Google it seems it's a common issue with twrp and encrypted partitions
sofir786 said:
Twrp won't recognise the partition from what I've read that's why you don't see it, have a little Google it seems it's a common issue with twrp and encrypted partitions
Click to expand...
Click to collapse
I googled, but no 100% true information. But if I understand good, the problem is with samsung encryption and TWRP.
So, if encryption + TWRP do not work, so custom rom with encryption bad choice, because you can't update your rom, make backup or flash new after encryption. Yes, is one possibility, to decrypt, but for this need a lot of time (if I remember good, 24+ hours).

Encrypted MI 4C, Weekly Rom, TWRP 3.0.3.0 encryption password not accepted

Hi folks,
My MI4C is on the weekly MIUI 7.4.x, I am now looking to upgrade, hence as usual I rebooted in recovery.
The phone has obviously root and unlocked bootloader.
TWRP is asking for my encryption password, which I know, but no matter what, TWRP does not flipping accept the password!
What can I do?
Do you know if you have the Nougat bootloader or the old one?
I have not found a TWRP that can successfully decrypt it Nougat bootloader ROMs. If you are not on the Nougat Bootloader then I recommend trying Team Superluminal's TWRP, since that is the only one that worked with encryption enabled for me I think.
Have you got a working rom/os on the phone ?, If you do have try to add a password on the rom, hope the twrp has a new working crypto after that and ask you for a new password. If it didnt work try to reinstall the twrp by erasing it first.
Hi, I am on the Nougat bootloader, I tried to change the encryption password, tried to remove the encryption, but nothing worked, TWRP is still asking me the password to access the data partition.
What can I do?
I cannot wipe the phone, as I use it for my work,how can I upgrade TWRP when encryption is on?
Hi folks, anybody in my situation? I would like to avoid wiping the entire phone just because of the TWRP password bug.
I changed to a PIN password, but nothing works.

Magisk - not able to decrypt data

Hello,
my setup first: Huawei Honor 6X with stock Rom (EMUI 5.0, BLN-21C432B382) but TWRP 3.1.1 flashed.
Everytime after I flash Magisk and reboot the device, it is asking me for my password to decrypt my data. When I enter my screen lock pin,
it says "checking" and then a screen appears which says something like "your password is correct but your data is corrupt" It tells me to reset my phone.
But instead when i go back to TWRP, i can still access all the data. I can see the internal storage and all the files on it.
The only way to make the system reboot correctly, is to flash the backup image of the boot partition.
Does anyone know any fix to this issue? I really want Magisk installed....
Edit: When I install version 18.1 instead of the latest 19.1, everything works normally. But many modules dont work with the older version.... this is not a good solution
No suggestions at all?

[J7 2016] [J710-FN] Problems after flashing TWRP with Samsung encryption ON

Hi! By mistake I flashed TWRP 3.3.1 with Samsung encryption ON, so I got a bootloop. I managed to get the latest stock firmware and flash it without removing data, so it boots and I can see notifications from my apps. The problem is I can't unlock the phone now: I draw the pattern but the screen goes off and so on. I have a "screen lock loop".
Do you know if there is any way to solve this? What I want to do is removing Samsung encryption and flash TWRP to get root access. If I can do this without losing data would be great. If there is no option I suppose I can wipe data from stock recovery and start from the beginning (please let me know if I'm wrong).
Many thanks!
Kind regards.

Bootloop When Try the encryption with TWRP and custom ROM

I have a problem with encryption, on Galaxy S6 (g920F) + TWRP and any custom ROM.
The flash of any custom ROM goes correctly, but when I try to encrypt the device (Settings-Security & Location-Encrypt phone), it goes into BootLoop and is no longer bootable. It is as if the block is immediate, as for a moment the screen that should carry out the encryption appears but immediately afterwards it goes to BootLoop
I've tried every version of the Lineage (15-16-17.1) or even PixelExperience, I have also tried various versions of TWRP (3.2.3,3.3.0,3.1.1) but still the same problem.
I think it's either Samsung or TWRP. Is it possible to fix it somehow? I'm doing something wrong?
Thanks

Categories

Resources