How To: Unlock the Bootloader on Your Pixel 4

Unlock the Bootloader on Your Pixel 4

The Pixel 4 is one of the most talked-about phones of 2019, and it has many things going for it, especially in the world of rooting and modding. Just as with previous Pixel generations, unlocking the bootloader is the gateway to realizing your device's true potential. It can make way for such things as TWRP, Magisk, custom ROMs, and many other device-specific mods just the same.

The bootloader is a piece of software that tells your phone what it needs to run every time you turn it on or have to reboot it. By default, the bootloader only allows for official first-party firmware to be installed and run on the device natively. Unlocking the bootloader gives you the complete freedom to use other third-party firmware on your device, thus making modding a possibility.


  • Unlocking the bootloader will factory reset your device.
  • Your phone will now fail SafetyNet checks, but Magisk can fix it.
  • Unlocking the bootloader will not void your Pixel warranty.

Step 1: Enable Developer Options

First, you'll need to unlock the Developer Options menu on your Pixel. To do so, head to Settings –> About Phone, then scroll down and tap the "Build number" entry seven times in quick succession. If you'd like more help with this part, head to our full guide below:

Step 2: Enable OEM Unlocking

Now, open the Settings app and head to the "System" section. Go to "Advanced," then choose "Developer options." Look for the "OEM unlocking" option, then tap it once to bring up a prompt. Enter your password or PIN, then tap the "Enable" button to confirm your choice.

Step 3: Boot into Fastboot Mode

Now that the OEM unlocking option has been flagged to allow the bootloader to be unlocked, it's time to start the actual process of unlocking it. Long-press the power button, then hit the "Power off" option to completely shut down the phone. Once the phone is off, hold the power button and the volume down button at the same time until the Fastboot Mode main menu pops up.

Step 4: Install ADB & Fastboot on Your Computer

Now you'll need to install the required ADB and Fastboot platform onto your computer so you can send the proper commands to your phone. Google offers the SDK Platform Tools package that includes everything you need in one neat little ZIP file. Follow the link below to grab the latest version for your respective operating system.

Step 5: Open a Command Window in Platform-Tools

Now that you have the Platform Tools SDK installed on your computer, you'll need to open a command window to execute the commands from within that folder. You need to do this so your computer and phone can properly communicate with one another in Fastboot Mode. Hit up the link below to get that taken care of, then you can move onto the final step of this guide.

Step 6: Unlock Your Bootloader

As a reminder, unlocking the bootloader will factory reset your device. Make sure to back up any critical data onto a computer for safekeeping until the process of unlocking your bootloader has been completed.

From this point, you should already have a command window opened from within the platform-tools folder and are ready for the next part. Type in the following command then hit enter to confirm your choice.

fastboot flashing unlock

Note: Mac, Linux, and Windows PowerShell users will likely have to add a period and a slash before entering any ADB or Fastboot commands (e.g., ./fastboot flashing unlock).

After confirming the above command, your phone will immediately pop up with the new bootloader unlocking screen. Use the volume keys to highlight the "Yes" option, then you can press the power button to confirm your choice. Your screen will go out for a second while it unlocks your bootloader, then you'll be sitting back in Fastboot Mode once it's finished.

Now, simply hit the power button to confirm the default "Start" option to boot back into Android. Your phone should reboot twice, once to complete the factory reset, then the second time to boot back to the "Hi there" welcome screen. Once you get to this point, you have successfully unlocked your bootloader and are ready to begin your modding journey.

Upon every reboot, you'll notice a message that states something like, "The bootloader is unlocked, and software integrity cannot be guaranteed." This will pop up every time you reboot your phone, which is very typical when your bootloader is unlocked. You could also tap the power button twice to skip this screen to save a few seconds if you wanted to do so. Enjoy!

Just updated your iPhone? You'll find new features for Podcasts, News, Books, and TV, as well as important security improvements and fresh wallpapers. Find out what's new and changed on your iPhone with the iOS 17.5 update.

Cover image and screenshots by Stephen Perkins/Gadget Hacks


This is only valid on devices purchased through Google correct? Devices through Sprint, T-Mobile, Verizon, etc. would be OEM locked so you can't get past step one...

US carriers, in particular (Verizon especially), are notorious for locking down their devices. This doesn't bother the average consumer, but for us modders who need root access, this is a big problem! So yeah, most carrier variants for many devices out there won't have the "OEM unlocking" option available to them, you're correct there.

Pretty much if you plan on unlocking the bootloader in advance on any device that supports it, you'd never want to buy from a carrier. Always get an unlocked variant from the original source when possible for the safest bet. Sometimes we've seen unlockable bootloaders from carrier variants on specific devices, but I wouldn't rely on that one hundred percent all the time.

Share Your Thoughts

  • Hot
  • Latest