Apr 17

What I do to keep the Google Pixel’s Android OS up to date

As an ever vigilant pursuer of the most modern yet stable – oh the paradox – software for my daily carry mobile device, I sprung for the Google Pixel around seven months ago.  Having received it five-ish months ago – like most everyone else I waited forever from order / wait to in-hand – I immediately rooted it. Thereby effectively paving the way for continuing my hobby of riding the edge of brick-dom by manually flashing firmware updates. OTA updates don’t work for us hackers.

As any Google branded device owner will attest, the monthly Android OS updates are a tremendous perk over the other guys.  So, with my rooted Pixel, these very updates have become a monthly trial.  Albeit considering my previous LG and Samsung devices, this trial continues to be more or less safe – no more bootloader unlock dev community goodluckery.  Indeed, the practice is relatively routine now that I’ve performed it four such times, and put together a set of instructions that outlines the generalities as well as the odd foibles involved.

Do note that I decided to keep stock recovery awhile back; I forget the posts that convinced me of this, though many safely use TWRP as their primary recovery.  With that said, the rest of this has worked very well for me, whom simply needs root.  Perhaps this step-by-step – to update to the latest android, root, and keep stock recovery – will help others.

  1. Download latest image for your pixel variant (sailfish for 5″ marlin for 5.5″) https://developers.google.com/android/images
  2. Remove -w flag from flash-all(.bat or .sh – depending on your computer’s environment) and save file to prevent the wiping of everything
  3. enable USB debugging
  4. adb reboot bootloader
  5. run flash-all.(bat/sh)
  6. WAIT for it to do its thing!  Doesn’t appear to do much, but it is.  Do not ctrl+c, This may take five to 10 minutes where it looks like nothing is happening.  Eventually, phone will reboot when done, and you’ll get a bunch of output in your cmd terminal.  Afterwards you’ll be upgraded (w/o root); go check About Phone after login (and also let the upgrade finish after boot) to confirm.
  7. adb reboot bootloader
  8. fastboot boot TWRP-XX.img ( fastboot boot whatever version appears to be the best ) – this simply boots you into TWRP for supersu
  9. Make sure unlock pattern shows up and/or you are able to decrypt your device.  If it does not, reboot and go back to step 6
  10. flash superSU inside twrp
    1. This is well documented on xda – I recommend you search for the threads but in short, this means downloading the latest / “supported” SuperSU for pixel, copying it to the device, and Installing the zip
  11. flash VerifiedBootSigner inside twrp
  12. reboot system, and you are rooted
  13. (begin optional stuff, for the restless) install busybox pro
  14. turn off phone, turn phone back on using volume down +power to go into bootloader
  15. flash kernel and whatever other root things you may want

Tethering / Hot Spot capability is all but required for most folks these days.  These are the basic steps (and really the primary reason why I root) to disable the bullshit my carrier imposes on my “unlimited data” plan.  

  1. adb shell
  2. su
  3. mount -o rw,remount /system
  4. echo “net.tethering.noprovisioning=true” >> /system/build.prop
  5. settings put global tether_dun_required 0
  6. reboot and profit (by keeping your ~$150/year for the privilege of using your data plan how you choose)

Disclaimer: I am NOT responsible if your brick your phone.  Seriously this isn’t for the meek, it voids your warranty, and scares your (future) children.

Updated for May release N2G47O