How to unroot, relock and flash stock image... - Google Pixel XL Questions & Answers

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.

Related

relock boot loader after rooting?

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

How to RE-lock bootloader of oneplus3???

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..

Relocking bootloader question

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.

A question regarding S-OFF and backing up stock rom

Hey, I've decided to convert my phone to WWE, but I'd like to avoid unlocking bootloader through htcdev and I also want to backup my stock rom, since it's polish tmobile so not commonly available. Shall I just perform the steps from this thread, but only from 6th step, and after S-OFF that temp-rooted the phone just root and install TWRP and then perform the backup?
Any help would be higly appreciated
after having s-off, flahs TWRP and then DON'T ROOT yet, also ensure you keep /system readonly in TWRP..it will ask you when you open TWRP the first time.
Then go to TWRP-backup and backup the system.img and boot.img..then you got a 100% stock rom (besides stock recovery)...you could dd the recovery partition though, before flashing twrp.
now you can root your phone by flashing the latest SuperSU.zip or flash a custom rom (those are prerooted)
Can we soff in Nougat?
ordeniz said:
Can we soff in Nougat?
Click to expand...
Click to collapse
Yes I did it the other day on my tmobile phone running stock nougat.
nookie1916 said:
Yes I did it the other day on my tmobile phone running stock nougat.
Click to expand...
Click to collapse
Were you already rooted before soff?
nookie1916 said:
Yes I did it the other day on my tmobile phone running stock nougat.
Click to expand...
Click to collapse
People were saying we should do it in marshmallow or else we may not be able to. Is this something new or we could always s off in nougat from the beginning.
Well I am already s off but just want to know. Thanks.

Flashing a Pixel 3XL

I just recently found my old Pixel 3XL. What is the easiest way to get back to whatever a stock image is? It's got an unlocked boot loader and is on a very old rooted OS. Don't care about anything on it. Just want to get it back to a fresh stock install. Sorry, been out of the flashing game awhile. My brain defaults to back in the HTC Desire HD days and it's way different than then.
pside15 said:
I just recently found my old Pixel 3XL. What is the easiest way to get back to whatever a stock image is? It's got an unlocked boot loader and is on a very old rooted OS. Don't care about anything on it. Just want to get it back to a fresh stock install. Sorry, been out of the flashing game awhile. My brain defaults to back in the HTC Desire HD days and it's way different than then.
Click to expand...
Click to collapse
Use the Android Flash Tool. Can start from bootloader mode. Since you're coming from custom firmware I'd recommend checking the Force flash all partitions and Wipe Data boxes. If you want to keep the bootloader unlocked make sure you uncheck the Lock bootloader box.
V0latyle said:
Use the Android Flash Tool. Can start from bootloader mode. Since you're coming from custom firmware I'd recommend checking the Force flash all partitions and Wipe Data boxes. If you want to keep the bootloader unlocked make sure you uncheck the Lock bootloader box.
Click to expand...
Click to collapse
Thanks very much for the reply. I think it still has the original version of Android on it from when I got it. Looking forward to seeing how it runs on something newer.
V0latyle said:
Use the Android Flash Tool. Can start from bootloader mode. Since you're coming from custom firmware I'd recommend checking the Force flash all partitions and Wipe Data boxes. If you want to keep the bootloader unlocked make sure you uncheck the Lock bootloader box.
Click to expand...
Click to collapse
can that Android Dirty flash an upgrade from 10 to 'anything'?
bmunday said:
can that Android Dirty flash an upgrade from 10 to 'anything'?
Click to expand...
Click to collapse
Yes

Categories

Resources