Encyption unsuccessful - OnePlus 5T Questions & Answers

I have a big problem with the phone, when I tried to change the system to lineageos from stock (oxygenos), I got an error. So I tried to install oxygenos from the zip archive I downloaded from the oneplus forum. The installation was successful but the phone looped over. Before the changes, I did a full system backup, but the twrp was replaced with stock recovery and I can not install twrp from the fastboot level. When I want to start the phone, I only have the ENCYPTION UNSUCCESSFUL message.

wasyll25 said:
I have a big problem with the phone, when I tried to change the system to lineageos from stock (oxygenos), I got an error. So I tried to install oxygenos from the zip archive I downloaded from the oneplus forum. The installation was successful but the phone looped over. Before the changes, I did a full system backup, but the twrp was replaced with stock recovery and I can not install twrp from the fastboot level. When I want to start the phone, I only have the ENCYPTION UNSUCCESSFUL message.
Click to expand...
Click to collapse
You might have to clear the internal storage , not sure though .
You might try flashing the twrp from bootloader. And clear internal storage and flash OOS again from scratch

however i would prefer to keep the phone content i have many important files there. I tried to install twrp but after restarting I still have stock recovery. I tried some applications listed on the forum but to no avail.
rohithksaj said:
You might have to clear the internal storage , not sure though .
You might try flashing the twrp from bootloader. And clear internal storage and flash OOS again from scratch
Click to expand...
Click to collapse

wasyll25 said:
however i would prefer to keep the phone content i have many important files there. I tried to install twrp but after restarting I still have stock recovery. I tried some applications listed on the forum but to no avail.
Click to expand...
Click to collapse
Why don't you try Msm tool or unbrick tool .
But those to wipe the phone though.
When you change from encryption device to decryption device , you have to clean flash .
So I suspect this might be an encryption issue, so might clean storage .
Don't know . Wait for someone else for an input .

So there is no way to save the data? I remind you that I have a system backup on my phone.

wasyll25 said:
So there is no way to save the data? I remind you that I have a system backup on my phone.
Click to expand...
Click to collapse
I think you need to flash the no Verity zip after you flash twrp to stop the stock recovery from reinstating itself after you reboot. Then you should be able to just boot into twrp and restore your backup.

k500zm said:
I think you need to flash the no Verity zip after you flash twrp to stop the stock recovery from reinstating itself after you reboot. Then you should be able to just boot into twrp and restore your backup.
Click to expand...
Click to collapse
In thag case . Here is the noverity zip

What command I must use?
Code:
fastboot flash recovery
????

When I install NO VERITY with this command, 5t try load recovery but after logo oneplus i have black screen and lights blue diod.

Related

[Q]briked S3 i747

I tried to factory format my phone through TWRP, then when I tried to restart again, it never comes back.
I still have access to TWRP, but when I install zip files I downloaded, it always failed. I tried to use Odin, it failed to flash an image in.
Plz help me.
Many thanks.
Gambinohe said:
I tried to factory format my phone through TWRP, then when I tried to restart again, it never comes back.
I still have access to TWRP, but when I install zip files I downloaded, it always failed. I tried to use Odin, it failed to flash an image in.
Plz help me.
Many thanks.
Click to expand...
Click to collapse
What format option did you select in TWRP and hope you didn't accidently remove your OS? The device could fail to boot if you don't have an OS installed. You may be able to flash a complete stock restore image via TWRP. Would you recall what Android version you were on before the brick? Also what is your phone model and carrier?
Larry2999 said:
What format option did you select in TWRP and hope you didn't accidently remove your OS? The device could fail to boot if you don't have an OS installed. You may be able to flash a complete stock restore image via TWRP. Would you recall what Android version you were on before the brick? Also what is your phone model and carrier?
Click to expand...
Click to collapse
Mine was ATT S3 I747 with Android 4.3 system. I did wipe my OS during recovery. That caused the whole problem. Then I use TWRP to flash a system and a kernel in. I was unable to flash bootloader and modem in; I did not know what is the problem. The weird thing is that I successfully start my phone and used it for a while. When I rebooted it, it dies again. I tried to install the some boot update in this January. It never works again. Any advise?
Gambinohe said:
Mine was ATT S3 I747 with Android 4.3 system. I did wipe my OS during recovery. That caused the whole problem. Then I use TWRP to flash a system and a kernel in. I was unable to flash bootloader and modem in; I did not know what is the problem. The weird thing is that I successfully start my phone and used it for a while. When I rebooted it, it dies again. I tried to install the some boot update in this January. It never works again. Any advise?
Click to expand...
Click to collapse
You can try flashing a complete stock system to get your phone back to working condition. Since you already had 4.3, flashing zips often fails if there is a bootloader incompatibility. The stock restore should do it. Please go to the following thread ....
http://forum.xda-developers.com/showthread.php?t=2658486
Download the stock restore zip to your PC. Use another device or something to load it to a (micro) SD card. Insert the card into your phone. Boot into recovery mode and flash from TWRP. When done, wipe your cache/dalvik and reboot to system. Let's know if this works for you.

Help Getting TWRP to work

Device - oneplus 3
Secure Boot - enabled
Device State - Unlocked
recently wanted to update my rom (Resurrection Remix-N). When I boot into TWRP, I get an error 7. I was also having issue with titanium backup (keeps crashing) so I was thinking it was the ROM since I haven't updated in a while. Since I couldn't update with TWRP and error 7, I decided to switch ROM.
I did a nand backup, then proceeded to factory reset in TWRP, reboot recovery (habit of mine).
And now I was stuck with at TWRP decrypt Data because my previous pattern is not working. Gives me a "pattern failed, please try again!")
My question, is there a way to at least get my data off the device (backup to laptop and restore later)?
I can boot into fastboot. but I can't see device storage on laptop.
okie03 said:
Device - oneplus 3
Secure Boot - enabled
Device State - Unlocked
recently wanted to update my rom (Resurrection Remix-N). When I boot into TWRP, I get an error 7. I was also having issue with titanium backup (keeps crashing) so I was thinking it was the ROM since I haven't updated in a while. Since I couldn't update with TWRP and error 7, I decided to switch ROM.
I did a nand backup, then proceeded to factory reset in TWRP, reboot recovery (habit of mine).
And now I was stuck with at TWRP decrypt Data because my previous pattern is not working. Gives me a "pattern failed, please try again!")
My question, is there a way to at least get my data off the device (backup to laptop and restore later)?
I can boot into fastboot. but I can't see device storage on laptop.
Click to expand...
Click to collapse
A method thats worked for me in the past is to use fastboot to re-install TWRP. Use TWRP 3.0.4-1 and reboot your phone to recovery.. You'll be im MTP mode so you can transfer files onto your phone for flashing.. If you get code7 in TWRP, use a different FIRMWARE+Modem version.. If you want the latest RR use 4.0.3.. Your data should be safe..
hagar006 said:
A method thats worked for me in the past is to use fastboot to re-install TWRP. Use TWRP 3.0.4-1 and reboot your phone to recovery.. You'll be im MTP mode so you can transfer files onto your phone for flashing.. If you get code7 in TWRP, use a different FIRMWARE+Modem version.. If you want the latest RR use 4.0.3.. Your data should be safe..
Click to expand...
Click to collapse
I have already tried that unfortunately, it didn't work. Flash twrp-3.0.4-1-oneplus3 but I am still asked to decrypt data. My internal storage show as 0MB I also have MTP enabled but still not showing on laptop. It shows device connect but no storage.
okie03 said:
I have already tried that unfortunately, it didn't work. Flash twrp-3.0.4-1-oneplus3 but I am still asked to decrypt data. My internal storage show as 0MB I also have MTP enabled but still not showing on laptop. It shows device connect but no storage.
Click to expand...
Click to collapse
I had that once when i messed about with f2fs.. Only way i found was to flash stock ROM and recovery, reboot and fastboot TWRP again.. Now my laptop could see my phone and i could start from scratch again.. I'm sure there is a better way but this worked for me.. Sorry i cant be of more help
Flash all 670 img's till one works :laugh:
I think error 7 is related to firmware flash 4.0.3 and then your rom of choice should be fine
hagar006 said:
I had that once when i messed about with f2fs.. Only way i found was to flash stock ROM and recovery, reboot and fastboot TWRP again.. Now my laptop could see my phone and i could start from scratch again.. I'm sure there is a better way but this worked for me.. Sorry i cant be of more help
Click to expand...
Click to collapse
You were lucky. I flashed stock recovery so I can flash stock rom but still no luck. I miss samsung odin.
Thanks anyways for ur contribution.
Down graded to Oneplus 2 until I fix my phone.

Updating to Android O / Nandroid Restore back to Android N?

Used the search, used google, couldn't find any concrete answers
I am on Android N - unlocked bootloader - rooted via magisk, One Plus 3.
Could I do the following?
use TWRP to make a Nandroid Backup (System+Data+Boot) of my current set-up
then, manually flash (using twrp) Android O
find out I don't particularly like it
Go back to TWRP and Nandroid Restore back to Android N, as if no update ever happened
Or will there be issues?
Thanks
I do that with freedomos. 2.17(N)>3.1(O)>2.17. I restore nandroid and reflash rom
xGOGI said:
I do that with freedomos. 2.17(N)>3.1(O)>2.17. I restore nandroid and reflash rom
Click to expand...
Click to collapse
Should have mentioned I'm using stock rom.
So I'd restore the nandroid via twrp, and I should be good to go?
arthritis said:
Used the search, used google, couldn't find any concrete answers
I am on Android N - unlocked bootloader - rooted via magisk, One Plus 3.
Could I do the following?
use TWRP to make a Nandroid Backup (System+Data+Boot) of my current set-up
then, manually flash (using twrp) Android O
find out I don't particularly like it
Go back to TWRP and Nandroid Restore back to Android N, as if no update ever happened
Or will there be issues?
Thanks
Click to expand...
Click to collapse
There won't be any issue. You are alright with the procedure. Just make sure you use the correct twrp recovery for oreo coz if you use the non compatible recovery then you won't be able to boot into recovery once the oreo is flashed and you are forced to go with the stock recovery
Process I followed when I tried oreo last week
Take nandroid of all options available except system image. (system, data, bootloader, firmware, efs, etc.) on nougat twrp.
Do factory reset(wipe everything except internal storage) then flash oreo twrp image. Perform reboot. (no OS warning on reboot option screen will appear) just ignore it. It will boot to recovery even without the OS.
Once booted back to new recovery(oreo twrp)
Flash oreo stock zip and again flash oreo twrp image and reboot to recovery(this time the device will get stuck with a black screen and white LED). Don't panic, just force reboot the device and go to recovery again to flash magisk/supersu. Reboot to OS
Enjoy oreo
To go back to nougat
Reboot to recovery.
Perform factory reset as mentioned above.
Restore everything except bootloader, cache and dalvik cache
Flash nougat twrp recovery. Reboot to system.
Happy flashing.
Edit : use blu sparks recovery for nougat backup.
maxs8007 said:
There won't be any issue. You are alright with the procedure. Just make sure you use the correct twrp recovery for oreo coz if you use the non compatible recovery then you won't be able to boot into recovery once the oreo is flashed and you are forced to go with the stock recovery
Process I followed when I tried oreo last week
Take nandroid of all options available except system image. (system, data, bootloader, firmware, efs, etc.) on nougat twrp.
Do factory reset(wipe everything except internal storage) then flash oreo twrp image. Perform reboot. (no OS warning on reboot option screen will appear) just ignore it. It will boot to recovery even without the OS.
Once booted back to new recovery(oreo twrp)
Flash oreo stock zip and again flash oreo twrp image and reboot to recovery(this time the device will get stuck with a black screen and white LED). Don't panic, just force reboot the device and go to recovery again to flash magisk/supersu. Reboot to OS
Enjoy oreo
To go back to nougat
Reboot to recovery.
Perform factory reset as mentioned above.
Restore everything except bootloader, cache and dalvik cache
Flash nougat twrp recovery. Reboot to system.
Happy flashing.
Edit : use blu sparks recovery for nougat backup.
Click to expand...
Click to collapse
Thank you for the detailed procedure.
maxs8007 said:
There won't be any issue. You are alright with the procedure. Just make sure you use the correct twrp recovery for oreo coz if you use the non compatible recovery then you won't be able to boot into recovery once the oreo is flashed and you are forced to go with the stock recovery
Process I followed when I tried oreo last week
Take nandroid of all options available except system image. (system, data, bootloader, firmware, efs, etc.) on nougat twrp.
Do factory reset(wipe everything except internal storage) then flash oreo twrp image. Perform reboot. (no OS warning on reboot option screen will appear) just ignore it. It will boot to recovery even without the OS.
Once booted back to new recovery(oreo twrp)
Flash oreo stock zip and again flash oreo twrp image and reboot to recovery(this time the device will get stuck with a black screen and white LED). Don't panic, just force reboot the device and go to recovery again to flash magisk/supersu. Reboot to OS
Enjoy oreo
To go back to nougat
Reboot to recovery.
Perform factory reset as mentioned above.
Restore everything except bootloader, cache and dalvik cache
Flash nougat twrp recovery. Reboot to system.
Happy flashing.
Edit : use blu sparks recovery for nougat backup.
Click to expand...
Click to collapse
Thank you
Hi @maxs8007
thanks for the instructions. I did all that to get back to my nougat rom (PureFusion) and all seem good and phone booted fine. But i am stuck on login screen after booted up. I tried my correct password several times but to no avail. anyway reset my password without factory resetting again?
Thanks for the advise.
sqlpro said:
Hi @maxs8007
thanks for the instructions. I did all that to get back to my nougat rom (PureFusion) and all seem good and phone booted fine. But i am stuck on login screen after booted up. I tried my correct password several times but to no avail. anyway reset my password without factory resetting again?
Thanks for the advise.
Click to expand...
Click to collapse
Go to twrp - advanced - file manager - go to root folder - data - system - and delete files with .key extension. There will be 2 files delete both and reboot.
maxs8007 said:
Go to twrp - advanced - file manager - go to root folder - data - system - and delete files with .key extension. There will be 2 files delete both and reboot.
Click to expand...
Click to collapse
Thank you very much and that worked. I am back in the system.
BTW in your original instructions I had to re flash rom after restoring twrp backup otherwise it didn't boot and stuck at rom animation.
sqlpro said:
Thank you very much and that worked. I am back in the system.
BTW in your original instructions I had to re flash rom after restoring twrp backup otherwise it didn't boot and stuck at rom animation.
Click to expand...
Click to collapse
Thanks for pointing out, I must have forgot to add it. I'll update again.
Hi @maxs8007
I ran into this issue again today! after unlocking as per instructions yesterday and am back into phone and re-set the pin and all good. But today i had to reboot the phone and same issue again , cant login on the lock screen!! i tried deleting those files again but to no avail!!
any ideas before factory reset and loose my data ? Thanks.
sqlpro said:
Hi @maxs8007
I ran into this issue again today! after unlocking as per instructions yesterday and am back into phone and re-set the pin and all good. But today i had to reboot the phone and same issue again , cant login on the lock screen!! i tried deleting those files again but to no avail!
any ideas before factory reset and loose my data ? Thanks.
Click to expand...
Click to collapse
This should not have happened, anyways delete all those files which I've highlighted in the image below. This will reset the lock settings.
Oh sorry I forgot to attach the file. Here it is.
maxs8007 said:
There won't be any issue. You are alright with the procedure. Just make sure you use the correct twrp recovery for oreo coz if you use the non compatible recovery then you won't be able to boot into recovery once the oreo is flashed and you are forced to go with the stock recovery
Process I followed when I tried oreo last week
Take nandroid of all options available except system image. (system, data, bootloader, firmware, efs, etc.) on nougat twrp.
Do factory reset(wipe everything except internal storage) then flash oreo twrp image. Perform reboot. (no OS warning on reboot option screen will appear) just ignore it. It will boot to recovery even without the OS.
Once booted back to new recovery(oreo twrp)
Flash oreo stock zip and again flash oreo twrp image and reboot to recovery(this time the device will get stuck with a black screen and white LED). Don't panic, just force reboot the device and go to recovery again to flash magisk/supersu. Reboot to OS
Enjoy oreo
To go back to nougat
Reboot to recovery.
Perform factory reset as mentioned above.
Restore everything except bootloader, cache and dalvik cache
Flash nougat twrp recovery. Reboot to system.
Happy flashing.
Edit : use blu sparks recovery for nougat backup.
Click to expand...
Click to collapse
Hi, OP here. Thanks for this guide.
Unfortunately, it did not work out for me.
Take nandroid of all options available except system image. (system, data, bootloader, firmware, efs, etc.) on nougat twrp.
Done
Do factory reset(wipe everything except internal storage)
Wiped fine although I got an error of not being able to wipe 'USB-OTG' or whatever it's called. I ignored it and moved on.
then flash oreo twrp image.
I googled oreo twrp image and got an img file with filename "TWRP-Oreo-OnePlus-3-3T". When I installed the img, it asked the options to choose Boot, System, or Recovery - so I chose System.
Then I rebooted and went back to recovery.
Flash oreo stock zip
flash oreo twrp image
Done
reboot to recovery(this time the device will get stuck with a black screen and white LED). Don't panic, just force reboot the device and go to recovery again to flash magisk/supersu.
This is where it ends. I get stuck at the OnePlus loading screen and forced reboot into twrp and flashed magisk. Once I boot up the OS, I get stuck at the OnePlus logo and that's it.
I actually re-did ALL of the steps again (in case I made a mistake) and still, the same issue. No progression.
Once I gave up on Oreo, I decided to go restore my nandroid
Reboot to recovery. Perform factory reset as mentioned above.
Wiped
Restore everything except bootloader, cache and dalvik cache
Here's the issue:
I press Restore (I uncheck both bootloader and cache, but there's no option for a specific dalvik cache- unless I'm not looking hard enough?) and I get the 255 Error.
Flash nougat twrp recovery. Reboot to system.
I tried to ignore that error and flash the twrp recovery.
Rebooted and it took me to fastboot. Regardless of I keep trying to reboot system it won't work.
I actually made two separate nandroid backups (the same 'everything except system image' as you've described) in case one of the backups was corrupted. Both backups ended up with the same error.
I got too tired of all these errors and just found a stock recovery and ROM and flashed it back. Now, all my apps and settings are gone. To be honest, I just want my phone back to where it was with Nougat.
Can anyone assist me?
@maxs8007, Like I said I did that already but nope still same issue. It wouldn't let me do matter what I did.
---------- Post added at 04:59 AM ---------- Previous post was at 04:54 AM ----------
arthritis said:
Hi, OP here. Thanks for this guide.
Unfortunately, it did not work out for me.
Take nandroid of all options available except system image. (system, data, bootloader, firmware, efs, etc.) on nougat twrp.
Done
Do factory reset(wipe everything except internal storage)
Wiped fine although I got an error of not being able to wipe 'USB-OTG' or whatever it's called. I ignored it and moved on.
then flash oreo twrp image.
I googled oreo twrp image and got an img file with filename "TWRP-Oreo-OnePlus-3-3T". When I installed the img, it asked the options to choose Boot, System, or Recovery - so I chose System.
Then I rebooted and went back to recovery.
Flash oreo stock zip
flash oreo twrp image
Done
reboot to recovery(this time the device will get stuck with a black screen and white LED). Don't panic, just force reboot the device and go to recovery again to flash magisk/supersu.
This is where it ends. I get stuck at the OnePlus loading screen and forced reboot into twrp and flashed magisk. Once I boot up the OS, I get stuck at the OnePlus logo and that's it.
I actually re-did ALL of the steps again (in case I made a mistake) and still, the same issue. No progression.
Once I gave up on Oreo, I decided to go restore my nandroid
Reboot to recovery. Perform factory reset as mentioned above.
Wiped
Restore everything except bootloader, cache and dalvik cache
Here's the issue:
I press Restore (I uncheck both bootloader and cache, but there's no option for a specific dalvik cache- unless I'm not looking hard enough?) and I get the 255 Error.
Flash nougat twrp recovery. Reboot to system.
I tried to ignore that error and flash the twrp recovery.
Rebooted and it took me to fastboot. Regardless of I keep trying to reboot system it won't work.
I actually made two separate nandroid backups (the same 'everything except system image' as you've described) in case one of the backups was corrupted. Both backups ended up with the same error.
I got too tired of all these errors and just found a stock recovery and ROM and flashed it back. Now, all my apps and settings are gone. To be honest, I just want my phone back to where it was with Nougat.
Can anyone assist me?
Click to expand...
Click to collapse
Buddy from my experience the whole thing too finicky and am thinking just factory reset and stick with stock rom. I wasted so much time already. Everytime I get different error, probably recoveries still not fully compatible with Oreo.
sqlpro said:
@maxs8007, Like I said I did that already but nope still same issue. It wouldn't let me do matter what I did.
---------- Post added at 04:59 AM ---------- Previous post was at 04:54 AM ----------
Buddy from my experience the whole thing too finicky and am thinking just factory reset and stick with stock rom. I wasted so much time already. Everytime I get different error, probably recoveries still not fully compatible with Oreo.
Click to expand...
Click to collapse
Could you please tell me what error you get on the lock screen? Could you post an image so that I can get a better idea of what's happening with your device? Also could you please confirm which files have you deleted? This time you need to delete 5 files which are related to lock screen setting and those are the only files responsible for lock settings on the device. I'm somewhat confused because I never ran into such issue while I did the oreo thing
If you have decided to flash stock then just make a backup of data partition so that you won't loose your data and you can easily restore it via twrp.
---------- Post added at 01:06 AM ---------- Previous post was at 12:42 AM ----------
arthritis said:
I googled oreo twrp image and got an img file with filename "TWRP-Oreo-OnePlus-3-3T". When I installed the img, it asked the options to choose Boot, System, or Recovery - so I chose System.
Click to expand...
Click to collapse
I read the entire post and here what I've to say. The above quoted steps is where you went wrong. The recovery needs to to be flashed as a recovery and not as system.
In your case the nougat recovery was never replaced with the oreo recovery because you flashed it as a system. This is where it went wrong. Sorry for the dalvik cache and USB - otg, I didn't mentioned about them. Those are the least important points in flashing though I should have mentioned that already
The next thing you mentioned is you went back to recovery which at that moment was nougat recovery and not oreo recovery. I'll link the modded recovery I used for oreo below
The next thing you did is you flashed oreo zip and again flashed the oreo recovery but as you flashed the recovery as system, the oreo stock rom was automatically replaced with recovery because you flashed it as system and the device didn't boot because there was no android OS to boot up
You got stuck on oneplus boot up screen. (this was going to happen because of the same flashing error at your end).
You were unable to boot back to nougat as well because of the same issue.. Never flash the recovery as system. This won't let you boot the device.
To restore your nandroid backup just follow the steps below
As you confirmed you booted to stock rom with a stock recovery.
Flash nougat twrp via fastboot
Boot back to the twrp recovery and restore the nandroid backup and you are good to go
---------- Post added at 01:18 AM ---------- Previous post was at 01:06 AM ----------
I'll make a video in my free time to help you guys with the steps that I've followed to flash oreo rom and how i came back to nougat successfully.
Hello @maxs8007
Sorry I didn't have any screen shots of the prompt and finally I was fed up with the whole process and had to switch back to oreo stock rom.
Login prompt I was referring to was standard pin required load android. Black background with only pin entry.
BTW I tried blu twrp recovery oreo version and nougat version.
What's interesting is, after several failed attempts it said I got 10 more tries before phone wiped out but after 10 attempts it started counting backwards from zero, - 1,-2 etc., finally I had to flash stock recovery via fastboot and selected forgot password option which reset my phone.
BTW I have deleted all those files from data/system I found another thread but no dice.
Thank you for trying to help us all.
@maxs8007 followed your steps. Booted to oreo, didn't felt as stable as nougat then booted back to nougat. You saved me. Thanks.
sqlpro said:
Hello @maxs8007
Sorry I didn't have any screen shots of the prompt and finally I was fed up with the whole process and had to switch back to oreo stock rom.
Login prompt I was referring to was standard pin required load android. Black background with only pin entry.
BTW I tried blu twrp recovery oreo version and nougat version.
What's interesting is, after several failed attempts it said I got 10 more tries before phone wiped out but after 10 attempts it started counting backwards from zero, - 1,-2 etc., finally I had to flash stock recovery via fastboot and selected forgot password option which reset my phone.
BTW I have deleted all those files from data/system I found another thread but no dice.
Thank you for trying to help us all.
Click to expand...
Click to collapse
I'm sorry that I was unable to help you. The thing is I never used the pin prompt to load android because I reboot too often to flash things via recovery and its too much of a hassle to enter the pin everytime the device is booted and I think it's too much to a security for a android device when there's already a lock screen present once booted to secure the device.
Please don't put the pin entry to load android next time if you flash stuff regularly. It will save you the hassle of going back to stock rom and recovery when something like this ever happens again. The files which I told you to delete in the image I posted above remove the lock screen protection completely
The login pin at the boot to load android was implemented to avoid unauthorized access to the device in case it gets stolen or lost.
maxs8007 said:
I'm sorry that I was unable to help you. The thing is I never used the pin prompt to load android because I reboot too often to flash things via recovery and its too much of a hassle to enter the pin everytime the device is booted and I think it's too much to a security for a android device when there's already a lock screen present once booted to secure the device.
Please don't put the pin entry to load android next time if you flash stuff regularly. It will save you the hassle of going back to stock rom and recovery when something like this ever happens again. The files which I told you to delete in the image I posted above remove the lock screen protection completely
The login pin at the boot to load android was implemented to avoid unauthorized access to the device in case it gets stolen or lost.
Click to expand...
Click to collapse
Frankly no clue why deleting those files didn't reset my pins and I even deleted gatekeeper files too.
Maybe these are lock screen key files and android boot prompt stored somewhere else. Not sure though.

Oneplus 5T remotedly wiped -- now only with TWRP and no ROM

I tought of having lost my phone so I did a remote wipe through google my devices... the phone was rooted with TWRP recovery.
After the remote wipe now has no rom... at boot first shows the oem unlock warning, then TWRP starts, and that's it... since the remote wipe deleted everything including storage I can't restore a backup.
I downloaded the latest signed flashable zip from here, copied it on a USB stick, and connected it to the OP5T. Then from TWRP mounted the USB Storage, and did a rom install from it. Problem is... nothing changed. Still at boot it return in TWRP instead of booting the OS :crying:
Any idea how to solve this?
adri72 said:
I tought of having lost my phone so I did a remote wipe through google my devices... the phone was rooted with TWRP recovery.
After the remote wipe now has no rom... at boot first shows the oem unlock warning, then TWRP starts, and that's it... since the remote wipe deleted everything including storage I can't restore a backup.
I downloaded the latest signed flashable zip from here, copied it on a USB stick, and connected it to the OP5T. Then from TWRP mounted the USB Storage, and did a rom install from it. Problem is... nothing changed. Still at boot it return in TWRP instead of booting the OS :crying:
Any idea how to solve this?
Click to expand...
Click to collapse
Download latest oos and sideload it via twrp /adb...
Sent from my ONEPLUS A5010 using Tapatalk
ahepas said:
Download latest oos and sideload it via twrp /adb...
Sent from my ONEPLUS A5010 using Tapatalk
Click to expand...
Click to collapse
Did that already -- didn't succeed.
In the end I tollowed this guide -- took a couple of hours just because I could't see the "unknown device" when connecting it in Qualcomm download mode. Turns out for some reason I already had the driver installed on my pc and didn't need to install anything.
In TWRP go to wipe, then format data and type in yes. Then download, transfer and flash dm-verity zip for the oneplus 5 (it's the same for both phones). Then reboot recovery and try installing the rom again.
This unbrick tool is your best friend
https://forum.xda-developers.com/oneplus-5t/how-to/oneplus-5t-unbricking-tool-confirmation-t3733012
Just flash latest firmware zip then flash a custom rom lol. With twrp, theres always a way around a soft brick.
I had this problem too. Everytime when i installed the rom and rebooted the phone, there was a message no os installed. This did it work.
1- wipe everything. Then use format data (not wipe).
2- install the rom.
3- select reboot from receovery menu and select reboot to recovery.
4- install the rom again.
5- reboot the device normally.
Hope this will help.
Sent from my OnePlus 5T using XDA Labs
I realized the link I meant to post in my reply above didn't come across.
I did solve the problem with this guide:
https://forums.oneplus.com/threads/guide-mega-unbrick-guide-for-a-hard-bricked-oneplus-5t.751497/

Unable to Install any custom rom.

So I've been following DavidRocher's tutorial to install a custom rom (the one that's linked around here the most), I've followed it before installing his RR official rom but as the room started showing a lot of issues, I decided to wipe everything and install something a little more stable such as lineage. I didn't care for Gcam or etc so I wouldn't have minded not having those at all.
However, even after following these steps now once again, even flashing the stock rom as asked for a brand new, clean install, twrp (offain) is hitting me with Error 1s on *any* custom rom that I try installing. I can seemingly flash the stock rom without any issues, but anything else and it's a solid no from TWRP.
Am I missing something?
The error itself is Error applying update: 28 (ErrorCode:: kDownloadOperationExecutionError) Updater process ended with Error: 1 error installing zip file.
I've been wiping, booting, rebooting, re-installing the custom rom, checking the unlocked bootloader and I have had no progress at all. I do not know why this is happening, could anyone please help me?
So, I found out that the -only- rom I can install is the one I originally installed, DavidRocher's official RR which seems to be no longer maintained. Which is also the rom I'm trying to get rid of... This doesn't sem to make any sense, does anyone have -any advice- at all?
JumboTSB said:
So, I found out that the -only- rom I can install is the one I originally installed, DavidRocher's official RR which seems to be no longer maintained. Which is also the rom I'm trying to get rid of... This doesn't sem to make any sense, does anyone have -any advice- at all?
Click to expand...
Click to collapse
Please can you describe exactly the steps that you did from boot to recovery and so?
SubwayChamp said:
Please can you describe exactly the steps that you did from boot to recovery and so?
Click to expand...
Click to collapse
Steps followed were:
Flashing stock daisy_global_images_V10.0.3.0.PDLMIXM_9.0 (flash_all.bat from bigota.d.miui.com/V10.0.3.0.PDLMIXM/daisy_global_images_V10.0.3.0.PDLMIXM_20190114.0000.00_9.0_e8d8d4a6d0.tgz)
Turning the phone off after it booted successfully;
Turning it on in fastboot;
Booting offain's twrp-daisy-3.3.0-0-offain.img through fastboot (fastboot boot twrp-daisy-3.3.0-0-offain.img);
No password entered;
Format Data;
Pushing custom rom & twrp;
Attempting to flash custom rom in any of the slots. At this point, it fails and gives me the error on any rom except the official Resurrection Remix rom from DavidRocher, which I can successfully install alongside twrp and force encryption disabler, change slots, install gapps and magisk and boot.
*Any* other rom just fails with that specific error code.
JumboTSB said:
Steps followed were:
Flashing stock daisy_global_images_V10.0.3.0.PDLMIXM_9.0 (flash_all.bat from bigota.d.miui.com/V10.0.3.0.PDLMIXM/daisy_global_images_V10.0.3.0.PDLMIXM_20190114.0000.00_9.0_e8d8d4a6d0.tgz)
Turning the phone off after it booted successfully;
Turning it on in fastboot;
Booting offain's twrp-daisy-3.3.0-0-offain.img through fastboot (fastboot boot twrp-daisy-3.3.0-0-offain.img);
No password entered;
Format Data;
Pushing custom rom & twrp;
Attempting to flash custom rom in any of the slots. At this point, it fails and gives me the error on any rom except the official Resurrection Remix rom from DavidRocher, which I can successfully install alongside twrp and force encryption disabler, change slots, install gapps and magisk and boot.
*Any* other rom just fails with that specific error code.
Click to expand...
Click to collapse
Try after to reboot to recovery, before of doing nothing or flash anything:
- Flash the TWRP installer.
- Then Wipe cache/dalvik, system and data
- Then Format data.
- Then change slot and reboot to recovery again.
- Now try to follow the usual steps by flashing rom, TWRP, changing slot, etc.
- If didn´t work change the place where it is the rom, extSDCard instead of internal memory or instead adb sideload.
SubwayChamp said:
Try after to reboot to recovery, before of doing nothing or flash anything:
- Flash the TWRP installer.
- Then Wipe cache/dalvik, system and data
- Then Format data.
- Then change slot and reboot to recovery again.
- Now try to follow the usual steps by flashing rom, TWRP, changing slot, etc.
- If didn´t work change the place where it is the rom, extSDCard instead of internal memory or instead adb sideload.
Click to expand...
Click to collapse
Attempted the following steps and adb sideload, error apparently still persists, sadly. This is just... So weird. It doesn't make any sense at all, maybe the official RR altered the partition sizes in some manner? I tried resizing/repairing them through TWRP and it also didn't change anything... ****.
JumboTSB said:
Attempted the following steps and adb sideload, error apparently still persists, sadly. This is just... So weird. It doesn't make any sense at all, maybe the official RR altered the partition sizes in some manner? I tried resizing/repairing them through TWRP and it also didn't change anything... ****.
Click to expand...
Click to collapse
The message through TWRP still the same? Try erasing boot partition where is allocated TWRP through
Code:
fastboot erase boot
then boot to offain TWRP, flash other recovery like Orange and see if this recovery can flash the rom and later flash again TWRP through Orange I don´t think that RR did that so I flashed both versions on my device and I don´t have this issue but if you sometime resized your partition I don´t guess that TWRP can restore it well, you could resize it again through the same method.
SubwayChamp said:
The message through TWRP still the same? Try erasing boot partition where is allocated TWRP through
Code:
fastboot erase boot
then boot to offain TWRP, flash other recovery like Orange and see if this recovery can flash the rom and later flash again TWRP through Orange I don´t think that RR did that so I flashed both versions on my device and I don´t have this issue but if you sometime resized your partition I don´t guess that TWRP can restore it well, you could resize it again through the same method.
Click to expand...
Click to collapse
I guess I'll try it with orange when I have a little more time then.. Spent the last 10-12 hours trying different procedures with twrp and they were pretty fruitless... It's still so weird, I'm definitely not new to flashing roms, I've done it so many times in the past and this is the very first time I get this sort of behavior. I'll update this once I try out OrangeFox.
hi!
your method has always worked for me, but this time I always get error 1.
I tried to install the pixel experience and lineage and nothing works, can you help me?
:good:

Categories

Resources