Skip to content

Initial installation process

General information

LineageOS for this device is maintained unofficially, meaning that these builds are not affiliated with the original team and therefore, the device is not listed as supported in the official LineageOS website

Rebooting the device to fastboot mode

Firstly, you should connect your device to you PC via USB if it is not connected already. To reboot to bootloader (fastboot) mode, you can use the following command:

adb reboot bootloader

Alternatively, you can boot into bootloader (fastboot) mode via the respective key combination. With the device powered off, press and hold the 'Volume Down' and the 'Power' buttons until the word “FASTBOOT” appears on the screen.

Installing LineageOS recovery from fastboot

You should NOT use TWRP or any other kind of custom recovery. They have serious issues when it comes down to core functionality, like handling userdata and dynamic partitions.

Therefore, we are going to be flashing LineageOS recovery, which is shipped by default with LineageOS.

This can be done with the following commands:

fastboot flash recovery recovery.img
fastboot reboot recovery

The recovery graphical user interface will now show up.

Installing LineageOS from recovery

You must now go into 'Apply update' and click 'Apply from ADB'.

After that, an ADB sideload connection should be established between your phone and your computer. Proceed with the following command (replacing 'filename' with the actual name of the LineageOS package):

adb sideload filename.zip

Last but not least, you can now flash other complementary packages, such as Google Apps or Magisk likewise. This is the right time to do so. If you want the Google Apps on your device, you must follow this step before booting into LineageOS for the first time.

Such complementary packages are not signed with the same key as the ROM and therefore, Lineage Recovery will present a screen that says "Signature verification failed", this is expected, please click "Continue".

The recommended GApps (Google Apps) package is MindTheGapps. Make sure to choose the appropriate version for the Android version and for the architecture type, which is ARM64.

Note: Normally, adb will report "Total xfer: 1.00x", but in some cases, even if the process succeeds the output will stop at 47% and report "adb: failed to read command: Success". In some cases, it will report "adb: failed to read command: No error or adb: failed to read command: Undefined error: 0" which is also fine.

Rebooting into LineageOS

Go back to the main recovery screen again, press 'Factory Reset' and then 'Format Data / Factory Reset' and you're all set.

You can now reboot your device via the reboot menu of the main recovery screen ('Advanced' -> 'Reboot to system') and use Android normally after the ROM has booted up.