blob: 74e89f19c01ce5fb49e081a4a7eea6adfa506d75 [file] [log] [blame]
bigbiff83c16c32020-12-31 21:03:19 -05001---
2layout: device
3title: "Google Pixel 4"
4codename: flame
5downloadfolder: flame
6supportstatus: Current
7maintainer: bigbiff
8oem: Google
9devicetree: https://github.com/TeamWin/android_device_google_coral
bigbiff2a16d2b2021-01-01 15:46:49 -050010xdathread: https://forum.xda-developers.com/t/twrp-flame-official.4110641/
bigbiff83c16c32020-12-31 21:03:19 -050011---
12
13{% include disclaimer.html %}
14
15{% include supportstatus.html %}
bigbiff83c16c32020-12-31 21:03:19 -050016
17{% include download.html %}
18
bigbiff92e85ce2021-02-03 18:22:28 -050019{% include dynamicpartitions.html %}
20
bigbiff83c16c32020-12-31 21:03:19 -050021<div class='page-heading'>Installation:</div>
22If you already have TWRP installed:
23Download the latest img and install the image using TWRP.
24
25If you do not already have TWRP installed:
bigbiff2a16d2b2021-01-01 15:46:49 -050026You need to install a LZMA ramdisk kernel before installing TWRP. Use XDA to find the proper instructions in the thread.
bigbiff83c16c32020-12-31 21:03:19 -050027Download 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:
28
29fastboot boot path/to/twrp.img
30
31This will temporarily boot TWRP on your device. Use adb to push the img onto your device:
32
33adb push path/to/twrp.img /
34
35Go 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.
36
37If 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.