[ROM][10] LineageOS 17.1 for Huawei P8 Lite 2017

Status
Not open for further replies.
Search This thread

DarkJoker360

Recognized Developer / Recognized Contributor
Oct 20, 2015
2,603
3,578
18
Aradeo
Hi,

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


LineageOS 17.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
* Android 10 gestures
* NFC
* FP gestures
[/CENTER]

Not Working
Code:
[CENTER]* Offline charge (It works by switching to permissive selinux)
[/CENTER]

Installation
Code:
[CENTER]* you must also have this recovery version installed :  [URL="https://forum.xda-developers.com/p10-lite/development/recovery-twrp-huawei-p10-lite-t3953890"]TWRP[/URL]
* go to TWRP  and do a full wipe (system, data, cache, dalvik/art cache) !
* reboot to bootloader
* extract Lineage.zip
* run: fastboot flash system <drag system.img here>
* reboot to TWRP
* reboot to TWRP
* flash gapps(optional) 
* flash root(optional)
* flash los_patches_prague.zip
NOTE: this zip is needed for having a working build. DO NOT IGNORE IT !
* reboot system
* Enjoy !!![/CENTER]

Update
Code:
[CENTER]* extract the new update of AOSP
* reboot device to :  TWRP
* wipe cache, dalvik cache and system
* reboot to bootloader
* extract Lineage.zip
* run: fastboot flash system <drag system.img here>
* reboot to TWRP
* install gapps(optional, needed it you previously had it)
* install los_patches_prague.zip
* NOTE: this zip is needed for having a working build. DO NOT IGNORE IT !
* reboot to System
* Enjoy !!![/CENTER]

Download
Code:
[CENTER][URL="https://sourceforge.net/projects/darkjoker360-developements/files/Huawei/P8%20Lite%202017/Android-10/LineageOS/"]LineageOS 17.1 and los_patches_prague[/URL]
[URL="https://opengapps.org/"]Gapps[/URL]
[URL="https://forum.xda-developers.com/attachment.php?attachmentid=4882825&d=1574332554"]Magisk Phh v19.3[/URL][/CENTER]

Credits:
@phhusson
@Flex1911
@haky 86
@DIl3mm4
@Hami_Do

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: http://github.com/DarkJoker360

ROM OS Version: Android 10
ROM Kernel: Linux 4.x
ROM Firmware Required: Emui 8.x with Unlocked bootloader and TWRP installed
Based On: LineageOS

Version Information
Status: Stable
Current Stable Version: 17.1
Stable Release Date: 2020-03-09

Created 2020-03-09
Last Updated 2020-03-09
 

DarkJoker360

Recognized Developer / Recognized Contributor
Oct 20, 2015
2,603
3,578
18
Aradeo
** Reserved **

NOTE: If get error 70 while flashing gapps resize system in TWRP !

Screenshots
 

Attachments

  • Screenshot_20200309-125638_Impostazioni.png
    Screenshot_20200309-125638_Impostazioni.png
    138 KB · Views: 4,862
  • IMG_20200308_221241_834.jpg
    IMG_20200308_221241_834.jpg
    84.9 KB · Views: 4,859
Last edited:
  • Like
Reactions: ronnie92

ronnie92

Member
Mar 5, 2020
13
1
help me plz

I need help please, I am novice to installing custom rom :confused:.
When I install a custom rom on my phone p8 lite 2017 (I try DarkJoker360 AOSP 10 and [ROM] [10] LineageOS 17.1) I have a problem with the storage , installation of certain google play application , when open camera have message "insertsd card before using camera" and my files in my phone no longer look like anything I have known with the original rom, no music, dcim, download folder ...) see my screenshot.
edit:
impossible to put link or image because I am new on the forum
htt ps ://w w w.zupimages.net/viewer.php?id=20/11/68ke.jpg
htt ps ://w w w.zupimages.net/viewer.php?id=20/11/bum7.jpg
htt ps ://w w w.zupimages.net/viewer.php?id=20/11/ydye.jpg
htt ps ://w w w.zupimages.net/viewer.php?id=20/11/qnl3.jpg
htt ps ://w w w.zupimages.net/viewer.php?id=20/11/utmn.jpg
htt ps ://w w w.zupimages.net/viewer.php?id=20/11/n4sl.jpg
remove any space and sorry for bypasses forum lock
 
Last edited:

DarkJoker360

Recognized Developer / Recognized Contributor
Oct 20, 2015
2,603
3,578
18
Aradeo
short question,can we flash only via ADB fasboot and when yes, why?Thanx.
Because on Android 10 the zip file is not compatible with our TWRPs and it is giving flashing errors or bootloops for some. Also you can flash as img through TWRPs.


I need help please, I am novice to installing custom rom :confused:.
When I install a custom rom on my phone p8 lite 2017 (I try DarkJoker360 AOSP 10 and [ROM] [10] LineageOS 17.1) I have a problem with the storage , installation of certain google play application , when open camera have message "insertsd card before using camera" and my files in my phone no longer look like anything I have known with the original rom, no music, dcim, download folder ...) see my screenshot.
edit:
impossible to put link or image because I am new on the forum
htt ps ://w w w.zupimages.net/viewer.php?id=20/11/68ke.jpg
htt ps ://w w w.zupimages.net/viewer.php?id=20/11/bum7.jpg
htt ps ://w w w.zupimages.net/viewer.php?id=20/11/ydye.jpg
htt ps ://w w w.zupimages.net/viewer.php?id=20/11/qnl3.jpg
htt ps ://w w w.zupimages.net/viewer.php?id=20/11/utmn.jpg
htt ps ://w w w.zupimages.net/viewer.php?id=20/11/n4sl.jpg
remove any space and sorry for bypasses forum lock
Go back to emui, decrypt and reflash all.


y square icons?
You can change shapes, I used it in mt personal setup only.
 

ronnie92

Member
Mar 5, 2020
13
1
Because on Android 10 the zip file is not compatible with our TWRPs and it is giving flashing errors or bootloops for some. Also you can flash as img through TWRPs.



Go back to emui, decrypt and reflash all.



You can change shapes, I used it in mt personal setup only.

Go back to emui, decrypt and reflash all???
how i do that? sry i am novice where i decrypt ? emui is huawei erecovery menu ?
 
Last edited:

Chueven

Member
Jul 24, 2018
30
0
just installed this rom after repairing my display and replacing the battery. The rom is smooth and don't seem to have problems till now.
The only thing i noticed is the fingerprint doesn't work.. but i can't say if it's a my problem, i could've attached bad the flat cable.
 

karas1que

Member
Jan 17, 2018
13
6
Successfuly installed this ROM on clear emui 8.0 honor 6x 4/64.But after install all thing I installed stock recovery and wiped cache and do factory reset
 

ronnie92

Member
Mar 5, 2020
13
1
rm -rf process ended with error:1

Check AIO thread in this section.

I followed this post https://forum.xda-developers.com/showpost.php?p=76985321&postcount=6 for decrypt but when i want delete "fstab.hi6250" for remplace with fstab.hi6250 (modified with delete line ,fileencryption=aes-256-xts:aes-256-cts) i have error in trwp "rm -rf process ended with error:1" or "cp"/external_sd/fstab.hi6250" "/vendor/etc" process ended with error:1" when copy
somebody have solution ?
edit: resolved with wipe data in twrp ( when wipe data twrp uncrypt system )
 
Last edited:

karas1que

Member
Jan 17, 2018
13
6
Can you post step by step you did? Please

Installed emui 8 with hwota
installed darkjoker twrp
did full wipe
installed system image through fastboot
tried to boot but got bootloop
installed stock recovery and wipe cache partition, tried to do factory reset but got error
successfully boot into rom
again installed darkjoker twrp
 
  • Like
Reactions: Alex19Gam

ronnie92

Member
Mar 5, 2020
13
1
for hi256 best rom is stock
on custom rom you dont have full power of battery
or other problems..
back to stock rom and enjoy ...
i have p8 lite 2017
this is my first custom rom that i install i have no problem can be a slight higher battery consumption compared to the original huawei rom
 
Status
Not open for further replies.

Top Liked Posts

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

    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


    LineageOS 17.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
    * Android 10 gestures
    * NFC
    * FP gestures
    [/CENTER]

    Not Working
    Code:
    [CENTER]* Offline charge (It works by switching to permissive selinux)
    [/CENTER]

    Installation
    Code:
    [CENTER]* you must also have this recovery version installed :  [URL="https://forum.xda-developers.com/p10-lite/development/recovery-twrp-huawei-p10-lite-t3953890"]TWRP[/URL]
    * go to TWRP  and do a full wipe (system, data, cache, dalvik/art cache) !
    * reboot to bootloader
    * extract Lineage.zip
    * run: fastboot flash system <drag system.img here>
    * reboot to TWRP
    * reboot to TWRP
    * flash gapps(optional) 
    * flash root(optional)
    * flash los_patches_prague.zip
    NOTE: this zip is needed for having a working build. DO NOT IGNORE IT !
    * reboot system
    * Enjoy !!![/CENTER]

    Update
    Code:
    [CENTER]* extract the new update of AOSP
    * reboot device to :  TWRP
    * wipe cache, dalvik cache and system
    * reboot to bootloader
    * extract Lineage.zip
    * run: fastboot flash system <drag system.img here>
    * reboot to TWRP
    * install gapps(optional, needed it you previously had it)
    * install los_patches_prague.zip
    * NOTE: this zip is needed for having a working build. DO NOT IGNORE IT !
    * reboot to System
    * Enjoy !!![/CENTER]

    Download
    Code:
    [CENTER][URL="https://sourceforge.net/projects/darkjoker360-developements/files/Huawei/P8%20Lite%202017/Android-10/LineageOS/"]LineageOS 17.1 and los_patches_prague[/URL]
    [URL="https://opengapps.org/"]Gapps[/URL]
    [URL="https://forum.xda-developers.com/attachment.php?attachmentid=4882825&d=1574332554"]Magisk Phh v19.3[/URL][/CENTER]

    Credits:
    @phhusson
    @Flex1911
    @haky 86
    @DIl3mm4
    @Hami_Do

    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: http://github.com/DarkJoker360

    ROM OS Version: Android 10
    ROM Kernel: Linux 4.x
    ROM Firmware Required: Emui 8.x with Unlocked bootloader and TWRP installed
    Based On: LineageOS

    Version Information
    Status: Stable
    Current Stable Version: 17.1
    Stable Release Date: 2020-03-09

    Created 2020-03-09
    Last Updated 2020-03-09
    7
    How can there be such awesome people? It works in my Honor 6X! And it's fully de-googled man this is just perfect! Thank you very much for this...

    These are the steps (thanks @DunoCZ) I followed if an Honor 6X user want to install this ROM:
    - *Upgrade to EMUI 8!*
    - *Remove the saved fingerprints and Google Accounts just in case*
    - Flash the TWRP recovery from @Dil3mm4
    - Format cache, dalvik cache, data and system: TWRP -> Wipe -> Advanced Wipe
    - Flash the ROM via TWRP (you can try with fastboot but it already works with TWRP): TWRP -> Install -> Install Image
    - Resize the system partition: TWRP -> Wipe -> Advanced Wipe -> System -> Resize (DO NOT FORMAT!)
    - (Optional) Install GApps, Magisk
    - (Required) Install patch
    - Reboot and wait
    5
    The most craziest thing I have ever read on this forum, keep using that outdated emui then.
    5
    A good news guys, offline charging has been fixed !
    3
    Hi everyone,
    A few days ago, I tried to install this ROM but I ran into a lot of issues: System UI constantly crashing, random reboots,... but I found a workaround. Here's how I successfully flashed this ROM :
    • Unlock the bootloader with DC-Unlocker as Huawei stopped giving bootloader codes (it is a paid service).
    • Copy the files provided by DarkJoker360 (the ROM and the patches) to your SD card.
    • Flash DarkJoker360's TWRP and reboot to recovery to wipe cache, Dalvik/ART cache, system, data partitions and to decrypt the data partition.
    • Then, reboot to bootloader and flash Dil3mm'4s TWRP.
    • Reboot to recovery and directly install the ROM from the recovery and not from fastboot. Go to Install > *where you put the ROM files*. First, install system.img (do not forget to click on "Install Image" to see the system.img file). Then, install the patch, GApps, and Magisk (Google Apps and Magisk are optional).
    • Reboot to system.

    Your phone should now be running LineageOS 17.1 without a hitch. I also enabled Adoptable Storage by following these instructions. This ROM works pretty well but the battery only lasts half a day now. I'll try to fix that later.

    Hope this post helps you. :good:
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