yashsingh1/xdaforums huggingface dataset:
[P8 Lite (2017) Development] :
Hello, i have a question, how can i encrypt the phone? I mean, is it possible to encrypt while using this ROM or i would have to go back to the stock one? 🤔

I saw on this post here 2 links, one for encrypt and one for decrypt, but you only gave one file to decrypt the phone. Could i use these instead of the one you provided? https://xdaforums.com/t/rom-huawei-11-leaos-lineage-18-1-for-huawei-device-emui-8.4371629/
[P8 Lite (2017) Development] AltairFR:
Only leaos aosp or lineage os support encryption
[P8 Lite (2017) Development] :
Yeah but the thing is that i installed this one & after i wanted to try out lineageOS (i'm currently on lineageOS) so that means that i can just boot into TWRP and sideload the encrypt file you provided? :)
[P8 Lite (2017) Development] andrewthegee:
Hello, after successfully flashed the system with AOSP 11, it gets stuck on the android bootup screen. It would be a pleasure to be fixed.
[P8 Lite (2017) Development] nemanjsb:
Try to format data from twrp.
[P8 Lite (2017) Development] andrewthegee:
I tried that twice, it didn't fixed.
[P8 Lite (2017) Development] DarkJoker360:
I am not sure if and when magisk will work sadly... I am still looking on a solution yet
[P8 Lite (2017) Development] DarkJoker360:
Root Access

The rom is pre-rooted by default.

To use root access just install this apk and enjoy root acccess !

NOTE: There is no fix for safetynet, there are many zip which block google attestation key (by kdragon) but I have not tried them.

Also magisk is broken and I don't know if we will ever see it again, this is because of out old and deprecated partition layout (A-only).
[P8 Lite (2017) Development] witra:
Hi,

I have a Huawei P9 lite (2017) also with codename PRA-LX1 . Is it compatible with your roms? I tried to install some of your roms but I always stay stuck in a bootloop.

Thank you for your help.
[P8 Lite (2017) Development] Hyask:
Hi,

I've tried the procedure described in first and second posts, before realizing that my current stock ROM is 8.0.0.412, which, if I'm not mistaken, has formatted the `/system` partition with a size of 2GB, where the former ROMs made it with 3GB.

If I'm correct, I need to downgrade my stock ROM. I've tried the `UPDATE.APP` method described here[1], with the PRA-LX1C432B362 firmware, but it did not pass the 5% in the update process of the Huawei recovery. It silently reboots after a while stuck at 5%. What am I missing? Is there something special to do to downgrade to an older firmware?

Is it possible to upload a static binary of `parted` in TWRP to widen the `/system` partition manually? I've read of that kind of voodoo hack somewhere else. Has anyone already done that?

[1]: https://huaweiflash.com/how-to-flash-huawei-p8-lite-2017-stock-firmware-all-firmwares/
[P8 Lite (2017) Development] vwong:
can this rom be flashed in Huawei Mate 10 Lite, having same kirin 659.......?
[P8 Lite (2017) Development] hardcorehenry:
Generally it’s not advised to downgrade firmware via dload. I was lucky and had no issues. Download recommended firmware from here. Put dload folder with required content in externalSD(didn’t try) or ExtFAT formatted USB(OTG method witch I tried) as shown in attached screenshot. For dual sim chose PRA-L31_hw_eu for single sim chose PRA-L11_hw_eu. Reading this topic might be very useful.
[P8 Lite (2017) Development] Hyask:
Thanks a lot @hardcorehenry , the rollback went well!

Sadly, for now, I'm stuck in a boot loop with boot AOSP 11 and Lineage 17.1. The bootanimation for both ROM is displayed for about 5 minutes, then the phone reboot on its own. I've tried multiple procedures, with the same result every time. Is there a way to get boot logs to gather more information?
[P8 Lite (2017) Development] DarkJoker360:
Fixed broken usb options from notifications.
[P8 Lite (2017) Development] Rodrigo Atocha:
I can't get the device to boot, I try again and again, and it restarts to Erecovery, now I am using Android 10 version if I could find a way to fix my problem I would appreciate it too much
[P8 Lite (2017) Development] Passi36:
Hello,

my device runs wonderfully with these beautiful OS. Thanks for all the work. I know that it means a lot of work until everything is perfect. But I have a question:

Since magisk passed away, I have serious problems with my banking apps.

Is there another method to hide root for apps. I have already searched but found nothing for Android 11.

The apps find root and then of course no longer run.

I would be grateful for a solution.
[P8 Lite (2017) Development] piterconlai:
Good evening, could someone tell me if bluetooth works with smartwatch devices?
[P8 Lite (2017) Development] Passi36:
Yes :) It Works for me with the Galaxy Watch and my mi Band 4 . IBand app Works too
[P8 Lite (2017) Development] piterconlai:
Go to twrp recovery, press "Wipe" Then choose "Advanced Wipe". After that select / check "System" box and then press on "Repair or Change File System" and then you will see down "Resize File System" - press on it and done ur System has been resized.

Hi I followed these directions.

I went in "Wipe" Then , "Advanced Wipe" select "System" press "Repair or Change File System but i only see " change file sistem " non " resize "

can you help me ?
[P8 Lite (2017) Development] piterconlai:
i need to install another TWRP ? please help me beacuse system dont start :(

where i can find pretoriano 80 TWRP ?
[P8 Lite (2017) Development] piterconlai:
hello I followed these steps

I went into the TWRP that of DarkJoker360 3.4

I did "format data" and installed the zip "fstab.hi6250b"

then i went into TWRP and did a wipe cache, dalvik / art cache

* restart your bootloader

* AOSP 11 extract

* run: fastboot flash system <drag system.img here>

* reboot on TWRP

here I am stuck in when I have no way to "resize" from TWRP

install the "NFC" zip

reboot and you only see the huawey logo and it goes in loop

Do I need to install a different TWRP for resizing? if so, which one and where can I download it?

Please help me as the mobile is the loop

@DarkJoker360 can you help me ?
[P8 Lite (2017) Development] vwong:
Flashed successfully in mate 10 lite RNE-L21 (C185) , so far tested that USB Debugging not working.
[P8 Lite (2017) Development] latviandude:
Strange.. There should be three options: "Resize File System", "Repair File System" and "Change File System". :rolleyes: Maybe try doing factory reset with ur stock recovery and then flash again TWRP and try again.. ;)If nothing changes re-flash ur stock rom and then try everything from beginning. Good luck!
[P8 Lite (2017) Development] piterconlai:
Thanks a lot for the answer

can you kindly point me to the link?

because i am looking online but i would not go wrong again

In the main post we talk about "Pretoriano80" but I can't find this TWRP
[P8 Lite (2017) Development] latviandude:
My mistake... It seems like u already have Official TWRP image which is 3.4 and by DarkJoker360.

But in case there's the link - Official-TWRP-Recovery-Prague
[P8 Lite (2017) Development] vwong:
Mate10lite

USB debugging not working

Bluetooth also seems to be buggy not detecting my yeelock

In about phone it says PRA-LX1, is there way to change it for mate 10 lite RNE-L21 (C185).?

Edit:- Bluetooth works, with HD Audio enabled(Developer options)
[P8 Lite (2017) Development] piterconlai:
hi it's the same twrp i use

I honestly don't know where he can go wrong

then I don't understand why it doesn't give me the possibility to "resize" the file system
[P8 Lite (2017) Development] hardcorehenry:
This thread has only 3 pages. If you read each post I'm sure you would've found solution to your problem/s. Good hunting.
[P8 Lite (2017) Development] MrPinguino:
Hi, if i am on the aosp 10 version i don't need to go back to stock emui and then install this rom, i just need to wipe and install this version ?
[P8 Lite (2017) Development] piterconlai:
hi, I have read the 3 pages and followed the directions. without success. for that I ask for help.
[P8 Lite (2017) Development] hardcorehenry:
If you REALLY read, you would’ve found in my post link to the recommended TWRP.
[P8 Lite (2017) Development] Random_Guy282:
Hey.. Could you please tell me which build is your EMUI based on before you flashed this rom .. Thanks
[P8 Lite (2017) Development] vwong:
EMUI Version: 8.0.0

Build Number: RNE-L21 8.0.0.314(C185)
[P8 Lite (2017) Development] piterconlai:
Thanks a lot for the answer

I followed the post to the letter and installed the Praetorian TWRP

I have reached the point where I have to install the GAPPS but an error appears

I'm going to resize the file system, but only the "change file system" appears

I try to start the system but the mobile restarts immediately after the huawei logo
[P8 Lite (2017) Development] hardcorehenry:
While trying different TWRP and wiping you may have lost internal storage(I can only guess what else might went wrong).

My advice, go back to stock and do everything and in exact order as I advised otherwise I can’t help…

P.S.See again latviandude's post how to resize system.
[P8 Lite (2017) Development] Random_Guy282:
Thank you for your input .. I flashed it and it's working great .. one thing though is the phone overall seems laggy and scrolling is stuttering a lot.

any idea how to fix this ?
[P8 Lite (2017) Development] piterconlai:
hello thanks again for the answer you are very kind

nothing keeps restarting after huawei logo

the only error I noticed is how much I write the file system this writing appears "invalid sparse file format at header magic" could it depend on this?

otherwise no errors

ps. i saw that post for resize but it still doesn't appear

ps. i tried to install android10 which has a similar procedure and i don't have any kind of problem
[P8 Lite (2017) Development] DarkJoker360:
New DarkJoker360 AOSP 11 update !

Donations

​
[P8 Lite (2017) Development] Magd qwe:
Is there is any problem if I flashed it on mate 10 lite?!!
[P8 Lite (2017) Development] piterconlai:
hello, I'm trying to install the file system but this error appears

could someone help me?
[P8 Lite (2017) Development] lelapindelaforet:
Hi, by the way, is it possible to update ASOP 10 with this version without reinstalling full system?

My AOSP 10 is working fine, I waiting for a full stable AOSP 11 version to migrate.
[P8 Lite (2017) Development] latviandude:
I have never tried it.. Theoretically it should be possible but there could be more likely system conflicts like System UI crashes or something..

So if you try doing that you should make a BACKUP first of AOSP 10 and all of your DATA.

So that if you get any problems you can easily get back with your data safely.

I would recommend backing up all the stuff and flashing AOSP 11 with wiping everything before. It's your choice. In any case backup your data so you can easily recover it/get back. Good luck! :)
[P8 Lite (2017) Development] DunoCZ:
Dowgrade to lower version of firmware more this post by DarkJoker specify them, Huawei shrinked size of system partition so A11 is non-flashable with never updates.
[P8 Lite (2017) Development] DunoCZ:
Me waiting on Magisk 19.3 (or some version that won't ruin safetynet) to appear.
[P8 Lite (2017) Development] piterconlai:
ок, I try to downgrade to version 8.0 with DLOAD and install the original firmware and then install this system

thank you so much . I update you
[P8 Lite (2017) Development] witra:
After downgrading to 8.0.0.360 (C432) it finally works. Everything works fine except USB transfer.

I installed the update but it's still the same.

Charging via USB and USB transfer from TWRP are working.

And I think, Android Auto doesn't work for the same reason...

Thank you for your great work!
[P8 Lite (2017) Development] 古羽千秤:
How do root, I only have a supersu app, I don’t know what to do, can you help me
[P8 Lite (2017) Development] Djiban:
As stated here, I'lm ready to give a try to this rom on a Honor 6x, if reports can help ....
[P8 Lite (2017) Development] DarkJoker360:
Hello adb
[P8 Lite (2017) Development] Passi36:
Nice to see. That adb works again.

Is there a solution, to hide the su command from some Apps?

Like banking Apps, checks for root. Thanks for help.
[P8 Lite (2017) Development] Damians82:
Hi!

I I have a problem after first boot: a continuous request of pin code every few seconds.

I use 0.5 version of pretoriano's TWRP

I tried with first release of AOSP11 and first update

I tried without GApps

But every time aosp ask me pin, It's impossible to setup aosp in my Pra-LX1.

Someone know a solution?
[P8 Lite (2017) Development] L10nH34Rt:
* Use 8.0.0.360 or maximum .400 firmware for booting the rom.

Did you follow that?
[P8 Lite (2017) Development] Damians82:
Yes, I did it.

If i turn off and on pin request it's all ok.

I'll post a log next time

--- Update ---

This morning I had a bootloop and after a loop unblock request. No time to do anything.

No logcat file... Sorry I can't save it
[P8 Lite (2017) Development] Djiban:
I plan to install on a honor 6x with .520 as a sTock EMUI8 version ! Is there for this phone also, the same system partition 2GB/3G issue between versions? Or to to get this piece of information ?

thx

Despite that, I'm ready to try this system.img on a 3rd device (after P8 LIte and Mate 10 Lite. The honor 6X is also known as Mate 9 lite after all , and @DarkJoker360 's AOSP android 10 for P8 Lite runs on Honor 6x!). Anyway, I'm with apropiate process and files get from this thread and few others -thx everyone). I just have to know if this system partiton size change did occur on Honor 6x also.

Thx!
[P8 Lite (2017) Development] bahadir321:
Help Mee ! :/
[P8 Lite (2017) Development] DunoCZ:
Mentitioned almost milion times in this and AOSP 10 thread.
[P8 Lite (2017) Development] domy199:
My friend @DarkJoker360 , thanks for your release, but I have encountered 2 problems. I flashed NFC_FIX.zip but I still don't have the NFC icon. Maybe it might work even if I don't see the icon. GPS is not working. It searches for satellites but does not find them and does not lock on. Tried with various apps also to test connections but these do not happen. Finally, how do you remove that useless search bar on the home?

The stock version I used is 8.0.0.360 for PRA-L31 (it's dual sim, and I can't flash anything else anyway).

Of course I have already tried several times to flash and I have also tried with the AOSP10 but the situation does not change.

Sorry for my English, I'm Italian.

EDIT:

I also forgot that the camera has serious problems (photos with flash that are dark as if there is no flash).

EDIT:

the GPS works, the problem is the app I use.
[P8 Lite (2017) Development] z1rqdym:
I can't boot it how to figure it out? I did what the installation says step by step but fails anyway.
[P8 Lite (2017) Development] domy199:
if you use this guide it works, you have to follow it step by step. I too couldn't because I was using the wrong TWRP. Otherwise backup your important data and flash a stock rom ending .360 and then follow the guide I have linked to you
[P8 Lite (2017) Development] Passi36:
To use the right TWRP is the most important step. Because the most Boot loop and Storage Problems came from, wrong TWRP . And the GPS works here.

But I cant hide my Banking apps from the root check. Is there not a solution?
[P8 Lite (2017) Development] DarkJoker360:
March update will may be delayed due to personal issues. Sorry.
[P8 Lite (2017) Development] DarkJoker360:
New AOSP 11 update

* Synced with latest AOSP 11 source code based on r32

* Merged March 2021 security patches

* Fixed bootloop in some cases

* Fixed ADB

* Removed useless overlays

* More build info fixes

* Fixed AOSP ScreenRecorder

* Performance improvements

* Decreased system partition usage (now AOSP will just take 1,3gb)

* Fixed a gnss service crashing since A10, resulting in costant wakelocks, logspams and gps failures

* Added dark theme on Dialer and Messaging apps

NOTE: Clean flash is recommended

Check OP for more infos and download !

Donations

Support Group
[P8 Lite (2017) Development] DarkJoker360:
Magisk-phh v22.0 is now working !

Only the linked version will work.

Download

Thanks to @Hami_Do
[P8 Lite (2017) Development] DunoCZ:
Hope it will be patchable to pass safetynet.
[P8 Lite (2017) Development] bob1791:
Hi there

Thank's for your work. I'm planning to install it on my phone... Right now I run the stock rom with a few customization like root and magisk modules but the mayor change I did was to disable the disk encryption to enable the memory extension with the sd card... Thant's allow me to install many many apps (obviously) and it works good so far ! But the most important thing is that I have the stock camera. I tried the LOS 15 last year but the camera was too bad for me... So, because I'm planning to switch to a newer ROM like this AOSP I want to be sure that the camera works well as the stock one... If not is there a possibility to get the stock camera on this AOSP ?

Thanks
[P8 Lite (2017) Development] Passi36:
DarkJoker360​

Thanks for all the works in this Project . Magisk is works great. But . can you upload in April or so, a Image, that is not rooting for beginning and the we can root it with Magisk ?​

My Apps are silly, the found the root, and I have activate the magisk Hide function . Is has no effect. Banking Apps don't work. No GPay :( . and others Banking Apps :(
[P8 Lite (2017) Development] DarkJoker360:
Sure but it's not the pre root fault, you have to fix safetynet !
[P8 Lite (2017) Development] bob1791:
Thank you for the information.. I never used Camera Go... The ported camera (I saw it is for android 10) works on this rom as well ? the picture quality is the same of the stock ?
[P8 Lite (2017) Development] DarkJoker360:
Nice. I was wondering if GPS is working for you, does it?
[P8 Lite (2017) Development] latviandude:
On which Emui 8 firmware build are u ?
[P8 Lite (2017) Development] DarkJoker360:
As always you can't, it is modified to work with A only devices.
[P8 Lite (2017) Development] halorx:
Hello,

where can i get the recommended Huawei Stock Rom with EMUI 8?

Seems that the official servers are down, and the onboard update App also does recognize no updates, even if it is stone age android security patch 2016... with EMUI 3.1 installed and Android 5.0.1
[P8 Lite (2017) Development] Everywhere I go:
Just one question is this rom good for gaming and also no issue like battery drain tnx in advanced!
[P8 Lite (2017) Development] latviandude:
Gaming should be the same as with emui or maybe even better. Just try it out yourself. Battery could be a bit worse than with emui. But it also depends on ur battery age and ur usage.
[P8 Lite (2017) Development] Douky:
Even after flashing the zip, i still have my FRP Locked (Said on the fastboot mode). how can i remove my FRP lock pls 🙏
[P8 Lite (2017) Development] manosath:
hey, can u maybe tell me how u downgraded?
[P8 Lite (2017) Development] DarkJoker360:
New AOSP 11 update

Synced with latest AOSP 11 source code based on r34

Merged April 2021 security patches

Fixed animations lags and janks

Fixed wired headphones not being detected

Fixed gps

Fixed ril crashes for dual sim devices

Updated APN configs from LineageOS

Fixed ril crashes with some carriers

Fixed Netflix playback

Adjusted screen brightness

Fixed minimum brightness too high

Enabled Wifi Display

Improved Signal Strenght

Ignored RSSNR signal implementation, as our RIL is not using it

Completely disabled useless gnss_watchlssd_thirdparty service causing drains and logspams

Check OP for more infos and download !

Donations

Support Group
[P8 Lite (2017) Development] kitamurt:
was also looking for a tutorial, all links are broken (hicloud servers are down), so any tutorial here on xda needs to be updated with a working link at least.
[P8 Lite (2017) Development] xfim:
I installed this on warsaw (P10 Lite) and it boots (I had to flash B326 stock firmware first tho) but wifi, bt and camera doesn't work. Also, the status bar and some other animations are laggy but thats secondary. How can I patch this rom to support wifi, bt and cameras on p10 lite?

EDIT: Reflashing stock rom fixed the issues. Works fine now. Still a bit stuttery tho but not too bad for an old phone.
[P8 Lite (2017) Development] olivi25:
Hello, I have already installed AOSP 10 what is the procedure to have the AOSP 11. Do you have a procedure? Thank you
[P8 Lite (2017) Development] lelapindelaforet:
Same question, I have AOSP 10, working fine, but I won't lose my config, data data...

So I would like to simply flash the system image and reset dalvik and cache.

Should work?
[P8 Lite (2017) Development] olivi25:
I also have another question I see that my build is PRA-LX1 8.0.0.408 (C432)

how to switch to a previous version for the firmware ?
[P8 Lite (2017) Development] bob1791:
I installed this ROP following all the steps on the first and second post except the TWRP, i used the one builded by @DarkJoker360 because I couldn't find the pretoriano80 one. And now the phone is in a continuous bootloop with the android logo on screen. Is this due to the different TWRP used, in this case can anybody share with me the pretoriano80's twrp ? If not what can I do to solve this bootloop ?!
[P8 Lite (2017) Development] olivi25:
OK but how?

do you have a procedure? and link for good firmware for my phone?
[P8 Lite (2017) Development] bob1791:
I found this https://androidhost.ru/1iXD?downloa...f907fbae6a8ac7edf9f281dcb4853dc53f5b093d2487d today and installed it, but take care that it will relock the bootloader so, if you didn't save your bootloader code don't do it.

PS. I downloaded the firmware through wget because from firefox the download failed everytime near the end or in the middle
[P8 Lite (2017) Development] bob1791:
Flashing the rom I got this output:

$ fastboot flash system aosp-11_prague_20210406.img

target reported max download size of 471859200 bytes

Invalid sparse file format at header magic

sending sparse 'system' 1/4 (417881 KB)...

OKAY [ 11.517s]

writing 'system' 1/4...

OKAY [ 11.228s]

sending sparse 'system' 2/4 (460796 KB)...

OKAY [ 12.628s]

writing 'system' 2/4...

OKAY [ 10.559s]

sending sparse 'system' 3/4 (458901 KB)...

OKAY [ 12.600s]

writing 'system' 3/4...

OKAY [ 11.793s]

sending sparse 'system' 4/4 (380426 KB)...

OKAY [ 10.485s]

writing 'system' 4/4...

OKAY [ 9.934s]

finished. total time: 90.745s

It seems to have worked but at the end it sticks in a bootloop.

What does mean the second output line "Invalid sparse file format at header magic" ? The bootloop depends on that ?

Used this twrp version: TWRP_3.4.0-0-warsaw_DarkJoker360_20200611.img
[P8 Lite (2017) Development] olivi25:
i tried to download but error message

Error

File can not be located, please try again later.

ERROR: No packages found, please contact the support team. (at least 1 package needs to have the option of 'On Upgrade Page' to 'Yes' with 'Package Type' of 'Paid')

you installed the image and after, you unlocked the bootloader ?

I save my bootloader code :)
[P8 Lite (2017) Development] bob1791:
This should work ;)

Huawei P8 Lite 2017 PRA-LX1 PRA-L11 hw eu HLRCF Prague-L11 8.0.0.400(C432) Firmware 8.0.0 r1 EMUI8.0 05014FSP [androidhost.ru].zip - AndroidHost.RU

Download file - Huawei P8 Lite 2017 PRA-LX1 PRA-L11 hw eu HLRCF Prague-L11 8.0.0.400(C432) Firmware 8.0.0 r1 EMUI8.0 05014FSP [androidhost.ru].zip

androidhost.ru

I had the bootloader unlocked but when I installed this firmware it reset everything included the bootloader, thus I had to reunlock the bootloader and luckily I saved the bootloader code when I paid for it XD

Anyway, I tried to flash this rom over this firmware as suggested by @DarkJoker360 but the phone goes into bootloop... Maybe is the recovery version that cause the bootloop... I don't know.

If you got lucky and you are able to boot this rom, please say me what you used or done =)
[P8 Lite (2017) Development] olivi25:
it's good I was able to download. How do you install the image? with adb ?

other people with you having problems of bootloop?
[P8 Lite (2017) Development] Everywhere I go:
HI again I flash your rom and yes overall it's good. Just wanna ask if you could add one hand mode on this rom like the previous stock rom that would be great.