Hi hope someone can verify.
I'm running stock 3.2.7 unrooted with stock recovery. The bootloader is still unlocked as I tried out a few custom ROMs about a month back. I now want to wipe and sell the phone so need to lock the bootloader. Can I just do the standard OEM lock in adb or should I also sideload the full 3.2.7 update zip again?
Thanks
just oem lock it. but everything will be removed when you do that.
Playa82 said:
just oem lock it. but everything will be removed when you do that.
Click to expand...
Click to collapse
Thanks, I thought so but I had to check. Strange... after rooting phones and installing custom ROMs for maybe 8 years, I don't think I've ever relocked a bootloader.
It's safer to flash stock again then to relock bootloader, even if you think you are stock (including recovery) maybe you are not.
But except the booting screen, you won't gain anything from relocking bootloader, even the warranty will work with bootloader unlocked.
SpaceGooner said:
Hi hope someone can verify.
I'm running stock 3.2.7 unrooted with stock recovery. The bootloader is still unlocked as I tried out a few custom ROMs about a month back. I now want to wipe and sell the phone so need to lock the bootloader. Can I just do the standard OEM lock in adb or should I also sideload the full 3.2.7 update zip again?
Thanks
Click to expand...
Click to collapse
Deleted my comment for incorrect information
Le_Zouave said:
It's safer to flash stock again then to relock bootloader, even if you think you are stock (including recovery) maybe you are not.
But except the booting screen, you won't gain anything from relocking bootloader, even the warranty will work with bootloader unlocked.
Click to expand...
Click to collapse
Thanks, but I plan to sell my OP3 to a high street store that buys and sells second-hand phones and tablets. Although it's only 3 months old and in immaculate condition, I'm guessing they may be reluctant to buy it if the start up screen says 'this phone can't be trusted...'
No choice in this situation - I will need to relock the bootloader I guess.
If you lock the bootloader, everything will be wiped and phone won't boot till you flash OOS.
ungeeked said:
If you lock the bootloader, everything will be wiped and phone won't boot till you flash OOS.
Click to expand...
Click to collapse
Thank you. So after OEM lock, when you say flash OOS do you mean sideload a full update zip? That's what I was asking in my original post.
SpaceGooner said:
Thank you. So after OEM lock, when you say flash OOS do you mean sideload a full update zip? That's what I was asking in my original post.
Click to expand...
Click to collapse
Yup.
SpaceGooner said:
Thank you. So after OEM lock, when you say flash OOS do you mean sideload a full update zip? That's what I was asking in my original post.
Click to expand...
Click to collapse
Follow:
https://forums.oneplus.net/threads/...lus-3-and-go-back-completely-to-stock.456232/
ritchiedrama said:
Follow:
https://forums.oneplus.net/threads/...lus-3-and-go-back-completely-to-stock.456232/
Click to expand...
Click to collapse
Ta mate. I already saw that thread but as I'm running a clean sideloaded OOS that has never been rooted, I am already back to stock. Anyway, as opinion seems to be divided on whether OEM lock alone is enough, I will also sideload a full OOS update zip again to be sure.
Won't be doing it for a few days though so it's all academic at the moment.
ritchiedrama said:
Follow:
https://forums.oneplus.net/threads/...lus-3-and-go-back-completely-to-stock.456232/
Click to expand...
Click to collapse
i did that guide too. i came from cm13. thiss guide works perfect if you follow all steps exactly.
Related
ok, this is driving me crazy. had every nexus except the 6, got the 5x. unlocked bootloader, ok. flash twrp. cool. install root files, great. set up android pay, denied due to unlocked boot loader. went to lock boot loader... wants to do a factory reset.... ok..... now it just boot loops in twrp formats cache, and phone gives errors about corrupt system, different system, blah blah. so right now im bootloader unlocked, rooted with twrp. how is everyone relocking the boot loader?
You have to be on stock recovery to relock the bootloader. You can hardbrick this phone trying to lock it with TWRP installed. Consider yourself lucky?
Android pay is not working because of root, not the unlocked bootloader. Start reading about systemless root
berndblb said:
You have to be on stock recovery to relock the bootloader. You can hardbrick this phone trying to lock it with TWRP installed. Consider yourself lucky?
Android pay is not working because of root, not the unlocked bootloader. Start reading about systemless root
Click to expand...
Click to collapse
yes, i flashed the systemless root on my n5x ( i have a regular nexus 5, twrp, bootloader locked, and android pay works with systemless root) so i do now about this recent development. can it be flashed in stock recovery? i just feel like im missing something?
From the [GUIDE] Unlock/Root/Flash for Nexus 5X that you should have read before farting around with the phone:
Important: do not relock your bootloader unless your phone is fully stock. You must flash the factory images first in order to remove root and custom recovery (if you have them), if this precaution isn't taken you may end up with a brick. Please see section 11 of this guide for full instructions on how to return to stock.
Click to expand...
Click to collapse
Use the guide I linked to to flash the stock images. Then use the guide again to root the phone with systemless root.
PiousInquisitor said:
From the [GUIDE] Unlock/Root/Flash for Nexus 5X that you should have read before farting around with the phone:
Use the guide I linked to to flash the stock images. Then use the guide again to root the phone with systemless root.
Click to expand...
Click to collapse
thanks for the link, thats one of the first things i read when i started looking but it doesnt really talk about relocking the bootloader unless going stock. im just trying to keep my systemless root and have locked bootloader. sounds like i should try reflashing stock recov after rooting and then try to relock bootloader?
dwreck420 said:
thanks for the link, thats one of the first things i read when i started looking but it doesnt really talk about relocking the bootloader unless going stock. im just trying to keep my systemless root and have locked bootloader. sounds like i should try reflashing stock recov after rooting and then try to relock bootloader?
Click to expand...
Click to collapse
It plainly says:
mportant: do not relock your bootloader unless your phone is fully stock. You must flash the factory images first in order to remove root and custom recovery (if you have them), if this precaution isn't taken you may end up with a brick. Please see section 11 of this guide for full instructions on how to return to stock.
Click to expand...
Click to collapse
If you have rooted your phone, you are not fully stock. Therefor do not relock the bootloader.
dwreck420 said:
yes, i flashed the systemless root on my n5x ( i have a regular nexus 5, twrp, bootloader locked, and android pay works with systemless root) so i do now about this recent development. can it be flashed in stock recovery? i just feel like im missing something?
Click to expand...
Click to collapse
The 5X is my first Nexus so bare with me. Why would you have TWRP installed with a locked bootloader on the OG Nexus 5? What is the benefit of that?
SlimSnoopOS said:
The 5X is my first Nexus so bare with me. Why would you have TWRP installed with a locked bootloader on the OG Nexus 5? What is the benefit of that?
Click to expand...
Click to collapse
well there was an app "bootunlocker" which let you unlock it on the fly. also android pay requires a locked bootloader.
so i have locked bootloader, systemless root, and twrp on my OG nexus 5.
just cant seen to relock bootloader and somehow reroot again since NOW nexus 5x required device be WIPED when relocked
PiousInquisitor said:
It plainly says:
If you have rooted your phone, you are not fully stock. Therefor do not relock the bootloader.
Click to expand...
Click to collapse
does android pay work for you with unlocked bootloaders and systemless root?
dwreck420 said:
well there was an app "bootunlocker" which let you unlock it on the fly. also android pay requires a locked bootloader.
so i have locked bootloader, systemless root, and twrp on my OG nexus 5.
just cant seen to relock bootloader and somehow reroot again since NOW nexus 5x required device be WIPED when relocked
Click to expand...
Click to collapse
Oh, that sounds pretty cool actually.
I don't use Android Pay but I know you do not need a locked bootloader to get it working. Which version of SuperSU did you install? Cuz every time I see a 5X user with working Android Pay, they have systemless root and even a custom rom. I am pretty certain that I read that you just need to delete /SU/xbin_bind to get Android Pay working with systemless root.
Edit: I've seen it mentioned in the SuperSU thread I think, but it is explicitly mentioned in this Nexus 6P Android Pay thread
dwreck420 said:
does android pay work for you with unlocked bootloaders and systemless root?
Click to expand...
Click to collapse
Yes. This is common knowledge.
Android Pay looks for changes to the system partition only. It doesn't give a rats ass if the kernel, recovery, or boot image are modified, nor does it give a flying **** if the bootloader is unlocked.
Sent from my Nexus 5X using Tapatalk
PiousInquisitor said:
Yes. This is common knowledge.
Android Pay looks for changes to the system partition only. It doesn't give a rats ass if the kernel, recovery, or boot image are modified, nor does it give a flying **** if the bootloader is unlocked.
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
thanks for the clarification.
dwreck420 said:
thanks for the clarification.
Click to expand...
Click to collapse
No problem. Sorry if I came across a bit hostile. I may have been up too late last night.
Android Pay is also working on some ROMs. Cataclysm for one. PureNexus will be comparable next update too.
Sent from my Nexus 5X using Tapatalk
Never mind
Sent from my Nexus 5X using Tapatalk
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..
Looking to for a complete guide to return my Pixel XL to stock. it's unlocked, rooted, with a custom rom. I've seen guides on individual steps, but what would be the proper sequence \ steps to return it to 100% stock?
Thanks
Did you get it through Verizon or best buy?
Verizon
Kc0r8y said:
Verizon
Click to expand...
Click to collapse
Guessing your bootloader was unlocked before they patched the exploit. You can go back to 100% stock easily by flashing a factory image but you should NEVER lock your bootloader. If you do you can't ever unlock it again.
Ok with that in mind I'll stay unlocked and rooted and just wait for an oreo custom rom. Thanks
Kc0r8y said:
Ok with that in mind I'll stay unlocked and rooted and just wait for an oreo custom rom. Thanks
Click to expand...
Click to collapse
So is your goal to have Oreo now? Just flash it. Remove the -w from the flashall bat file to save data.
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
I have a LG G4 since almost the release of it. I had it rooted and with an unlocked bootloader since now. I decided to use it as my daily though to pay with it using Google Pay. So I re-flashed the stock v29a zip provided by LG and did the "fastboot oem lock" command. The bootloader locked, the rom is fully stock now without any modification. Why Google pay still says that the phone is altered and after checking Safetynet with an app on play store, fails? Also On Play Store the phone appears Uncertified... What is the problem?
ntelas said:
I have a LG G4 since almost the release of it. I had it rooted and with an unlocked bootloader since now. I decided to use it as my daily though to pay with it using Google Pay. So I re-flashed the stock v29a zip provided by LG and did the "fastboot oem lock" command. The bootloader locked, the rom is fully stock now without any modification. Why Google pay still says that the phone is altered and after checking Safetynet with an app on play store, fails? Also On Play Store the phone appears Uncertified... What is the problem?
Click to expand...
Click to collapse
Just an idea, take a look at your build.prop and see if anything looks off. Maybe you need to format some partitions before flashing the stock zip?
Cheers!
Thanks for the reply. I think the zip is flashing all the partitions.I checked for TWRP and did a factory reset after the flash to make sure it's as stock as it can get. Now for the build.prop I also think that it needs root to check and edit it right? If not what sould I look for?
ntelas said:
Thanks for the reply. I think the zip is flashing all the partitions.I checked for TWRP and did a factory reset after the flash to make sure it's as stock as it can get. Now for the build.prop I also think that it needs root to check and edit it right? If not what sould I look for?
Click to expand...
Click to collapse
I think that certain partitions need to be formatted you might want to search about that. I think TWRP can access the build.prop but not sure. I suggested checking build.prop because it will show different models, builds and basically would be an easy way to see if you are truly back to stock.
Good luck!
Thanks! I would have to install TWRP again maybe ?
ntelas said:
Thanks! I would have to install TWRP again maybe
Click to expand...
Click to collapse
Didi you Unroot before Flashing Stock?
Maybe some remants in Some Partitions are causing you trouble.
uweork said:
Didi you Unroot before Flashing Stock?
Maybe some remants in Some Partitions are causing you trouble.
Click to expand...
Click to collapse
I flashed stock coming from a RR rom with Magisk. Believe me if I had locked bootloader with a rooted rom now I wouldn't have my phone alive
ntelas said:
I flashed stock coming from a RR rom with Magisk. Believe me if I had locked bootloader with a rooted rom now I wouldn't have my phone alive
Click to expand...
Click to collapse
Then You didn´t read Properly.
I didn´t mean Root itself more Remnant parts of Root, that cause ur Saftynet fail.
on Samsung S2 once i thought so too, but banking app said no no no...
Only an Option
a user from this forum said that you need to take the line "ro.build.firgenprint=..." of the any MM/LP build.prop and insert it into the N build.prop (including reboot btw) and try again if google pay works for you...
I don't know if it works, I don't tried it, but you say us.