• 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][10] LineageOS 17.1 for Huawei P8 Lite 2017

Status
Not open for further replies.

DarkJoker360

Recognized Developer / Recognized Contributor
Oct 20, 2015
2,520
3,318
113
18
Aradeo
Hi,



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
 

ronnie92

Member
Mar 5, 2020
13
1
3
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,520
3,318
113
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
3
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
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
4
0
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
3
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
4
0
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
3
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.