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

Status
Not open for further replies.
Search This thread

OldDroid

Recognized Developer
Nov 18, 2012
1,768
6,952
Berlin

logo-2.png


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,768
6,952
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:

johdost

Member
Dec 8, 2016
18
7
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
@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:
dGAg0ip.png
 
Last edited:

OldDroid

Recognized Developer
Nov 18, 2012
1,768
6,952
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
195
35
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.

Top Liked Posts

  • There are no posts matching your filters.
  • 74

    logo-2.png


    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
    21
    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
    12
    AOSPA 7.2.2 comming today! (And maybe RROS aswell)

    Regards
    6
    doesn't xda have moderators to remove useless, off topic posts? unless they've given up for this device, which i can understand.
    o.t:
    XDA Staff is certainly here and we happen to do a lot of behind the scene stuff as well. We don't EVER Give up on a Device forum. You know we have a Bat Signal.
    UNE3093.png
    should you need one of us.
    5
    doesn't xda have moderators to remove useless, off topic posts? unless they've given up for this device, which i can understand.
    o.t:

    You don't say ...:eek: .....

    We don't chomp off every other post for being OT.
    Deleting posts is pretty much last resort thing.

    Some developers like OT ,some don't like OT. Some don't really care.
    So it's all upto @OldDroid to decide on how much OT is really OT.

    As long as OT doesn't bother him, or there is no flaming/spam , we don't delete posts.
    -XDA Staff
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone