Google Pixel 2 Firmware Flash File (Stock ROM Guide)
On this page, we will share all the latest Google Pixel 2 (codenamed walleye) firmware flash files. To flash the firmware file, you need adb and fastboot...
Mohammed Huwais
Last updated on February 27, 2025
Mohammed Huwais
Author
I started my career as a blogger in 2014 and also worked on an Android niche platform to gain extra income. I cover the topic on How to guides, software updates, Custom ROM updates and also product review. I'm 24 years old, completed MBA (Master of Business Administration) from Sikkim Manipal University.
On this page, we will share all the latest Google Pixel 2 (codenamed walleye) firmware flash files. To flash the firmware file, you need adb and fastboot binaries which work on Windows, Mac, and Linux. You can follow this guide to flash the firmware stock ROM file on Google Pixel 2.
Google Pixel 2: Device Overview:
Google Pixel 2 features a 5.0-inches display with a screen resolution of 1080 x 1920 pixels with Corning Gorilla Glass 5 protection. The smartphone is powered by Octa-core (4×2.35 GHz Kryo & 4×1.9 GHz Kryo) and Qualcomm MSM8998 Snapdragon 835 coupled with 4GB of RAM. The phone packs 64/128GB of internal memory. The camera on the Google Pixel 2 comes with 12.2 MP, f/1.8, OIS, phase detection & laser autofocus and dual-LED flash, and an 8MP front shooting camera.
Google Pixel 2 runs on Android 8.0 Oreo out of the box with a Non-removable Li-Ion 2700 mAh battery with Fast battery charging. It also has a Fingerprint sensor in the back. The handset supports a dual sim with 4G on both slots. It comes with connectivity options such as Bluetooth, Wifi, USB OTG, FM, 3G, and 4G.
Download the factory images and move them to the adb fastboot folder.
Bootloader Unlocking
Don’t waste your time on this part if you know that the device is unlocked already. Else, you should confirm that before you can flash a factory image, your phone’s bootloader is unlocked. It is a security feature that needs your device to be completely clean. If it is locked, you can’t keep your data.
Go to the Settings app, tap on the System option, and head to “Developer options, if you need to unlock your bootloader. go to the “About phone” page and tap the Android build number several times, if you don’t see Developer options. Confirm that “OEM unlocking” is toggled on.
To go to the device’s bootloader and check if your device is in the locked state, choose the command “adb reboot bootloader”. Make sure your device is on the bootloader screen and use the “fastboot oem unlock” command if the bootloader on your Pixel device is locked. you should use the “fastboot flashing unlock_critical” command if that didn’t work.
To confirm that you want to unlock your bootloader, you should see some prompts on your device. Then can go on with this guide and your device will be cleaned completely.
Download and prepare the factory image
Grab the build for your device from Google’s official site. After downloading the compressed file, extract it then.
There will be a .zip file titled inside the extracted compress file, and after you extract that file, you can see the bootloader, OS image, vendor image, and a radio image.
Note: modify the “flash-all” script to save your data
After the necessary changes, you can save your file and open up a command-line program.
Run the script and install the factory images
You should boot into your bootloader to flash the factory image, as we did earlier to check to unlock status. To get there again Execute the command “adb reboot bootloader”. Similarly, while holding the volume down and power keys at the same time, you could start up the device to boot into the bootloader. Now enlighten your command line to the file directory with the flash-all script and then run your script.
On Unix/Mac, run “./flash-all.sh”
On Windows, run “flash-all.bat”
You will be able to see that script running on-screen. It could take up to a few minutes for the image to install. The script will automatically reboot your phone when after the image is installed. The first boot could take a while and you have to wait about 10 minutes before confirming that you’ve entered a bootloop.
If the flash-all script not working on the devices, you should flash all of the images manually. It requires a few extra steps to assure your device is in the proper bootloader state. Then follow these instructions:
First, flash the bootloader, reboot, next radio, and then reboot the bootloader again:
Fastboot flash bootloader <bootloader file name here>.img
Fastboot reboot-bootloader
Fastboot flash radio <radio file name here>.img
Fastboot reboot-bootloader
Flash the image:
Fastboot flash -w update <image file name here>.zip
If it doesn’t happen automatically, manually reboot your device.
Fastboot reboot
You should have the latest factory images, after the device boots. If you chose to renew the flash-all script, all of your data should be solid.