RELOCKING bootloader and making the OP5 stock again - OnePlus 5 Questions & Answers

Hey,
So as titel says, does anyone know how to relock the bootloader of the OP5 and bringing it back to stock?
I've searsched without luck.
Thanks in advance.

gagg3 said:
Hey,
So as titel says, does anyone know how to relock the bootloader of the OP5 and bringing it back to stock?
I've searsched without luck.
Thanks in advance.
Click to expand...
Click to collapse
Ig u are supposed to post this in the Q&A section for a solution.
Sent from my ONEPLUS A5000 using Tapatalk

https://forums.oneplus.net/threads/...-3-3t-and-go-back-completely-to-stock.456232/
Its for op3/t but use the correct files for op5

First download the stock recovery from here and flash it via fastboot.
Then download the image here, follow the instructions there to sideload the image and install it.
Finally once you're sure you have the stock OOS properly installed and the stock recovery installed. Relock the bootloader via:
Code:
fastboot oem lock
And you're done.

Thanks guys, helped me out!
One love

gagg3 said:
Hey,
So as titel says, does anyone know how to relock the bootloader of the OP5 and bringing it back to stock?
I've searsched without luck.
Thanks in advance.
Click to expand...
Click to collapse
here in this video u can see in detail how to lock bootloader. hope this help
https://www.youtube.com/watch?v=CQYCSdDUdAU

Related

Moto x pure edition bootloop locked bootloader

I have bootloop after update to lollipop. anyone have factory stock rom, or some way to unlock the boot loader or allow oem unlock via fastboot. Thanks
Donkan694 said:
I have bootloop after update to lollipop. anyone have factory stock rom, or some way to unlock the boot loader or allow oem unlock via fastboot. Thanks
Click to expand...
Click to collapse
Greetings,
Thank you for using XDA Assist. To find you the best possible solution to your issue, I'm going to move this thread to your device's Q&A forum. You'll find expert help there. Good luck!!

Downgrade to Mm

Hello guys i'm on LineageOS but i don't know how to downgrade to stock Marshmallow, i tried to search on forum but didnt find something useful to me. Can Someone help me?
Hello
Do.you have access to TWRP and unlocked bootloader? Also, you gonna need to save your bootloader unlock code
MatoXD said:
Hello
Do.you have access to TWRP and unlocked bootloader? Also, you gonna need to save your bootloader unlock code
Click to expand...
Click to collapse
I have twrp and unlocked bootloader Also unlock code
arberinho said:
I have twrp and unlocked bootloader Also unlock code
Click to expand...
Click to collapse
Whts your OEM version C432 or C636?
arberinho said:
I have twrp and unlocked bootloader Also unlock code
Click to expand...
Click to collapse
You can try flashing oeminfo and then stock UPDATE.app via force EMUI update, but data might get deleted
MatoXD said:
You can try flashing oeminfo and then stock UPDATE.app via force EMUI update, but data might get deleted
Click to expand...
Click to collapse
i tried to d in this method, but with emui 5.0 beta doesn't work
97filippo said:
i tried to d in this method, but with emui 5.0 beta doesn't work
Click to expand...
Click to collapse
I can probably see right now, you've done it wrong... Download stock rom from huawei.consumer... For some reason i thought it's gonna be android MM, but it was android N, so no problem here, just download stock rom and you will have newest android.
You probably downloader rom from xda, rom it's in .zip right? And you tried to flash it with TWRP?
MatoXD said:
I can probably see right now, you've done it wrong... Download stock rom from huawei.consumer... For some reason i thought it's gonna be android MM, but it was android N, so no problem here, just download stock rom and you will have newest android.
You probably downloader rom from xda, rom it's in .zip right? And you tried to flash it with TWRP?
Click to expand...
Click to collapse
already tried with dload mode... nothing works and i can't flash any custom recovery... in cmd i see FAILED when i do fastboot flash recovery path/recovery.img (path=c:\user\etc...)
MatoXD said:
I can probably see right now, you've done it wrong... Download stock rom from huawei.consumer... For some reason i thought it's gonna be android MM, but it was android N, so no problem here, just download stock rom and you will have newest android.
You probably downloader rom from xda, rom it's in .zip right? And you tried to flash it with TWRP?
Click to expand...
Click to collapse
Where Can i download the stock rom?
arberinho said:
Where Can i download the stock rom?
Click to expand...
Click to collapse
You can find stock ROMs there https://forum.xda-developers.com/huawei-p9lite/how-to/nougat-official-firmware-t3512932
So Guys i can install stock nougat Just by installing b360 with TWRP?
arberinho said:
So Guys i can install stock nougat Just by installing b360 with TWRP?
Click to expand...
Click to collapse
it seems like that
97filippo said:
it seems like that
Click to expand...
Click to collapse
I need a safe mode bro, i don't want to brick
arberinho said:
I need a safe mode bro, i don't want to brick
Click to expand...
Click to collapse
man read the guide, it's wrote that u do that at your own risck. it could brick or it couldn't
97filippo said:
man read the guide, it's wrote that u do that at your own risck. it could brick or it couldn't
Click to expand...
Click to collapse
I know but usually It bricks if i don't follow the right steps, i was Just asking if Someone had my same problem
is more secure doing with twrp because u can do a backup. i made with BETA app and nonw i have a lot of problems
97filippo said:
i tried to d in this method, but with emui 5.0 beta doesn't work
Click to expand...
Click to collapse
Yesterday I had this issue, it's more easy than it seems. In Revolution Recovery for Nougat, flash the update.app ZIP with 6.0 , it will show you a lot of errors, but don't worry, it's ok. After this flash than DUALSIMOEM.zip and after that shutdown your phone and use the 3 buttons method to automatically ,,update" to B161.
robi10101298 said:
Yesterday I had this issue, it's more easy than it seems. In Revolution Recovery for Nougat, flash the update.app ZIP with 6.0 , it will show you a lot of errors, but don't worry, it's ok. After this flash than DUALSIMOEM.zip and after that shutdown your phone and use the 3 buttons method to automatically ,,update" to B161.
Click to expand...
Click to collapse
I tried to install that recovery but i can't.. When i flash it in cmd i see FAILED... I'll send a screen asap from my pc
97filippo said:
I tried to install that recovery but i can't.. When i flash it in cmd i see FAILED... I'll send a screen asap from my pc
Click to expand...
Click to collapse
That's because u don t have the bootloader unlocked Also, verify in Developer Options to have Enable OEM on, that's why you have an error in CMD
robi10101298 said:
That's because u don t have the bootloader unlocked Also, verify in Developer Options to have Enable OEM on, that's why you have an error in CMD
Click to expand...
Click to collapse
i have unlocked my bootloader, but i need to check OEM.. ty
------- EDIT -------
i ust unlocked OEM, this evening i'll try to fix my phone! thank you man.. i failed that lel

Getting back to stock EMUI super easily, almost no hassle

Hi everyone, today I will be telling you all how to get back to stock as long as your bootloader states "PHONE Unlocked" and "FRP Unlock"
You will need to install this, this is super duper important! https://forum.xda-developers.com/honor-9/development/tool-flash-official-firmware-recovery-t3769279
When installing, you will see the error: "E: Unknown command []]"
DO NOT BE AFRAID!
That is supposed to happen lol.
Installation procedure -
1. Flash this TWRP: https://drive.google.com/file/d/18uHjW73Th8iYKIs5m_QgwleMIOjsZd7S/view?usp=sharing
2. Wipe everything except SD card, then choose "Format data" to decrypt device
3. Reboot once again into TWRP (NOTE: If you are using USB OTG cable, make sure to plug it in AFTER TWRP is fully booted and ready to go, if you do it early, you get an error, which is weird lol. EDIT: Not sure if this error is still present in the new twrp, but it's never bad to play it safe.)
4. Flash HuRUpdater, make sure the file names are correct!
5. Reboot into stock recovery
6. Factory reset and wipe cache partition
7. Reboot
This method also enables themes to work again, so no need to worry about that!
Lots of thanks to @zxz0O0 to providing this awesome tool
And more thanks to the OpenKirin community for helping me out when flashing this! :good::good::good:
hello crayonicle, hehe im on the dot os for now, im interested going back to stock. will i get official updates backs from honor if i go back to stock using this method?
do i need to install the HuRUpdater only as the instruction shows? or follow as the link to the other thread shows?
Alvin Owen said:
hello crayonicle, hehe im on the dot os for now, im interested going back to stock. will i get official updates backs from honor if i go back to stock using this method?
Click to expand...
Click to collapse
(Used to say you can't update ota... but now you can lol)
EDIT: what the...
I flashed it using the method in the original post, of course, and I got an update notification to update system! So yes, updating works!!!! lol
crayonicle said:
Most likely not, the moment you unlock bootloader, you get no updates from that point forward. Just check using this for latest version: http://pro-teammt.ru/huawei-firmware-finder/
Click to expand...
Click to collapse
oh so i do need to follow the instructions in the other thread and download the official firmware for the 7x?
Hi !
Does it work to restore on the BND-L21C432B121 ? Because it's marked for 7X but does it works on all firmware versions of this device ?
Thanks !
hi op,
does this work on L24 the usa version?
What update.zip file did you use? can you point to the link?
Also, does this update take the recovery to stock with no TWRP?
vikra007 said:
hi op,
does this work on L24 the usa version?
What update.zip file did you use? can you point to the link?
Also, does this update take the recovery to stock with no TWRP?
Click to expand...
Click to collapse
Yes, after flashing this via twrp, if you reboot once again to recovery, it is stock recovery, not twrp.
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G2649/g1699/v133897/f2/full/update.zip
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G2649/g1699/v133897/f2/full/BND-L24_hw_usa/update_full_BND-L24_hw_usa.zip
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G2649/g1699/v133897/f2/full/public/update_data_full_public.zip
You need to download all 3 files and rename them.
DaRkLinK_35 said:
Hi !
Does it work to restore on the BND-L21C432B121 ? Because it's marked for 7X but does it works on all firmware versions of this device ?
Thanks !
Click to expand...
Click to collapse
Yes, this works for all Honor 7x variants.
crayonicle said:
Yes, after flashing this via twrp, if you reboot once again to recovery, it is stock recovery, not twrp.
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G2649/g1699/v133897/f2/full/update.zip
http://update.hicloud.com:8180/TDS/...BND-L24_hw_usa/update_full_BND-L24_hw_usa.zip
http://update.hicloud.com:8180/TDS/...97/f2/full/public/update_data_full_public.zip
You need to download all 3 files and rename them.
Yes, this works for all Honor 7x variants.
Click to expand...
Click to collapse
What do you need to rename them to? Are the instructions for that in the thread you posted for the tool?
kingd421 said:
What do you need to rename them to? Are the instructions for that in the thread you posted for the tool?
Click to expand...
Click to collapse
Yes, they are in the link for HuRUpdater, read them carefully! :good:
crayonicle said:
Yes, they are in the link for HuRUpdater, read them carefully! :good:
Click to expand...
Click to collapse
I updated using the script. Thank you.
I see the OTA update but it failed to install. Do I need to relock the bootloader?
vikra007 said:
I updated using the script. Thank you.
I see the OTA update but it failed to install. Do I need to relock the bootloader?
Click to expand...
Click to collapse
I would assume so. I sent a support ticket to honor regarding the issue (I had the same problem as you) but I went back to custom ROMs so I can't help you here sorry.
vikra007 said:
I updated using the script. Thank you.
I see the OTA update but it failed to install. Do I need to relock the bootloader?
Click to expand...
Click to collapse
Did you try running the update again? I had a similar problem after I unrooted and reinstalled the stock recovery. It failed the first time but when I rebooted and did it again it worked.
crayonicle said:
I would assume so. I sent a support ticket to honor regarding the issue (I had the same problem as you) but I went back to custom ROMs so I can't help you here sorry.
Click to expand...
Click to collapse
looks like modem update didnt update properly. I am not able to place a call. other apps seem to be fine with data. BTW, what custom rom are you using?
---------- Post added at 11:41 PM ---------- Previous post was at 11:31 PM ----------
vikra007 said:
looks like modem update didnt update properly. I am not able to place a call. other apps seem to be fine with data. BTW, what custom rom are you using?
Click to expand...
Click to collapse
Also, which twrp to use again? Getting Failed: remote: partition length get error) when I try to flash recovery through fast boot
hey
i want to rolll back but im not able to get into twrp after succesfully flashing it.
can u help me pls
BigDiqSeitz said:
hey
i want to rolll back but im not able to get into twrp after succesfully flashing it.
can u help me pls
Click to expand...
Click to collapse
So, use this twrp:
https://transfer.sh/FRHlD/Twrp_p10_lite_0.5_Pretoriano8.img
crayonicle said:
So, use this twrp:
https://transfer.sh/FRHlD/Twrp_p10_lite_0.5_Pretoriano8.img
Click to expand...
Click to collapse
worked fine for me thx ))))
Does this work for bnd-l34 mate se?
madgoogler said:
Does this work for bnd-l34 mate se?
Click to expand...
Click to collapse
It should.
Sent from my BND-L24 using Tapatalk

Possible to relock bootloader?

Is it possible to relock bootloader with stock recovery but with a custom rom like lineage os? It'd be really great to know how to do it if possible.
[FeaR]ᴬs4500 said:
Is it possible to relock bootloader with stock recovery but with a custom rom like lineage os? It'd be really great to know how to do it if possible.
Click to expand...
Click to collapse
you can find some info from this thread
https://forum.xda-developers.com/nexus-5x/help/to-lock-bootloader-custom-rom-t3351508
Sooo.... No?
[FeaR]ᴬs4500 said:
Sooo.... No?
Click to expand...
Click to collapse
I think not a good idea
Of course you can, just flash stock service firmware. Ive done it many times.
Vico100 said:
Of course you can, just flash stock service firmware. Ive done it many times.
Click to expand...
Click to collapse
but i cant flash recovery firmware
if you a link for fastboot can you provide
What I want to do is not revert to stock but just have stock recovery and other than that no root and a custom rom would I be able to lock the bootloader in this condition
Niki Exodia007 said:
but i cant flash recovery firmware
if you a link for fastboot can you provide
Click to expand...
Click to collapse
Here Is the Stock rom link
https://www.getdroidtips.com/ww-15-2016-1805-318-zenfone-max-pro-m1/

Relocking Bootloader

Anyone here tried to relock their bootloader? the tutorial that ive found in here is not working, i really need your help, thank guys!
Do it with these instructions: link It works.
zerobalance00 said:
Anyone here tried to relock their bootloader? the tutorial that ive found in here is not working, i really need your help, thank guys!
Click to expand...
Click to collapse
Have u unlocked unofficially?

Categories

Resources