blob: 74e89f19c01ce5fb49e081a4a7eea6adfa506d75 [file] [log] [blame]
---
layout: device
title: "Google Pixel 4"
codename: flame
downloadfolder: flame
supportstatus: Current
maintainer: bigbiff
oem: Google
devicetree: https://github.com/TeamWin/android_device_google_coral
xdathread: https://forum.xda-developers.com/t/twrp-flame-official.4110641/
---
{% include disclaimer.html %}
{% include supportstatus.html %}
{% include download.html %}
{% include dynamicpartitions.html %}
<div class='page-heading'>Installation:</div>
If you already have TWRP installed:
Download the latest img and install the image using TWRP.
If you do not already have TWRP installed:
You need to install a LZMA ramdisk kernel before installing TWRP. Use XDA to find the proper instructions in the thread.
Download the img. You will need to have fastboot binaries and the correct drivers installed. Power off your device completely. Hold volume down and turn on the device. Your device should now be in the bootloader. Connect the device to your PC. Open a command window and run the following command from the proper location:
fastboot boot path/to/twrp.img
This will temporarily boot TWRP on your device. Use adb to push the img onto your device:
adb push path/to/twrp.img /
Go to install and select Install Image. Browse to the img and install the img. The img will install TWRP to both boot slots. Installing TWRP at this time will remove root if you are currently rooted. You can reflash magisk to get root again.
If you accidently flash TWRP to your device using fastboot instead of temporarily booting the image, you will need to download the latest factory image for your device and reflash the boot image.