Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0974a5f2 authored by Romain Hunault's avatar Romain Hunault
Browse files

Add Essential Phone device

parent 3e335203
Loading
Loading
Loading
Loading

_data/devices/mata.yml

0 → 100644
+22 −0
Original line number Diff line number Diff line
codename: mata
name: PH1
vendor: Essential
versions: [nougat]
status: [dev]
recovery_install_method: fastboot_mata
#root_method: []
#models: []
#before_install:
#is_ab_device: true
#no_oem_unlock_switch:
#custom_unlock_cmd:
#custom_recovery_codename:
#fastboot_boot: true
#is_unlockable: false
#download_boot:
#recovery_boot:
#is_lineageos_official: true
#update_vendors: true
#recovery_install_need_patch: true
#custom_recovery_link:
#unlock_bootloader_guide:
+58 −0
Original line number Diff line number Diff line
## Notes

Some useful additional information can be found at:
1. https://forum.xda-developers.com/essential-phone/development/rom-lineageos-14-1-essential-ph-1-mata-t3703759
1. https://forum.xda-developers.com/essential-phone/development/stock-7-1-1-nmj20d-t3701681
1. https://mata.readthedocs.io/en/latest/

## Unlocking the bootloader

1. Unlock bootloader

    ```shell
    fastboot flashing unlock
    ```

1. Unlock critical partition

    ```shell
    fastboot flashing unlock_critical
    ```

## Flashing firmwares

1. Download the [NMJ88C archive](https://mega.nz/#!1CgF3SLa!CHLLA0HvtDtzzDnOl3CbJ1EUnhR6vFb4NA9IG6au3to) and unzip it

1. Reboot in bootloader mode

    ```shell
    adb reboot bootloader
    ```

1. execute the script:

    On Linux or MacOS X:

    ```shell
    ./flash-all.sh
    ```

    On Windows:

    ```shell
    ./flash-all.bat
    ```

(it takes a while to complete)

## Installing a custom recovery: TWRP for Mata

1. Download [TWRP for Mata](https://androidfilehost.com/?fid=818070582850502775)
1. Connect your device to your PC via USB.
1. Flash TWRP to the boot partition:

    ```shell
    fastboot -w
    fastboot flash boot twrp-mata_11.img
    ```
1. Stay in bootloader mode, and use the volume down to select "Recovery mode". Then  hit the power button: this should boot you in to recovery mode (TWRP). If it's asking for a password, enter your previous lockscreen password or pin, this will decrypt your data partition. Note: don't be surprised that TWRP will be erased at next boot. Therefore, you will have to reinstall it if you want to install another ROM on your device.

pages/build/mata.md

0 → 100644
+9 −0
Original line number Diff line number Diff line
---
sidebar: home_sidebar
title: Build /e/ for Essential  PH1 - mata
folder: build
layout: default
permalink: /devices/mata/build
device: mata
---
{% include templates/device_build.md %}

pages/info/mata.md

0 → 100644
+9 −0
Original line number Diff line number Diff line
---
sidebar: home_sidebar
title: Info about Essential  PH1 - mata
folder: info
layout: default
permalink: /devices/mata
device: mata
---
{% include templates/device_info.md %}

pages/install/mata.md

0 → 100644
+9 −0
Original line number Diff line number Diff line
---
sidebar: home_sidebar
title: Install /e/ on Essential  PH1 - mata
folder: install
layout: default
permalink: /devices/mata/install
device: mata
---
{% include templates/device_install.md %}
Loading