Decryption unsuccessful - OnePlus 3T Questions & Answers

I just flashed aicp latest build and got the decryption unsuccessful!!
why is that happening coz i have not encrypted my phone .... i even flashed lineage 15.0 and same is happening pls help me

I had to run the Qualcomm restore tool to get back from this state. Obviously you will loose all data when doing so.
The strange thing is I just flashed the same LineageOS zip as before and ended in this state. [emoji848]

pitrus- said:
I had to run the Qualcomm restore tool to get back from this state. Obviously you will loose all data when doing so.
The strange thing is I just flashed the same LineageOS zip as before and ended in this state. [emoji848]
Click to expand...
Click to collapse
what should I do now?

gulatilakshay said:
what should I do now?
Click to expand...
Click to collapse
format data if you are installing the new rom over a stock oxygem rom that will delete all your data and remove encryption.

From fastboot you need to format userdata (you will loss everything, however you might have already lost everything). You will get formatted decrypted internal storage with reduced size. Don't panic.
Then you required to flash blue_spark TWRP recovery (v50 or latest) from fastboot.
Then boot to recovery and format internal storage from Advance Wipe menu (under Wipe). You will regain the actual internal storage size.
Flash your desired rom.

Thanks

OP, I tried the latest LineageOS unofficial and got the same error. Just reflash a ROM like Cardinal Xtended or an Oreo ROM that you have verified to be working on your phone. Clear System, Data and Cache. All should be well, and you don't have to wipe storage.
Cheers!

Related

TWRP issue

so i installed TWRP recovery on my N950F/FD model, i want to flash mods or ROMs from internal storage, but it always shows like it's not mounted or its empty and nothing in it
but external SD works perfectly
any solutions ?
After installing TWRP you need to wipe data to remove encryption, then reboot back into TWRP. Internal storage will then be mountable. If you are not flashing a custom rom or root at this time, flash no verity before booting to system (and rmm state fix if you have OEM lock issue).
In addition, if you are on Oreo, you need to use TWRP updated for Oreo by kairi_zeroblade.
shouren04 said:
After installing TWRP you need to wipe data to remove encryption, then reboot back into TWRP. Internal storage will then be mountable. If you are not flashing a custom rom or root at this time, flash no verity before booting to system (and rmm state fix if you have OEM lock issue).
In addition, if you are on Oreo, you need to use TWRP updated for Oreo by kairi_zeroblade.
Click to expand...
Click to collapse
well my phone is 6 months old so i persumed i had the OEM lock issue when i really don't know if it existed, as for the TWRP flashing, after first time flashing i wiped entire phone twice before i flashed custom ROM, and where can i find that latest TWRP by kairi ?
Warnahly said:
well my phone is 6 months old so i persumed i had the OEM lock issue when i really don't know if it existed, as for the TWRP flashing, after first time flashing i wiped entire phone twice before i flashed custom ROM, and where can i find that latest TWRP by kairi ?
Click to expand...
Click to collapse
Here you go:
https://github.com/zeroblade1984/samsung_exynos8895/releases/tag/TWRP_OREO
Flash in TWRP. In case you have never updated TWRP in TWRP before..... select Install, then select Install Image, choose the img file, be sure to flash to Recovery partition when promted, then reboot back to TWRP & see if internal storage is mountable.

Not able to install any Android 9.0 based ROM's

I dont know if this is the right place to post this issue,sorry if this violates any rules
Recently I've shifted to custom roms on my device.I've always wanted to use one of those 9.0 ROM's.I tried 2 flavours-Pixys and Havoc.Both based off 9.
I tried flashing it with TWRP 3.2.1-0,as soon as I installed and rebooted it shows me Decryption failed and proceeded to factory reset my device.I had to repair my phone's file system to EXT4 to correct it and install an 8.1 based rom
Since I thought it might have to do something with TWRP, I tried RedWolf Recovery and tried installing Pixys and Havoc only to return to the same "Decryption Failed" issue.
Is there something different that I am doing?Can anyone help me in this regard.
Also,Im not able to install Magisk, recovery shows me Error-1 Couldnt mount vendor partition.What's the solution to this?
Did you tried another recovery? Try Batik Recovery!
Anirudh15 said:
I dont know if this is the right place to post this issue,sorry if this violates any rules
Recently I've shifted to custom roms on my device.I've always wanted to use one of those 9.0 ROM's.I tried 2 flavours-Pixys and Havoc.Both based off 9.
I tried flashing it with TWRP 3.2.1-0,as soon as I installed and rebooted it shows me Decryption failed and proceeded to factory reset my device.I had to repair my phone's file system to EXT4 to correct it and install an 8.1 based rom
Since I thought it might have to do something with TWRP, I tried RedWolf Recovery and tried installing Pixys and Havoc only to return to the same "Decryption Failed" issue.
Is there something different that I am doing?Can anyone help me in this regard.
Also,Im not able to install Magisk, recovery shows me Error-1 Couldnt mount vendor partition.What's the solution to this?
Click to expand...
Click to collapse
Hey there, how about u try to install Pitchblack twrp the latest one and install Pixel experience pie riva, it can be used for rolex also because the developer make the rom to unified for both rolex and riva. Then install the magisk after that. I've been using pixel experience pie for a month and it is so far so good.
Amir_espie said:
Hey there, how about u try to install Pitchblack twrp the latest one and install Pixel experience pie riva, it can be used for rolex also because the developer make the rom to unified for both rolex and riva. Then install the magisk after that. I've been using pixel experience pie for a month and it is so far so good.
Click to expand...
Click to collapse
Sure,will give it a go
An update
I installed Batik recovery.Magisk could be flashed but Im still getting the decryption unsuccessful message when I install Pixys
Solved Magisk Error!
I've been using Pixys OS on my Redmi 4A and it works fine smoothly. I recommended to clean wipe before installing. Android Pie us amazing and I've installed stable version. Do backup before clean wipe.
For Magisk I recommended this: https://freaksterism.blogspot.com/2018/10/solved-cannot-mount-vendor-magisk.html?m=1
It worked for me. Also go through this step before any custom ROM. Do let me know the status
Anirudh15 said:
An update
I installed Batik recovery.Magisk could be flashed but Im still getting the decryption unsuccessful message when I install Pixys
Click to expand...
Click to collapse
to solve decryption unsuccesful message, format data (Wipe>Format Data) after installing the rom, make sure you backup your internal storage coz Format Data will also ERASE the internal storage. This how i got over the decryption unsuccessfull message. hope this helped.
You have two problems.
Anirudh15 said:
Also,Im not able to install Magisk, recovery shows me Error-1 Couldnt mount vendor partition.What's the solution to this?
Click to expand...
Click to collapse
You need to flash the twrp separated vendor version by my friend Offain https://androidfilehost.com/?fid=962187416754475993
The other problem with the decryption:
You must enter in the twrp press wipe and format data. Type yes and then reboot into twrp again. After that flash the rom and gapps and you will not have the decryption problem again
Anirudh15 said:
I dont know if this is the right place to post this issue,sorry if this violates any rules
Recently I've shifted to custom roms on my device.I've always wanted to use one of those 9.0 ROM's.I tried 2 flavours-Pixys and Havoc.Both based off 9.
I tried flashing it with TWRP 3.2.1-0,as soon as I installed and rebooted it shows me Decryption failed and proceeded to factory reset my device.I had to repair my phone's file system to EXT4 to correct it and install an 8.1 based rom
Since I thought it might have to do something with TWRP, I tried RedWolf Recovery and tried installing Pixys and Havoc only to return to the same "Decryption Failed" issue.
Is there something different that I am doing?Can anyone help me in this regard.
Also,Im not able to install Magisk, recovery shows me Error-1 Couldnt mount vendor partition.What's the solution to this?
Click to expand...
Click to collapse
I had the same problem. Its because your phone is encrypted. The only solution I found is to boot the device into fastboot and using command: [fastboot format userdata] on PC. This will wipe all data off your phone so do backup. It removes encryption and now you can install any custom rom.
Decrypt ur phone first then flash, use twrp vendor
athish said:
to solve decryption unsuccesful message, format data (Wipe>Format Data) after installing the rom, make sure you backup your internal storage coz Format Data will also ERASE the internal storage. This how i got over the decryption unsuccessfull message. hope this helped.
Click to expand...
Click to collapse
Format Data was the only thing that worked for me. First backup everything on your mass storage.

OnePlus 3t with lineage os encryption doesn't work

Is it just me with this issue? Any known fixes or something? I'm using lineage os version 15.1 with latest update that released today.
i got it too. i always encrypt on lineage OS and omni, today i don't remember what last build i was on but i cleaned my phone and installed latest LOS, after that i can't encrypt my device anymore. even i tried older builds of LOS, NLOS and also OMNI. i can't encrypt my device anymore.
I formatted Data many times and formatted everything but still can't encrypt. anyone can solve this issue?
---------- Post added at 03:45 AM ---------- Previous post was at 03:10 AM ----------
just figured out the problem, problem was in TWRP 3.2.3-1. please install 3.2.3-0, and problem solved
I also have this issue on 15.1-20190127-NIGHTLY-oneplus3, has anybody got a fix yet?
Here's what I would do in your situation:
0. Take a backup of your current rom and internal storage and save it on your PC.
1. Try a different rom to see if it can encrypt your phone, eg Los 16 beta from https://androidfilehost.com/?w=files&flid=285406&sort_by=date&sort_dir=DESC
See: https://forum.xda-developers.com/on...ageos-16-0-oneplus-3-3t-t3866517/post78144505
If that works, you're done and can restore your backup. If not ...
2. Do a clean install of OOS 5.0.8 full zip from https://www.oneplus.com/support/softwareupgrade
Don't flash Magisk or custom kernel. Let the phone reboot normally. Check that the phone is encrypted.
OOS forces the storage to be encrypted. It will also replace TWRP, but you can flash it (use the version mentioned in the next step) after the phone has booted.
If this doesn't give you an encrypted phone then:
3. !!!This step will complete wipe your data partition (including user storage)!!!
Use this version of TWRP https://androidfilehost.com/?fid=11410963190603866112 and tap the Format Data button under the Wipe menu. Do not use the Advanced Wipe option.
This should give you a properly formatted data partition with the correct encryption space.
I would flash stock OOS 5.0.8 at this point and boot it to get a properly encrypted phone (I did this when I was testing this version of TWRP and it works).
You can then restore your data backed up in step 0. Also restore TWRP (the version mentioned above) and restore your backed up rom.
For discussion and info on this version of TWRP see https://forum.xda-developers.com/on...ial-twrp-touch-recovery-t3742894/post78661632
You could just do steps 0 and 3, but that's a fair bit of time and effort, which is why I suggested steps 1 and 2.
Sent from my OnePlus3T using XDA Labs
BillGoss said:
Here's what I would do in your situation:
0. Take a backup of your current rom and internal storage and save it on your PC.
1. Try a different rom to see if it can encrypt your phone, eg Los 16 beta from https://androidfilehost.com/?w=files&flid=285406&sort_by=date&sort_dir=DESC
See: https://forum.xda-developers.com/on...ageos-16-0-oneplus-3-3t-t3866517/post78144505
If that works, you're done and can restore your backup. If not ...
2. Do a clean install of OOS 5.0.8 full zip from https://www.oneplus.com/support/softwareupgrade
Don't flash Magisk or custom kernel. Let the phone reboot normally. Check that the phone is encrypted.
OOS forces the storage to be encrypted. It will also replace TWRP, but you can flash it (use the version mentioned in the next step) after the phone has booted.
If this doesn't give you an encrypted phone then:
3. !!!This step will complete wipe your data partition (including user storage)!!!
Use this version of TWRP https://androidfilehost.com/?fid=11410963190603866112 and tap the Format Data button under the Wipe menu. Do not use the Advanced Wipe option.
This should give you a properly formatted data partition with the correct encryption space.
I would flash stock OOS 5.0.8 at this point and boot it to get a properly encrypted phone (I did this when I was testing this version of TWRP and it works).
You can then restore your data backed up in step 0. Also restore TWRP (the version mentioned above) and restore your backed up rom.
For discussion and info on this version of TWRP see https://forum.xda-developers.com/on...ial-twrp-touch-recovery-t3742894/post78661632
You could just do steps 0 and 3, but that's a fair bit of time and effort, which is why I suggested steps 1 and 2.
Sent from my OnePlus3T using XDA Labs
Click to expand...
Click to collapse
Appreciate your advice appreciate, not sure what the OP would think but I wish I didn't have to flash different image and/or wipe, will see how I get on though.
da_n said:
Appreciate your advice appreciate, not sure what the OP would think but I wish I didn't have to flash different image and/or wipe, will see how I get on though.
Click to expand...
Click to collapse
At this stage I trust OOS more than the custom ROMs to correctly encrypt my phone. Once it's encrypted I'm happy to use custom ROMs.
Also, this is my personal view, so others may have different views.
You could, if you wanted, just install a custom rom after formatting the data partition and see if that works.
Sent from my OnePlus3T using XDA Labs

TWRP bootloop

Cant boot into system after installing miui11. Everytime when i boot into system it reboots into twrp.
nerijusas said:
Cant boot into system after installing miui11. Everytime when i boot into system it reboots into twrp.
Click to expand...
Click to collapse
More details needed if you want some help or all you wanted is some condolence?
P.S. If you don't know what details, just describe what actions have been taken I was on ROM x versions x.x.x with TWRP x, how you flashed MIUI11 and what MIUI11 ROM and version you used.
TWRP version is: 3.3.1-42
I was on original rom and I used this rom: xiaomi.eu_multi_MI9_V11.0.2.0.QFACNXM_v11-10
Procedure: I wiped dalvik/ART cahce, cache, System Data and then installed the rom and rebooted and I am now in bootloop.
P.S I have global version
nerijusas said:
TWRP version is: 3.3.1-42
I was on original rom and I used this rom: xiaomi.eu_multi_MI9_V11.0.2.0.QFACNXM_v11-10
Procedure: I wiped dalvik/ART cahce, cache, System Data and then installed the rom and rebooted and I am now in bootloop.
Click to expand...
Click to collapse
Does your TWRP successfully decrypt data now? Do you have access to files in TWRP? Or you just see strange names.
If that is the case, just format data, it's an option in wipe menu. And then reflash ROM.
btw wiping system is not needed and useless.
Decrypts successfully because i install rom from internal storage and still it doesnt help.
nerijusas said:
Decrypts successfully because i install rom from internal storage and still it doesnt help.
Click to expand...
Click to collapse
Then everything should work, try to read this thread: https://xiaomi.eu/community/threads/miui-11-0-stable-release.52628/ , may be you not the only one.
But i would try format data any way. Format will remove everything and will create a fresh unecrypted file system. Wipe only delete files.
If it won't help you may try to flash fastboot ROM, and then format and etc.
btw When you wipe cache/dalvik, it takes some time to boot, it can be 5-10 minutes.

Encryption Problem with my MI9T Pro after installing new ROM

Hi there,
I tried to install a ROM on my Mi9T pro. I use Orange Fox and it asked me when I entered the recovery for the password, that decrypted my Data partition. All well so far.I installed the ROM Havoc and Magisk. After reboot into System, there was a bootloop. I entered the recovery again and the Data(internal storage is encrypted. Which is not too bad, because I know the password, but I do not get asked for the password/pattern. It says:
E: Error making /sdcard/fox, unable to wipe Data, unable to format to remoce encryption.
So I cannot install a new rom as the partion is encrypted and I cannot remove the partition.
“E:Unable to decrypt FBE device”
Does anyone have a recommendation on what to do?
Kind regards
berndbrecht said:
Hi there,
I tried to install a ROM on my Mi9T pro. I use Orange Fox and it asked me when I entered the recovery for the password, that decrypted my Data partition. All well so far.I installed the ROM Havoc and Magisk. After reboot into System, there was a bootloop. I entered the recovery again and the Data(internal storage is encrypted. Which is not too bad, because I know the password, but I do not get asked for the password/pattern. It says:
E: Error making /sdcard/fox, unable to wipe Data, unable to format to remoce encryption.
So I cannot install a new rom as the partion is encrypted and I cannot remove the partition.
“E:Unable to decrypt FBE device”
Does anyone have a recommendation on what to do?
Kind regards
Click to expand...
Click to collapse
When installing over MIUI you need to format data. You should still be able to format data, which should allow you to boot into the ROM after.
If Orange Fox won't let you format data at this point, then the issue is with Orange Fox. In TWRP when this happens, even though the data partition is encrypted and TWRP doesn't ask for the password, TWRP can still format the data partition.
If you can format data in OF, then good. If not try installing TWRP then formatting data. If that fails your best option is to restore to MIUI with a stock fastboot ROM, then start again.
thank you for your comment. as a follow up. do you recommend a certain twrp release? i just don't want to **** up the phone. when ich connect the phone to my laptop, I can see the internal data, but neither can i copy, nor make the names of the files any sense (encrypted i guess). is there now way to decrypt the files from the situation as is? i do not mind, as i back upped all the important stuff, but if possible i would do without format.
btw. i came from lineage os. what i did: i wiped data, system, cache and data, then installed the rom ( included gapps) and magisk. then restarted.
berndbrecht said:
thank you for your comment. as a follow up. do you recommend a certain twrp release? i just don't want to **** up the phone. when ich connect the phone to my laptop, I can see the internal data, but neither can i copy, nor make the names of the files any sense (encrypted i guess). is there now way to decrypt the files from the situation as is? i do not mind, as i back upped all the important stuff, but if possible i would do without format.
btw. i came from lineage os. what i did: i wiped data, system, cache and data, then installed the rom ( included gapps) and magisk. then restarted.
Click to expand...
Click to collapse
Use the latest TWRP from here https://forum.xda-developers.com/k2...cial-twrp-xiaomi-redmi-t3944363/post79823568. Go with the latest unofficial as it is the same as the official version, but with some minor bug fixes added.
Orange Fox is only really worth using when sticking with MIUI. Most of it's extra functions are MIUI specific.
When you get into this situation, unfortunately, there is nothing that can be done to recover or decrypt the data partition, as far as I know.
Normally going from one AOSP ROM to another you should be OK and won't need to format data. But occasionally this problem will happen, I've had it happen when going from LOS to AOSiP. Formatting data in TWRP, when this happens, will then allow you to boot into your new ROM. I haven't yet found out why this sometimes happens.
You will just need to backup your data whenever you flash a ROM, just in case this happens again.
Robbo.5000 said:
Use the latest TWRP from here https://forum.xda-developers.com/k2...cial-twrp-xiaomi-redmi-t3944363/post79823568. Go with the latest unofficial as it is the same as the official version, but with some minor bug fixes added.
Orange Fox is only really worth using when sticking with MIUI. Most of it's extra functions are MIUI specific.
When you get into this situation, unfortunately, there is nothing that can be done to recover or decrypt the data partition, as far as I know.
Normally going from one AOSP ROM to another you should be OK and won't need to format data. But occasionally this problem will happen, I've had it happen when going from LOS to AOSiP. Formatting data in TWRP, when this happens, will then allow you to boot into your new ROM. I haven't yet found out why this sometimes happens.
You will just need to backup your data whenever you flash a ROM, just in case this happens again.
Click to expand...
Click to collapse
Thanks man, many thanks. did flash the twrp and it worked out. having some minor problems with the rom, but in general it worked out fine
much appreciated.

Categories

Resources