Ethan Yonker | 0b657b7 | 2018-09-10 16:17:57 -0500 | [diff] [blame] | 1 | --- |
| 2 | layout: device |
| 3 | title: "Essential PH-1" |
| 4 | codename: mata |
| 5 | downloadfolder: mata |
| 6 | oldurl: |
bigbiff | f0b1869 | 2021-06-16 21:05:39 -0400 | [diff] [blame^] | 7 | supportstatus: Not Current |
| 8 | maintainer: None |
Ethan Yonker | 0b657b7 | 2018-09-10 16:17:57 -0500 | [diff] [blame] | 9 | devicetree: https://github.com/TeamWin/android_device_essential_mata.git |
| 10 | oem: Essential |
| 11 | --- |
| 12 | |
| 13 | {% include disclaimer.html %} |
| 14 | |
| 15 | {% include supportstatus.html %} |
| 16 | |
| 17 | {% include download.html %} |
| 18 | |
| 19 | Essential PH-1 Install Instructions |
| 20 | |
| 21 | Read these instructions and follow them carefully. |
| 22 | |
| 23 | The Essential Phone uses the newer AB partition scheme first introduced on the Pixel 1. As such there is no recovery partition. Instead, the recovery is part of the boot image. Unlike the Pixel devices, Essential has disabled fastboot boot so there is no way to temporarily boot TWRP to perform an installation. |
| 24 | |
| 25 | We are going to use the other boot slot to flash the initial copy of TWRP and boot TWRP. To do this you will need to turn on developer options and enable USB debugging. You will also need to enable OEM unlocking and unlock the bootloader. I am not going to discuss how to get the proper drivers installed or assist you with doing these basic steps. There's tons of guides elsewhere for these items if you need it. I will say that unlocking the bootloader requires using fastboot flashing unlock instead of fastboot oem unlock. Once you have adb working, run this command: |
| 26 | `adb shell getprop ro.boot.slot_suffix` |
| 27 | |
| 28 | It should say: |
| 29 | `[ro.boot.slot_suffix]: [_a]` |
| 30 | Or: |
| 31 | `[ro.boot.slot_suffix]: [_b]` |
| 32 | |
| 33 | Make note of whether you are currently using slot A or B. Next power off the device and boot to the bootloader using your USB cable and volume down. You want to switch to the other boot slot. If you are currently on slot A, type this: |
| 34 | `fastboot --set-active=_b` |
| 35 | Or on slot B type this: |
| 36 | `fastboot --set-active=_a` |
| 37 | |
| 38 | You should see something like this: |
| 39 | ```Setting current slot to 'a'... |
| 40 | OKAY [ 0.042s] |
| 41 | finished. total time: 0.042s``` |
| 42 | |
| 43 | Once it's on the right boot slot, type this: |
| 44 | `fastboot flash boot twrp-3.2.3-0-mata.img && fastboot reboot` |
| 45 | |
| 46 | Your device should now boot into TWRP. From here, decrypt your device if needed at the password prompt. Go to the reboot page and tap on the button at the bottom to switch back to the slot you were originally using. Once you have finished making your backups, run this command: |
| 47 | `adb push twrp-installer-3.2.3-0-mata.zip /sdcard` |
| 48 | |
| 49 | In TWRP, tap on Install and browse to the zip and install it. TWRP will now be installed to both slots. TWRP is now installed and you can reboot and use your device as normal, though with TWRP installed, you won't be able to take OTA updates without restoring the stock boot image. |