[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] sasi2006166:
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.

/*

* Your warranty is now void.

*

* I am 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 me for messing up your device, I will laugh at you.

*/ ;)

Requiriments:

Stock EMUI 8.0

STOCK RECOVERY_RAMDISK

STOCK RAMDISK

THIS ROM WORKS WITH HI3650 DEVICES AND HI6250 DEVICES (WITH TREBLE)

Working:

*All* *Apart Camera*

FLASH LKT IN MAGISK FOR FIX UI MICRO-LAGS

Bugs:

Camera (Working on it)

When the rom boot shows a error but nothing important (For now no)

Installation:

Flash Stock EMUI 8.0

Don't setup anything

Flash stock ramdisk

Now flash this twrp: https://mega.nz/#!xUcBxKLZ!MJv5xk86GAJOEKl1KRS-tKr5wvkBFTOI0DgosaEUkXA

Select English language

Go to Wipe-Advanced Wipe-And wipe only system

Now copy the rom to SD CARD OR Internal Storage

Flash the rom

NOW FLASH STOCK RECOVERY_RAMDISK (VERY IMPORTANT)

Reboot to Emui recovery

Wipe cache

Wipe data (if the recovery fails its normal)

Now reboot to system

Setup what do you want

----------------------------------------------------------------------GAPPS---------------------------------------------------------------------------------

FIXED:MAKE SURE THE ROM BOOTED

NOW DOWNLOAD THE NANO PACKAGE OF GAPPS

REBOOT TO MY TWRP : https://mega.nz/#!xUcBxKLZ!MJv5xk86GAJOEKl1KRS-tKr5wvkBFTOI0DgosaEUkXA

FLASH GAPPS

IF TWRP SAYS UNABLE TO MOUNT SYSTEM ITS NORMAL JUST REBOOT

ENJOY GOOGLE APPS

Link: https://opengapps.org/

Select arm64 9.0 nano

---------------------------------------------------------------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------LINKS-----------------------------------------------------------------------------------

Rom:

MEGA: https://mega.nz/#!MRthiAhJ!nxDU4O1rxEoLoYo1r_n0gaZodwKB4KAcV25mej7gh_g

GOOGLE DRIVE: https://drive.google.com/open?id=111OfwRDG09uAbG-RPDv8xijt9JxVdeB9

---------------------------------------------------------------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------Magisk-------------------------------------------------------------------------------------

DON'T FLASH NORMAL MAGISK BECAUSE CAUSES BOOTLOOP

FLASH IANMACD MAGISK

MEGA: https://mega.nz/#!oEdjHaRB!MdqyZvgk4lvkkfOOVk16vEeqAH5Uc7v_fjzVvSoXEk8

IF AFTER INSTALLATION YOU SEE UNABLE TO MOUNT SYSTEM OR SOMETHING LIKE THIS IS NORMAL

IF AFTER INSTALLATION AND REBOOTED TO SYSTEM YOU DON'T SEE MAGISK MANAGER IS NORMAL JUST REBOOT TO RECOVERY AND

FLASH IT AGAIN

---------------------------------------------------------------------------------------------------------------------------------------------------------------

I HAVE UPLOADED SCREENSHOTS

--------------------------------------------------------------------------Credits-------------------------------------------------------------------------------------------

[MENTION=6870018]Tecalote[/MENTION]
[MENTION=5033594]korom42[/MENTION]
[MENTION=7187684]ianmacd[/MENTION]

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

XDA:DevDB Information

LineageOS 16, ROM for the Huawei P9

Contributors

sasi2006166

ROM OS Version: 9.x Pie

Version Information

Status: Beta

Created 2019-01-20

Last Updated 2019-01-20