• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][7.1.2][LineageOS 14.1 for Huawei P9 Lite][Team OpenKirin]

Status
Not open for further replies.

OldDroid

Recognized Developer
Nov 18, 2012
1,767
6,949
113
Berlin



Code:
[FONT="Garamond"][SIZE="5"][B]Lin·e·age[/B][/SIZE][/FONT]
/ˈlinēij/
noun

        1. lineal descent from an ancestor; ancestry or pedigree.
        2. a sequence of species each of which is considered to have evolved from its predecessor.
Code:
[COLOR="red"]/*
 * 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.
 *
 */[/COLOR]
Code:
[CENTER][FONT="Garamond"][SIZE="5"][B]Hua·wei P9 Lite | Dow·n·loads[/B][/SIZE][/FONT]
[URL="https://mega.nz/#!u94j1IbS!NGllNJ33kXrnaKEynxBvtVQ94VgI7SbsB97AXc6_ALY"]lineage-14.1-20170726-UNOFFICIAL-vns.zip[/URL]
[URL="https://mega.nz/#!DkBX2aST!bMNJkYkVoOKlP8AmKSCI8YXegtGdRBDPlJejO1YScdI"]lineage_vns-vendor.zip[/URL] [B][COLOR="red"]NOT FLASHABLE - READ INSTRUCTIONS[/COLOR][/B]
[/CENTER]

Code:
[CENTER][FONT="Garamond"][SIZE="5"][B]Work·ing[/B][/SIZE][/FONT]
* Camera (partially and only with specific apps, look in the "not working" section)
* RIL (partially)
* Video DEC/ENC
* Audio
* Wifi
* Bluetooth
* Nfc
* WiFi tethering
* MTP
* Flashlight
* Screen recording
[/CENTER]

Code:
[CENTER][FONT="Garamond"][SIZE="5"][B]Not work·ing | Iss·u·es[/B][/SIZE][/FONT]
* Camera is buggy atm (Shooting pictures works with Footej, Snapchat is OK)
* multiple RIL issues, dual sim works fine for some users!
(or it doesn't work at all ... gambling, try rebranding to c432 if you have issues and update to b370, thats known as properly working)
* DT2W
* Encryption
[/CENTER]

Code:
[CENTER][FONT="Garamond"][SIZE="5"][B]Inst·ructions[/B][/SIZE][/FONT][/CENTER]
1. delete all previously registered fingerprints on EMUI 5.0
2. backup internal storage, data, boot, vendor and system
3. format /data
4. wipe vendor, system
5. first time flashing the rom over emui 5?
flash vendor.img (extracted from vendor.zip, put it on your external sdcard)
command (either use twrp terminal or adb shell): [B]dd if=/external_sd/vendor.img of=/dev/block/bootdevice/by-name/vendor[/B]
it would be "sdcard instead of "external_sd" if you flash it from your internal storage
6. flash lineage
7. optional: flash gapps (micro, arm64 suggested)
8. enjoy!
Code:
[CENTER][FONT="Garamond"][SIZE="5"][B]FAQ[/B][/SIZE][/FONT]
[B]Q:[/B] Can you port stock emui camera?
[B]A:[/B] No, we are not Huawei, go back to EMUI.
[/CENTER]
Code:
[CENTER][FONT="Garamond"][SIZE="5"][B]Credits[/B][/SIZE][/FONT]
[B]Team OpenKirin[/B]
@OldDroid
@surdu_petru
@XePeleato
[/CENTER]

XDA:DevDB Information
LineageOS for Huawei P9 Lite, ROM for the Huawei P9 Lite

Contributors
OldDroid, surdu_petru, XePeleato
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 4.x
ROM Firmware Required: EMUI 5.0
Based On: LineageOS

Version Information
Status: Beta

Created 2017-07-27
Last Updated 2017-07-27
 

OldDroid

Recognized Developer
Nov 18, 2012
1,767
6,949
113
Berlin
Source Code​
Kernel Code: [url]https://github.com/OpenKirin/android_kernel_huawei_vns[/URL]

In case you want to build LineageOS - or any other Rom based on it - yourself,
i've created a github project with everything required to reproduce the lineage build :) - DEVELOPER FRIENDLY
Just use the exact same vendor zip as provided in the LOS thread because thats something we can't produce as build output.
[url]https://github.com/HuaweiOSP/local_manifest[/URL]

Please retain credit our work!
Best regards,
Team Openkirin
 
Last edited:

zgomot

Elite Member
Apr 23, 2010
1,145
210
0
Arad
Well done. I applaude the initiative and am happy proper development is starting for the P9 Lite.

Personally I will stick with stock until camera performance will be as good as on stock.
 
  • Like
Reactions: nafitol and nunu00

johdost

Member
Dec 8, 2016
18
6
0
Can you guy support Honor 5C as well?
As it is quite the same specs.
i would appreciate support for the honor 5c as well!
if i'm correct you only have to add the device number to supported devices and add a additional camera driver

edit: this was it:
this was how the device was added:
https://forum.xda-developers.com/showpost.php?p=69989870&postcount=225
and how to fix the camera:
https://forum.xda-developers.com/showpost.php?p=70010371&postcount=12

careful i did not test this with the ROM from team openkirin, but i guess there are good chances for success since it worked with meticulus' ROM. looking forward if someone wants to test it, right now i have no time for it...
 
Last edited:
  • Like
Reactions: tw1st3d83

Coolyou

Senior Member
Nov 5, 2016
453
139
0
@OldDroid

A bug report:
1: I don't know if it's only me but notification lights are not working.
2: Even Magisk hide doesn't pass a Safetynet :/ - Fixed with a Magisk module.
3. Many times Google play store won't open when pressed.

Few questions:
How to enable Pixel launcher?
How to have a small google search widget?

This exactly:
 
Last edited:

OldDroid

Recognized Developer
Nov 18, 2012
1,767
6,949
113
Berlin
@OldDroid

A bug report:
1: I don't know if it's only me but notification lights are not working.
2: Even Magisk hide doesn't pass a Safetynet :/ - Fixed with a Magisk module.
3. Many times Google play store won't open when pressed.

Few questions:
How to enable Pixel launcher?
How to have a small google search widget?

This exactly:
try lawnchair,
RROS soon™
 

nitroax

Senior Member
Feb 5, 2014
189
34
28
Porto
Had a bug today. When i receive calls, the loudspeaks turns on and i cant use the earspeaker. Was using EMUI 5.0 B370 before flash and my model is the L31 3gbram
 
Status
Not open for further replies.