• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

How To Guide Unlocking the Pixel 6 Pro bootloader & general central repository of relevant links

Search This thread

96carboard

Senior Member
Jul 17, 2018
343
206
You can stop the updates from being automatically applied in developer options. At least, that's what a particular button in there claims.

I don't like automatic updates. I always want to know that I'll have time to fix whatever the update breaks. Plus, every month is just a bit overboard. Don't be retarded about installing stuff that's made in hostile countries or by potential agents of those hostile countries and the criticality of security updates becomes very low.
 

rester555

Senior Member
Oct 27, 2010
365
88
Thanks for the tips, nothing has changed much with the process. Got my unlocked Pro 6 sorta sunny and ready to go for root.

Here's to hoping there are no shenanigans and root can be obtained fairly easily.
 
  • Like
Reactions: roirraW "edor" ehT

roirraW "edor" ehT

Recognized Contributor
I'm rather new to the world of Pixels - a quick question: is re-locking the bootloader possible without traces or any implications (like Samsungs Knox issue) ?
Welcome to the Pixel world! That has been my experience on my Pixel 1, no implications if you re-lock the bootloader (other than it will wipe your phone). This should still be the case.

Note that if you're going to re-lock the bootloader, make sure the ROM you have on your phone is completely stock (by flashing they latest official firmware) BEFORE re-locking it. I'll add this info to the OP in the morning.

Thanks!
 
Last edited:
  • Like
Reactions: s3axel

Morgrain

Senior Member
Aug 4, 2015
555
468
I wouldn't count on any particular day for them to release the factory images.
I did a bit of research and noticed that Google first released the factory images/OTA files for the

Pixel 2 - 4 days after launch (Oct. 23th 2020 factory image, Oct. 19th launch)
Pixel 3 - on "official" launch day (shipout) (Oct. 18th 2018)
Pixel 4 - on launch day (Oct. 24th 2019)
Pixel 4a - 4 days after launch (available Oct. 16th 2020, release of the phone Oct. 20th 2020)
Pixel 5, 4a 5G - on launch day (October 15, 2020)

So, if Google doesn't stray too far from it's previous release schedule, we should expect the factory image today or in the next few days.
 
Last edited:

roirraW "edor" ehT

Recognized Contributor
I did a bit of research and noticed that Google first released the factory images/OTA files for the

So, if Google doesn't stray too far from it's previous release schedule, we should expect the factory image today or in the next few days.
Awesome! Thank you, I was honestly hoping someone else would research and find this fact. Cheers!
 

paysen

Senior Member
Nov 3, 2010
323
80
Thanks a bunch, just unlocked it as I had not much on the phone yet :)

edit:

Instructions are already easy, but for people who have never worked with adb:
->Download https://developer.android.com/studio/releases/platform-tools
->Download and install drivers: https://developer.android.com/studio/run/win-usb
->Unzip the files to a folder of your choice, I just did it in the download folder.
->Press windows key, search cmd, right click on it and start as admin
->type: cd C:\Users\Paysen\Downloads\platform-tools
(use your user name here instead of Paysen or the folder which you chose for unpacking)
->start with the instructions from 96 cardboard

The unlock process works like this;

1) Take brand new fresh phone out of box. Do NOT put sim card in it, just power it on.
2) When it starts harassing you to join google, hit "skip" and "remind me tomorrow" as applicable until you reach home screen. YOU DO NOT need to plug in a google account.
3) Settings --> About --> Build number. Tap it until it says you're a developer.
4) Back --> Network --> Wifi and connect it.
5) Back --> System --> Developer --> OEM unlocking (check), USB debugging (check), plug in USB, authorize when requested.
6) # adb reboot-bootloader
7) # fastboot flashing unlock

Now that you've unlocked it, it has been wiped, so repeat 1-4, then disable all the google spyware, and go ahead and start using it while waiting for aosp and root.
 
Last edited:
  • Like
Reactions: roirraW "edor" ehT

Lughnasadh

Senior Member
Mar 23, 2015
2,361
1,784
Google Nexus 5
Huawei Nexus 6P
I did a bit of research and noticed that Google first released the factory images/OTA files for the

Pixel 2 - 4 days after launch (Oct. 23th 2020 factory image, Oct. 19th launch)
Pixel 3 - on "official" launch day (shipout) (Oct. 18th 2018)
Pixel 4 - on launch day (Oct. 24th 2019)
Pixel 4a - 4 days after launch (available Oct. 20th 2020, release of the phone Oct. 20th 2020)
Pixel 5, 4a 5G - on launch day (October 15, 2020)

So, if Google doesn't stray too far from it's previous release schedule, we should expect the factory image today or in the next few days.
Nice info. Yeah, I guess the very latest would be on Monday since Nov.1 happily coincides with the 1st Monday of the month. Hopefully sooner so we can start rooting.
 
  • Like
Reactions: roirraW "edor" ehT

Izy

Senior Member
i'll consider rooting in the future but not straight away.

i want to enjoy having widevine to watch media, wait for better support for magisk

the only real thing i want to consider it for atm is adblock as i use chrome, i know theres a way to use adaway without root


whats important is how well twrp will work day one and also magisk future support now that main dev works for google and is dropping stuff like magisk hide.

Im curious how well kernel make an early stock based kernel it should help that the tensor was made in collab with samsung and probably has an exynos related base
 

Lughnasadh

Senior Member
Mar 23, 2015
2,361
1,784
Google Nexus 5
Huawei Nexus 6P
i'll consider rooting in the future but not straight away.

i want to enjoy having widevine to watch media, wait for better support for magisk

the only real thing i want to consider it for atm is adblock as i use chrome, i know theres a way to use adaway without root
Yeah, AdAway has a VPN mode. I'm using it right now.
 
  • Like
Reactions: roirraW "edor" ehT

dmarden

Senior Member
Oct 30, 2008
2,050
504
Philadelphia, PA
I like to run an adblocker in non VPN mode so I can still use a regular VPN (without dropping to something lesser like a SOCKS5 based connection). Hoping for reliable root and magiskhide soon. Until then, no big deal.
 
  • Like
Reactions: roirraW "edor" ehT

dimm0k

Senior Member
Jan 25, 2014
1,596
624
Google Pixel 4 XL
hopefully this is relevant to the topic, if not then I apologize. a while back I recall reading that once you unlock the bootloader on the Pixel 4 series that even if you wipe and flash the stock image that the device no longer sees it as clean and would fail SafetyNet. was this true and is it still true?
 
  • Like
Reactions: roirraW "edor" ehT

Morgrain

Senior Member
Aug 4, 2015
555
468
hopefully this is relevant to the topic, if not then I apologize. a while back I recall reading that once you unlock the bootloader on the Pixel 4 series that even if you wipe and flash the stock image that the device no longer sees it as clean and would fail SafetyNet. was this true and is it still true?
There were several reports of people in the past (Oneplux, Pixel as far as I remember) that reported issues with safety net tripping even after re-locking the bootloader. Even though - as far as I remember - all those people either used custom roms or bootloaders like TWRP, and in at least some of those cases the problem seemed to be the user (people made mistakes). There were also some discussions that seemed to hint that the Android backed hardware attestation remembered you trying to force it to become software based.

As far as I know, none of these issues persisted though after a full factory reset (incl. re-flashing stock rom+kernel).

The question: "Is it still true" (if you are referring to the P6 (PRO) can't be answered. As far as I know, noone here has yet re-locked (or rooted even) his bootloader, so we don't know for sure.
 
Last edited:

roirraW "edor" ehT

Recognized Contributor
They're up! https://developers.google.com/android/images#raven

Interestingly, so far NOT the latest build that we're running.

"raven" for Pixel 6 Pro​

VersionFlashDownloadSHA-256 Checksum
12.0.0 (SD1A.210817.015.A4, Oct 2021)FlashLinkbd6cb030402897f58b952008211640f5241699200d509926540425e00b115bc9
12.0.0 (SD1A.210817.019.B1, Oct 2021, AT&T)FlashLinke74172d8c9245a6611396e14527e981e2dd578b632205af0cd08fd3b7c34397c
12.0.0 (SD1A.210817.019.C2, Oct 2021, T-Mobile (US), USCC, Google Fi, CA, & TW carriers)FlashLink618ef258c4baef92df8a02d754bf7851966b6fb33cf7bdb6ae45f7dd7abe9f1e
12.0.0 (SD1A.210817.019.C4, Oct 2021, Verizon)FlashLink0c9bf9ac4fb764e5c9a11059ad2e76e20643470eaf05c97d8f87d5de2f8c393c
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 13
    Just to let everyone know, updating to .037 and re-rooting (without wiping anything) worked with no problems. My method is to just replace -w with --disable-verity --disable-verification in the flash-all.bat file and run the flash-all command. I then let it reboot, patch the boot image, return to bootloader and flash the patched boot image.

    Canary 23014

    EDIT: Thank you @ipdev for confirming my inquiry that this method would work back on Nov. 4 👍
    7
    Updated OP with lists of other relevant How To Guides.

    Honorable mention to @Jawomo's aodNotify - Notification Light / LED for Pixel 6 Pro! (XDA link) / Notification light / LED for Pixel - aodNotify (Play Store link), which in my opinion restores useful functionality missing in most phones these days.​


    For all relevant guide threads just click the yellow "How To Guide" quick filter above the list of threads in the Pixel 6 Pro section.
    5
    New factory images and OTA images .037 and .037.A1 are available. Pixel 6 Pro Factory Images

    Manually mashing my Check for update button results in nothing, so give it some time to OTA for those who aren't rooted (yet). Or wait to see if it makes anything worse for anyone who gets the OTA first. 😜

    Everyone, make sure your phone is charged enough for whether you'll take the OTA or flash manually.
    4
    Here there be dragons. 🐉 I am not responsible for anything at all. 😹











    Official Google Pixel Update and Software Repair
    Official Google Pixel Install fingerprint calibration software (also available at the bottom of the Update and Software Repair page above)
    Official Google Android Flash Tool

    ADB/Fastboot, Windows Drivers, and unlocking the bootloader (thanks @sidhaarthm for confirming unlocking the bootloader works as intended, be sure to thank him in his post)


    TWRP (not made for the Pixel 6 Pro yet - will update when it has)


    Things that make rooting more complicated on Android 12


    Magisk for root (reported working with the Pixel 6 Pro)


    Factory Images


    Full OTA Images
    Dude, I am so glad you have jumped on creating this GUIDE THREAD!

    Hopefully it will evolve into a detailed "step by step" as that is what many users need (new and veteran).

    It's usually something I tend to do, as creating a step by step has always helped me be better at helping others.

    But this year, and on this new device, I simply don't have the time to do a legit GUIDE, so I am extremely happy you have grabbed the bull by the horns!
    4
    Just a heads up for everyone google A12 gsi boots on pixel 6 no issue i tried a few other A12 roms but couldnt get past boot splash screens im currently trying to build aosp for pixel 6 but havent built from source in years so hopefully soon i can get a booting build or a build in general.
    These are my updates that is all
  • 35

    11/22/2021: I think I have to take a mental health break. Too many folks on here are lashing out at others, and this is one of the reasons why I was hardly active on here for the last five years. I'm turning off all notifications, so I won't see if anyone quotes or mentions me unless I manually look. I'll try to be back, especially if there's something new that needs adjusting in the OP.​


    Note that this is only for the officially listed "Unlocked" Pixel 6 Pro, available directly from the Google Store.

    Some of the information here applies to other variants, but I won't necessarily update information in the OP for them. Feel free to ask about general questions, but for anything that's specific to your variant, you should use one of the other already existing threads. You'll find Verizon, AT&T, and T-Mobile-related threads in those respective search results.

    Here there be dragons. 🐉 I am not responsible for anything at all. 😹

    Unlocking or locking the bootloader will wipe the device every single time, so be sure to have your data backed up before doing so, or better yet, just unlock it as soon as you get the device.


    Likewise, when wanting to root you have to disable verity and verification, after which you'll need to wipe the phone, so best just to go ahead and disable these immediately after unlocking the bootloader. See the section below "A list of the other important guides".


    Keep in mind that unlocking the bootloader or rooting might affect your phone's capability to use banking apps such as Google Pay, or your local bank's app.

    If you're going to re-lock the bootloader, make sure the ROM you have on your phone is completely stock (by flashing the latest official firmware) BEFORE re-locking it.

    My experience on my Pixel 1 was that there were no negative consequences if you unlock or re-lock the bootloader other than it will wipe your phone, and while unlocked you get a brief screen when you boot the phone telling you (and anyone who sees your phone at the time) that the bootloader is unlocked. All of this should still be the case. You will also continue to receive updates. Unlike Samsung, Sony, et cetera, which have major consequences with reduced functionality even if you un-root and re-lock your bootloader. If you're actually rooted (not just bootloader unlocked), you'll have to perform extra steps to keep root/re-root.


    All posts about Google Pay or banking will be reported to be deleted. Please keep this thread on-topic. There are at least one or two other How To Guide threads in this section in which folks discuss how to get around banking app restrictions when you're rooted or just have an unlocked bootloader.
    If users persist in discussing banking apps in this thread, I will have this thread locked and only update this first post when there is new and updated information regarding the subjects of the title of the thread: Unlocking the Pixel 6 Pro bootloader, rooting, and TWRP.

    Honorable mention to @Jawomo's aodNotify - Notification Light / LED for Pixel 6 Pro! (XDA link) / Notification light / LED for Pixel - aodNotify (Play Store link), which in my opinion restores useful functionality missing in most phones these days.​


    Official Google Pixel Update and Software Repair
    Official Google Pixel Install fingerprint calibration software (also available at the bottom of the Update and Software Repair page above) - I believe this is only helpful if you've replaced the screen
    Official Google Android Flash Tool

    ADB/Fastboot, Windows Drivers, and unlocking the bootloader (thanks @sidhaarthm for confirming unlocking the bootloader works as intended, be sure to thank him in his post)
    • You'll need this if you're going to unlock the bootloader on your Pixel 6 Pro: SDK Platform Tools (download links for Windows, Mac, and Linux). Note that you can find links to download the tools elsewhere, but I wouldn't trust them - you never know if they've been modified. Even if the person providing the link didn't do anything intentionally, the tools could be modified without them being aware. Why take a chance of putting your phone security further at risk?
    • For Windows, get Google's drivers here Get the Google USB Driver (ADB will likely work while the phone is fully booted, but if you're like me, you'll need these drivers for after you "adb reboot-bootloader", to be able to use ADB and Fastboot.
    • Thanks to @96carboard for posting the details of unlocking the bootloader, be sure to thank him in his post. Unlocking or locking the bootloader will wipe the device every single time, so be sure to have your data backed up before doing so, or better yet, just unlock it as soon as you get the device. Keep in mind that unlocking the bootloader or rooting might affect your phone's capability to use banking apps such as Google Pay, or your local bank's app. If you're going to re-lock the bootloader, make sure the ROM you have on your phone is completely stock (by flashing the latest official firmware) BEFORE re-locking it. My experience on my Pixel 1 was that there were no negative consequences if you unlock or re-lock the bootloader other than it will wipe your phone, and while unlocked you get a brief screen when you boot the phone telling you (and anyone who sees your phone at the time) that the bootloader is unlocked. All of this should still be the case. You will also continue to receive updates. Unlike Samsung, Sony, et cetera, which have major consequences with reduced functionality even if you un-root and re-lock your bootloader. If you're actually rooted (not just bootloader unlocked), you'll have to perform extra steps to keep root/re-root.:


      The unlock process works like this:

      1) Take brand new fresh phone out of box. Do NOT put sim card in it, just power it on (you can put a SIM card if you want, you just don't have to).
      2) When it starts harassing you to join Google, hit "skip" and "remind me tomorrow" as applicable until you reach home screen. YOU DO NOT need to plug in a google account.
      3) Settings --> About --> Build number. Repeatedly tap it until it says you're a developer.
      4) Back --> Network --> WiFi and connect it.
      5) Back --> System --> Developer --> OEM unlocking (check), USB debugging (check), plug in USB, authorize on the phone when requested.

      Using the Platform Tools previously mentioned in command line/terminal:
      6) #
      Code:
      adb reboot-bootloader
      7) #
      Code:
      fastboot flashing unlock

      Now that you've unlocked it, it has been wiped, so repeat 1-4, then disable all the google spyware, and go ahead and start using it while waiting for aosp and root.

      Official Instructions for Locking/Unlocking the Bootloader

    Rooting-related


    Things that make rooting more complicated on Android 12
    @V0latyle posted a new thread with some very important and fascinating information about the increased difficulty to root Android 12: Read this before rooting. Be sure to thank him there.

    A list of the other important guides - be sure to thank the respective OPs
    For all relevant guide threads just click the yellow "How To Guide" quick filter above the list of threads in the Pixel 6 Pro section.

    TWRP (not made for the Pixel 6 Pro yet - will update when it has)
    I would guess that this should be the appropriate URL for official TWRP custom recovery for the Pixel 6 Pro, but who knows when/if that will actually be made available, and it may become available unofficially in these forum sections before being made official. I'll adjust this URL as needed. https://twrp.me/google/googlepixel6pro.html.

    Custom kernels for stock ROM(s)

    Factory Images
    It's also handy to have to the full official firmware available, whether it's to recovery from accidents or for actual development. Note the official link to the general Factory Images for Nexus and Pixel Devices page. The following link goes directly to the Pixel 6 Pro (Raven) section: Pixel 6 Pro Factory Images. I prefer to actually bookmark a link to the device listed immediately below the device I want the firmware for, because Google dumbly (in my opinion) puts the latest firmware at the bottom of the list for each particular device, and that ends up making you scroll a lot after a year or two of monthly updates.

    List of all Pixel monthly security bulletins

    Copy of Verizon changelogs in case they disappear
      • System Update 1​


      The details:

      Release date: 11/16/2021
      Android™ Security Patch Level: October 2021
      Software Version: SD1A.210817.037.A1

      What's changing:

      The current software update improves the performance of your device's fingerprint sensor.

      • System Update​


      The details:

      Release date: 10/28/2021
      Android Security Patch Level: October 2021
      Software Version: SD1A.210817.036.A8

      What's changing:

      The current software update provides performance improvements and the most up to date Android security patches on your device.

    Full OTA Images

    I may append this first post with further useful information or links as needed.
    13
    The unlock process works like this;

    1) Take brand new fresh phone out of box. Do NOT put sim card in it, just power it on.
    2) When it starts harassing you to join google, hit "skip" and "remind me tomorrow" as applicable until you reach home screen. YOU DO NOT need to plug in a google account.
    3) Settings --> About --> Build number. Tap it until it says you're a developer.
    4) Back --> Network --> Wifi and connect it.
    5) Back --> System --> Developer --> OEM unlocking (check), USB debugging (check), plug in USB, authorize when requested.
    6) # adb reboot-bootloader
    7) # fastboot flashing unlock

    Now that you've unlocked it, it has been wiped, so repeat 1-4, then disable all the google spyware, and go ahead and start using it while waiting for aosp and root.
    13
    Just to let everyone know, updating to .037 and re-rooting (without wiping anything) worked with no problems. My method is to just replace -w with --disable-verity --disable-verification in the flash-all.bat file and run the flash-all command. I then let it reboot, patch the boot image, return to bootloader and flash the patched boot image.

    Canary 23014

    EDIT: Thank you @ipdev for confirming my inquiry that this method would work back on Nov. 4 👍
    10
    I was able to root my Pixel 6 Pro on Project Fi. I had the Day 1 update applied. Wiping /data was required for the vbmeta thing (and was a good idea in general since I was downgrading the OS version).

    My steps:

    1. Download appropriate factory image for my device.
    2. Download magisk canary (v23 stable fails to patch the boot.img).
    3. Boot phone and run through OOB setup if needed, skip everything.
    4. Enable developer options, then OEM unlock.
    5. Reboot into bootloader.
    6. Modify flash-all script in factory image ZIP and add --skip-reboot to the image flash command (remove the pause and exit commands in the BAT as well if you're using that). You need to keep the -w flag in to wipe /data or else the phone won't boot the rooted image. Normally you don't need to reflash everything but the latest version is not available as a factory image, and doing this ensures every partition is kept the same version. Plus you need to wipe /data anyway.
    7. Connect your phone to PC via USB and run script.
    8. Extract vbmeta.img and boot.img from the image ZIP.
    9. Use fastboot to flash vbmeta.img with the flags listed above.
    10. Reboot and unlock device. Go through OOB experience, you can set up your phone properly this time.
    11. Push the boot.img and app_debug.apk (magisk) to your phone and install the APK., You can use ADB if you enable USB debugging or just find your phone in Windows Explorer and drag and drop (open APK in Files app and enable app install from Files).
    12. Run magisk and patch the boot.img.
    13. Use adb (or Explorer) to pull the patched magisk*.img down to your PC.
    14. Reboot to bootloader
    15. Use fastboot to flash the magisk'd magisk*.img to boot partition.
    16. Boot device.

    You should be rooted now. If something goes wrong go back to step 14 but flash the original boot.img on step 15 instead, that should get you back unrooted and you can see if things are working again (else go back to step 5 to start over).

    Issues/comments:
    1. Magisk Canary removes SafetyNet bypass as well as MagiskHide. Apps which check SafetyNet won't work now.
    2. Magisk won't offer modules for install, not sure if this is normal canary behavior or if the modules aren't compatible due to magisk changes.
    3. OTA updates won't install. I've had this issue with Magisk forever on other devices too. Some people say they should work but I've never seen them work.
    4. Elevation dialog works EXCEPT if you use su from an adb shell. The dialog seems to try to display but it doesn't actually display; probably the overlay is being blocked due to android security thinking it's an uninvited popup, I speculate it's a magisk bug. Terminal won't show up in the list of superuser apps either in Magisk so you can't just toggle it on in there as a workaround. EDIT: I figured out if you Hide Magisk Manager the elevation dialog will no longer work. Unhide as a workaround and grant elevation forever to any apps you need, then rehide. Automatic elevation of whitelisted apps still works (and I assume you can still toggle in the Superuser tab.)
    5. If I understand it correctly /data wipe should only have to happen once (reflashing vbmeta with the special flags still needs to happen whenever vbmeta is updated).
    6. Magisk has added a "DenyList" which sounds like MagiskHide but a) it has a different name which suggests it's different and b) SafetyNet is sitll a problem. So not sure if it is doing anything since apps just check SafetyNet anyway.
    7. I copied my /sdcard from my old phone to my new. I could not get Android to allow me to drop files in /sdcard/Android/data or /sdcard/Android/obb though. I think that is a new thing. Even with Solid Explorer getting permissions granted to write to those folders it was still denied. As said su in adb shell doesn't work so I couldn't try that.
    8. I tried to install Universal SafetyNet Fix module but it wanted Riru installed first. That rabbit hole did not seem safe to go down so I aborted at that point; someone else can give it a go.
    9. Gnirehtet and ScrCpy work fine if you like using those tools (you may need newer Android 12 compatible versions). However it's worth noting Play Store thinks you're on mobile data if Gnirehtet is active so it will pause installing apps if you do that in the OOB setup (eg apps from another device) and I couldn't get it to unpause without disabling Gnirehtet.
    10. Titanium Backup works fine for restoring app data, so I can verify root works.

    SafetyNet workaround would be appreciated if anyone has figured it out.
    8
    I wouldn't count on any particular day for them to release the factory images.
    I did a bit of research and noticed that Google first released the factory images/OTA files for the

    Pixel 2 - 4 days after launch (Oct. 23th 2020 factory image, Oct. 19th launch)
    Pixel 3 - on "official" launch day (shipout) (Oct. 18th 2018)
    Pixel 4 - on launch day (Oct. 24th 2019)
    Pixel 4a - 4 days after launch (available Oct. 16th 2020, release of the phone Oct. 20th 2020)
    Pixel 5, 4a 5G - on launch day (October 15, 2020)

    So, if Google doesn't stray too far from it's previous release schedule, we should expect the factory image today or in the next few days.