Tried to flash to stock and got Encryption Unsuccessful - OnePlus 5 Questions & Answers

I can still boot into twrp but can't get OOS to run. It's asking for a factory reset but don't I have to be in OOS to do that?

You need to flash stock firmware and wipe via stock recovery, backup userdata first

I figured it out, thanks.

Related

How can I remove encryption with custom recovery installed?

Factory Resets do not remove encryption with TWRP recovery. It will reset the phone like normal, but the encryption will still remain.
I am looking to try and remove encryption entirely so I can install 4.4 and CWM Recovery. I've heard you have to flash to stock but I don't know what packages, where to get them, and which way I should flash them. Any help is appreciated.
ThomasBags said:
Factory Resets do not remove encryption with TWRP recovery. It will reset the phone like normal, but the encryption will still remain.
I am looking to try and remove encryption entirely so I can install 4.4 and CWM Recovery. I've heard you have to flash to stock but I don't know what packages, where to get them, and which way I should flash them. Any help is appreciated.
Click to expand...
Click to collapse
You need to use the FORMAT DATA option, which will wipe the entire device, if you still get asked for password after that, flash factory image.
Flash the stock recovery....
ThomasBags said:
Factory Resets do not remove encryption with TWRP recovery. It will reset the phone like normal, but the encryption will still remain.
I am looking to try and remove encryption entirely so I can install 4.4 and CWM Recovery. I've heard you have to flash to stock but I don't know what packages, where to get them, and which way I should flash them. Any help is appreciated.
Click to expand...
Click to collapse
I had an Encrypted HTC One that I installed TWRP Recovery. TWRP could not decrypt the phone and the phone would not factory reset. Fixed by using Fastboot to flash the stock recovery and then was able to factory reset my phone.
Fastboot flash recovery recovery.img
Got the Sprint stock recovery image from viperboy (I'm too new to post links) the file name is: Sprint_One_stock_recovery.img
Search XDA with this file name you you will find it.
Too late for you I'm sure but maybe it will help some others.

Factory reset my rooted nexus 4 bricked

Hi, So today i decided i wanted to go back to stock rom because i had a custom rom and custom kernel.
I factory reset my Nexus 4 and now it's stuck at the Google Boot screen. I also have a custom recovery (TWRP). I've tried wiping data (cache,dalvik cache) didn't work. I've looked everywhere but couldn't find a solution for this. Please help. Thanks in advance.
PS. Custom rom i was using was Paranoid Android 9.8
Custom kernel was Franco Nightly.
a factory reset doesnt replace your rom/kernel, it just wipes your user data. you have to flash the factory img via fastboot to go back to stock. anyways, i have a feeling that you made an error in twrp recovery, instead of factory resetting/wipe data, i bet you wiped your whole device, which clears your device of any rom/kernel. so youd have to flash a rom(transfer from your desktop via adb push or flash the factory img).

How to (re) encrypt?

I had some complex issues flashing some roms and ended up having to format userdata. Now I am unencrypted and I have not been able to get the stock rom (from the official OTA zip) to boot. I was able to get all 3 of the custom OOS roms in the development section to boot, however when i go into settings and start encryption the green android logo flashes on the screen and the device does a hot reboot without starting encryption. I have tried countless things to boot the stock rom and/or get encryption to work including flashing the stock recovery on a custom rom, and the stock recovery asks for a pattern and mine doesn't work. I am totally out of ideas so if anyone has any please help.
solved: i previously did fastboot format userdata and it didn't work. I just did fastboot format userdata, system, and cache and the full ota zip installed, the security settings say it's encrypted, and i was able to decrypt with the stock recovery. Time to flash twrp and break more stuff!
Encryption
I believe the phone encrypts when you put a screen lock on.
I put a pin on mine booted in to recovery and it was encrypted, rebooted phone, removed pin, rebooted recovery everything back to normal.
hibby50 said:
solved: i previously did fastboot format userdata and it didn't work. I just did fastboot format userdata, system, and cache and the full ota zip installed, the security settings say it's encrypted, and i was able to decrypt with the stock recovery. Time to flash twrp and break more stuff!
Click to expand...
Click to collapse
Flashing stock boot.img in bootloader mode should encrypt the phone too.
gee2012 said:
Flashing stock boot.img in bootloader mode should encrypt the phone too.
Click to expand...
Click to collapse
Where or how can one extract/get the stock boot.img?
going to twrp wipe Then format data and typing yes will re-encrypt the device
Watch this
hibby50 said:
solved: i previously did fastboot format userdata and it didn't work. I just did fastboot format userdata, system, and cache and the full ota zip installed, the security settings say it's encrypted, and i was able to decrypt with the stock recovery. Time to flash twrp and break more stuff!
Click to expand...
Click to collapse
Thanks for sharing your solution. I found myself in this precarious position today. Solved with fastboot format... Thanks!

Cannot update to 4.5.14

Hi,
I have a rooted OP5 with 4.5.13.
I tried to install the flashable zip (from here) via TWRP without wipe, but ended up in a bootloop.
I've restored to the nandroid backup, wiped data, and tried again. This time the OP5 managed to boot only to recovery.
I've verified the md5 of the file I've used.
Do you know why this is happening? Do you know how I can upgrade to 4.5.14?
Thanks.
Did you download the full ROM or just the update?
I tried both. I didn't succeeded to install the update (as it is not intended for rooted devices).
The full rom is what caused the bootloop.
If you are doing a dirty flash you wipe cache and system. If you are doing a clean flash you wipe cache, system and data. It doesn't sound like you wiped the correct partitions when doing your flash. You also need to flash Magisk or SU after the ROM flash and before booting up or you will lose TWRP and root. If your phone is decrypted for some reason you also need to flash a no verify zip or your phone will boot loop because OOS is made for encrypted phones.

[Question] How to restore TWRP backup of stock 8.0 ROM, after flashing 8.1 ROM

Before going into the subject, I'll say that I have tried to seach this matter in XDA and Google, but nothing showed up.
Okay, so my matter is that I can't restore my backup of stock rom(8.0) after I flash a 8.1 rom. I've backuped with official TWRP "recovery-3.2.1-2-oreo.img".
My procedures are :
back up stock 8.0(system, data, cache, efs) with official TWRP "recovery-3.2.1-2-oreo.img"
flash oreo rom(with wiping internel, data, system, cache) and boot it fine.
restore my stock backup with same TWRP
boot system
The results are :
Goes past boot logo
Boot animation('android one' with colors sliding) shows up
and... just infinite loop of boot animation.
The ROM I used is RR.
I think the main problem is related with encryption.... Just my thought, tho.
So what I'm asking is :
1. If you face the same problem as me?
2. If you aren't and you restore goes fine, please tell me your procedures including ROM used and TWRP used.
3. Whether it is safe to decrypt stock rom?
Thanks in advance!
You don't need to flash stock ROM again. You have a system image backup(system, data, cache, efs), right? Wipe data , system, cache if you are coming from any other ROM. Then reboot to bootloader. Boot into latest TWRP from Fastboot (don't flash). Then go to restore and restore the system image you had backed up. Don't restore efs if you haven't lost your IMEI.
I've done exactly as ypu told, but it doesn't boot...
Did you manage to restore without problem with your method?
Yes I was able to. No problem here.
What TWRP did you use? Also, what ROM have you flashed?
Used the latest TWRP by MohanCM for Oreo. I did it when I was on Lineage os and wanted to go to stock
@guy_infinity Okay, thanks for your answer! Gonna try out later, once more.
Hmmm.... Still didn't boot up.
I thought I had to do everything from the begining, but flashing stock with save userdata option rescued me.
P.S. does anyone know about the error E: recv error on uevent?
try flashing stock rom using mi flash and after flashing restore normally using latest twrp/deadman's without system image voila everything will be back
@arjunbalan1994 Big thanks for your suggestion! Will try that too later
Hi, did you solve your restore problem? I have the same w/ my Redmi Note 5 and stock Miui backup after flashing RR.
Thanks for your help
I was use 8.1 root and twrp recovery. Yesterday fastboot flash may rom and update 2nd may OTA
Don't understand : May rom is Miui rom?
And did you restore your miui rom 8.0 backup ith twpr after the fastboot flash stock?

Categories

Resources