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

Status
Not open for further replies.
Search This thread
Oct 14, 2014
18
3
I got this working. Leaving the procedure I followed for others:
(Check prerequisites like unlocking the bootloader)
1. Flash the stock recovery (called stockoreo.img, just search for it in the forum) using fastboot.
2. Go into recovery, factory reset and clear cache.
3. Flash Dil3mm4's TWRP.
4. Proceed with the Original Post (I did not install gapps).

Wow ! I tried everything, I had bootloop, system ui crashing every 2 second, all the problems in this thread... until I read your message and guess what? it worked!!! thank you so much @royalford for this working workaround and thanks @DarkJoker360 for all your effort to make our PRA-LX1 still alive!

Btw, if you need some free coffee, don't hesitate to fix your "donate to me" button, it is not working ;)
 

Vairetz

Member
Feb 7, 2018
6
0
Huawei P9 Lite

Hi guys, I'm looking for a Linerage OS 17 or higher for Huawei P9 Lite. Is it possible to use that or I need a specific ROM? Maybe a P9 ROM is it ok?
 

DunoCZ

Senior Member
Feb 21, 2016
184
49
Hi guys, I'm looking for a Linerage OS 17 or higher for Huawei P9 Lite. Is it possible to use that or I need a specific ROM? Maybe a P9 ROM is it ok?

Eeh... P9 lite and P9 lite 2017 are totally different phones, so simply no because treble is not available on P9 lite....
P9 lite have Kirin 650 and 2017 edition have Kirin 655 and fun fact, this phone is wrongly named as P8 lite 2017, this phone had been released specially for Czech Republic (reason for codename 'prague' that's our capital city) and Huawei released it anyway to others but because it wasn't good enought as refresh of P9 they named it as P8. So everyone this phone is not P8 but in fact P9 and also Huawei for wierd reason didn't released in Czech Republic 32GB version.
 
Last edited:
  • Like
Reactions: -CALIBAN666-

Vairetz

Member
Feb 7, 2018
6
0
Eeh... P9 lite and P9 lite 2017 are totally different phones, so simply no because treble is not available on P9 lite....
P9 lite have Kirin 650 and 2017 edition have Kirin 655 and fun fact, this phone is wrongly named as P8 lite 2017, this phone had been released specially for Czech Republic (reason for codename 'prague' that's our capital city) and Huawei released it anyway to others but because it wasn't good enought as refresh of P9 they named it as P8. So everyone this phone is not P8 but in fact P9 and also Huawei for wierd reason didn't released in Czech Republic 32GB version.

This is a very bad news, I tried LOS 17 on my old Moto G 2014 and now I can't use a phone without this ROM. :D
 

DunoCZ

Senior Member
Feb 21, 2016
184
49
This is a very bad news, I tried LOS 17 on my old Moto G 2014 and now I can't use a phone without this ROM. :D

In theoretical way if P9 lite have Oreo custom rom it could theoritically convert phone to GSI enabled so maybe it could work but seriously idk, if this phone isn't your daily driver it's worth to try.
 

DunoCZ

Senior Member
Feb 21, 2016
184
49
Nearly no customizations possible @ this rom. I switched back to AOSPE Pie (best rom EVER on this phone).
Seems like i have to buy a new phone for Android 10 or 11 to get a nice UI... ;-(

Yep it makes me kinda sad too, probably I will use some other rom like Havoc or Evolution X or RR and making it usable, because DarkJoker360 also didn't make any update to this rom so....
 

France079

New member
Jun 19, 2018
4
1
Just use DC unlocker, download DC unlocker on playstore for your phone and download the software for pc. On your phone install and open apk and create an account (it cost me R60.88 south African carency you get 4 credits. They give you a user name and password ) now goto to pc and open the software (DC unlocked) goto service put user name and password than goto unlock and then read unlock bootloader they give u in less than a minute. But make sure you phone in supported mine is Huawei p8 lite 2017 running Android 8.0
 
  • Like
Reactions: hamedsolo

Lar1s

Member
Jul 22, 2019
6
0
gps

gps is not working, finds satellites, but does not use them, shows the location only on the Internet but stands still while driving
 

royalford

Member
May 27, 2020
13
3
gps is not working, finds satellites, but does not use them, shows the location only on the Internet but stands still while driving

What app are you using?
I downloaded osmand and also thought I have an issue. but it was just matter of time.
It only starts showing the location after I spend few minutes outside.
Did you try to change the app?
 

Lar1s

Member
Jul 22, 2019
6
0
What app are you using?
I downloaded osmand and also thought I have an issue. but it was just matter of time.
It only starts showing the location after I spend few minutes outside.
Did you try to change the app?
I use Yandex maps, shows the position only with the Internet enabled,
And in the gps test app it says this

https://ibb.co/P1tfY3w
https://ibb.co/yYjb9Ht
https://ibb.co/tQ2Q1Hc
https://ibb.co/VH3n5vT
https://ibb.co/pvHk27V
https://ibb.co/cvnprgW
https://ibb.co/k9cvnHP

I have tried both Google maps and waze with offline maps, does not detect my location without the Internet
Now I use aosp from darkjoker the situation is the same
I tried to find out what you suggested and nothing happened

https://ibb.co/QvkkL1f

On stock firmware, gps connects to satellites and shows my location, I don't want to leave on 7.1.2 Android
 
Last edited:

FortMike

Member
Jun 18, 2016
43
4
Guys, this ROM is very far from being used daily. There are A TON of bugs and unfortunately it seems that the developer has abandoned this project. My advice is to not use this ROM, stay stock or use any other rom for your device
 

haky 86

Recognized Contributor
Oct 5, 2012
3,771
7,695
Guys, this ROM is very far from being used daily. There are A TON of bugs and unfortunately it seems that the developer has abandoned this project. My advice is to not use this ROM, stay stock or use any other rom for your device

this platform survive too much for me.
 
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://xdaforums.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://xdaforums.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: