yashsingh1/xdaforums huggingface dataset:
[P8 Lite (2017) Development] victorcastillab:
Hi,

On post # 238 recomended me the following. To say that still could not tryed it due to my two little boys, too much work and another plans from God that makes me so tiiired :(

---------------------------------------

Use this guide

The complete way to boot a11 on emui8 gsi (prague or warsaw)

Coming from stock emui8

Step 1

1- Install TWRP for Prague (PRA) - version 3.5 or superior (https://twrp.me/huawei/huaweip8lite2017.html)

2- Boot to twrp and make twrp backup ( all available partitions )

3- Wipe system, cache, dalvik/art cache

4- Flash this file 1-Huawei-disk-UnCrypt-v1.2-signed.zip to disable storage encryption or

this file 1-Huawei-disk-Crypt-v1.2-signed.zip to enable it. This two zip change fstab file (vendor partition)

5- Reboot to bootloader

Step 2

1- Flash system img in system image partition with fastboot

cmd : fastboot flash system <drag system.img here>

2- Reboot to TWRP (recovery)

3- Resize system via advanced wipe menu

4- Flash this file 2-Huawei-system-UnCrypt-v1.2-signed.zip to not-allow data encryption or

this file 2-Huawei-system-Crypt-v1.2-signed.zip to allow it

5- (optional) flash patch

1 - Google Apps pico (open_gapps-arm64-11.0-pico-20220215.zip)

2 - Enable AGPS (2 - AGPS-FIX-AltairVendor-v3.3-signed.zip)

5- Reboot to System

6- (optional) install GCamGo (GoogleCamera_2.12.413042791.apk)

Enjoy !!!
[P8 Lite (2017) Development] 1nsan1-T:
Network issue.

Had a 'successful' installation on the first try. I used the quotes because (as it mostly happens for this device with most GSIs I install) I cannot make or receive calls, texts, or run any ussd commands. What could be wrong/is there a possible solution for this recurring issue of mine.

Device: Honor 6x bln 22

Initial state: Stock emui 8.
[P8 Lite (2017) Development] mhmmdysf:
Hello guys, I have an issue at flashing image process. When it start flashing image I get "remote:sparse flash writing failure". What should I do to fix it ?
[P8 Lite (2017) Development] vegetagaru:
hello everyone, dunno if this happened to anyone, i tried to install the rom but it keeps me booting into erecovery already used the "Huawei-Decrypt-Emui_8.zip" file, as well as resizing after flashing rom, the kernel i have instaled is the "Siberia_4.4.302-1.1" and TWRP this one my firmware is the PRA-LX1 8.0.0.363(C33)

anyone had similiar problems ?
[P8 Lite (2017) Development] Marko787:
I have a question. I'm completely new to flashing custom roms. I did some research and it turns out huawei phones are like the worst possible devices for flashing custom roms. I just can't figure out how to unlock the bootloader. How did yall do it?
[P8 Lite (2017) Development] AltairFR:
Use potatoesnv to unlock the phone
[P8 Lite (2017) Development] Marko787:
hi, sorry, no idea what that is, i coudn't find anything about it anywhere
[P8 Lite (2017) Development] AltairFR:
Guide

Download PotatoNV V2.2.1 Tool Unlock Bootloader in-one-click

Download PotatoNV V2.2.1 Tool Unlock Bootloader in-one-click to unlock the bootloader of some Huawei & Honor devices, With a simple interface

huaweiflash.com
[P8 Lite (2017) Development] Marko787:
so i have to short out two points on the motherboard?
[P8 Lite (2017) Development] victorcastillab:
Hi again,

I made another try but neither didn´t work! :(

First of all I missed to say that I had to try with a LOS 17.1 Android 10 room, because with the one from the Link I received the message "the size is bigger....", so I couldn´t flash it. The size I can flash is about 2.11 Gb, and the room from the Link ca. 2.5 Gb. I´ll be greatfull for an idea to this ISSUE / problem.

From another hand I read another posts and tried everything flashing other files before or after the room: Fstab, Decrypt, PRA-FixPreav, but always without succes... :( , with the LOS logo looping all the time until to EMUI´s recovery shows up, and sadly had to spend another extra hour ( at 2:00 pm) to undo and reinstall everything as before it was....

I don´t know what more to do, perhaps I´ll search for another LOS 17.1 room with extra files, and will make another try when my childrens and work will let me do it....

I can´t believe that doesn´t work, some time ago flash another phones was easier than now, and It´s becoming an a personal matter to resolve!!

I´ll be happy again if you could please give me some tips about why it´s looping or failing. In case of it will be helpfull, my phone is an "Huawei P8 Lite 2017 PRA-LX1, compilación C-109, EMUI 8.0.0 and CPU Kirin 655 an RAM 3 Gb.

Thank you so much again!!

Best Regards
[P8 Lite (2017) Development] AltairFR:
Hello .

You have a c109 phone, so I think it's a Spanish (orange) phone. It should be transformed into the European version, C432 because this will allow you to install version 8.0.0.402 which has a system partition of 3Go.

To switch to C432 you just have to flash an oeminfo c432 file under twrp, and then you go to androidhost.ru and download the 8.0.0.402 update for pra-lx1
[P8 Lite (2017) Development] victorcastillab:
Hi Altair,

Million Thanks again, I downloaded files but not sure if were the right ones. Despite of and after some tries, at fourth one (there was 4 zip files into downloaded main zip) it worked but I think into the 393 version (see attached images)

I need to recover myself from this sucessful update, cause due to two little boys and overbook, I have to do this phone-work at late-nights, and it took many hours...

But I'm confident It will work under the 393 version, I'll let you know as soon as I will get it! :)

MUCHAS GRACIAS - THANK you so MUCH again for your help, all users really apreciate it!

Best Regards,

Un saludo
[P8 Lite (2017) Development] Marko787:
Do you think it will work on huawei p9 lite? the devices are the same except the p9 lite has a different rear camera and kirin 650 instead of 655, same gpu, runs emui 5.
[P8 Lite (2017) Development] Oğuz Karagöz:
Hello. I did everything correctly before flash system image but it's doesn't working.

Here is my error:
[P8 Lite (2017) Development] victorcastillab:
Hi, with permission of Altair Fr and as I'm not a guru like him and the others, system seems to don't allow the flash, ¿have you checked if bootloader is unlocked? ¿and from Phone Settings "Depuración / Depuration USB" and "Oem Unlock" are both enable? I read something abour "frp" should be unlocked too. If Yes for unlocked and enable settings, the experts will know the reason.

Best Regards
[P8 Lite (2017) Development] victorcastillab:
Hi vegetagaru,

I have the same issue, can't find a way to install Los on my P8 Lite Pra 2017, I've tried a lot of shoots but all missed :( ... Will ask again...

BR

P.D. On this issue we'll never walk alone...jajaja :p
[P8 Lite (2017) Development] victorcastillab:
Hi again Altair,

I tried again with all my heary but one more time missed the shoot and had to reinstall everything!! :(

Not sure what but or I'm missing something, or I'm doing it wrong. Despite of there is some differents manual-guides, and files to download, the steps I followed are:

0 - Version Emui 0.393 alredy installed

1 - TWRP 3.5.2 alredy installed

2 - by TWRP wipe data, cache, dalvik and system.

3.1 - by TWRP flash "Decrypt Emui 8.0"

3.2 - (some tries I flashed "fstab" instead Uncrypt or Crypt, after 3.1)

4 - by TWRP flash "Los.img"

5 - by TWRP resyze system

6 - by TWRP flash "Magisk"

7.1 - by TWRP flash "Gaps"

7.2 - (flash gaps gaves error of size, so I had to solve it by downloading lower)

8 - by TWRP flash NFC

9 - (as it loops again to Recovery, I tried to flash "fixes files" without success)

I did all the steps rebooting to recovery for each one, and as it didn't work, I changed the order of the steps with same results.

I did not flash a kernel, and reading other people which got it by simply extracting sd-card (not sure if before flashing LOS and putting it again to flash other files), installing fixes files, or gaps, doesn't worked neither for me!

In the meantime I was downloading gaps, I tried again but using LOS 17 Android 10. LOS Logo appears, but backing to the start, screen blinked all the time so I was not able to configure the settings; until the phone decided to restart to Emui. :(

At least I didn't lose TWRP so it was easier do more tries after downloading gaps, this time with LOS 18.

It's ****i** crazy because at this point after multiple tryings, one doesn't know what more to do, to don't have to reinstall Android 8 and restore saved settings and apps😱😱.

I would like to try with the new updated files, but in the meantime could you please:

- check the steps and / or correct them?

- provide the best link with all the neccesary files?

- ¿should I try with an older LOS for example v8, and if it works try to update directly to v11?

- ¿should I uninstall Magisk before the process?

Thank you so much again, and sorry for my questions and the time it's taking! :(

Best Regards

Un saludo.
[P8 Lite (2017) Development] Kurt Krummbein:
... that means, you rebooted to TWRP after every step? Why? In the PO AltairFR tells when to reboot, the steps should be in that sequence and not broken by reboots.

Could you clearify that and the reasons why you do it like that, please.

Ciao

Kurt
[P8 Lite (2017) Development] victorcastillab:
Hi Curt,

Thanks for your prompt Answer, I supposed I did it as far as It wasn't worked at the firsts times, and I'm sure have read about another guys which did it too🤔🤔

So only reboot after LOS flashing, then resyze and flash rest of the files.

And about Magisk, will it be better uninstall before the beginning of the process?

Thanks again!
[P8 Lite (2017) Development] Oğuz Karagöz:
FRP and Bootloader Lock is unlocked and I enabled USB Debbuging and OEM Unlock before installation steps.
[P8 Lite (2017) Development] victorcastillab:
Sometimes happens that despite of on phone screen and / or by "fastboot get oeminfo" appears as Unlocked, it's not really.... It happened to me and was crazy ****... I'm sure another Senior / Expert users can bring you a better solution! 👍🏻
[P8 Lite (2017) Development] AltairFR:
Hello, The first thing to do is to return to the Android 8 huawei version via the dload method (thus via an sd card).

There is no other solution because obviously you have altered some huawei partitions. After you follow the guide I posted on XDA article on LeaOS for emui8.
[P8 Lite (2017) Development] Oğuz Karagöz:
I returned EMUI via eRecovery. Should I install EMUI via dload method?
[P8 Lite (2017) Development] victorcastillab:
Hi Altair and Kurt,

I repeat the process but with files and steps from your xda for Emui 8, and it worked fine! Problem was with Magisk's modules, I removed with a fastboot command, and finally LOs screen appeared and I could configure settings! :)

About Magisk, I installed the Canary versión founded in the same post and worked fine (others versions got into bootloop)

Just one last question about storage, I'm not sure what will be better to get more space, use SD as internal or apps like Force2SD / Link2SD?? What do you recommends me or thinks it's more stable? I supposed that both are compatibles with Magisk, aren't they?

Thank you so much again for your tips and help!!

Best Regards

Un saludo
[P8 Lite (2017) Development] LeSplendide:
Hello just fyi, be sure that fastboot is up to date. I had a similar problem using flatpak fastboot iirc, native apt package worked just fine.
[P8 Lite (2017) Development] victorcastillab:
Hi All again!

Lineage so "for Huawei device Emui 8" was not stable, not sure because I activated Zygisk for hidding Magisk or any other reason, but after some hours phone went back to Emui looping again. Tried again with same result.

But found the solution:

- installed rom's file from this post, but

- used another files and STEPS from

[ROM][Huawei][11] LeaOS - Lineage 18.1 for Huawei device (EMUI 8)

Non-Official Lineage 18.1 for EMUI 8 hi6250 Huawei (prague, mediapad, warsaw, rhone) - LeaOS LeaOS is a project which based on LineageOS 18.1 with Andy Yan's and phhusson's Treble GSI patches. I have added my personnals patches for Huawei...

xdaforums.com

- flashed Magisk Canary v22.php

- flashed latest Magisk.apk v.25.2 ¿?

Don't know why but it worked flashing at the end Magisk v.25.2 apk.

It's much more stable rom but I miss the next (or I can't find):

- option to save photos on SD by default.

- option to select sd as main storage.

- extras like ring-alarm tones, sounds, usw.

Despite of that I find this rom greatful!

Thank you so much for your great work! 👍
[P8 Lite (2017) Development] victorcastillab:
Hi again,

It worked to me by flashing at the end Magisk Canary v.22.php and Magiskv.25.2.apk, both of them.

I flashed Decrypt Emui 8 first of all (without wipes before), used the rom of this post, but the rest of the files and STEPS from the XDA post Los for Huawei Devices Emui 8.

I posted it on n. #355, I failed many attempts but got it, hope you'll have succes too!! 👍
[P8 Lite (2017) Development] victorcastillab:
Hi again,

It worked to me by flashing at the end Magisk Canary v.22.php and Magiskv.25.2.apk, both of them.

I flashed Decrypt Emui 8 first of all (without wipes before), used the rom of this post, but the rest of the files and STEPS from the XDA post Los for Huawei Devices Emui 8.

I posted it on n. #355, I failed many attempts but got it, hope you'll have succes too!!
[P8 Lite (2017) Development] polux6:
Hi all,

I have installed lineageos without problem in following instructions. Boot is correct.

But it's impossible to install nikgapps core, because it's impossible to create a directory to system partition (permission denied). How write to system partition ?

Another problem, the phone could not connect all wifi endpoint. If I share my another phone wifi conection, p8 lite connect correctly, but it's impossible to connect my wifi home (deco x60 router), an idea ?

Thank you.
[P8 Lite (2017) Development] RosbeefAndino:
Hello thanks for all of your work,

I boot well my pra-lx1 402(c432). But I have some read-only complain with nextcloud that can not upload file to my server because of "cannot access local storage"

Other problem is that fingerprint periferic works 1 time at second reboot then not any more. Shutdown makes FP works again

I only flashed till the firmware image as I don't use neither gapps neither NFC.
[P8 Lite (2017) Development] victorcastillab:
Hi All,

I have similar troubles on my Huawei P8 Lite 2017 running with Lineage Os 18.1:

- Solved Init.d with Post's Link

- Mount's Warning

- (but Link2sd shows 2nd partition)

- Failure 6 for Move to SD

- Can't statt data/app... for link dalvik and Libr.

I only can link to SD the apps, but it's not enough due to internal storage.

As I don't know anything about scripts and programing, I don't know what is wrong as Init.d is diferent as the Post's description.

From another hand I tried formatting SD to all the types, but didn't worked.

I could use SD as internal but I don't want it, so I'll be greatful if you could help me or give me some tips to try to resolve it!!

Million thanks in advance!

Best Regards

Un Saludo

P.D. please find attached some images that could help you!
[P8 Lite (2017) Development] ManuBomber29:
Hi can u help me to do the same thing?
[P8 Lite (2017) Development] victorcastillab:
Hi all again,

After some time using SD Card as internal, one day battery was empty and Huawei P8 turned off, so SD Card appeared as "damaged" when I restarted.

Since then it happens the same if I restart or turn off the phone, damages SD Card / or boot looping losing again time formatting the Card and moving on Back-ups from the PC, and most of all losing the data.

I have tried with some cards but with the same results, I'm scare of doing a reset / erase / wipe data, in case of something will be wrong and I had to start again flashing (really tired due to hard work and childrens, to spend more night hours...😞)

Could anyone known how could I fix the problem?

And from another hand battery capacity is too short, how could I make it longer?

Thank you so much again in advance, I really appreciate your help and work!

Best Regards
[P8 Lite (2017) Development] piterconlai:
Hi, I installed the rom and everything works perfectly.

The only application that does not work is '' Google Wallet ''.

Is there a way to set '' Safetynet '' so that this app works too?

Thanks for your help
[P8 Lite (2017) Development] AltairFR:
Just securize phone in the treble settings (misc menu). Install yasnac from playstore and verify
[P8 Lite (2017) Development] AltairFR:
Screen copy
[P8 Lite (2017) Development] piterconlai:
i can't find this option in this rom
[P8 Lite (2017) Development] AltairFR:
Sorry it is only an option in LeaOS Lineage 18.1
[P8 Lite (2017) Development] piterconlai:
Is there a way to move on to leos, without having to put the Stock ROM back?
[P8 Lite (2017) Development] AltairFR:
Yes , just flash image LeaOS
[P8 Lite (2017) Development] piterconlai:
I just have to install the system or do I have to do some formats first and install zip packages?
[P8 Lite (2017) Development] jls_linux:
I have a network restart problem. It stays few seconds connected and the it disconnects. I've tried another sim card of another operator and the problem disappears.
[P8 Lite (2017) Development] ab4ullahh:
Hi!

Can I install this ROM on Huawei Mate 10 Lite (RNE-L21)? I know this ROM is intended for P8 Lite but it still is hi6250.

Looking forward to a response
[P8 Lite (2017) Development] AltairFR:
Yes you can
[P8 Lite (2017) Development] ab4ullahh:
Cool. Can you share an step by step tutorial for it at least so I don't f it up.

Thanks.
[P8 Lite (2017) Development] chamillecailloux:
Thanks a lot everyone ! After 2 days of painful attempts, I finally managed too install Lineage OS 18.1 on my PRA-LX1.

I had the same error than you because my system partition was too small. I used this thread to enlarge it and then the installation ran smoothly.

Have a nice day !
[P8 Lite (2017) Development] jls_linux:
when I make an audio call in telegram I cannot hear the voice of the other speaker while he can hear me
[P8 Lite (2017) Development] reiketsu11:
Could someone tell me how to use the file in the second post to root? I tried flashing it with twrp but it didn't work. Sorry for the noob question.
[P8 Lite (2017) Development] chamillecailloux:
Maybe it would be easier for you to get a useful answer if you give more details about what didn't work !
[P8 Lite (2017) Development] reiketsu11:
That was really all there was to say: twrp didn't flash magisk. I can only add I tried again and noted the error code is 127.

I asked in the telegram group too and the solution is to use the .5 version of twrp by pretoriano to flash the .zip, found at this link: https://sourceforge.net/projects/ha...ries/TWRP/twrp_p10_lite_0.5_test.img/download

The complete procedure is:

1- install the correct twrp version

2- rename the .apk in the second post to .zip

3- flash the zip

4- boot the phone and install the .apk manually instead of going through the app that should have appeared
[P8 Lite (2017) Development] Iconium_:
uhh my phone is stuck in a bootloop whatever i do, can't try to get into linage boot screen as well. yes, i decrypted the data first......

i have tried 3 times, no luck, only have to restart from the stock rom
[P8 Lite (2017) Development] cmarcom:
Hi!

It's awesome that P8 Lite 2017 can run Android 11!!!

¿How is the battery on this ROM?

Thanks!
[P8 Lite (2017) Development] AltairFR:
Hi

Battery is very good without Google apps. You can use siberia kernel to have more Battery
[P8 Lite (2017) Development] AltairFR:
In directory 0, before correction, there was only 2 folders : the android folder and the TWRP folder

It was missing a lot of other folders like DCIM, Alarms, Ringstone, Download etc ...

So, impossible to download a file with the browser, opening the clock application, or take a photo .. in short, no application was able to write to this folder
[P8 Lite (2017) Development] curious13:
Selam

ROM'da hat sorunu yok ama aramalarda 3g aktif, 4g nasıl yapabilirim?
[P8 Lite (2017) Development] latviandude:
Updated my Testing results/workarounds, a little bit.
[P8 Lite (2017) Development] kkgodygah:
thank u for your job。it looks nice。but my devices didnot have working nfc. can we use it
[P8 Lite (2017) Development] olivi25:
@DarkJoker360

is this ROM going to be tracked and not abandoned quickly?

I don't want to change version regularly. I see that there is no more development for AOSP 11 and especially AOSP 10.

I am therefore thinking of migrating to this one after having downgraded to firmware .390.

Thanks for the development and the help
[P8 Lite (2017) Development] latviandude:
Did u flashed NFC fix?
[P8 Lite (2017) Development] latviandude:
As far as I know @DarkJoker360 will keep updating Lineage 18.1 for our Huawei devices. And will abandon AOSP 11 and older versions. ;)
[P8 Lite (2017) Development] amrqqq:
worked smoothly . will post if any problems
[P8 Lite (2017) Development] latviandude:
Updated my test results, workarounds once again..

Performance and battery problems was caused because of newer firmware, I believe.. After downgrading from .401 to .360 and reinstalling Lineage 18.1 and leaving my device to charge for night..

Performance and battery usage issues was fixed.

Now it's smooth, no lags and I get 6hrs sot, idle 15hrs, 52 min.

And my phone have left 8% of battery and battery manager shows that phone will continue working ~1 hr, 22 min. xD

So I recommend this ROM/GSI for everyone. Thanks again @DarkJoker360 for your work!
[P8 Lite (2017) Development] Frax3r:
4g üzerinden arama yapmak = VoLTE, #2'de çözümü vermiş

Sorry for non-english chatter, if he expected english response he'd have used english.
[P8 Lite (2017) Development] olivi25:
Hello, I tried to upgrade to LineageOS 18.1 but I can't.

here is what i did.

I reinstalled 8.0.0.360.

after fastboot oem unlock

I installed recovery TWRP_3.5.2-prague_DarkJoker360_20210508.img

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>

resize system

flash gapps

flash NFC.zip

but after the installation starts and after a momernt reboot on the Erecovery.

see the photos, I tested immediately AOSP 11 same problem

do I have to re-install EMUI8 and redo everything?

if so how because I do not see how to suaf with Erecovery and wifi.
[P8 Lite (2017) Development] AltairFR:
Hello

I think the problem is with the encryption of the data partition. Can you look at the contents of the file /vendor/etc/fstab.hi6250

I have a complete procedure but it is in French, :-)
[P8 Lite (2017) Development] RadhixAwp:
probably because you didn't decrypt restart from scratch and decrypt before installing the system.img
[P8 Lite (2017) Development] olivi25:
Sorry i forgot that I had done that at that time decrypted after installed recovery TWRP_3.5.2-prague_DarkJoker360_20210508.img

I decrypt with fstab.hi6250b.zip

@ AltairFR I'm french​
[P8 Lite (2017) Development] AltairFR:
Oui je me suis douté quand j'ai vu l'anglais :-) Le zip ne marchait pas chez moi je vais vous passer la procédure avec adb
[P8 Lite (2017) Development] olivi25:
:) we can continue in MP in French.