How to RE-lock bootloader of oneplus3??? - OnePlus 3 Questions & Answers

Any one knows how to re-lock the bootloader of one plus 3???
And
How to remove that screen on boot up after unlocking one plus three??? :/

If you read the screen properly ull see the instructions on the screen itself do everything the same way you unlock the bootloader just instead of oem bootloader unlock type oem bootloader lock ...but make sure you're on stock rom and recovery

zubinvig said:
If you read the screen properly ull see the instructions on the screen itself do everything the same way you unlock the bootloader just instead of oem bootloader unlock type oem bootloader lock ...but make sure you're on stock rom and recovery
Click to expand...
Click to collapse
But then My root access will be wiped??
I want root access and dont want than annoying screen

two questions different answer but I would bet if there is a way to remove nag screen a google search would find it. Keep searching threads

there is no reason to re-lock bootloader, its still under warranty through Oneplus even with unlocked bootloader. but if u really want to
1. fastboot flash stock recovery (fastboot flash recovery recovery.img) (make sure u download the file, its somewhere here on the forums
2. reboot and then reboot to fastboot (fastboot oem lock) (i have never re locked a bootloader so i am not sure if it will rewipe ur device again like unlocking it does)
3. boot to OS and get developer options again and uncheck OEM Unlock (do this last)
i would not recommend re locking since it wont void warranty and seemed like a lot people screwed up their devices relocking it, but they also unchecked the oem unlock before flashing stock recovery, also i am not sure if step 2 is needed, i would just make sure u flash stock recovery 1st before doing anything

HELP
I try to relock the bootloader but in this momento my oneplus 3 is blocked...I cant update with the stock rom...please some help!!! :crying:

zubinvig said:
If you read the screen properly ull see the instructions on the screen itself do everything the same way you unlock the bootloader just instead of oem bootloader unlock type oem bootloader lock ...but make sure you're on stock rom and recovery
Click to expand...
Click to collapse
What happens if i follow same steps with installed FREEDOM OS on my oneplus 3. You said make sure you are in stock OS.

Once i have unlocked the phn my device doesn't get recognised by the pc when i use command" fastboot devices".. Now, i'm unable to flash twrp, plz solve my issue.!!!

Arun Ammineni said:
What happens if i follow same steps with installed FREEDOM OS on my oneplus 3. You said make sure you are in stock OS.
Click to expand...
Click to collapse
ecarchi said:
I try to relock the bootloader but in this momento my oneplus 3 is blocked...I cant update with the stock rom...please some help!!! :crying:
Click to expand...
Click to collapse
What part of be on stock OS is so hard to understand?
If you're not absolutely stock when relocking, you will brick your device.
Then good luck trying to enable OEM Unlocking when not being able to boot.
As someone who messes with their phone, relocking your bootloader is one of the worst possible things you can do.
If not done correctly, it WILL brick your device.
If you want to go back to stock, then surely do, there is absolutely no need to relock your boot loader unless you're selling your device to someone or if you're looking to pass SafetyNet for Android Pay or something.
Also, you cannot have the cake as well as eat it. You need to have an unlocked boot loader for root, exposed, etc. There is no way around this.
Phones previously had to be reverse engineered and exploited to gain root access, now OEMs freely allow unlocking.

kgs1992 said:
What part of be on stock OS is so hard to understand?
If you're not absolutely stock when relocking, you will brick your device.
Then good luck trying to enable OEM Unlocking when not being able to boot.
As someone who messes with their phone, relocking your bootloader is one of the worst possible things you can do.
If not done correctly, it WILL brick your device.
If you want to go back to stock, then surely do, there is absolutely no need to relock your boot loader unless you're selling your device to someone or if you're looking to pass SafetyNet for Android Pay or something.
Also, you cannot have the cake as well as eat it. You need to have an unlocked boot loader for root, exposed, etc. There is no way around this.
Phones previously had to be reverse engineered and exploited to gain root access, now OEMs freely allow unlocking.
Click to expand...
Click to collapse
I hope you can read this. I'm not a noob and I am looking to relock my bootloader because I am going to sell it. The person wants it fully stock so I need to relock the bootloader in order to regain access to official Ota updates.
I need to be on complete stock (stock recovery and rom) right? Would you please kindly point me to where I need to go to download the stock Rom and recovery. There's some TWRP flashable OTA zips on Oneplus forums that restore stock Rom and recovery but I want to be sure that that is enough and that I don't end up bricking my device for something as stupid as this. Any help would greatly be appreciated!

Arthurvben said:
I hope you can read this. I'm not a noob and I am looking to relock my bootloader because I am going to sell it. The person wants it fully stock so I need to relock the bootloader in order to regain access to official Ota updates.
I need to be on complete stock (stock recovery and rom) right? Would you please kindly point me to where I need to go to download the stock Rom and recovery. There's some TWRP flashable OTA zips on Oneplus forums that restore stock Rom and recovery but I want to be sure that that is enough and that I don't end up bricking my device for something as stupid as this. Any help would greatly be appreciated!
Click to expand...
Click to collapse
Fash 3.2.4 FW from here.
Follow all instructions from here (except I would suggest sideloading the StockROM before relocking).

Arthurvben said:
I hope you can read this. I'm not a noob and I am looking to relock my bootloader because I am going to sell it. The person wants it fully stock so I need to relock the bootloader in order to regain access to official Ota updates.
I need to be on complete stock (stock recovery and rom) right? Would you please kindly point me to where I need to go to download the stock Rom and recovery. There's some TWRP flashable OTA zips on Oneplus forums that restore stock Rom and recovery but I want to be sure that that is enough and that I don't end up bricking my device for something as stupid as this. Any help would greatly be appreciated!
Click to expand...
Click to collapse
I followed the same guide posted on OnePlus Forum to re-lock my bootloader. Just follow them, it works.
Here is that link from OnePlus forum.
1. I restored my stock rom backup from TWRP
2. Flashed Stock recovery
3. fastboot oem lock
4. Sideload stock ROM
Done.
I unlocked because stock ROM I felt was much stabler and hassle free. Have rooted and played with custom ROMs enough in my Nexus 5 days. Just too much stress and can end up with non-working features. Might root again in future if I find something compelling in custom ROM.

batmobile_bang said:
I followed the same guide posted on OnePlus Forum to re-lock my bootloader. Just follow them, it works.
Here is that link from OnePlus forum.
1. I restored my stock rom backup from TWRP
2. Flashed Stock recovery
3. fastboot oem lock
4. Sideload stock ROM
Done.
I unlocked because stock ROM I felt was much stabler and hassle free. Have rooted and played with custom ROMs enough in my Nexus 5 days. Just too much stress and can end up with non-working features. Might root again in future if I find something compelling in custom ROM.
Click to expand...
Click to collapse
If you unlock bootloader and root device. Do you still get OTA updates if you stay on stock ROM?

borijess said:
If you unlock bootloader and root device. Do you still get OTA updates if you stay on stock ROM?
Click to expand...
Click to collapse
If you unlock device, you will still be able to apply OTA. If you rooted by modifying the /system partition, OTA will fail, but if thou rooted using systemless method, you can apply OTA.

Iam on stock OOS 4.0.3 and i was plagued by the same error
--adb sideload the complete rom (with locked bootloader)-- method worked for me.
Previously i had unlocked bootloader and was on freedom OOS 2.3 with TWRP and then i realized that stock updates are better.
So i installed stock recovery and and tried to flash Stock Firmware 4.0.3 through sideload command and it failed.
then i installed TWRP and then installed stock OOS 4.0.3 and it installed fine but with some error.
Then i installed stock recovery
So i rebooted it and after long time it was installed but then i started getting dm_verity error and also i was frustated with unlocked bootloader message.
So i locked my boot loader first from fastboot oem lock and then sideloaded the stock 4.0.3 again and it really worked.
So now i am on stock rom and stock recovery and no more dm_verity error or unlocked bootloader msg to wait for 5 secs...
Now iam really loving my Oneplus 3..

Related

Rooting with unlocked bootloader and no USB

My USB connector is broken, so I need to send the phone in for service. There have been several threads on this issue, and I know that it's possible to relock the bootloader without having fastboot access as long as you have root. Problem is, I lost root on the device and am currently on the most recent 4.1.1 stock OTA. I have access to the stock recovery. Since the bootloader is unlocked, I should be able to flash unsigned code -- how can I restore root without having access to USB, so that I can then relock the bootloader? The stock recovery doesn't recognize any of the zips or imgs that I throw on the root of the sdcard. Thanks.
vadimg said:
My USB connector is broken, so I need to send the phone in for service. There have been several threads on this issue, and I know that it's possible to relock the bootloader without having fastboot access as long as you have root. Problem is, I lost root on the device and am currently on the most recent 4.1.1 stock OTA. I have access to the stock recovery. Since the bootloader is unlocked, I should be able to flash unsigned code -- how can I restore root without having access to USB, so that I can then relock the bootloader? The stock recovery doesn't recognize any of the zips or imgs that I throw on the root of the sdcard. Thanks.
Click to expand...
Click to collapse
AKAIK stock recovery will only flash a signed update.zip on the cache partition.
vadimg said:
My USB connector is broken, so I need to send the phone in for service. There have been several threads on this issue, and I know that it's possible to relock the bootloader without having fastboot access as long as you have root. Problem is, I lost root on the device and am currently on the most recent 4.1.1 stock OTA. I have access to the stock recovery. Since the bootloader is unlocked, I should be able to flash unsigned code -- how can I restore root without having access to USB, so that I can then relock the bootloader? The stock recovery doesn't recognize any of the zips or imgs that I throw on the root of the sdcard. Thanks.
Click to expand...
Click to collapse
Unfortunately if you don't have root AND you don't have a custom recovery AND you don't have a working USB port, you cannot get root nor can you get a custom recovery... Out of luck.
same here
I am exactly in the same situation with my nexus S.
no root, no USB but unlocked bootloader so I can't send it back to samsung.
anyone can help please?
dieu2mars said:
I am exactly in the same situation with my nexus S.
no root, no USB but unlocked bootloader so I can't send it back to samsung.
anyone can help please?
Click to expand...
Click to collapse
So I actually sent my phone into Samsung with the unlocked bootloader, and it looks like they repaired it. So they weren't dicks about something that's clearly a hardware issue. Once I get the phone back, I'll root it and relock the bootloader just in case anything like this happens again and I get less lucky.

[Q] Install Stock Recovery

Hi Experts,
i had rooted my phone a while back and installed custom recovery , and was on stock ROM.
Due to issues on official emails, i had to unroot my phone and relock it.
All is fine, however i did miss 1 step, that is, i still have a diff recovery on it, and i want to install my stock recovery back so that i can install OTA.
I do have the stock recovery (i think).
So is theree a quick way to do that without unlocking the bootloader again or without losing any data?
Let me know PLEASE!
Regards
Manas
niftycalls said:
Hi Experts,
i had rooted my phone a while back and installed custom recovery , and was on stock ROM.
Due to issues on official emails, i had to unroot my phone and relock it.
All is fine, however i did miss 1 step, that is, i still have a diff recovery on it, and i want to install my stock recovery back so that i can install OTA.
I do have the stock recovery (i think).
So is theree a quick way to do that without unlocking the bootloader again or without losing any data?
Let me know PLEASE!
Regards
Manas
Click to expand...
Click to collapse
post result from command fastboot getvar version-main and we will find you the stock recovery
@Thant, the issue is not really finding the stock recovery, i assume i have it, question is -
"All is fine, however i did miss 1 step, that is, i still have a diff recovery on it, and i want to install my stock recovery back so that i can install OTA."
"So is theree a quick way to do that without unlocking the bootloader again or without losing any data?"
niftycalls said:
@Thant, the issue is not really finding the stock recovery, i assume i have it, question is -
"All is fine, however i did miss 1 step, that is, i still have a diff recovery on it, and i want to install my stock recovery back so that i can install OTA."
"So is theree a quick way to do that without unlocking the bootloader again or without losing any data?"
Click to expand...
Click to collapse
as i can remember even if your bootloader is unlocked as long as you have stock recovery you can update.. just make sure you have a backup of all your data.
Phew.. So my booloader is RE LOCKED now, and i just want to install the stock recovery... without losing data or unlocking the bootloader........possible???
niftycalls said:
Phew.. So my booloader is RE LOCKED now, and i just want to install the stock recovery... without losing data or unlocking the bootloader........possible???
Click to expand...
Click to collapse
No.
To flash recovery, your bootloader must be unlocked. Do you still have unlock.bin file?
[email protected]|-|oR said:
No.
To flash recovery, your bootloader must be unlocked. Do you still have unlock.bin file?
Click to expand...
Click to collapse
yess.. i have the unlock.bin, but then i lose all the data no?
niftycalls said:
yess.. i have the unlock.bin, but then i lose all the data no?
Click to expand...
Click to collapse
As far as I remember you will lose data. Make a backup (Titanium, or similar app) of important data, unlock the bootloader, flash stock recovery, reboot, restore data.
And keep the bootloader unlocked!
damn!! if i keep my bootloader unlocked, i keep getting an error from an anitvirus kinda tool tht i had to install so that i receive my office emails. thanks for your help, will do this when i have a lot of time..

Need Help Re-Locking Bootloader

Hi all!
I saw a thread on the guides forum teching how to re-lock the bootloader and go back to stock.
I was able to go back to the stock ROM beautifully, but when i tried to lock the bootloader it simply didn't work. It went through the entire process but when the phone rebooted, the "this device is unlocked and can't be trusted" message still shows.
Anyone knos how to fix this? Thanks!
update to the latest ota february 18 patch then check again it will be locked.
sam00561 said:
update to the latest ota february 18 patch then check again it will be locked.
Click to expand...
Click to collapse
Updated... But it's still unlocked.
That message shows up even if relock the bootloader.
You need to flash a modified logo.bin image to get rid of it.
If you use my guide, you need to be on a custom rom for relocking. Otherwise it wont work , so try installing twrp, and install a custom rom. Than u can relock
SupahCookie said:
If you use my guide, you need to be on a custom rom for relocking. Otherwise it wont work , so try installing twrp, and install a custom rom. Than u can relock
Click to expand...
Click to collapse
So I can re-install the stock room after I re-lock the bootloader?
Sorry for my lack of knowledge lol

[RECOVERY]Honor 7x stuck in bootloop

Hello everybody, my Honor 7x BND-L21 entered in a bootloop (i haven't flashed custom rom or anything else).
I'd like to solve this problem without loosing my data.
Is there any way to unbrick the phone without loosing data?
Or is it possible to flash a custom recovery (TWRP), make a full back-up, and after that unbrick the phone?
My phone isn't rooted and the bootloader isn't unlocked.
Thanks
Oloccin said:
Hello everybody, my Honor 7x BND-L21 entered in a bootloop (i haven't flashed custom rom or anything else).
I'd like to solve this problem without loosing my data.
Is there any way to unbrick the phone without loosing data?
Or is it possible to flash a custom recovery (TWRP), make a full back-up, and after that unbrick the phone?
My phone isn't rooted and the bootloader isn't unlocked.
Thanks
Click to expand...
Click to collapse
To touch on the custom recovery idea... To install a custom recovery, you would need an unlocked BL. Even if your device was still able to do the BL unlock command (they locked that down a long time ago, but some have been able to downgrade to a version that allows it still), it wipes the device on BL unlock. Since you are looped, you can't get into ADB to use pull commands for example. I think you are out of luck regarding not loosing data.
sliding_billy said:
To touch on the custom recovery idea... To install a custom recovery, you would need an unlocked BL. Even if your device was still able to do the BL unlock command (they locked that down a long time ago, but some have been able to downgrade to a version that allows it still), it wipes the device on BL unlock. Since you are looped, you can't get into ADB to use pull commands for example. I think you are out of luck regarding not loosing data.
Click to expand...
Click to collapse
OK thanks for your answer. And what about flashing the stock rom of the device through the standard procedure (I saw that I should copy the rom in a folder named dload, press simultaneously volume + and -, and it will flash the rom, am I right?). Is this going to erase all data too?
Moreover, I was trying to connect the phone to the laptot through ADB but I can't see the device when I send the command <adb devices>. Can I solve this or this was what you were talking about here: "you can't get into ADB to use pull commands for example" ?
Thank you
Oloccin said:
OK thanks for your answer. And what about flashing the stock rom of the device through the standard procedure (I saw that I should copy the rom in a folder named dload, press simultaneously volume + and -, and it will flash the rom, am I right?). Is this going to erase all data too?
Moreover, I was trying to connect the phone to the laptot through ADB but I can't see the device when I send the command <adb devices>. Can I solve this or this was what you were talking about here: "you can't get into ADB to use pull commands for example" ?
Thank you
Click to expand...
Click to collapse
ADB only works with a booted ROM, so yeah that was what I was talking about. I'm not sure about that method of flashing stock. I've only seen the update procedure through system and not manually.
sliding_billy said:
ADB only works with a booted ROM, so yeah that was what I was talking about. I'm not sure about that method of flashing stock. I've only seen the update procedure through system and not manually.
Click to expand...
Click to collapse
Ok i understand. Is there any method to install again the original firmware/rom without unlocking the bootloader? Because mine is locked and I would like to keep it
Oloccin said:
Ok i understand. Is there any method to install again the original firmware/rom without unlocking the bootloader? Because mine is locked and I would like to keep it
Click to expand...
Click to collapse
Can you get into stock recovery for a factory reset?

Root magisk questions

Hey guys.
I'm reading the forum over and over, reading guides but still can't quite understand few things about magisk root.
1) Is it necessary to use TWRP for root using magisk? I found a guide to patch stock rom boot.img and then flash custom rom without TWRP. This way encryption also works (I read it doesn't if you use TWRP).
What is the purpose to use TWRP at all? What are the pros and cons of each method.
2) How is OTA update handled for Samsung with magisk? Do I have to revert back to stock rom using odin each time a new update appears?
Or I can do download OTA update, apply it, then without reboot, I just reinstall magisk from my phone and everything will work?
3) Can you make signed custom rom for samsung so you can lock bootloader after root, just like people do it for one plus on this forum?
Or it is not possible with samsung?
Thanks in advance for help.
Kape1234 said:
Hey guys.
I'm reading the forum over and over, reading guides but still can't quite understand few things about magisk root.
1) Is it necessary to use TWRP for root using magisk? I found a guide to patch stock rom boot.img and then flash custom rom without TWRP. This way encryption also works (I read it doesn't if you use TWRP).
What is the purpose to use TWRP at all? What are the pros and cons of each method.
2) How is OTA update handled for Samsung with magisk? Do I have to revert back to stock rom using odin each time a new update appears?
Or I can do download OTA update, apply it, then without reboot, I just reinstall magisk from my phone and everything will work?
3) Can you make signed custom rom for samsung so you can lock bootloader after root, just like people do it for one plus on this forum?
Or it is not possible with samsung?
Thanks in advance for help.
Click to expand...
Click to collapse
Hello,
First off I would just let you know that typically questions like this go in the Q&A section.. This is S20/S20+/S20U Snapdragon Development thread which is usually reserved for people who develop things such as roms, twrp, mods etc. etc. so be sure to ready the rules and other stickied information when considering to post just to be sure you post in the right section.
So next thing I want to say is that in order to use TWRP or root or anything custom really on a usa Snapdragon model (U/U1/W Models) you have to use paid service to unlock the bootloader IF your device is eligible to be unlocked which means you haven't updated to the latest OS, if it is, then you are out of luck for now until new method is developed using new security.
If you are unlocked already, can unlock or just want to know I will try and answer your questions now.
1) TWRP is not necessary. Neither is patching the full ROM. All you need to do (if you don't want to use TWRP) is take the boot.img from the stock firmware, patch it using Magisk app and then flash it in ODIN. Device will wipe most likely if encryption and vbmeta etc. isn't disabled already. I do not know if "encryption" works while just rooted using Magisk patched boot.img or not as I usually disable all that stuff. My guess is that in some form it would be encrypted, just not sure if it's the same thing you are referring to or not.
2) If you are on an unlocked bootloader and complete stock i.e. no root or anything just clean full stock then you should get OTA updates. If you use anything "custom" i.e. Magisk patched boot.img or TWRP installed or vbmeta disabled etc. etc. then OTA updates will NOT work. And no, you don't have to revert to stock in ODIN each time there is a firmware update. It really depends on the update but you can typically use the odin tar with home csc and it should update without wiping but at the same time you would lose root or need to re-patch the new boot.img etc. etc. but wouldn't necessarily have to flash stock first then start over. There's also "safe" updates available some posted by jrkruse in development sections. If you had a usa unlocked device that was unlocked using paid service then you do NOT want to take OTA's because Samsung has changed the way tokens are verified when device boots up so new OS can't read them and most devices have incremented the bootloader so if you did take an OTA you likely would lost your unlock and no way to downgrade.
3) No. In order to do that you would need Samsung's private keys since there is no way to load your own custom key to use.. you can't just sign it with any key.. Also, if you relock your bootloader on a USA model that was unlocked using paid service then you will not be able to unlock again.. either way, it's not possible to use a custom signed firmware then relock the bootloader and have it boot.. not on Samsung anyway..
Hope that clears it up for you.
Thanks

Categories

Resources