bigbiff | 83c16c3 | 2020-12-31 21:03:19 -0500 | [diff] [blame] | 1 | --- |
| 2 | layout: device |
| 3 | title: "Google Pixel 4" |
| 4 | codename: flame |
| 5 | downloadfolder: flame |
| 6 | supportstatus: Current |
| 7 | maintainer: bigbiff |
| 8 | oem: Google |
| 9 | devicetree: https://github.com/TeamWin/android_device_google_coral |
bigbiff | 2a16d2b | 2021-01-01 15:46:49 -0500 | [diff] [blame^] | 10 | xdathread: https://forum.xda-developers.com/t/twrp-flame-official.4110641/ |
bigbiff | 83c16c3 | 2020-12-31 21:03:19 -0500 | [diff] [blame] | 11 | --- |
| 12 | |
| 13 | {% include disclaimer.html %} |
| 14 | |
| 15 | {% include supportstatus.html %} |
| 16 | MTP does not work at this time, but you can use adb to transfer files. |
| 17 | |
| 18 | {% include download.html %} |
| 19 | |
| 20 | <div class='page-heading'>Installation:</div> |
| 21 | If you already have TWRP installed: |
| 22 | Download the latest img and install the image using TWRP. |
| 23 | |
| 24 | If you do not already have TWRP installed: |
bigbiff | 2a16d2b | 2021-01-01 15:46:49 -0500 | [diff] [blame^] | 25 | You need to install a LZMA ramdisk kernel before installing TWRP. Use XDA to find the proper instructions in the thread. |
bigbiff | 83c16c3 | 2020-12-31 21:03:19 -0500 | [diff] [blame] | 26 | 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: |
| 27 | |
| 28 | fastboot boot path/to/twrp.img |
| 29 | |
| 30 | This will temporarily boot TWRP on your device. Use adb to push the img onto your device: |
| 31 | |
| 32 | adb push path/to/twrp.img / |
| 33 | |
| 34 | 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. |
| 35 | |
| 36 | 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. |