Encryption Unsucessful Fix - Lenovo P2 Guides, News, & Discussion

I am trying to install an Oreo based ROM lineage os 15.1
Currently data partition is ext4
Latest Twrp installed
But still whenever I try to install any Oreo ROM I get encryption unsuccessful message and even after factory reset with yes I get stuck on same thing again and again and if I try to change recovery after installing ROM the phone gets stuck in boot loop can anyone please help to solve this problem

I think this will solve ur issue
Yup I have also the same problem first of all do all these steps I think it resolve your issue:-
1. Go to settings of TWRP and reboot recovery.
2. Now format all the internal storage if u have important files in internal storage skip this step
3. After that go to advanced wipe and select system and data one by one and change its format to ext4.
4. Now advanced wipe everything.
5. Thats all now you can install lineage 15.1
I did the same and its working properly in my phone.
This problem occurs due to change of format of data to f2f so convert it to EXT4 and its fine

when you did advanced wipe to evertything is data, cache, system, etc? i already did this but still saying me that my phone was encrypted and i have to unlock with the pin or my account but i get a loop even if i put the correct user and password.
Udgam Tiwari said:
Yup I have also the same problem first of all do all these steps I think it resolve your issue:-
1. Go to settings of TWRP and reboot recovery.
2. Now format all the internal storage if u have important files in internal storage skip this step
3. After that go to advanced wipe and select system and data one by one and change its format to ext4.
4. Now advanced wipe everything.
5. Thats all now you can install lineage 15.1
I did the same and its working properly in my phone.
This problem occurs due to change of format of data to f2f so convert it to EXT4 and its fine
Click to expand...
Click to collapse

Normal procedure. Fastboot boot command
Boot to TWRP.
Reboot to TWRP through reboot menu.
Factory reset.
Advanced wipe: change data file format to ext4
Reboot to TWRP through reboot menu again.
Wipe, format data.
Now wipe system, cache and dalvik.
Reboot to TWRP again.
Flash rom.
Gapps.
Magisk if wanted.
Wipe dalvik and cache.
Reboot and enjoy

Murkroow said:
when you did advanced wipe to evertything is data, cache, system, etc? i already did this but still saying me that my phone was encrypted and i have to unlock with the pin or my account but i get a loop even if i put the correct user and password.
Click to expand...
Click to collapse
Bro I already mentioned first of all you have to Factory reset but it will wipe all your data from internal storage so do have a back up for that. Encryption issue can only resolved by factory reset.

Check out my video
​It helped many people hope it helps you.
https://m.youtube.com/watch?v=Ov_Eq268_4U

Related

[Q] Bootloop TF101

Hi Everyone,
For some reason, TWRP is not able to format /Data.
It keeps saying "failed to mount /data (Device or resource busy)".
This doesn't prevent me from updating the ROM to 4.4.2-21.
However, once updated it keeps on booting over-and-over.
Is there a way to - sort-of - a forced format of the internal flash.
Or at least the /data partition as it seems to be corrept.
Thanks - Will
Hi,
With twrp use the wipe menu for installing kk 4.4.2
Wipe cache-dalvik cache-data-system-internal storage (if you need a complete clean install), after install menu, flash the rom and the gapps, return to wipe menu, wipe cache and dalvik cache again.reboot.you`ll run on the new rom
(Ps : don't used mount sd and format menu).
Sent from my Transformer TF101 using xda app-developers app
jh1969 said:
Hi,
With twrp use the wipe menu for installing kk 4.4.2
Wipe cache-dalvik cache-data-system-internal storage (if you need a complete clean install), after install menu, flash the rom and the gapps, return to wipe menu, wipe cache and dalvik cache again.reboot.you`ll run on the new rom
(Ps : don't used mount sd and format menu).
Sent from my Transformer TF101 using xda app-developers app
Click to expand...
Click to collapse
Thanks for the (quick) response.
I'm coming from 4.4.2-19. However, on previous occasions I was able to upgrade without going through a clean install.
So I tried the same this time with 4.4.2-21. However, as it stands, this release tends to end up in an ever on-going boot sequence.
Even a clean install or going back to the previous version (4.4.2-19) doesn't work.
Compared to previous installs, the only difference I can see is an error stating that /data can not be wiped.
Any thoughts on this behavior?
Thanks - Will
NogNeetMachinaal said:
Thanks for the (quick) response.
I'm coming from 4.4.2-19. However, on previous occasions I was able to upgrade without going through a clean install.
So I tried the same this time with 4.4.2-21. However, as it stands, this release tends to end up in an ever on-going boot sequence.
Even a clean install or going back to the previous version (4.4.2-19) doesn't work.
Compared to previous installs, the only difference I can see is an error stating that /data can not be wiped.
Any thoughts on this behavior?
Thanks - Will
Click to expand...
Click to collapse
Hi, which release of TWRP do you use ? in 2.6.3.0 and lower release, on wipe menu you have an advanced wipe menu, go on it select format and type data, this will format data partition
jh1969 said:
Hi, which release of TWRP do you use ? in 2.6.3.0 and lower release, on wipe menu you have an advanced wipe menu, go on it select format and type data, this will format data partition
Click to expand...
Click to collapse
Tried formatting the data partition. It comes back with "failed" - no explanation.
Any other suggestion?

Disable encryption protection?

Hi Guys
Im having trouble flashing new Roms to my S7. When I enter TWRP recovery, it shows my device as 0MB and it doesnt picK up any files. I looked into this and read that Encryption should be disabled on the handset. I followed instructions to do this and noticed that there is no option for Encryption Protection. Its not there!
I disabled any passwords and Pin numbers to erase decryption and it still didnt work!
last resort was to try a factory reset and the device restarted to recovery and failed as TWRP recovery cant find any mounted devices due to the encryption crap.
Any help appreciated.
Chris
scientificharmony said:
Hi Guys
Im having trouble flashing new Roms to my S7. When I enter TWRP recovery, it shows my device as 0MB and it doesnt picK up any files. I looked into this and read that Encryption should be disabled on the handset. I followed instructions to do this and noticed that there is no option for Encryption Protection. Its not there!
I disabled any passwords and Pin numbers to erase decryption and it still didnt work!
last resort was to try a factory reset and the device restarted to recovery and failed as TWRP recovery cant find any mounted devices due to the encryption crap.
Any help appreciated.
Chris
Click to expand...
Click to collapse
Hi mate
Seems like you did not format your data partition during TWRP installation.........
Try flashing your custom rom from the External SD card......your data partition has all your app , files , passwords, photos...there is still a chance that there it may be a incompatibility issue between your apps and the new rom....that is why they recommend a factory reset when flashing a new custom rom
MAX 404 said:
Hi mate
Seems like you did not format your data partition during TWRP installation.........
Try flashing your custom rom from the External SD card......your data partition has all your app , files , passwords, photos...there is still a chance that there it may be a incompatibility issue between your apps and the new rom....that is why they recommend a factory reset when flashing a new custom rom
Click to expand...
Click to collapse
hi mate
thanks for your reply. I dont have an external SD card
Is there any other way of sorting this? I am downloading a stock rom as we speak.
scientificharmony said:
hi mate
thanks for your reply. I dont have an external SD card
Is there any other way of sorting this? I am downloading a stock rom as we speak.
Click to expand...
Click to collapse
Hi
TWRP can not handle Samsung encryption . if you wish to use TWRP and have access to the Data partition ( internal SD card) you need to format it so the encryption is disabled ( you lose all your apps , data and user configuration AKA factory reset) , you can have TWRP and data encryption but mods and roms have to be flashed from external memories also you will not have available MTP in recovery or factory reset from it.
There is no way to disable data encryption without format data.....
Ok, I got a friends SD card and placed the Rom on there. I can now see the Rom but the trouble is, TWRP wont let me wipe Dalvik / data / system / cache as it wont mount the storage....
can I still apply the ROM?
Unable to restart your device. The integrity verification has failed. You need to reset your device to factory default settings. This will erase all of your data.
scientificharmony said:
Unable to restart your device. The integrity verification has failed. You need to reset your device to factory default settings. This will erase all of your data.
Click to expand...
Click to collapse
That is why I point it out " factory reset is recommended when flashing custom rom" if you wish to flash a custom rom you will have to format your data partition and flash the data verify file........
MAX 404 said:
That is why I point it out " factory reset is recommended when flashing custom rom" if you wish to flash a custom rom you will have to format your data partition and flash the data verify file........
Click to expand...
Click to collapse
I have tried to format/wipe data. TWRP keeps saying it failed as it cant mount the storage.
I tried flashing the stock rom via odin and it also failed as it goes to recovery to wipe data and it fails again as it cant mount storage.
scientificharmony said:
I have tried to format/wipe data. TWRP keeps saying it failed as it cant mount the storage.
I tried flashing the stock rom via odin and it also failed as it goes to recovery to wipe data and it fails again as it cant mount storage.
Click to expand...
Click to collapse
How did you flash the stock rom...which files did you use?
Wipe data is not enough you have to Wipe / FORMAT DATA and type yes....
1 To get rid of encryption, go to "wipe", format data (TWRP) (keyboard will pop up) then type "yes" and format it, then reboot to recovery
2. After flashing this, hit wipe, full wipe (this will clean all internal memory and your data will be lost
3 you can test if encryption is still enabled, if TWRP shows error about not mounting data your phone is still encrypted
Sent from my SM-G930F using XDA-Developers mobile app
Josh Smith10 said:
1 To get rid of encryption, go to "wipe", format data (TWRP) (keyboard will pop up) then type "yes" and format it, then reboot to recovery
2. After flashing this, hit wipe, full wipe (this will clean all internal memory and your data will be lost
3 you can test if encryption is still enabled, if TWRP shows error about not mounting data your phone is still encrypted
Sent from my SM-G930F using XDA-Developers mobile app
Click to expand...
Click to collapse
What version of TWRP are you guys using and what version Super SU?
Delete

How to fix unable to mount data internal storage 0mb in twrp permanently :

Note : This will wipe/format your Data partion and your data will be reset.
INSTRUCTIONS :
1) Reboot your device into TWRP Recovery.
2) Go to Wipe menu.
3) Go to Advance Wipe.
4) Select Data and go to Repair or Change File System.
5) Click Repair File System. (If not fix, go to step number 6)
6) Go to Change File System.
7) Select Ext2 and swipe to confirm.
8) Now change back to Ext4 and swipe to confirm.
9) Now go back and check if your partions can be mount or not from Mount menu.
10) If not fix, repair your Internal partition. (This may wipe your Internal storage).
OR Unlock your bootloader again.
thanks, works for me J701F 8.1
Thanks, worked for me too.
help
Vlk Is My Name said:
Note : This will wipe/format your Data partion and your data will be reset.
INSTRUCTIONS :
1) Reboot your device into TWRP Recovery.
2) Go to Wipe menu.
3) Go to Advance Wipe.
4) Select Data and go to Repair or Change File System.
5) Click Repair File System. (If not fix, go to step number 6)
6) Go to Change File System.
7) Select Ext2 and swipe to confirm.
8) Now change back to Ext4 and swipe to confirm.
9) Now go back and check if your partions can be mount or not from Mount menu.
10) If not fix, repair your Internal partition. (This may wipe your Internal storage).
Click to expand...
Click to collapse
help me guys,, it not fix for me until step 9. so how to run step 10, I dont know to do it..
thanx
Hi! I did this to my Axon 7 now my phone stuck at "Your device software can't be checked for corruption......" screen. The phone cannot be turned off and pressing power button also not making anything to the device. I afraid that my phone is bricked. Before booting, after I did changing the system file type, TWRP said that no OS installed and it is very weird. Maybe somebody can give me any advice.
Is there a fix that doesn't involve erasing your data?
abdinsyakirin said:
Hi! I did this to my Axon 7 now my phone stuck at "Your device software can't be checked for corruption......" screen. The phone cannot be turned off and pressing power button also not making anything to the device. I afraid that my phone is bricked. Before booting, after I did changing the system file type, TWRP said that no OS installed and it is very weird. Maybe somebody can give me any advice.
Click to expand...
Click to collapse
You wiped the system.
You can reinstall it or restore a backup if you have one
kulitkayu said:
help me guys,, it not fix for me until step 9. so how to run step 10, I dont know to do it..
thanx
Click to expand...
Click to collapse
Try changing file system to ext2, then reboot the recovery, then do the change back to ext4. That's how it worked for me.
Thank u very much !!!!!!?
I love you man! ...i wanna kiss you really ..!
I felt like crying when my lenovo p1m started bootlooping: like hell! Well now i am satisfied really.!
i have the same issue. i tried changing the file format but it just shows failed. i tried formating data method too. it just shows failed. i tried going into recovery and it just reboots into twrp again. i try flashing anything andf it opens into twrp again. all in all there is nothing i can do but use twrp and see eerything fail. also i installed twrp with odin if that helps. pls help guys
L e g e n d
Vlk Is My Name said:
Note : This will wipe/format your Data partion and your data will be reset.
INSTRUCTIONS :
1) Reboot your device into TWRP Recovery.
2) Go to Wipe menu.
3) Go to Advance Wipe.
4) Select Data and go to Repair or Change File System.
5) Click Repair File System. (If not fix, go to step number 6)
6) Go to Change File System.
7) Select Ext2 and swipe to confirm.
8) Now change back to Ext4 and swipe to confirm.
9) Now go back and check if your partions can be mount or not from Mount menu.
10) If not fix, repair your Internal partition. (This may wipe your Internal storage).
OR Unlock your bootloader again.
Click to expand...
Click to collapse
It worked for me made /data readable but when I rebooted the system (stock) all I got is the xperia screen going on a loop, nothing else. I had to re-installed the system and set-up everything again (system, twrp, magisk) but when I flash twrp and go to recovery I get that /data error again, wiping your internal storage doesn't help I get the same problem. When I install system (stock) I get this message "encrypting..." pop up when it boots the system, new clean install.
Vlk Is My Name said:
Note : This will wipe/format your Data partion and your data will be reset.
INSTRUCTIONS :
1) Reboot your device into TWRP Recovery.
2) Go to Wipe menu.
3) Go to Advance Wipe.
4) Select Data and go to Repair or Change File System.
5) Click Repair File System. (If not fix, go to step number 6)
6) Go to Change File System.
7) Select Ext2 and swipe to confirm.
8) Now change back to Ext4 and swipe to confirm.
9) Now go back and check if your partions can be mount or not from Mount menu.
10) If not fix, repair your Internal partition. (This may wipe your Internal storage).
OR Unlock your bootloader again.
Click to expand...
Click to collapse
help me guys,, it not fix for me until step 6. so how to run step 7, I dont know to do it..
samsung note 8 anroid 9
Thanks! this works for me!
Worked for midi pixel experience
Thank a ton my phone is finally booting now
Can I do this steps via adb interface? My touch screen is not working...
Vlk Is My Name said:
Note : This will wipe/format your Data partion and your data will be reset.
INSTRUCTIONS :
1) Reboot your device into TWRP Recovery.
2) Go to Wipe menu.
3) Go to Advance Wipe.
4) Select Data and go to Repair or Change File System.
5) Click Repair File System. (If not fix, go to step number 6)
6) Go to Change File System.
7) Select Ext2 and swipe to confirm.
8) Now change back to Ext4 and swipe to confirm.
9) Now go back and check if your partions can be mount or not from Mount menu.
10) If not fix, repair your Internal partition. (This may wipe your Internal storage).
OR Unlock your bootloader again.
Click to expand...
Click to collapse
Great work! Yea this worked on the Pixel 3. Changed from ext4 and then back to f2fs and after that data was able to mount!
Greatly amazing! Everybody should read it.
Full Thanks.
This DID NOT workerd for me. Formatting data (or change to ext2 and ext4) only gives you TEMPORAL data access. After booting in the System then the data partition gets, again, inaccesible.
elreymon said:
This DID NOT workerd for me. Formatting data (or change to ext2 and ext4) only gives you TEMPORAL data access. After booting in the System then the data partition gets, again, inaccesible.
Click to expand...
Click to collapse
So what exactly are you aiming to do. I know if you just flash stock and boot the device, then reboot to fastboot then boot to twrp it should work fine. But if your trying to go straight after ./flash-all.sh then fastboot boot twrp then it wont work because the partition isn't formated yet

Rom change!

Hello people, I play with the thought of changing my Rom from RR to Arowos!
Is there anything to pay attention to the encryption of RR or the transition from A10 to A11, or it's the normal procedure:
Boot to Recovery -> Wipe Dalvik, Cache and Format Data. -> Reboot Recovery After Wipe and Format. -> Flash This Rom Zip ...
???
Boot to Recovery ->Flash This Rom Zip ->Wipe Dalvik, Cache and Format Data. -> Reboot to System
Encryption doesn't matter if you gonna do Format Data. You might want to go back to stock first to avoid potential issues, though it should be fine if you don't.
Honestly though ArrowOS thread should be your main source of information on this topic.
Thank you!!!

HELP ! WHILE FLASHING LINEAGE 18.1 it's say E001: FAILED TO UPDATE SYSTEM IMAGE HELP PLZ :

Help me with this situation
Why can not flash?
Do you Reverted partition to stock partitioning?
Is your recovery an up to date recovery like TWRP 3.2.x,3.5.1, OrangeFox ,SHRP?
sys1admin said:
Help me with this situation
Click to expand...
Click to collapse
That happened to me once when using the reparticioner I had to install the rom 8.1 to my factory phone with odin after the first start I installed the twrp and from there my cell phone started working fine again
sys1admin said:
Help me with this situation
Click to expand...
Click to collapse
First thing is few lineage OS not work on Vendor partition. To over come this use below steps:
Note: Use orange fox recovery for smooth flow
1. Run revert vendor practitioner for exynos 7870.
2. Then reboot to recovery.
3. Goto format option perform format ( This will erase your internal storage data before action this step take a backup)
4. Then navigate to wipe option then wipe Dalivk cache, cache, system, data, internal storage
5. Then install lineage os zip. reboot and enjoy
If you want to install any treble rom in feature better use Universal script. This script make 4096MB system partition, 512MB vendor partition & 57 cache partition

Categories

Resources