[P8 Lite (2017) Development] haky 86:
LineageOS is a free, community built, aftermarket firmware distribution of Android 7.1 (Nougat), 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. Lineage OS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

* Your warranty is now void.
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.

Compatible device?:

[LIST]
[*]P8 Lite 2017.
[*]P10 Lite.
[/LIST]

Mandatory:

* hit thank buttons, it's free.

* want more roms for P8 Lite 2017/P9 Lite 2017, simply bring me up beers by the following button.

Requirements:

Unlocked bootloader.

Unlocked FRP.

vendor.img: you must be on stock one, so don't wipe it because with other custom vendor.img will never ever boot.

Emui 5.x B115 (Single Sim) or B170(Dual Sim)

How to Install the ROM?

* reboot to TWRP.

* go to Wipe -> Advanced Wipe.

* check Data -> Change file system -> select EXT4.

* swipe the screen to wipe it ;) .

How can I fix Sim?

* go to Settings -> Extras -> disable "Sim Card Slot2 " and reboot.

How can I enable Google Codecs

* go to Settings -> Extras -> enable "Use Google H264" (it's a bit laggy but better than nothing).

How to enable Double Touch To Wake?

* go to Settings -> Extras -> enable "Double Touch to Wake"

Should I reflash the vendor partition if come from other roms?

* if you coming from Emui 5.x, the answer is no because the custom rom are based on Emui 5.0 source code, so all you

have to is flashing your favorite custom rom ;)

Audio and camera are not working?

* bring up a logcat to help us, instead of writing useless comments.

Gapps:

http://opengapps.org

Working Hardware:

Audio.

Bluetooth.

Browser.

Display.

GPS.

Graphics: only gralloc.

Lights.

RIL.

Sensors.

Storage: both internal & external storage.

Wifi.

Bugs:

Tell me

LineageOS 14.1:

Downloads:

Checkout this

LineageOS 14.1 Downloads

Changelogs:

30/07/2017:

Initial build.

03/08/2017:

Testing hwcomposer, report us if the build boot and run games fine.

Camera will be fixed soon.

21/08/2017:

fix random reboot.

fix some tethering issues.

wifi should be fixed (send me a logcat if not work) it was working on my own pra-lx1..

25/08/2017:

fix sim.

fix hwcomposer (in theory, you should test games for that).

fix wifi..

01/09/2017:

ril has beeb fixed by disable flags for dual sim, my device is single sim.

fix wifi (will try to fix saving password issue).

01/09/2017:

Android 7.1.2 R29.

fix bootloop.

fix random reboot.

to fix lags: disable Ambient Display from Display settings.

15/11/2017:

update HwComposer according to this patch.

Update permissions for Google Play.

Build is smooth and fast even with enabled ambient display

21/12/2017:

fix minor bugs :)

31/12/2017:

fix camera

06/01/2018:

fix USB & memories.

21/01/2018:

Fix error 7 by adding support for prague devices, so you must flash my latest twrp, the v2.5.

Fix ril on prague devices.

Fix ril crashes, I test the automated voice of ussd code for more than 30 seconds and didn't crash like before.

Note: this rom is only for the Huawei P8 Lite 2017 if you didn't get worked audio or camera on your hi6250 device isn't my fault, just flash my own vendor.img from unbrick guide, that's why I get everything works on my pra-lx1 like the following attached screenshot.

25/01/2018:

Fix audio for P10 Lite

Add support for Vulkan libraries for all hi6250.

Fix camera on some prague devices.

31/01/2018:

Fix Magisk 15.3

Security patches: January 2018 ;)

19/02/2018:

security patches: Feb 2018

02/05/2018:

fix call's sensor issue.

latest android 7.1.2 build.

28/12/2019:

Fix Magisk

Fix RIL crash.

Security Patches: 5 Dec 2019

11/06/2020:

New "Extra" thanks to dady8889 for the base (I'll clean up tomorrow)

Fix Mute in Call.

SPL: May 2020

13/06/2020:

Fix Mute in Call.

Fix USSD. (thanks to flex1911 for his emui8 fixes)

Fix RIL Crash again.

[/HIDE]

Source Code:

Device Tree:

https://github.com/hak86/android_device_huawei_hi6250

Kernel GPL:

https://github.com/hak86/android_kernel_huawei_prague

Vendors:

https://github.com/hak86/android_vendor_huawei_hi6250

Credits

[MENTION=4883214]haky 86[/MENTION]

[MENTION=10351489]Meticulus[/MENTION] special thanks for immense work done in just few days for the hi6250 platform.

Contributors

[MENTION=4883214]haky 86[/MENTION]

Source Code: https://github.com/hak86

ROM Kernel: Linux 4.1.x

ROM Firmware Required: EMUI 5.0 or newer

Version Information

Status: Beta

Beta Release Date: 2017-07-30

Created 2017-07-30

Last Updated 2017-12-21