Time: 2021-04-03 23:44
Author: vonhyou
In this article, we will install LineageOS 18.1 (Android 11) on Essential Phone ph-1(mata)
Preparation
Download Android SDK Platform Tools for your system.
Unlock the bootloader
$ adb reboot bootloader
$ fastboot devices
$ fastboot flashing unlock
- Download recovery, system
Official Website: download.lineageos.org/mata
- Download Gapps and Magisk(Optional)
Mind the Gapps: Official website
Magisk: Official website Github
Flash Recovery
$ adb devices
$ adb reboot bootloader
$ fastboot devices
$ fastboot getvar current-slot
# Remember the current slot for next step
$ fastboot flash boot_SLOT <filename>.img
# If the current slot is _a, you should use boot_a
Error: fastboot: error: Couldn't parse partition size '0x'
If this error occurred, you should use command below
$ fastboot flash:raw boot_SLOT <filename>.img
and then next:
$ fastboot set_active other
Reboot to recovery.
Sideload LineageOS
Tap Factory Reset, then Format data / factory reset and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition.
Select โApply Updateโ, then โApply from ADBโ to begin sideload.
Sideload
$ adb sideload <filename>.zip
If the process succeeds the output will stop at 47% and report adb: failed to read command: Success
Sideload Other packs
- Reboot to make sure your system is installed correctly
- Reboot to recovery mode
- Sideload packs like before
$ adb sideload <mindthegapps>.zip
$ adb sideload <magisk>.zip
Error: Zip Signature Verification failed
Just ignore it.
References
- Install LineageOS on mata. wiki.lineageos.org
- Mata readthedocs. mata.readthedocs.io
- XDA Guide. How to Install TWRP & Root Essential PH-1(Method 2)
Top comments (0)