Device encryption after nougat? - Lenovo P2 Questions & Answers

I just noticed my p2 has been encrypted and I think it happened after nougat update. Can others confirm? Is it nougat feature or something??

In MM is the same.

I think the stock roms have forced encryption enabled by default. It will reencrypt the phone if it was decrypted.

my p2 was encrypted since beginning with MM and same for Nougat

I cant access to twrp anymore . How to remove encryption?

kataeb said:
I cant access to twrp anymore . How to remove encryption?
Click to expand...
Click to collapse
Use latest unofficial twrp-3.1.0-0 i already fix that bugs, see in my treats

I updated with unofficial twrp but still asking for a code, it is encrypted

kataeb said:
I updated with unofficial twrp but still asking for a code, it is encrypted
Click to expand...
Click to collapse
You must remember last your pin code otherwise twrp can't decrypted

Hi, my p2 didn't ask me any code but is still encrypted.
How can I decrypted it ?
When I am in settings security, there is encryption shown, but no any option to decrypt it.
How can I fix it ? My bootloader is unlocked, but when I flash rom, I have a message after the bootanimation to reset for decrypt my phone, but it doesn't work.
Any idea or Decrypted & Insecure boot.img with adb fix ?

gui3gui said:
Hi, my p2 didn't ask me any code but is still encrypted.
How can I decrypted it ?
When I am in settings security, there is encryption shown, but no any option to decrypt it.
How can I fix it ? My bootloader is unlocked, but when I flash rom, I have a message after the bootanimation to reset for decrypt my phone, but it doesn't work.
Any idea or Decrypted & Insecure boot.img with adb fix ?
Click to expand...
Click to collapse
Happened to me too while using a custom rom and then switching to another rom :silly: There is a way to do it.. Got to TWRP change System and Cache to Ext 4 using the repair/ change file partition, doing it to data wont work because its encrypted.. But doing so with cache and system should erase and reset it.. Oh and format data after that. Then you can flash a rom.. There is also an adb command too ---- fastboot format userdata ... And then ---- fastboot reboot

Ok I will try this. Thanks for your help.
Envoyé de mon HUAWEI NXT-AL10 en utilisant Tapatalk

It's working perfectly. Thanks a lot !

Related

Can't decrypt my phone after installing oos nougats beta 8

After installing oos beta 8 nougats I made encryption and I made pin code but after restarting the phone when I write the pin code it gives me wrong pin and also gives me wrong pin when trying to open twrp , any solution please??
eid_elageeb said:
After installing oos beta 8 nougats I made encryption and I made pin code but after restarting the phone when I write the pin code it gives me wrong pin and also gives me wrong pin when trying to open twrp , any solution please??
Click to expand...
Click to collapse
You need modified TWRP 3.0.2-28 to get TWRP working with Beta 8. I had the same issue witrh my installation.
Also you need to make sure to remove your lock screen, then you will be able to use TWRP
strumaticjoker2 said:
Also you need to make sure to remove your lock screen, then you will be able to use TWRP
Click to expand...
Click to collapse
even without protection, twrp asking pw, need to erase use data and system.
I solved the problem by using oneplus 3 toolkit " Force Decryption Device" option and it works well, Thank you for your help guys
eid_elageeb said:
I solved the problem by using oneplus 3 toolkit " Force Decryption Device" option and it works well, Thank you for your help guys
Click to expand...
Click to collapse
I got the same issue, cannot decrypt the internal storage.
I am using TWRP3.0.2.1-28
What is your action, just run "Force Decryption Device" by using Toolkit v.3.6
and what recovery are you using ?
Thx
yiphoming said:
I got the same issue, cannot decrypt the internal storage.
I am using TWRP3.0.2.1-28
What is your action, just run "Force Decryption Device" by using Toolkit v.3.6
and what recovery are you using ?
Thx
Click to expand...
Click to collapse
First I flash the stock recovery by toolkit and then make force decryption device and then I flash twrp 3.0.2.1-28 and It works, but you should to know that everything on your phone will be erased
eid_elageeb said:
First I flash the stock recovery by toolkit and then make force decryption device and then I flash twrp 3.0.2.1-28 and It works, but you should to know that everything on your phone will be erased
Click to expand...
Click to collapse
No luck, can erase the storage, but it is still in encrypted.
yiphoming said:
No luck, can erase the storage, but it is still in encrypted.
Click to expand...
Click to collapse
I'm using latest modified TWRP 3.0.2-28 + OOS Beta 8. I have a protected lockscreen (fingerprint / pin) and pin is needed to start the device.
I flashed TWRP, wiped everything and changed "DATA" filesystem to "F2FS" and flashed the rom (clean installation)
I have full acces when using TWRP.
No need to force decryption or anything...
LS.xD said:
I'm using latest modified TWRP 3.0.2-28 + OOS Beta 8. I have a protected lockscreen (fingerprint / pin) and pin is needed to start the device.
I flashed TWRP, wiped everything and changed "DATA" filesystem to "F2FS" and flashed the rom (clean installation)
I have full acces when using TWRP.
No need to force decryption or anything...
Click to expand...
Click to collapse
It doesn't work though, if you installed dirty and just upgraded from MM. TWRP keeps asking for password and doesn't accept it, even if I change to password (else using PIN) in the system.
rarog said:
It doesn't work though, if you installed dirty and just upgraded from MM. TWRP keeps asking for password and doesn't accept it, even if I change to password (else using PIN) in the system.
Click to expand...
Click to collapse
I came from OOS 3.2.8 running already with F2FS and did a dirty flash to the Nougat Beta.
All with the -1.28 TWRP and have no issues going into TWRP and it accepts my pin.
AcmE85 said:
I came from OOS 3.2.8 running already with F2FS and did a dirty flash to the Nougat Beta.
All with the -1.28 TWRP and have no issues going into TWRP and it accepts my pin.
Click to expand...
Click to collapse
This is the way I went, just yet being on ext4. Could it be a difference, if you flash or if you just boot TWRP? I'm only booting instead of flashing, so I retain my recovery, as I didn't see the new Oxygen recovery for OOS4 in the wild yet.
rarog said:
This is the way I went, just yet being on ext4. Could it be a difference, if you flash or if you just boot TWRP? I'm only booting instead of flashing, so I retain my recovery, as I didn't see the new Oxygen recovery for OOS4 in the wild yet.
Click to expand...
Click to collapse
You probably need an older version for ext4. The last one working on ext4 when I did the switch to f2fs was -1.25 if I remember correctly.
After the switch to f2fs I had to flash 1.28 or the recovery wouldn't accept my pin anymore.
LS.xD said:
I'm using latest modified TWRP 3.0.2-28 + OOS Beta 8. I have a protected lockscreen (fingerprint / pin) and pin is needed to start the device.
I flashed TWRP, wiped everything and changed "DATA" filesystem to "F2FS" and flashed the rom (clean installation)
I have full acces when using TWRP.
No need to force decryption or anything...
Click to expand...
Click to collapse
Do you also get the dm-verity bootscreen?
AcmE85 said:
You probably need an older version for ext4. The last one working on ext4 when I did the switch to f2fs was -1.25 if I remember correctly.
After the switch to f2fs I had to flash 1.28 or the recovery wouldn't accept my pin anymore.
Click to expand...
Click to collapse
Hm... Interesting, do you have a link? And perhaps a link to a thread with all the available versions? I searched, but found only several tutorial threads with just one or another version linked, no thread for specific modified version.
AcmE85 said:
Do you also get the dm-verity bootscreen?
Click to expand...
Click to collapse
As far as I know - no.
When would this error message pop up?
LS.xD said:
As far as I know - no.
When would this error message pop up?
Click to expand...
Click to collapse
Right at boot before or after the screen which shows that the bootloader is unlocked.
AcmE85 said:
Right at boot before or after the screen which shows that the bootloader is unlocked.
Click to expand...
Click to collapse
No such error message for me
LS.xD said:
No such error message for me
Click to expand...
Click to collapse
Did you flash SuperSU?
AcmE85 said:
Did you flash SuperSU?
Click to expand...
Click to collapse
Yes, 2.78 SR5
I have done format userdata in fastboot but my phone still shows up as encrypted. Flashed 3.0.2-1.28 and I still get a password screen when booting to recovery. Not really sure what else I can do.

[HELP!] Encrypted folders in TWRP

Hey guys,
I have recently flashed global stable ROM over global beta (oreo) while having lockscreen setup, and also "Preverve force encryption" checked in Magisk while in global beta. This was an accident...
And now, no matter how I format the phone, or flash offiical ROMs from MiTools/fastboot, once after the initial setup of MIUI, the folders shown up in TWRP is random characters.
If i format data partition, then I can access data from TWRP, but once initialized android, then it goes back to random characters.
I have also tried this thread in MIUI forum:
http://en.miui.com/thread-310923-1-1.html
this script is meant to disable encryption but it seems to be very out dated, tried it doesn't work.
Has anyone ran into problems like this before?
Thanks in advance!
Just use the same code as you entered on you lock screen.
For example if your lock pin is '1234' put '1234' in the TWRP when you boot into it.
Sent from my Mi MIX 2 using Tapatalk
punkmonkey1984 said:
Just use the same code as you entered on you lock screen.
For example if your lock pin is '1234' put '1234' in the TWRP when you boot into it.
Sent from my Mi MIX 2 using Tapatalk
Click to expand...
Click to collapse
i don't prompt the lockscreen code:crying:
its just simply encrypted, and after i flash magisk in other roms, the preserve forced encryption option is unchecked...which should not be the case...
kezzuki said:
i don't prompt the lockscreen code:crying:
its just simply encrypted, and after i flash magisk in other roms, the preserve forced encryption option is unchecked...which should not be the case...
Click to expand...
Click to collapse
@kezzuki
Have you tried to install the latest TWRP 3.2.1-0 build with encryption support?
Info & DL here: https://forum.xda-developers.com/mi-mix-2/development/recovery-twrp-3-2-1-0-recovery-t3730030
raupe said:
@kezzuki
Have you tried to install the latest TWRP 3.2.1-0 build with encryption support?
Info & DL here: https://forum.xda-developers.com/mi-mix-2/development/recovery-twrp-3-2-1-0-recovery-t3730030
Click to expand...
Click to collapse
Wow it works. Thanks!
Now i'm confused,,, i used to be able to see the files in TWRP, but i definitely have not used this version. I wonder if what i used before also supports encryption, or it was that the encryption was not enabled before....
But anyways, this one your link is working. Thanks again!

Data encrypted after miui pie update(9.3.28)

I just updated to global beta 9.3.28 and my twrp is now showing data encrypted and it asks for the password (my lockscreen password doesnt work), internal storage is showing 0 Mb & I'm unable to flash anything. Somehow i rooted my device with magisk patch boot image method and twrp started flasing things, i flashed "no-verity-opt-encrypt-6.0" & its not doing anything as well. So i took the bold step and wiped cache,dalvik,data & internal storage then twrp worked correctly w/o asking for any password but after flashing the rom again(flashed lazyflasher too) and rebooting to twrp gets me to the same problem of data encryption!!!....what am i doing wrong here??...please help
Solution- change recovery to one which supports pie(like to orangefox).
Did you tried to flash another TWRP that supports miui pie?
Try orangefox recovery.
[email protected] BOY said:
Did you tried to flash another TWRP that supports miui pie?
Try orangefox recovery.
Click to expand...
Click to collapse
What you are suggesting is to use orangefox and then wipe all the data,internal storage and then flash the rom again, well i guess i have to try it.... Thanks for the suggestion.
rick_th1 said:
I just updated to global beta 9.3.28 and my twrp is now showing data encrypted and it asks for the password (my lockscreen password doesnt work), internal storage is showing 0 Mb & I'm unable to flash anything. Somehow i rooted my device with magisk patch boot image method and twrp started flasing things, i flashed "no-verity-opt-encrypt-6.0" & its not doing anything as well. So i took the bold step and wiped cache,dalvik,data & internal storage then twrp worked correctly w/o asking for any password but after flashing the rom again(flashed lazyflasher too) and rebooting to twrp gets me to the same problem of data encryption!!!....what am i doing wrong here??...please help
Click to expand...
Click to collapse
Try this twrp it supports miui 10 pie encryption
https://forum.xda-developers.com/showpost.php?p=79215432&postcount=42
01Thesam said:
Try this twrp it supports miui 10 pie encryption
https://forum.xda-developers.com/showpost.php?p=79215432&postcount=42
Click to expand...
Click to collapse
Will try this for sure, orangefox is working as of now...
[email protected] BOY said:
Did you tried to flash another TWRP that supports miui pie?
Try orangefox recovery.
Click to expand...
Click to collapse
Thanks bro, its working, i never thought that twrp was the culprit.
rick_th1 said:
Thanks bro, its working, i never thought that twrp was the culprit.
Click to expand...
Click to collapse
You're welcome :good:
Had the same problem, but I am using Redfox... Will check for an update or change to orange.
so dudes very confused.what to do to flash pie?I am still on Oreo.Will I flash oreo with my current recovery and afterwars when system boots I have to flash orange recovery?
Στάλθηκε από το SM-G955F μου χρησιμοποιώντας Tapatalk
It happened to me.
When redwolf recovery ask you to enter passwords just Cancel it.
Goto wipe. Slide to wipe.
Goto reboot. Reboot recovery.
unfortunately This solution cause my phone need to fatory reset before reboot
The same happened to me, after flashing weekly (thru my redwolf recovery) 9.3.28 my storage has encrypted.
My question is the following,
Do I have possibility of decyripting storage w/o data factory reset ?
and,
Shall I loose my data if I implement the below method explained below web page ?
http://www.androwide.com/2017/08/unable-to-mount-storage-twrp-internal-storage-0mb.html
Or is there any method (with any type recovery) to decrypt storage w/o loosing data in storage ?
updated TWRP by GuaiYiHu TWRP-20190330-3.2.3.0-whyred
changelog
Update prebuilt kernel for pie firmware decryption
download link
https://github.com/GuaiYiHu/android_device_xiaomi_whyred/releases
==> not tested by me
sas_sas said:
The same happened to me, after flashing weekly (thru my redwolf recovery) 9.3.28 my storage has encrypted.
My question is the following,
Do I have possibility of decyripting storage w/o data factory reset ?
and,
Shall I loose my data if I implement the below method explained below web page ?
http://www.androwide.com/2017/08/unable-to-mount-storage-twrp-internal-storage-0mb.html
Or is there any method (with any type recovery) to decrypt storage w/o loosing data in storage ?
Click to expand...
Click to collapse
The solution is to flash a recovery with support of pie decryption, i dont know about redwolf but orangefox recovery definitely works for me & it will for you as well, just flash it & all your problems will be solved.
I was on RN 5 Pro Oreo with Orange Fox R9.0.1
Got Pie update today n updated OTA.
But when i boot into Orange Fox recovery Data encrypted,asking for password.
It is not accepting screen lock PIN or password.
Even tried to boot recovery by removing screen lock n finger print data , still no use.
Any solution for this without formatting my data?
Thank You in advance.
[email protected] BOY said:
You're welcome :good:
Click to expand...
Click to collapse
I don't if I messed up installing orange but, at the beginning it showed:
"
<Heading> Mount
Unmodified System Partition
TWRP can leave your system partition unmodified to make it easier for you to take official updates.
TWRP will be unable to prevent the stock ROM from replacing TWRP and will not offer to root your device.
<in red> Zip Installations or ADB operations may still modify the system partition. </in red>
Swipe to allow modifications
"
I swiped, installed orange zip from my sdcard, then it rebooted to my lock screen instead of rebooting into recovery mode.
---------- Post added at 05:16 PM ---------- Previous post was at 04:59 PM ----------
in_out said:
updated TWRP by GuaiYiHu TWRP-20190330-3.2.3.0-whyred
changelog
Update prebuilt kernel for pie firmware decryption
download link
https://github.com/GuaiYiHu/android_device_xiaomi_whyred/releases
==> not tested by me
Click to expand...
Click to collapse
I installed TWRP, but lazyflasher got "Updater process ended with ERROR 1: Error installing file"
TechBT said:
I was on RN 5 Pro Oreo with Orange Fox R9.0.1
Got Pie update today n updated OTA.
But when i boot into Orange Fox recovery Data encrypted,asking for password.
It is not accepting screen lock PIN or password.
Even tried to boot recovery by removing screen lock n finger print data , still no use.
Any solution for this without formatting my data?
Thank You in advance.
Click to expand...
Click to collapse
My problem solved simply by installing OF 9.0.2 over 9.0.1 . Rooted with latest Magisk, enabled cam2api by editing build props. GCam working good.

Orange Fox asking for encryption password

Running Pixel Experience ROM. I always used TWRP but due to changes in the ROM in an update 2 months ago I had to install Orange Fox. All worked well. Trying to install latest update, but when I now reboot in recovery it asks for encryption password. I've tried my screen pin but that's not accepted.
I don't want to format my data partition.
How can I fix this please?
boland said:
Running Pixel Experience ROM. I always used TWRP but due to changes in the ROM in an update 2 months ago I had to install Orange Fox. All worked well. Trying to install latest update, but when I now reboot in recovery it asks for encryption password. I've tried my screen pin but that's not accepted.
I don't want to format my data partition.
How can I fix this please?
Click to expand...
Click to collapse
I had to format data then wipe everything to get it to work without asking for a password
jflow36 said:
I had to format data then wipe everything to get it to work without asking for a password
Click to expand...
Click to collapse
Just checking, it wouldn't delete backups created by Titanium Backup right? As they are on /sdcard?
Still don't understand why this happened. Do you know? Or anyone else?
boland said:
Running Pixel Experience ROM. I always used TWRP but due to changes in the ROM in an update 2 months ago I had to install Orange Fox. All worked well. Trying to install latest update, but when I now reboot in recovery it asks for encryption password. I've tried my screen pin but that's not accepted.
I don't want to format my data partition.
How can I fix this please?
Click to expand...
Click to collapse
I have thi same Problem pls help !!!
Naman sukhwani said:
I have thi same Problem pls help !!!
Click to expand...
Click to collapse
Format partition is your only option.
sushuguru said:
Format partition is your only option.
Click to expand...
Click to collapse
If i flash another recovery over orange fox using fastboot will it help ??
Naman sukhwani said:
If i flash another recovery over orange fox using fastboot will it help ??
Click to expand...
Click to collapse
Nope,it's your partition which is already encrypted, no recovery problem so no matter what recovery you use it's still the same unless you decrypt your data by formatting.
I fixed this with latest Twrp for pie.
https://dl.twrp.me/whyred/twrp-3.3.1-0-whyred.img.html
Ajish_Rockz said:
I fixed this with latest Twrp for pie.
https://dl.twrp.me/whyred/twrp-3.3.1-0-whyred.img.html
Click to expand...
Click to collapse
doesn't work for me.

twrp crypted, how to encrypt please?

hi guys.
just unlocked my bootloader, flashed twrp, now device is full of crypted files in twrp so i am not able to flash any rom due to not able to read filenames, how to solve that please?
Hello. You need to format data and then transfer again your rom files.
worked thx
you could mount internal data but ok
punkrockfan said:
hi guys.
just unlocked my bootloader, flashed twrp, now device is full of crypted files in twrp so i am not able to flash any rom due to not able to read filenames, how to solve that please?
Click to expand...
Click to collapse
With the official TWRP (at least for Mi 9T but likely for yours, too) there is no need for formatting/wiping - just enter to TWRP when it loads, your pin/password for unlocking the screen and you will see your Internal memory filesystem
@zgfg: (There's no official TWRP.) If the decrypt key is lost in TWRP, you might get it back by flashing dirty the same ROM.zip as installed yet, or otherwise formatting data.
rp158 said:
@zgfg: (There's no official TWRP.) If the decrypt key is lost in TWRP, you might get it back by flashing dirty the same ROM.zip as installed yet, or otherwise formatting data.
Click to expand...
Click to collapse
Official for Mi 9T:
https://twrp.me/davinci/twrp-3.3.1-0-davinci.img
but under Devices/Xiaomi, there is no Mi 9SE:
http://twrp.me/Devices/Xiaomi/
@zgfg: as I said before

Categories

Resources