renable encryption after format data - Samsung Galaxy A20 Questions & Answers

what to flash to reenable encryption after flashing magisk ?

Related

Is it possible to decrypt the data on the Qualcomm E4?

I need to decrypt the data to get an app working, since it needs to change the data partition to do so. Is there any way to decrypt the data? Thanks!
Elecrolo said:
I need to decrypt the data to get an app working, since it needs to change the data partition to do so. Is there any way to decrypt the data? Thanks!
Click to expand...
Click to collapse
If you unlock the bootloader, flash twrp and then use twrp to flash the dm no verity zip, then format your data (this all wipes your data from the phone of course so you'll need to setup again) you will be unencrypted. You will also likely need a custom recovery to change the /data partition to a different format other than f2fs.

Mi A1 Forced Encryption

I'm sorry if this is posted again but I can't find anything about my problem.
My Mi A1 in unrooted.
I had installed gcam without rooting it to continue receiving OTA, after the latest update I wanted to disable gcam. During the process the application unlocked the bootloader but didnt lock it again.
When I disabled it after the reboot my phone did a factory reset and enrypted itself. I want to decrypt my phone so I used some ways I found on the internet like:
Simple factory reset.
Locked bootloader.
Factory reset again, even though after the lock it did it itself.
Flashed fastboot stock rom.
Flashed twrp read only, wiped system and flashed fastoboot stock rom again!
Still the phone forced encrypt itself after every way I tried:
For gcam I used this way: https://forum.xda-developers.com/mi-a1/how-to/tool-google-camera-root-magisk-enable-t3747585
I didn't check the thread because I already had the app to do the installation.
For fastboot installation I used this: https://forum.xda-developers.com/mi-a1/how-to/ota-official-fastboot-image-n2g47h-7-12-t3728929
EDIT: What if I unlock the bootloader with MiUnlock and relock it via fastboot?
Phone is encrypted by default. Why would you want to have it decrypted? But if you insist.. you have to install magisk, disable forced encryption and reformat data partition in TWRP.
Locking or unlocking the bootloader after May update wipes your data, this is normal for Android and now our phones.
Encryption is default, it would have been encrypted before the wipe as it is now after the wipe, why do you want it unencrypted?
kudos1uk said:
Locking or unlocking the bootloader after May update wipes your data, this is normal for Android and now our phones.
Encryption is default, it would have been encrypted before the wipe as it is now after the wipe, why do you want it unencrypted?
Click to expand...
Click to collapse
Thank you very much, I never experienced this again after unlocking so I thought it was because of the encrypt, I hadn't checked if it was encrypted before the wipe and I assumed it wasn't.
_mysiak_ said:
Phone is encrypted by default. Why would you want to have it decrypted? But if you insist.. you have to install magisk, disable forced encryption and reformat data partition in TWRP.
Click to expand...
Click to collapse
I didn't know the phone was encrypted by default.
Thank you for the possible way though.
Yeah, it is encrypted by default and hw encryption is used. So don't think that it can affect your performance in any way.
_mysiak_ said:
Phone is encrypted by default. Why would you want to have it decrypted? But if you insist.. you have to install magisk, disable forced encryption and reformat data partition in TWRP.
Click to expand...
Click to collapse
After reformatting data partition, do I need to do anything else?
ubmit said:
After reformatting data partition, do I need to do anything else?
Click to expand...
Click to collapse
Keep Magisk installed, otherwise it will probably get encrypted again by stock boot image. Not sure, I didn't try it.. I want my data secure.

How to enable fingerprint avoiding data encryption

Hi,
I have H870 and just installed Open EU 20C rom with "Dm-verify & forceencrypt removed". Then I rooted with magisk and used Marshall kernel 1.6. With the pasts rom installed, every time I've enabled the fingerprint, the data partition were been encrypted.
Now that I have installed a fresh Oreo stock rom and I have formatted data partition, I want to enable fingerprint but I want to avoid data encryption! On Magisk I have unchecked "Preserve forced encryption" and also unchecked "Preserve AVB 2.0/dm-verity".
So, is there a way to enable fingerprint avoiding data encryption?
Thanks!!!

Formatting data in twrp and flashing magisk(H870)

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.

Permanently disable encryption when using custom ROMs

Hi, I have a question about encryption: I formatted data when installing a custom ROM. Now in TWRP, I have to enter my pattern to decrypt the phone.
a. This means my phone is encrypted, right?
b. Which .zip can I use for Disable Force Encryption?
c. Is there a way to force Disable Force Encryption now during the use of a custom ROM (I want to change to another ROM without formatting data, if possible).
Thx, tempe
tempe222 said:
Hi, I have a question about encryption: I formatted data when installing a custom ROM. Now in TWRP, I have to enter my pattern to decrypt the phone.
a. This means my phone is encrypted, right?
b. Which .zip can I use for Disable Force Encryption?
c. Is there a way to force Disable Force Encryption now during the use of a custom ROM (I want to change to another ROM without formatting data, if possible).
Thx, tempe
Click to expand...
Click to collapse
If you flash Orangefox recovery you can check Disable Force Encryption in settings -> OTA, so when you change ROM it automatically decrypt your phone everytime
Saluzzo97 said:
If you flash Orangefox recovery you can check Disable Force Encryption in settings -> OTA, so when you change ROM it automatically decrypt your phone everytime
Click to expand...
Click to collapse
Thanks. I'm on TWRP, though. Is there something similar as well?
Saluzzo97 said:
If you flash Orangefox recovery you can check Disable Force Encryption in settings -> OTA, so when you change ROM it automatically decrypt your phone everytime
Click to expand...
Click to collapse
Does that mean it actually disables encryption, or that it decrypts just before you flash system?
nikc0069 said:
Does that mean it actually disables encryption, or that it decrypts just before you flash system?
Click to expand...
Click to collapse
That's strange you want to disable encryption when your phone has a twrp installed.
That leads your phone to be like open book if you loose it!
I am sure you know what you are doing!
Cheers

Categories

Resources