Can someone please tell me how to enable decryption in twrp to install custom roms?
Thank you!
Edit: I found the solution, you have to format data instead of wiping.
Related
Hi guys,
If you encrypt Lillipop device, is it possible to access the data on the device VIA TWRP/CWM recovery (with file explorers) ?
As you may know, custom recoveries doesn't have any password protection because there is no point in it so if the devices is lost / stolen - the thief will be able to extract your data from the recovery even if your device is encrypted?
And what about backup/restore functions over encrypted device- is it even possible for TWRP recovery to back up encrypted device?
Thanks! :good:
hmmm... nobody?
GadgetAvi said:
hmmm... nobody?
Click to expand...
Click to collapse
If the device is encrypted nobody can steal your data.
TWRP can work with encrypted device. CWM cant
bitdomo said:
If the device is encrypted nobody can steal your data.
TWRP can work with encrypted device. CWM cant
Click to expand...
Click to collapse
Ohh, thank you very much! that's good to know! So TWRP can mount encrypted file system and support full Nand backup / restore?
And what about OTA and Stock image side-loads (nexus toolkit etc.) - encrypted file system must be formatted? or it will stay encrypted?
GadgetAvi said:
Ohh, thank you very much! that's good to know! So TWRP can mount encrypted file system and support full Nand backup / restore?
And what about OTA and Stock image side-loads (nexus toolkit etc.) - encrypted file system must be formatted? or it will stay encrypted?
Click to expand...
Click to collapse
If twrp detects that your device is encrypted then it will ask you to enter your password, pin code, or patter. After that everything works as it was not encrypted until you restart your device of course.
You can only sideload ota images (5.0+ otas does not work with custom recovery) and flashable zips. You cant sideload factory images from google's site. You use fastboot to flash factory firmware.
But back to your question.
Adb sideload changed a bit. It used to work like it adb push the zip to /sdcard (if you had encrypted and you dont decrypt it it will go to /cache or to / i dont remember), but now it is different. I cannot explain well but I will try. With newer recoveries if you sideload a zip it works like you put a windows install disk to your cd drive. Your PC will be the CD drive to your phone and the flashable zip will be the install disk. So the installer files will not be physically on the HDD (in your case it wont be adb pushed to /sdcard anymore.).
Ok thank you, I'm not sure if I get it right, but I'll look into it some day
I have a J710DM/DS. I flashed the latest version of TWRP (TWRP for j7xelte - 3.0.2.1) with no problems.
But when I try to do a backup (to the external SD card), I get the expected "failed to mount /data" errors that result from dm-verity.
TWRP's website talks about this and mentions that some versions have a "System Image" option, but I don't see it on my phone.
So how do I properly do a backup?
This is nothing to do with dm-verity, it's encryption.
Format DATA to remove encryption and then install the boot patch.
My builds of TWRP have image backup, but not sure if I've compiled a j710 version.
ashyx said:
This is nothing to do with dm-verity, it's encryption.
Format DATA to remove encryption and then install the boot patch.
My builds of TWRP have image backup, but not sure if I've compiled a j710 version.
Click to expand...
Click to collapse
Thanks for the information.
What boot patch?
Edit:
Also, what's the recommended way to format DATA? If TWRP can't even mount it, can it even format it?
Haphim said:
Thanks for the information.
What boot patch?
Edit:
Also, what's the recommended way to format DATA? If TWRP can't even mount it, can it even format it?
Click to expand...
Click to collapse
FORMAT *not* WIPE. You don't need to mount to FORMAT.
To disable forced encryption and mount internal storage:
(Note this MUST be flashed after SuperSU if you intend to root)
1. Boot to Twrp
2. Format Data partition using FORMAT DATA button under Wipe options.
(Note: This will wipe the internal storage)
3. Check DATA is mountable.
4. Install SuperSU (if root is required)
5. Install boot image patch below.
6. Reboot
Boot image patch
no-verity-no-encrypt_ashyx
ashyx said:
FORMAT *not* WIPE. You don't need to mount to FORMAT.
To disable forced encryption and mount internal storage:
(Note this MUST be flashed after SuperSU if you intend to root)
1. Boot to Twrp
2. Format Data partition using FORMAT DATA button under Wipe options.
(Note: This will wipe the internal storage)
3. Check DATA is mountable.
4. Install SuperSU (if root is required)
5. Install boot image patch below.
6. Reboot
Boot image patch
no-verity-no-encrypt_ashyx
Click to expand...
Click to collapse
Thank you so much for elaborating!
Quick follow-up: I have already flashed SuperSU previously. Will I need to flash it again after formatting DATA?
Haphim said:
Thank you so much for elaborating!
Quick follow-up: I have already flashed SuperSU previously. Will I need to flash it again after formatting DATA?
Click to expand...
Click to collapse
You will need to reflash supersu.
Quick, but vital question:
Does flashing "no-verity-no-encrypt_ashyx" mean that I can now safely restore a full system backup?
Haphim said:
Quick, but vital question:
Does flashing "no-verity-no-encrypt_ashyx" mean that I can now safely restore a full system backup?
Click to expand...
Click to collapse
If you made a backup of an unencrypted data partition then you can restore if /data is mountable.
If you are not restoring /data then it doesn't matter.
Thank you so much for helping me understand all of this. You're the best!
Twrp 3.3.1.0 don't decrypt data partition ???!!!!
Twrp 3.3.1.0 don't decrypt data partition ???!!!!
Twrp 3.3.1.0 don't decrypt data partition ???!!!!
mehrdad_esmaeeli said:
Twrp 3.3.1.0 don't decrypt data partition ???!!!!
Twrp 3.3.1.0 don't decrypt data partition ???!!!!
Twrp 3.3.1.0 don't decrypt data partition ???!!!!
Click to expand...
Click to collapse
Fix it?
Fix it?
Fix it?
These threads are pointless.
You are stating what we Allready know.
mehrdad_esmaeeli said:
Twrp 3.3.1.0 don't decrypt data partition ???!!!!
Twrp 3.3.1.0 don't decrypt data partition ???!!!!
Twrp 3.3.1.0 don't decrypt data partition ???!!!!
Click to expand...
Click to collapse
Disable lock screen before you use it.
X3
xunholyx said:
Disable lock screen before you use it.
X3
Click to expand...
Click to collapse
lol
lol
lol
@xunholyx
Mikee4fun said:
lol
lol
lol
@xunholyx
Click to expand...
Click to collapse
Not impassable.
xunholyx said:
Disable lock screen before you use it.
X3
Click to expand...
Click to collapse
not work for me :crying:
can not decrypt!
the answer of TWRP developer!
question TWRP ROOT MAGISK
loveuhp said:
can not decrypt!
the answer of TWRP developer!
Click to expand...
Click to collapse
If I format Data type YES option ...(to decrypt data) in PIE TWRP ver.3.4
will I be able to "factory reset" my OS that I have on my internal drive ?
TWRP
Known Issues
Quote:
Encrypted backups are broken - DO NOT USE THIS FEATURE!!
Reboot recovery option doesn't work - device will only reboot to system (needs custom-built kernel to fix)
my goal is to have CleanSlate ,3.31. ,firmware...PiE
my goal is to have CleanSlate ,3.31. ,firmware...PiE[/QUOTE]
What does it mean? CleanSlate is only providing for kenerl,which is nice for attional setting. Is there any rom built by him?
Hi guys,
I am in confusion.
Ultimate questions is: why can't my proper TWRP decrypt data? Being under LOS16. Asking me for password I can't provide. I updated Magisk and Viper and got bootloop.
Entering recovery mode, no internal storage, followed the repair file system method with changing file structure to ext2 than to ext4, still no internal storage.
All I want is to recover media files before reflashing LOS.
1. How to decrypt data?
2. Why by default TWRP doesn't do it.
Thanks
Iam not able to flash any rom
Also not able to wipe internal from advance wipe...
Please help...
Any luck? i have the same issue
anil128 said:
Iam not able to flash any rom
Also not able to wipe internal from advance wipe...
Please help...
Click to expand...
Click to collapse
Try removing the existing device unlock PIN/password and restart TWRP. If that doesn't work, set a PIN based password and reboot TWRP. It will ask for password and then all folders should be visible in TWRP