How to Lock Bootloader - Nexus & Pixel | How to unroot and install/flash stock ROM

How to, Rooting, Smartphones | 03-10-2018 | 0

  • We demonstrate how to Unroot / Flash Stock ROM & Lock the Bootloader of your Nexus Devices or Pixel Devices

    Download Nexus/ Pixel Stock ROM

    Download Platform Tools

  • download fastboot and fastboot drivers
  • Download latest factory image from here https://developers.google.com/android/images?hl=en and unzip it
  • now you should have 6 files but we are gonna use only 3 bootloader-bullhead-something.img radio-bullhead-something.img image-bullhead-something.zip
  • now flash bootloader fastboot flash bootloader bootloader-something.img then fastboot reboot-bootloader then fastboot flash radio-bullhead-something.img and fastboot reboot-bootloader now unzip the other file and cd into it
  • then fastboot flash boot boot.img fastboot flash recovery recovery.img fastboot flash system system.img fastboot flash vendor vendor.img fastboot flash userdata userdata.img
  • Finaly fastboot flash cache cache.img
  • now start your device and if it boots normaly reboot to bootloader again and run fastboot flashing lock (this is gonna wipe all your data so dont set up anything just make sure it boots)