• 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 P10 Lite

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 P10 Lite

*** 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_warsaw.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_warsaw.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/P10%20Lite/Android-10/LineageOS/"]LineageOS 17.1 and los_patches_warsaw[/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 P10 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
 

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.
 

DarkJoker360

Recognized Developer / Recognized Contributor
Oct 20, 2015
2,520
3,318
113
18
Aradeo
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.
Here it is working as expected.
 

popescucr

Member
Jan 19, 2019
5
0
0
Why all roms for p10 lite have Magisk 19.3 and not latest version? And everyone recommend against updating.

Does your version of Lineage support microG?
 

Minecrafted

Member
May 10, 2018
18
2
0
Thanks!

You said fingerprint gestures work, but does fingerprint work for unclocking the phone? That is the one thing I need to know before installing. Great work though!
 

DarkJoker360

Recognized Developer / Recognized Contributor
Oct 20, 2015
2,520
3,318
113
18
Aradeo
Why all roms for p10 lite have Magisk 19.3 and not latest version? And everyone recommend against updating.

Does your version of Lineage support microG?
No

You said fingerprint gestures work, but does fingerprint work for unclocking the phone? That is the one thing I need to know before installing. Great work though!
Yes


A good news guys, offline charging has been fixed !
 

Attachments

csoller

Senior Member
Nov 16, 2008
113
12
18
Hi, ive been stuck at installing open gapps.
I get eror 70 insufficent storage space on /system.
I used pico package.
I have WAS-LX1 32GB.

I saw someone had this problem in the aosp thread, and the solution is repartitioning system. Any help on how to do it the safe way?

Thanks!
 
Last edited:

csoller

Senior Member
Nov 16, 2008
113
12
18
In TWRP

Wipe> advanced>click on system and click in repair or change> resize system> swipe
Thats where I checked. :confused:
I only have change file system, I have no resize file system, or repair file system. The buttons are missing. If i select data, its there...

I am using your twrp, should i use the other one?
 
Last edited:

DarkJoker360

Recognized Developer / Recognized Contributor
Oct 20, 2015
2,520
3,318
113
18
Aradeo
Thats where I checked. :confused:
I only have change file system, I have no resize file system, or repair file system. The buttons are missing. If i select data, its there...

I am using your twrp, should i use the other one?
Try with another one, I m fixing that issue...
 

csoller

Senior Member
Nov 16, 2008
113
12
18
Thanks, ill try. Its weird because system partition is already 4.8 GB and only 1800 MB is used. I doubt gapps takes up more than 3 gigs...

If I swype right, wil it ask for a partition size, or it will make up its mind?
 

csoller

Senior Member
Nov 16, 2008
113
12
18
No jt won t ask.
The option isnt present on Pretoriano80s twrp_p10_lite_0.6_test.img either.
Is there another way to resize system?
I still dont get it how 4.8GB isnt enough tho, the system img is 1.7GB the rest is peanuts, shouldnt the whole thing be like 2.5GB max?

Ill try aosp 10, maybe ill have more luck I like how u can just enter into erecovery and download the official base via wifi. So easy this phone. :cool:
 

csoller

Senior Member
Nov 16, 2008
113
12
18
AOSP 10 works great, and I still have 2.7 gigs of free space out of 4.6. I sincerely doubt lineage takes up an extra 2.7 gigs, so I think somethings fishy here. :)

Thanks for the help!
 

ThomasFrab

Member
Mar 9, 2020
6
0
0
Selinux Status Permissive

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

I am struggeling! How can I change the Status to pemissive? I already tried an App, tried to setenforce 0 it via terminal and also flashed an permissive Zip via magisk. 
Pls help me.
 
Status
Not open for further replies.