blob: f99a3ad7a5f45c11c98487672dd0782c0f7d7bfe [file] [log] [blame]
Ethan Yonker0b657b72018-09-10 16:17:57 -05001---
2layout: device
3title: "Essential PH-1"
4codename: mata
5downloadfolder: mata
6oldurl:
7supportstatus: Current
8maintainer: Dees_Troy
9devicetree: https://github.com/TeamWin/android_device_essential_mata.git
10oem: Essential
11---
12
13{% include disclaimer.html %}
14
15{% include supportstatus.html %}
16
17{% include download.html %}
18
19Essential PH-1 Install Instructions
20
21Read these instructions and follow them carefully.
22
23The 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
25We 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
28It should say:
29`[ro.boot.slot_suffix]: [_a]`
30Or:
31`[ro.boot.slot_suffix]: [_b]`
32
33Make 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`
35Or on slot B type this:
36`fastboot --set-active=_a`
37
38You should see something like this:
39```Setting current slot to 'a'...
40OKAY [ 0.042s]
41finished. total time: 0.042s```
42
43Once it's on the right boot slot, type this:
44`fastboot flash boot twrp-3.2.3-0-mata.img && fastboot reboot`
45
46Your 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
49In 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.