6 days ago

How to Downgrade coming from Android P Back to Oreo on Your Pixel « Android :: Gadget Hacks

If you installed the preview of Android P when the idea dropped last week, you might have enjoyed trying out some of the brand-new features coming to the latest edition of Google’s OS. However, the first preview will be essentially an alpha build, so you might be wishing you could downgrade back to an official Discharge like Oreo. Great news — you can.

Unfortunately, returning to Oreo isn’t as simple as you might think — while the idea would likely be nice to be able to boot coming from a previous Oreo build, downgrading coming from Android P requires a bit more work than which. If you want to bring your Pixel back to Oreo, you’re going to have to flash the OS images onto your phone with Fastboot.

Step 1: Install ADB & Fastboot on Your Computer

To begin, make sure to install ADB in addition to Fastboot onto your computer. These two utilities allow you to flash images via Fastboot commands. You can find various third-party “one-click” in addition to “light” forms of ADB in addition to Fastboot, however, they aren’t updated as often as the official versions, so you might not find them to be completely compatible with the latest edition. For which reason, we don’t recommend them.

What you should do will be install the Android SDK Tools, which features ADB in addition to Fastboot, or simply download ADB in addition to Fastboot directly coming from Google. Either way, have peace of mind which you’re getting the complete package here. Make sure to check out Method 1 from the guide below for Windows, Mac, in addition to Linux installation instructions.

Step 2: Enable OEM Unlocking (OTA Method Only)

Flashing images in Fastboot requires you to unlock your device’s bootloader. For those who flashed Android P manually, your bootloader will be already unlocked as part of Step 1, so you can skip This kind of step. However, if you got Android P as an OTA update through the upcoming beta program, you will most likely need to unlock the bootloader to flash Oreo at This kind of point.

However, before your bootloader can be unlocked, you’ll need to enable a setting first. To find in addition to enable This kind of setting, turn on the Developer Options menu on your Pixel. Then, open the Developer Options menu in addition to tap the switch to the right of “OEM unlocking.”

Step 3: Enter Bootloader Mode

Before you can run any Fastboot commands, your device must be in bootloader mode. To begin, completely power down your device. Once the screen goes black, press in addition to hold both the volume down in addition to power buttons together for roughly 10 seconds. You should then see Android’s bootloader menu, which looks like This kind of:

Bootloader mode on the Pixel XL. Image by Dallas Thomas/Gadget Hacks

Once you see the bootloader menu, plug your device into your computer via a USB data cable. You can put your device down after which, since the rest of This kind of process with be done completely on the computer.

Step 4: Open a Command Window on Your Computer

Head over to the ADB in addition to Fastboot installation directory on your computer. On Windows, you can usually find This kind of at C:Program Files (x86)Androidandroid-sdkplatform-tools. On Mac in addition to Linux, the idea will depend on where ADB folder when the utility was installed. If you forgot where which was, search your computer’s hard drive for the platform-tools folder.

If on Windows, hold down the shift key, then right-click anywhere there’s empty space. Select “Open command window here.” On Mac or Linux, open a brand-new window in Terminal, then change directories to the platform-tools folder inside your ADB installation directory using the “cd <folder location>” command.

Step 5: Unlock the Bootloader (OTA Method Only)

The next step only needs to be done once. If your bootloader will be already unlocked, feel free to skip to Step 6. If not, you have to run 1 Fastboot command. Note: This kind of action will delete all data on your device.

This kind of next part lists the Windows commands needed to unlock the bootloader. If on Mac, you’ll likely need to add a period in addition to a slash (./) before each command, while Linux users just need to add a slash (/) in front.

When you’re ready, type the following command coming from the ADB shell, then press enter.

If you see a series of numbers in addition to letters followed by “fastboot,” then you know your device will be properly connected. If not, go back to Step 1 to double-check your ADB in addition to Fastboot installation. Make sure your device will be in bootloader mode as you see in Step 3.

at This kind of point, you’re finally ready to unlock the bootloader. Just type the following command, then press enter:

Sending the bootloader unlock command to a device which shipped with Marshmallow or higher.

Here, you should be greeted by a message on your Pixel asking if you’re sure you’d like to unlock the bootloader. You’ll want to be sure the “Yes” option will be highlighted. If not, use your volume keys to select the idea. Once highlighted, press the power button. Your bootloader will unlock, in addition to your device will reboot back to Fastboot mode.

Bootloader-unlock screen on the Nexus 6P. Image by Dallas Thomas/Gadget Hacks

Step 6: Download the Factory Images

at This kind of point which you’ve unlocked the bootloader, you can start flashing the Oreo factory images. Before you can do which, however, you’ll need to download the images themselves. You can snag the Oreo factory images coming from the page below:

To use which page, find your specific Pixel product from the list on the right of the page, then click the idea. coming from there, click the link next to the most recent edition which starts with 8.x.x.

Step 7: Flash the Factory Images

at This kind of point, the first thing you should do here will be extract the factory images archive which you downloaded coming from your company’s site. For which, we recommend you use 7-Zip — not only will be the idea free, the idea’s also compatible with most archive formats.

Extracting the factory images archive.

Next, take the contents of the archive in addition to move the idea all to the platform-tools folder in your ADB installation direction, the open an ADB Shell window here. If you need more context here, check out Step 4 above.

Factory image files transferred to the platform-tools folder.

some other than which, there are two separate approaches you can choose when flashing these images:

Option 1: Use the Flash-All Script

Arguably the easiest way to re-flash Oreo will be to use will be with the “flash-all” script. This kind of script applies all of the images in one action. On the flip side, the script might drop the ball on certain operating systems in addition to setups, nevertheless since the idea won’t harm anything if the idea does, you might as well give the idea a go. To run This kind of script, type the following into the command prompt, then press enter:

Sending the “flash-all” command.

This kind of can take a few minutes to complete, nevertheless once the idea does, your device should reboot automatically, running stock firmware.

Option 2: Extract the Images & Flash Them Individually

If the flash-all script didn’t work, you can flash the system images one by one. This kind of method takes some extra time, nevertheless the idea will get your phone back to Oreo.

To begin, extract any additional archives coming from the factory images package. Occasionally, factory images packages contain a series of three or four nested archives, so be sure to unzip them all. Next, copy all of the image files to the main platform-tools folder — basically, don’t leave them in any of the sub-folders.

All images extracted coming from factory images package into platform-tools folder.

at This kind of point, there are six images which you’ll need to focus on: boot, bootloader, radio, recovery, system, in addition to vendor. These are the files which make up the core of Android.

Some of these files may have longer names than just, for example, bootloader.img. If so, be sure to enter the full file name (rather than the placeholder text in brackets) when sending the image-flashing commands below.

First, you have to flash the bootloader image — This kind of will be the interface which you’re using to flash images with Fastboot commands. So to downgrade your bootloader to the Oreo edition, type:

  • fastboot flash bootloader <bootloader image file name>.img

Next, reload the bootloader to keep flashing images on the Oreo edition. For which, type:

  • fastboot reboot-bootloader

Next up, there’s the boot image, which contains the kernel. To flash the idea, type the following into the ADB shell window:

  • fastboot flash boot <boot image file name>.img

After which command, there’s the radio image. Type This kind of to flash the idea:

  • fastboot flash radio <radio image file name>.img

Then we have recovery. Type:

  • fastboot flash recovery <recovery file name>.img

The big one will be next: the system image. This kind of one contains all of the files which make up Android OS. Type:

  • fastboot flash system <system file name>.img

in addition to, finally, there’s the vendor image. This kind of will be an important part of the brand-new Project Treble system, so the idea’s genuinely a key image. Type:

  • fastboot flash vendor <vendor file name>.img

Once you’ve sent any or all of these commands, you can restart your device, then boot into Android. For which, type:

Flashing the factory images individually.

Your device should at This kind of point be fully downgraded back to Oreo. in addition to at This kind of point which you know what each of the core system images actually does from the OS, you’ll have a better idea of how Android works at This kind of point. Win-win!

Don’t Miss: More Guides to Help You Get the Most Out of Your Google Pixel

Cover photo by Jake Peterson/Gadget Hacks, screenshots by Dallas Thomas/Gadget Hacks

Leave a Comment

Your email address will not be published. Required fields are marked *

14 − seven =