[Huawei P Smart ROMs, Kernels, Recoveries, & Other ] haky 86:
LineageOS is a free, community built, aftermarket firmware distribution of Android 9 (Pie), which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

Note

LineageOS 16.0 has been discontinued by LineageOS, nor interested to promote this device to 17.1 (as I don't own it anymore).

What's not working :

tell me.

IMPORTANT NOTE :

Flash (latest) MIUI 9 for your device. I used dload method (extracting update zip and loading files to sd card, update using SD Card Upgrade from Phone Manufacture Mode or holding volume up, volume down and power when powering device on). MIUI 9 is required to flash Lineage OS, otherwise it'll end up in a bootloop.

Unlock bootloader again if neccessary (sometimes EMUI Update locks bootloader, but you can use the same bootloader unlock code you already used to unlock it again, enable developer options in settings and enable oem unlock, then fastboot the device and use fastboot oem unlock).

With bootloader unlocked and device set up using EMUI 9, flash twrp-3.4.0.0-v1-figo-haky86.img using fastboot flash recovery_ramdisk . Do not turn the device off or disconnect it yet.

Reboot directly to TWRP. This is neccessary because after booting to system, EMUI will damage TWRP and therefore bootloop the device

Type fastboot reboot in cmd, don't enter yet.

Hold your phone in one hand pressing volume up and power at the same time.

Press enter on the keyboard, phone will reboot.

Instantly disconnect the usb cable from the phone while holding the buttons volume up and power.

Phone will reboot one more time. Hold the buttons until bootloader warning appears. Remove your fingers from the buttons. Phone will boot to twrp.

in TWRP, wipe System, Cache, Dalvik, Data, Internal Storage (Be sure to backup all data before).

Flash Lineage OS Rom either from ADB Sideload or from sd card. Both worked for me.

To flash gapps, resizing system partition is needed. Go to wipe, mark only system partition, go to repair or change file system and choose resize file system. Without resizing, phone will end up in bootloop.

Extra Warning for Gapps: Be sure to flash a gapps package that contains "android system webview". This is neccessary to login to your google account. If Googles "android system webview " is not installed. setup will crash and you won't be able to enter your phone / use your google account. I'm pretty sure this is a lineage os bug, because Lineage OS has its own webview, its just not working. Until it works for account login, you'll have to stick with Googles Webview Version.

Flash Gapps.

In TWRP, go to the reboot section. Connect phone to PC and choose reboot to bootloader. Phone should reboot to fastbood mode.

Flash Stock Recovery using the same method used for twrp. (Step 3)

Reboot to Stock recovery using the same method used when rebooting to twrp. (Step 4!)

In EMUI Recovery, choose factory reset option, accept every warning and do factory reset.

Choose reboot / reboot to system. Phone should boot to Lineage OS now.

Downloads :

Builds: https://download.lineageos.org/figo

Root addon : https://download.lineageos.org/extras

Google Apps : https://wiki.lineageos.org/gapps.html

Resources for Developers:

https://github.com/LineageOS/android_device_huawei_figo

https://github.com/LineageOS/android_device_huawei_hi6250-common

https://github.com/LineageOS/android_kernel_huawei_hi6250

https://github.com/TheMuppets/proprietary_vendor_huawei

Credits :

LineageOS Devs, it's based on official source for Berlekey for EMUI 9.x.

Telegram Channel for newer builds

Click this https://t.me/Haky86ROMs

XDA:DevDB Information

LineageOS for EMUI 9.x, ROM for the Huawei P Smart

Contributors

haky 86

Source Code: https://github.com/hak86?tab=repositories

ROM OS Version: 9.x Pie

Version Information

Status: Beta

Stable Release Date: 2019-09-30

Beta Release Date: 2019-09-30

Created 2019-09-29

Last Updated 2019-09-29