• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][prague][11] LineageOS 18.1 for Huawei P8 Lite 2017

Search This thread

m3nda

Member
Oct 22, 2014
20
0
NFC not working on mine.
Doesn't matter how many times did I flash the NFC_Fix.zip.

What I am doing wrong?
 

speedson

Senior Member
Oct 10, 2016
236
51
my own little microcosmos
Unfortunaly still not working :(

I noticed someone else had same issue

@sdkyron did you manage to get the rom flashed?

I'm trying on different laptop with different OS and different cable to see if it helps..
Will let you know.

EDIT: 3rd attempt still the same issue, seems like there is really something wrong..

do you think this rom can be flashed directly from TWRP instead as from fastboot commands?
I wonder if it could solve my issue ..
Hi...
after unlock bootloader and frp...did you flash twrp? did you next decrypt the phone and the next steps that must be done...before you flashed the custom rom!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


You find many step by step tutorials in this forum.

I bet that would solved your issue ;)

solong
speedson
 

SquallDNA

Senior Member
Mar 1, 2012
80
4
Is VOLTE working? Or is VoLTE added as feature? I managed to enable the switch for VoLTE on my Huawei Gr3 2017 PRA LX2. But I still cant make any call using Volte.
 
Last edited:

mutonic

Senior Member
Feb 17, 2012
51
14
Hi...
after unlock bootloader and frp...did you flash twrp? did you next decrypt the phone and the next steps that must be done...before you flashed the custom rom!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


You find many step by step tutorials in this forum.

I bet that would solved your issue ;)

solong
speedson
I've followed all steps carefully but each time I get the error I mentionned before (see post #233).

After getting this error, the system partition is messed up and I cannot do anything on the phone except reverting to stock rom using huawei erecovery tool.

I've tried 4 times, with everytime the same result :(. I don't think this is due to a mistake, as others had the same problem :
- post #226
- or this one #188

I am a bit out of solutions now...
The only thing I didn't try is flashing through TWRP instead as from command line.

Does anyone know if this method could work?

Edit: my stock version (410):
 
Last edited:

SquallDNA

Senior Member
Mar 1, 2012
80
4
I've followed all steps carefully but each time I get the error I mentionned before (see post #233).

After getting this error, the system partition is messed up and I cannot do anything on the phone except reverting to stock rom using huawei erecovery tool.

I've tried 4 times, with everytime the same result :(. I don't think this is due to a mistake, as others had the same problem :
- post #226
- or this one #188

I am a bit out of solutions now...
The only thing I didn't try is flashing through TWRP instead as from command line.

Does anyone know if this method could work?
i think im on the same route as you. Im currently downloading PRA-LX2 8.0.0.383 via erecovery, because i also had the invalid sparse error. My device is GR3 2017, they say its the same device as P8 lite 2017. therefore im following this thread.

the main reason im installing this ROM is so i can enable VOLTE. Please someone tell me that this is all worth a try?
 

AltairFR

Senior Member
Apr 22, 2021
211
116
Huawei P8lite/P8 Lite
Huawei P8
NFC not working on mine.
Doesn't matter how many times did I flash the NFC_Fix.zip.

What I am doing wrong
Wipe data and cache. Do you have test Altaïr fix for NFC ?
I've followed all steps carefully but each time I get the error I mentionned before (see post #233).

After getting this error, the system partition is messed up and I cannot do anything on the phone except reverting to stock rom using huawei erecovery tool.

I've tried 4 times, with everytime the same result :(. I don't think this is due to a mistake, as others had the same problem :
- post #226
- or this one #188

I am a bit out of solutions now...
The only thing I didn't try is flashing through TWRP instead as from command line.

Does anyone know if this method could work?
Sometime flash failed with a old version of fastboot executable. Do you have 2021 version ?
 

mutonic

Senior Member
Feb 17, 2012
51
14
i think im on the same route as you. Im currently downloading PRA-LX2 8.0.0.383 via erecovery, because i also had the invalid sparse error. My device is GR3 2017, they say its the same device as P8 lite 2017. therefore im following this thread.

the main reason im installing this ROM is so i can enable VOLTE. Please someone tell me that this is all worth a try?
Thanks for letting me know,
I'm installing the rom to remove all huawei bloatware... and overcome space limitations on stock.
Also getting privacy focused ROM with lineageOS as I'm degooglising all my devices.

I suspect also a version of EMUI being too recent don't know yet how to downgrade it though..
 
  • Like
Reactions: SquallDNA

mutonic

Senior Member
Feb 17, 2012
51
14
Sometime flash failed with a old version of fastboot executable. Do you have 2021 version ?
I've tried with these version:

linux:
Code:
~ % fastboot --version
fastboot version 31.0.2-android-tools
Installed as /usr/bin/fastboot

windows:
Code:
$ ./Downloads/scrcpy-win64-v1.19/fastboot.exe --version
fastboot version 29.0.5-5949299
Installed as C:\Users\Etienne\Downloads\scrcpy-win64-v1.19\fastboot.exe
 

SquallDNA

Senior Member
Mar 1, 2012
80
4
I've tried with these version:

linux:
Code:
~ % fastboot --version
fastboot version 31.0.2-android-tools
Installed as /usr/bin/fastboot

windows:
Code:
$ ./Downloads/scrcpy-win64-v1.19/fastboot.exe --version
fastboot version 29.0.5-5949299
Installed as C:\Users\Etienne\Downloads\scrcpy-win64-v1.19\fastboot.exe
Any update on your end?

I tried flashing 3 times already with the same result. It's difficult coming back to emui stock because i have to redownload via erecovery, and download speed takes 4 to 5 hours. I did have a backup but cant restore. Getting stock at vendor restore..anyway, i even tried to flash via Twrp but it didn't work.. my fastboot version is newer than yours..

Just to clarify, the system.img mentioned in the instructions, thats the one extracted from the .xz file right?
 

AltairFR

Senior Member
Apr 22, 2021
211
116
Huawei P8lite/P8 Lite
Huawei P8
Je vais te passer ma procédure complète qui évite de passer par un download e-recovery et qui surtout va corriger ton problème de fastboot. Si tu télécharges a chaque fois via le e-recovery c'est sur que cela fonctionne pas car il télécharge la dernière version de emui qui n'est pas compatible 😂
 
  • Like
Reactions: mutonic

SquallDNA

Senior Member
Mar 1, 2012
80
4
Je vais te passer ma procédure complète qui évite de passer par un download e-recovery et qui surtout va corriger ton problème de fastboot. Si tu télécharges a chaque fois via le e-recovery c'est sur que cela fonctionne pas car il télécharge la dernière version de emui qui n'est pas compatible 😂
So stock firmware .383 is not compatible with lineage 18.1? Per 2nd post though, it says that its compatible between firmware 8.0.0.360 to .400.. that's confusing. 😄
Anyway, that's very nice of you if you can assist us. Thank you.
 

Top Liked Posts

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

    2okPze5.png


    LineageOS 18.1 for Huawei P8 Lite 2017

    *** Stable Version ***

    About
    LineageOS is a free, community built, aftermarket firmware distribution of Android 11, 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. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.



    Working
    * Touchscreen
    * Audio
    * Boot
    * Bluethoot
    * Internal/External storage
    * Mtp / Adb
    * Sensors
    * Wifi
    * RIL
    * Camera
    * NFC
    * FP gestures​


    Not Working


    NOTE: The signal icon is buggy due to Huawei weird ril implementation, I am still looking to fix it over the new Android 10-11 telephony changes.

    Installation
    * you must have TWRP installed, use this one (make sure to have the unofficial Android 11 one ! )
    WARNING: You must be decrypted before installing it otherwise it won't boot. (Read second post.)
    * go to TWRP
    * format data
    * reboot to TWRP again
    * do a full wipe (system, data, cache, dalvik/art cache) !
    * reboot to bootloader
    * extract LineageOS 18.1
    * run: fastboot flash system <drag system.img here>
    * reboot to TWRP
    * resize system
    * flash gapps (optional)
    * flash NFC.zip
    NOTE: this zip is needed for having working NFC. DO NOT IGNORE IT !
    * reboot to System
    * Enjoy !!!​


    Update
    * reboot to TWRP and do a wipe cache, dalvik/art cache
    * reboot to bootloader
    * extract LineageOS 18.1
    * run: fastboot flash system <drag system.img here>
    * reboot to TWRP
    * resize system
    * flash gapps (optional)
    * flash NFC.zip
    NOTE: this zip is needed for having working NFC. DO NOT IGNORE IT !
    * reboot to System
    * Enjoy !!!​


    If you are getting Error 70 while flashing gapps just resize system from TWRP !
    If gapps are giving network errors or other kind of errors install them after first boot !

    Download



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

    Regards !
    14
    New LineageOS 18.1 update

    Changelog
    * Synced with latest LineageOS 18.1 source code
    * Merged June 2021 security patches
    * Fixed headphones crackling audio
    * Removed buggy AudioFX
    * Fixed random /data corruption
    * Fixed BasicIntegrity

    Check OP for more info and downloads !

    Donations
    Support Group
    9
    New LineageOS 18.1 update

    Changelog
    * Synced with latest LineageOS 18.1 source code
    * Merged July 2021 security patches
    * Fixed styles/overlays reset at boot
    * Fixed ui lags
    * Used proper gpu drivers
    * Fixed graphics artifacts and glitches on some apps
    * Fixed lags while using screenrecorder
    * Performance improvements
    * Fixed some BLE issues

    Check OP for more info and downloads !

    Donations
    Support Group
    7
    NOTES
    * For rooting with magisk use this.
    * If you face corrupted storage issues you need to go back on emui and re-install the rom or fastboot erase userdata + twrp format data.
    * I recommend NikGapps core with SetupWizard add-on.
    * Use 8.0.0.360 or maximum .400 firmware for booting the rom.
    * Gapps can may give "Uncertified device" error and abort the google account login, use this guide to fix it (thanks to @latviandude )
    * If you want VoLTE/Wifi Calling working flash this zip

    ** You must be decrypted for booting this rom **
    Before following the installation steps format data and flash this file via TWRP.

    Changelog from initial build
    *
    Fixed offline charger for all devices
    * Fixed gapps uncertified error
    * Improved performance
    * Fixed animations janks and lags

    Useful links
    My telegram channel
    HI6250 support group
    5
    Updated decrypt zip to work on latest recoveries !
    Download