[ROM][OTA][8.1] LineageOS 15.1 for Huawei P8 Lite 2017

Search This thread

DarkJoker360

Recognized Developer / Recognized Contributor
Oct 20, 2015
2,724
4,137
20
Aradeo
Hi,

http%3A%2F%2Fwww.androidblog.it%2Fwp-content%2Fuploads%2F2018%2F02%2FLineageOS-15.1-620x311.png


LineageOS 15.1 for Huawei P8 Lite 2017

*** Stable Version ***

About
Code:
[CENTER]LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1 (Oreo), 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.[/CENTER]

Working
Code:
[CENTER]* Touchscreen
* Adb / Mtp
* Audio
* Boot
* Bluethoot
* Internal/External storage
* Sensors
* Wifi  
* RIL
* Camera
* Video Encoder/Decoder
* FP Gestures(Swipe Down for notification panel)
[/CENTER]

Installation
Code:
[CENTER]* you must also have this recovery version installed :  TWRP
* go to TWRP  and do a full wipe (system, data, cache, dalvik/art cache) !
* install LineageOS ROM 
* boot the rom
* reboot in TWRP and flash gapps and root (optional)
* reboot system
* Enjoy !!![/CENTER]

Update
Code:
[CENTER]* copy the new update of LineageOS to Internal/External Storage
* reboot device to :  TWRP
* wipe cache & dalvik cache
* install the new update of LineageOS
* reboot to System
* reboot system
* Enjoy !!![/CENTER]

Download
Code:
[CENTER][URL="https://sourceforge.net/projects/darkjoker360-developements/files/Huawei/P10%20Lite/Oreo/LineageOS/"]LineageOS-15.1[/URL]
[URL="https://opengapps.org/"]Gapps[/URL] 
[URL="https://github.com/ianmacd/MagiskBuilds"]Magisk for Treble[/URL][/CENTER]


Credits:
@DarkDroiddev
@phhusson
@AndroidpaX
@haky86
@ezio84

Please support my work, it's very important! Thanks
DONATIONS

Regards !​


XDA:DevDB Information
LineageOS, ROM for the Huawei P8lite/P8 Lite

Contributors
DarkJoker360
Source Code: https://github.com/DarkJoker360

ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.x
ROM Firmware Required: Emui 8.x unlocked bootloader and TWRP
Based On: LineageOS

Version Information
Status: Stable
Current Stable Version: 15.1
Stable Release Date: 2019-01-04

Created 2019-01-04
Last Updated 2019-12-12
 
Last edited:

DarkJoker360

Recognized Developer / Recognized Contributor
Oct 20, 2015
2,724
4,137
20
Aradeo
This is a rom designed for Huawei P8 Lite 2017 but it can be install on other huawei hi6250 devices that have emui 8. Try at your risk as I can' t support over devices.

Bug reporting without logs will be IGNORED !
 
Last edited:

DarkJoker360

Recognized Developer / Recognized Contributor
Oct 20, 2015
2,724
4,137
20
Aradeo
New LineageOS 15.1 Stable Update !

https%3A%2F%2Fimg.xda-cdn.com%2F2zS0Xzc3uCosCW49VVzhs1P7L9A%3D%2Fhttp%253A%252F%252Fwww.androidblog.it%252Fwp-content%252Fuploads%252F2018%252F02%252FLineageOS-15.1-620x311.png


Code:
[CENTER]* Fixed headphones
* Improved sepolicy
* Deodexed for more speed
* Blinded power_profile.xml in order to improve battery life, charging speed and hardware values like brightness, gps etc...
* Fixed Signal meter[/CENTER]

Check OP for more info and downloads.

Quick notes about this: I am gonna update this rom every month with security patches and bugfixes as I still use this rom as daily driver on my prague because Pie is not perfect as Oreo. Regards​
 

verntechguy

Senior Member
Jan 15, 2013
338
32
Calamba City
Thanks for the update. Downloading it now. I have a bug when unlocking the phone. It always pop up the keyboard after unlocking. I hope it is fixed in this update. If not, I hope you can fix it next time. ?

New LineageOS 15.1 Stable Update !

https%3A%2F%2Fimg.xda-cdn.com%2F2zS0Xzc3uCosCW49VVzhs1P7L9A%3D%2Fhttp%253A%252F%252Fwww.androidblog.it%252Fwp-content%252Fuploads%252F2018%252F02%252FLineageOS-15.1-620x311.png


Code:
[CENTER]* Fixed headphones
* Improved sepolicy
* Deodexed for more speed
* Blinded power_profile.xml in order to improve battery life, charging speed and hardware values like brightness, gps etc...
* Fixed Signal meter[/CENTER]

Check OP for more info and downloads.

Quick notes about this: I am gonna update this rom every month with security patches and bugfixes as I still use this rom as daily driver on my prague because Pie is not perfect as Oreo. Regards​
 

DarkJoker360

Recognized Developer / Recognized Contributor
Oct 20, 2015
2,724
4,137
20
Aradeo
Why this isn't on the official Lineage website when it's stable?

Because we use patches in Lineage sources for having everything stable and Lineage' s rules are to build with thier bot without patching anything, just:

* Sync rom source code
* Clone prague code
* Build the rom

I know it is like the thing. If it isn' t correct someone please correct me :)

For OTA I will learm something about, maybe I will be able to implement an own ota server
 
  • Like
Reactions: MIcHiJK

omega_55_lul

Senior Member
Jan 6, 2014
118
52
Because we use patches in Lineage sources for having everything stable and Lineage' s rules are to build with thier bot without patching anything, just:

* Sync rom source code
* Clone prague code
* Build the rom

I know it is like the thing. If it isn' t correct someone please correct me :)

For OTA I will learm something about, maybe I will be able to implement an own ota server

Also, it's worth mentioning that the official supported Lineage builds are all Snapdragon based devices, and this is a Kirin device, therefore it will never be official
 
  • Like
Reactions: MIcHiJK

DarkJoker360

Recognized Developer / Recognized Contributor
Oct 20, 2015
2,724
4,137
20
Aradeo
Also, it's worth mentioning that the official supported Lineage builds are all Snapdragon based devices, and this is a Kirin device, therefore it will never be official

No, I don' t think they supports only SanpDragon. Actually I saw that LuK from Honor V10 is trying to support officially it. I hope for him :)
 
  • Like
Reactions: omega_55_lul

the gladiator

Senior Member
Dec 16, 2010
308
39
Please forgive my basic question: is it possible, after having installed this ROM, to install again EMUI 5 or EMUI 7 ? And, if it's possible, how to proceed ?
 

the gladiator

Senior Member
Dec 16, 2010
308
39
Thanks for your prompt reply but...I anticipated that I was posing a very basic question. Provided that for a typo I wrote EMUI 7 instead of EMUI 8 does your answer mean "No, you can't roll back to EMUI 5 nor EMUI 8" or "Yes, you can roll back" ? In the latter case any short hint/suggestion about how to proceed ?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 24
    Hi,

    http%3A%2F%2Fwww.androidblog.it%2Fwp-content%2Fuploads%2F2018%2F02%2FLineageOS-15.1-620x311.png


    LineageOS 15.1 for Huawei P8 Lite 2017

    *** Stable Version ***

    About
    Code:
    [CENTER]LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1 (Oreo), 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.[/CENTER]

    Working
    Code:
    [CENTER]* Touchscreen
    * Adb / Mtp
    * Audio
    * Boot
    * Bluethoot
    * Internal/External storage
    * Sensors
    * Wifi  
    * RIL
    * Camera
    * Video Encoder/Decoder
    * FP Gestures(Swipe Down for notification panel)
    [/CENTER]

    Installation
    Code:
    [CENTER]* you must also have this recovery version installed :  TWRP
    * go to TWRP  and do a full wipe (system, data, cache, dalvik/art cache) !
    * install LineageOS ROM 
    * boot the rom
    * reboot in TWRP and flash gapps and root (optional)
    * reboot system
    * Enjoy !!![/CENTER]

    Update
    Code:
    [CENTER]* copy the new update of LineageOS to Internal/External Storage
    * reboot device to :  TWRP
    * wipe cache & dalvik cache
    * install the new update of LineageOS
    * reboot to System
    * reboot system
    * Enjoy !!![/CENTER]

    Download
    Code:
    [CENTER][URL="https://sourceforge.net/projects/darkjoker360-developements/files/Huawei/P10%20Lite/Oreo/LineageOS/"]LineageOS-15.1[/URL]
    [URL="https://opengapps.org/"]Gapps[/URL] 
    [URL="https://github.com/ianmacd/MagiskBuilds"]Magisk for Treble[/URL][/CENTER]


    Credits:
    @DarkDroiddev
    @phhusson
    @AndroidpaX
    @haky86
    @ezio84

    Please support my work, it's very important! Thanks
    DONATIONS

    Regards !​


    XDA:DevDB Information
    LineageOS, ROM for the Huawei P8lite/P8 Lite

    Contributors
    DarkJoker360
    Source Code: https://github.com/DarkJoker360

    ROM OS Version: 8.x Oreo
    ROM Kernel: Linux 4.x
    ROM Firmware Required: Emui 8.x unlocked bootloader and TWRP
    Based On: LineageOS

    Version Information
    Status: Stable
    Current Stable Version: 15.1
    Stable Release Date: 2019-01-04

    Created 2019-01-04
    Last Updated 2019-12-12
    5
    Good news BT issues are fixed on both Android Version (O and P) !
    5
    Hello guys good news, video recording bug is finally fixed get ready for the stablest oreo build !
    5
    New LineageOS 15.1 stable update !

    https%3A%2F%2Fimg.xda-cdn.com%2F2zS0Xzc3uCosCW49VVzhs1P7L9A%3D%2Fhttp%253A%252F%252Fwww.androidblog.it%252Fwp-content%252Fuploads%252F2018%252F02%252FLineageOS-15.1-620x311.png


    Changelog
    Code:
    [CENTER]* February 2019 security patches
    * Based on LineageOS 15.1 code of 09 March 2019
    * Fixed photo with flash darker
    * Switched to Google media codecs
    * Fixed frontal camera lags on some apps EDIT: lags are reduced to the minimum on kirin 655, on kirin 659 is fully fixed
    * Added new stock media codecs[/CENTER]
    NOTE: It is better to don' t use latest magisk builds as them can maybe crash
    Check OP for more info and downloads !

    Announcement: Starting from now I want to provide security patches updates with some minor fixes to LineageOS 15.1 and I want to start with LineageOS 16.0. And yes I am dropping support of AEX,Aosp,PE and other treble roms for hi6250, maybe one day I can resume the support of them.

    5
    February build - status update for my findings on this ROM

    Here is my update with latest ROM from February (see post #290).

    Issue #1: uSD card formated as internal storage doesn't come up (mount) early enough, causing issues with missing storage
    UPDATE with new ROM build: no change with the new ROM. Since the SD card is formatted as internal storage, it is encrypted as base Android security requirement.
    I am not an Android specialist but I think the SD card (or at least part of it) is encrypted with a key that belongs to the user. I suspect that only when the user "logs on" (i.e. first unlocks the phone after power-on or reboot), will the key be made available, which is done in // with the initialization of the user session.
    Therefore, many applications set as "autostart" will not be available, or have (part of) their resources / user data unavailable, until the "mount with decryption" part of the uSD card bringup has been completed.
    So if my theory holds true, unless a significant change is made to LineageOS sources, I suspect nothing can be done.
    I guess I will simply wait for uSD card to mount after a (re)boot + unlock, and deal with a few FCs in the meantime.​

    Issue #2: Second SIM card PIN code request at boot gets killed and has to be triggered again manually
    UPDATE with new ROM build: I got frustrated with this issue in previous ROM build, I just deactivated both SIM card PIN codes. I don't know if the issue has persisted or not in the latest ROM build.​

    Issue #3: Fingerprint enrollment very difficult compared to EMUI8 (but once enrolled works flawlessly)
    UPDATE with new ROM build: I haven't had to enroll new fingerprints, so I don't know. See issue #6 below.​

    Issue #3.1: Surprising finding of '=' character when unlocking via fingerprint
    UPDATE with new ROM build: this strange behavior seems to have disappeared, nice! I haven't done anything on my side that would have solved the issue so I guess this is solved by the new ROM build itself.​

    Issue #4: No sound when playing music in default music player nor Musicolet (from Play Store)
    UPDATE with new ROM build: not tried yet. Will provide update next time I try listening to music, if anybody interested.​

    Issue #5: Local SIM card seems to be detected as foreign SIM card
    UPDATE with new ROM build: issue remains, but it is hard to characterize. Note that the issue didn't happen in EMUI8, it is something I have only had with this ROM (January build and February build).
    I have 2 SIM cards: LEBARA France and LycaMobile Switzerland.
    When I am in Switzerland, LEBARA SIM detected as roaming (OK) and LycaMobile SIM detected as roaming (NOT OK)
    When I am in France, LEBARA SIM detected as not roaming (OK) and LycaMobile SIM detected as roaming (OK)
    So there is something special about the LycaMobile Switzerland SIM/operator which LineageOS can't interpret correctly (EMUI8 did flawlessly).​

    Issue #6: NEWLY REPORTED - old EMUI8 fingerprints still able to unlock the phone and impossible to delete!
    Description: an issue found in January build already, still present with February build, is that the previously registered fingerprints (in EMUI8) still work. I have tried everything I could, including deleting fingerprint database files under /data/system/user/* (don't do that! I lost all content of SD card due to issue 1 behavior of storing per-user decryption key). Those fingerprints are not visible in the fingerprint enrollment UI, but they can successfully be used for unlocking the phone...
    Consequence: don't leave your phone locked near your ex-girlfriend if she had access to your phone previously (fingerprint enrolled) even if you have tried wiping the fingerprints, hoping that by starting over again with a different ROM and a full wipe they would disappear...​

    Issue #7: NEW - OpenGApps version
    Description: In a previous post, I explained how I had to follow an advice to flash old OpenGApps 20190913 as the recent .zip didn't detect the architecture (arm vs arm64 vs x86 & Android version) correctly. Well, that didn't work with February build and here is how I got it working (surely not the most straightforward way): when I got the notification about new February build for this ROM:
    -I installed (via menu, it rebooted in TWRP etc).
    -After reboot, phone was completely unusable (bootloop) and rebooted into Huawei's recovery (TWRP was killed by update) and asked me to Factory reset the phone, argh.
    -I flashed Askuccio's TWRP again and wiped Cache / Dalvik Cache, no better
    -I flashed OpenGApps 20190913, phone booted but was unable to start completely (no bootloop)
    -Rebooted in TWRP, wiped Cache & Dalvik Cache, flashed OpenGApps 20200215, wiped Cache & Dalvik Cache again - note that this time, recent OpenGApps installer worked, no wrong detection, which is good news!
    -Phone booted okay with lots of FC in Google Apps, but still it booted. Play Store not starting. All non-Google apps were working, but lots of FC notifications from Google Apps. In particular, Youtube and Gmail kept crashing every few seconds
    -Removed Youtube and Gmail via Settings -> Applications, less FCs, Play Store still not working, sideloaded Gmail from APKMirror, Gmail & Play Store working again
    -Had to wait a few days for Play Store updating Youtube for Youtube to work again.

    Consequence: Phone difficult to use, probably due to OpenGApps versions of some apps > previously installed updates​

    Since I got no answer or comment on my previous posts, I am not sure if in the future I will post such status information. I am not complaining, and not taking offense, but since it takes some time to write this, I may continue to do that as a service to the community (my contribution), only if it is considered useful.

    ---------- Post added at 05:12 PM ---------- Previous post was at 05:09 PM ----------

    Hi. I have a problem using your rom on PRA-LX1. Sometimes my SIM goes off and canot goes on. I have to restart phone to get SIM working again.
    Take a look at attachements. One is screenshot when it happend, second is log from network monitor app.
    Is there any simply solution to solve this problem?

    I had this when I was using dual-SIM, with PIN code on both SIM: sometimes, even after booting and logging successfully, one SIM card "disappeared" apparently without reason. Since I removed PIN code on both SIM (reducing security in case something steals my phone), both SIM cards seem to work flawlessly.