Friday, June 1, 2018

How to flash a monthly security update on Google Pixel without wiping data

One of the biggest reasons why people buy Google Pixel phones is the timely updates, whether it's a monthly security update or a major one that bumps the system's version. But Google likes to roll out updates in waves, so you may have to wait a couple of days before getting your monthly security update. You didn't buy a Pixel to wait for updates, right? You want to have it on your phone as soon as they're released.

If that describes you, well, we've got you covered. I'm going to show you how to install those updates manually on your Google Pixel, Google Pixel XL, Google Pixel 2, and Google Pixel 2 XL. You don't need to wipe your device, so that's a plus. But keep in mind that you need an unlocked bootloader. If you meet that one and only condition, then you're ready to go.

Oh, one more thing: these instructions will work for any other device that has fastboot images available for it (like the Google Nexus 5X, Google Nexus 6P, and Google Pixel C).

Instructions

Windows

  1. Okay, first, you need to download platform tools from here. You need them to use adb and fastboot interfaces. Download and extract it on the desktop.
  2. Then you need to download the latest stock image for your device from here.
  3. Unzip all the contents of the stock image into platform-tools (adb and fastboot interface we downloaded earlier) folder.
  4. You will see a small batch file called 'flash-all.bat'. This script automates the flashing process of all compressed images. You need to change it so that it doesn't wipe your device. I recommend you use Notepad++.
  5. Near the end of the text, remove '-w' (it's written without quotes) and save the file.
  6. Navigate to platform-tools using Command Prompt on Windows. You can use Windows search to start it. To navigate, you need to use command 'cd Desktop\platform-tools' (without quotes).
  7. Type in 'adb devices' and make sure your device appears in the list.
  8. Now you need to put your device into bootloader mode. To do that, execute the command 'adb reboot bootloader'.
  9. Check if fastboot sees your device. Type in 'fastboot devices'.
  10. Now, if you're in bootloader mode and fastboot sees your device, just double-click on 'flash-all.bat' and wait a few minutes.

Mac OS/Linux

What if you don't use Windows? We've got you covered.

  1. First of all, download platform-tools for Mac OS or Linux. Download and extract it on the desktop.
  2. Then you need to download the latest stock image for your device from here.
  3. Unzip all the contents of the stock image into platform-tools (adb and fastboot interface we downloaded earlier) folder.
  4. You will see a small script called 'flash-all.sh'. This script automates the flashing process of all compressed images. You need to change it so that it doesn't wipe your device. Use your preferred text editor.
  5. Near end of the text, remove '-w' (it's written without quotes) and save the file.
  6. Navigate to platform-tools using Terminal. To navigate, you need to use command 'cd Desktop' and 'cd platform-tools' (without quotes).
  7. Execute the script using command './flash-all.sh' and wait a few minutes.

Your phone may take about 10 or 15 minutes to install an update. It may even hang, but don't ever disconnect the USB cable while flashing via fastboot! As I promised, all your apps, photos, videos, and music are where you left them.



from xda-developers https://ift.tt/2Hc5rp2
via IFTTT

No comments:

Post a Comment