I am coming from Moto G3. It didn't have any encryption by default.
I saw some people post that they were having trouble to see files in TWRP recovery because of encryption. Can someone explain to me what's the deal with it? Should I have my phone encrypted while rooting and flashing roms? What happens if I decrypt it?
Thanks!
To my knowledge nothing is going to happen as long as the device isn't multi user. I have my data partition encrypted and TWRP works for me (actually using the blu_spark version).
so if you are using TWRP and data partition is encrypted with fingerprint unlock also set, while booting to TWRP, it will ask you to enter your password
the password is the same you used when setting up your fingerprint
while entering it, it will decrypt the storage automatically letting you flash files from internal storage
that is all you need to know
alternative way is to set security to swipe and you will boot directly to TWRP without needing a password
gwolfu said:
so if you are using TWRP and data partition is encrypted with fingerprint unlock also set, while booting to TWRP, it will ask you to enter your password
the password is the same you used when setting up your fingerprint
while entering it, it will decrypt the storage automatically letting you flash files from internal storage
that is all you need to know
alternative way is to set security to swipe and you will boot directly to TWRP without needing a password
Click to expand...
Click to collapse
So TWRP decrypts internal storage when I enter it. Does that mean the next time I boot my device I don't have encryption and need to do it manually?
aayushgala said:
So TWRP decrypts internal storage when I enter it. Does that mean the next time I boot my device I don't have encryption and need to do it manually?
Click to expand...
Click to collapse
yes TWRP decrypts the data, but you need to password every time you boot in it
also TWRP does not remove encryption, unless you format the data partition
Let's just make sure we're using the correct terms. TWRP does not decrypt the data partition, it just uses the password provided to decrypt the master decryption key and then sets the correct credentials to access the encrypted data partition. So it stays as it is; you just make it accessible by putting in the correct password.
Related
After installing aosp oreo on lenovo p2 twrp my internal storage is encrypted (i didn't use any pattern or password before).
i really don't want to loose my data !!!
(i did a normal backup before on a external usb otg)
vrik1001 said:
After installing aosp oreo on lenovo p2 twrp my internal storage is encrypted (i didn't use any pattern or password before).
i really don't want to loose my data !!!
(i did a normal backup before on a external usb otg)
Click to expand...
Click to collapse
I had d same problem....after a certain number of tries....it unlocks ...(I tried any random combination ... except the one I had set before) and it opens after 3-4 tries....
Try this
Try to flash another custom ROM and then set up a pin code and then go back to twrp type the pin code and restore??
vrik1001 said:
After installing aosp oreo on lenovo p2 twrp my internal storage is encrypted (i didn't use any pattern or password before).
i really don't want to loose my data !!!
(i did a normal backup before on a external usb otg)
Click to expand...
Click to collapse
You can take internal storage backup using the "file manager in recovery" in "advanced option". Check it out, or YouTube it. After this you can format without trouble.
Hello guys! Yesterday I installed Lineage OS 16.0 on a moto g5 cedric, no errors aparently. But when I was setting up some configs and unintentionally selected to draw a pattern to boot the system.
The point is that I forgot the pattern and my cellphone is stucked at the moment. I've tried enter in twrp recovery mode and wipe, erase all data but I was request for a pattern that too. Twrp is unable to mount the system because it is encrypted.
Please help me, if I dont fix this cellphone my mom is gonna me hahahahahaha
Goto twrp
If it asks you for password just push back - you don't need to mount the partition
Goto wipe
Format data (option on the right)
You can also do
fastboot erase userdata
Note this deletes everything on internal storage
Also note if you only wiped data from advanced menu this will not remove encryption
TheFixItMan said:
Goto twrp
If it asks you for password just push back - you don't need to mount the partition
Goto wipe
Format data (option on the right)
You can also do
fastboot erase userdata
Note this deletes everything on internal storage
Also note if you only wiped data from advanced menu this will not remove encryption
Click to expand...
Click to collapse
Thanks man! You are a hero!
Hi guys,
I'm a little bit confused about the TWRP problem to mount encrypted data partition.
My Lineageos ROM and TWRP combination, I had the last years, were all encrypted and I had never problems decrypt data with TWRP and my password.
Now I switched to A5 and it's only possible to encrypt my phone or, to make backups with TWRP!
All threads I found about "can't found crytpo footer" or "can't decrypt /data" were the solution to format data. But I want to keep my encryption to keep my phone more secure! For remove the stock rom encrytion key, ok. But not for daily usage.
I'm on Lineageos 16 and TWRP 3.3.1. My A5 2017 is on the latest firmware A520FXXUBCSHB.
Please enlight me, may I sort something wrong, or something important has been changed on newer devices!
For me it looks like:
Encryption on = Data Encryption on + TWRP Backup off
Encryption off = Data Encryption off + TWRP Backup on
Is it possible to get both, encryption and TWRP backups? Or to get fix for TWRP?
i have twrp installed using the bootloader unlock bypass.
how do i go about decrpyting the phone so i can install stuff from twrp in the future?
cheers
This question was lost with time.
If i seen it before i would have answered it before.
Wgen you first install vbmeta skip partition it wipes your security options. Messing with the encryption of your data partition.
The only way to gain access to the data partition again is to format the data partition and start the phone fresh.
I assume since this post is 2 months old you made the choice already to format data to gain access to you drive once more.
As long as you keep your new vbmeta through all your new zip installs you should be able to access your data on each update.
Hi there,
My phone doesn't boot to android and returns to recovery every time, after doing a dirty installation from ArrowOS 11 encrypted to 12 also encrypted.
I made a backup, but I selected the internal storage by fault.
And now TWRP doesn't ask me for a password, so I can't decrypt the data partition.
What I tried to fix the issue:
I tried to install more than one TWRP version included [Orange fox, PBRP, and a one called twrp_ginkgo-willow-3.4A9_23-12-2020_BL.img (this was one I used before with ArrowOS 11]
installed the last working firmware and the latest ArrowOS 11 as I can't find older versions.
decrypting the data with this command: "ADB shell twrp decrypt mypincode"
The last time this happened to me, I followed those steps:
I had to wipe all partitions and clean install the same previous ROM
Then I created the same pin code as my previous one
I created a backup of boot, Dtbo, and recovery
restored my data backup through TWRP
restored the boot, Dtbo, and recovery
wiped the Dalvik / Art Cache and Cache
The problem now is that I created the backup on the internal storage by fault. If someone made the same pin code as mine and created a backup of the boot, Dtbo, and recovery for me is it going to work?
Is there anything else I can do to recover my data?
QuietLife said:
The problem now is that I created the backup on the internal storage by fault. If someone made the same pin code as mine and created a backup of the boot, Dtbo, and recovery for me is it going to work?
Click to expand...
Click to collapse
No, decryption key is unique
QuietLife said:
Is there anything else I can do to recover my data?
Click to expand...
Click to collapse
If you already (sometime in the past) flashed DFE wih format data , then just flash DFE and clear chache/dalvik + reboot
if you never did it then i'm afraid there is no solution ,you have to format
Ask in DFE topic to make sure
loopypalm said:
No, decryption key is unique
If you already (sometime in the past) flashed DFE wih format data , then just flash DFE and clear chache/dalvik + reboot
if you never did it then i'm afraid there is no solution ,you have to format
Ask in DFE topic to make sure
Click to expand...
Click to collapse
I didn't use it, but last time I didn't use it also and I restored my data, so I think I might have a chance.
Is there a way to backup the current encrypted data partition to a PC or a memory card?
QuietLife said:
I didn't use it, but last time I didn't use it also and I restored my data
Click to expand...
Click to collapse
Some roms does not encrypt data by default, that was the case i think
QuietLife said:
Is there a way to backup the current encrypted data partition to a PC or a memory card?
Click to expand...
Click to collapse
I never tried it (i never encrypt) so i'm not sure
you can change the bkp path in Ofox to USB (OTG) or SDCard and see if it work