yashsingh1/xdaforums huggingface dataset:
[P8 Lite (2017) Development] Pappe18:
I did tryed Android9/10 GSIs (phh to be precise) a while back, but had issues (bootloop to be precise) apparently because of the TWRP recovery I was using.

[MENTION=7019289]DarkJoker360[/MENTION], Is the this recovery suitable for any Android 9/10 and GSIs?
[P8 Lite (2017) Development] DunoCZ:
If you downloaded DarkJoker's recovery yes it is, try to flash it like this.

Put system onto sd card and everything elfe, los_patch, magisk_phh, open gapps,

Go to twrp, wipe cache, dalvik cache, data, system,

Flash system to system partition

Reboot to recovery,

Go to wipe, select system and resize,

Flash GAPPS, Magisk, LOS Patches

reboot to system

Enjoy
[P8 Lite (2017) Development] DarkJoker360:
A good news guys, offline charging has been fixed !
[P8 Lite (2017) Development] mianorsa:
Thank you very much first of all.

It is fantastic news.

As soon as the problem of writing data to SD is fixed, I will definitely install this ROM.
[P8 Lite (2017) Development] DarkJoker360:
Use mixexplorer.
[P8 Lite (2017) Development] ajislav:
Does this ROM support ExFAT on external SD card?
[P8 Lite (2017) Development] riq220:
Tried to flash this ROM 2 times with gapps and magisk, but everytime "System UI has stopped working" is popping up like every 2 seconds and the whole screen flickers during initial setup. When I finish the initial setup all I get is black screen. Do you have any idea what is the cause?
[P8 Lite (2017) Development] MIcHiJK:
Can you please give more information about how you installed the ROM. Did you come from EMUI or another ROM? which EMUI 8 version? Fastboot or twrp. Which Gapps package. For me everything is working.
[P8 Lite (2017) Development] riq220:
I came from EMUI 8 after erecovery to stock, I've been using lineageos 15.1 before just fine. First time I installed system through fastboot and magisk + gapps pico through adb sideload. Second time again system through fastboot but magisk + gapps nano through twrp. I tried third time without gapps and magisk, just the system and it's the same issue.
[P8 Lite (2017) Development] DunoCZ:
Downloads

TWRP 3.2.1-0 May 15th

ROM + patches

GAPPS (select any you want, personally I risked and downloaded from test folder AROMA version, now I have pixel launcher etc)

Magisk (Use this, with higher version you will achieve bootloop or you won't pass safetynet anymore)

STEPS

1. format cache, dalvik, data and system

2. flash system.img (personally I recommend using TWRP)

3. reboot to twrp -> wipe -> advanced -> system -> resize (DO NOT FORMAT THIS TIME!)

4. flash GAPPS, Magisk, patch

5. reboot and wait (if it 1 time reboot on first startup you did it right)
[P8 Lite (2017) Development] Rodrigo Atocha:
By the way the last time I tried this ROM it worked very well but when I put my headphones on it, the music and videos were very bad and it was only static, that's why I went to AOSP 10

From there there was nothing bad that I could notice, seriously friend, good work with your Roms I hope that every day you get better and better ??
[P8 Lite (2017) Development] DarkJoker360:
Try to uninstall audiofx and lemme know please.
[P8 Lite (2017) Development] DunoCZ:
I was using audiofx for few days and it was ok so I don't think it is the problem but little problem is laggy chrome etc but videos are ok, I fixed it little bit by disabling HW acceleration.
[P8 Lite (2017) Development] Rodrigo Atocha:
And did it work well? So I'm going to try to do that
[P8 Lite (2017) Development] DunoCZ:
Yep currently using with Gapps AROMA with pixel launcher etc. Kernel Morfuz 2.1 + no dm verity + selinux permissive patch + Ainur JamesDSP for good audiophile experience + ARCore for passing SafetyNET + BusyBox for Android NDK.

btw on czech huawei forum (when it was good now it is purely waste of time) huafan.cz someone who had great contacts said that on this phone you cannot put Android 9, now I'm having Android 10 and I'm laughting Huawei into face :D
[P8 Lite (2017) Development] Rodrigo Atocha:
Hahahahaha it's true and a favor, I would appreciate it if you pass me the "permissive selinux patch" and "Ainur James DSP"
[P8 Lite (2017) Development] Damians82:
I had the same problem.

After a new installation this problem was fixed.

Thank you [MENTION=7019289]DarkJoker360[/MENTION]!

Could aks you about boot and magisk?

My boot sequence before lineageOS boot animation show a screen with boot options. This Screen remember me that my phone is unlocked (I add screen text)

Magisk an magisk manager could be updated in app?
[P8 Lite (2017) Development] DarkJoker360:
That bootloader screen is there because you have the device unlocked.

Magisk can't be updated yet !
[P8 Lite (2017) Development] Damians82:
Thank you, I unistalled magisk and I flash another time 19.3 package.

Sorry, but I need another info. Offline charge don't work with my phone.

Do I need to switching to permissive selinux? I don't understand how.

Grazie mille
[P8 Lite (2017) Development] DarkJoker360:
I have fixed it, just wait next update :)
[P8 Lite (2017) Development] FortMike:
Hi [MENTION=7019289]DarkJoker360[/MENTION], i'm italian too!! and i'm going to try your rom, i would like to know why you recommend installing Magisk phh instead of normal Magisk. Could you please explain me the difference between them??.

ps. i hope you're fine in these hard days for all of us.
[P8 Lite (2017) Development] DarkJoker360:
Magisk phh has some hacks for running in Q roms
[P8 Lite (2017) Development] FortMike:
I had the same problem, I fix it by deactivating audiofx.

Here's some bugs i found for now:

1) The brightness sensor does not work well at all, it is slow and inaccurate compared to the stock rom.

2) There is some problem with whatsapp too because when I try to take a photo via whatsapp, the display freezes and wont let me send the photo.

i have a question: is there a way to disable heads up notification only when i receive a call? i mean leaving heads up notification on for all apps but telephone
[P8 Lite (2017) Development] DarkJoker360:
1) Will take a look

2) Yes, It Is a vendor know problema, can't do so much about It

Yes, look in notifications settings
[P8 Lite (2017) Development] knzor:
Hi All!

I've tried multiple times to install this ROM on my PRA-LX1 coming from a fresh stock EMUI ROM -> PRA-LX1 8.0.0.376(C02)-FULL.

I've tried 3 times following instruction in OP, I mean flashing via command line using fastboot but I had a "no space available" error when trying to install gapps. I've then found another post and...

I've tried a couple of times using [MENTION=7294734]DunoCZ[/MENTION] quick instructions as in his post

In this case I was then able to install gapps, magisk and the patch, but after rebooting I end up with the very same issue as [MENTION=10628209]riq220[/MENTION], and I quote

Also according to [MENTION=5816500]Damians82[/MENTION] in his post retrying should work. But does not help :(

Any advice? As I type this post I'm going back to stock again to start all over once I got (maybe) some input ;)
[P8 Lite (2017) Development] DarkJoker360:
Change twrp, mine has some issues
[P8 Lite (2017) Development] knzor:
Ok, I tried this and it worked at first try, it did gave me error 70 in twrp and I had to extend system partition.

Anyway, I have storage issues so I need to go back to stock again and check encryption. At this point I'll wait for your next release to solve the charging while the phone is off.

Thanks for your work on this ROM [MENTION=7019289]DarkJoker360[/MENTION].
[P8 Lite (2017) Development] Danko Jones:
First thanks to [MENTION=7019289]DarkJoker360[/MENTION] and [MENTION=4883214]haky 86[/MENTION] for keeping this device alive! My father is using the P8 Lite (latest EMUI) and I want to give it a new live. Is LOS 17.1 already the best choise for daily use or do you recommend another rom? My father has no technical knowledge and is using the phone mostly for messaging (whatsapp, telegram), writing emails and watching youtube videos.

Thanks in advance and keep it up!
[P8 Lite (2017) Development] FortMike:
[MENTION=7019289]DarkJoker360[/MENTION] i found another bug.

I was in the gallery and I was trying to move a photo from the camera folder to another folder that I created on the SD card; a message appears asking me to confirm access to the SD card, then I confirm and try to move the photo but I got the following error: kotlin.KotlinNullPointerException

which TWRP do you suggest to use instead of yours?

I would like to ask you another thing, how can I solve the problem of excessive battery drain?
[P8 Lite (2017) Development] DarkJoker360:
Sd Card issue should be fixed in the next update !

For battery drain there s not so much you can do... Check your apps, use something to tweak it, dunno what to say more. I didn' t take a look on it yet
[P8 Lite (2017) Development] FortMike:
ok then, i hope the next update will come soon, I will update you in case I find new bugs.

You're doing a good job with this ROM, so thanks for your efforts :)
[P8 Lite (2017) Development] Damians82:
I don't know if this could help. I flashed haky86 twrp for PRA-LX1.

I can also report the situation of my phone:

Lineage ROM work well. The only two issues are chrome that frequently crash and restart the phone (I'll reinstall it or clean its cache and report results to you) and sound FX app.

:good:
[P8 Lite (2017) Development] DunoCZ:
Use older version of Chrome, the new version is totally f*cked up, laggy etc.
[P8 Lite (2017) Development] vmosca88:
Can you please post the link for the twrp?

Thanks :)
[P8 Lite (2017) Development] Damians82:
Link
[P8 Lite (2017) Development] rezzertexp:
can I access engineer mode with this ROM?
[P8 Lite (2017) Development] knzor:
Well, it took me some time to be able to disable encryption. I'm not even 100% sure I did it. If I check from TWRP, I'm able to see data files and folders in internal memory so I guess it is fine.

I accomplished it by:

Flash this TWRP Recovery

Reboot to recovery and flash latest Magisk (needed to su/root)

Reboot to stock rom

Install fdroid

Install busybox (but don't yet configure it)

adb into the phone

remount RW /system

create a folder in /system (/system/xbin)

configure busybox

remount RW /vendor

enter in /vendor/etc/ folder

vi fstab.hi6250

save

remount RO both /system and /vendor

reboot to erecovery and flash stock again

This is what I have understood from the AIO thread and basically by this post

I could have spared some steps using adb pull and push instead of using busybox to obtain vi editor but I didn't thought about it the first time.

Unfortunately now I have an even more unstable rom. Random reboots every 15 minutes or so and the same storage issues I had before disabling encryption.

Any advice? I'm thinking about reverting to point zero but I'd like some advices from you guys.

Thanks!
[P8 Lite (2017) Development] DunoCZ:
Why doing it like that? I'm not surprised it's now unstable don't do this stuff when you DON'T KNOW what it do, or better making backups, btw here is easy to use zip, next dont use any busybox from playstores installed via apk, it's very unstable, not permanent etc., use module from magisk.

BTW for everyone, if you have problem with NFC, flash module from magisk (search for NFC or PRA-LX1 and you will find it), reboot to recovery, BACKUP! and remove /data/nfc, /data/app/nfc and many cached stuff revelant to com.android.nfc app. Reboot and enjoy.
[P8 Lite (2017) Development] knzor:
My friend, I knew exactly what I did, what I didn't know was the outcome and that it would suck _that_ much, my mistake thinking of android as a *nix system. You're somehow right there.

I also didn't knew that this model of huawei shares the same files system table of other models and that I had to look in P10 thread instead of p8 thread to get a flashable zip, after all the only information I found in this thread is "edit file, save, flash stock". For someone with my background that's pretty clear instruction, but again, my mistake thinking of android as a *nix system. There must be checks and who knows what dirty tricks to keep things as they are.

About the busybox advice, I never had any issue with my other android devices, I'm puzzled.

Many

thanks for your info though! The link with the flashable zip will make things easier and will keep me going, let's see if I'm able to fix it or break it.

You gave me a great idea linking that file, thanks again.
[P8 Lite (2017) Development] FortMike:
[MENTION=7019289]DarkJoker360[/MENTION] when will you release the new update?
[P8 Lite (2017) Development] DarkJoker360:
After April patches merge.
[P8 Lite (2017) Development] Tenri1999:
Hi everyone, is anyone else having the issue where music apps stop playing after approximately 20 seconds of playing? It does this with both the default Music app and "Music Folder Player" from the Google Play Store which I use a lot (can't post a link), and the problem seems to go away if I use the setting in that app to use its own codecs for playing audio, what could this be coming from?

I did try making it so the app wouldn't get paused by battery optimization but that doesn't seem to be the issue here.

Thank you
[P8 Lite (2017) Development] gerdastummel:
Safetynet fails

Basic integrity fails ? Any way to fix it ?

And can not view internal memory or saving.
[P8 Lite (2017) Development] matyrock:
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 [MENTION=7294734]DunoCZ[/MENTION]) 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 [MENTION=9034316]Dil3mm4[/MENTION]

- 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
[P8 Lite (2017) Development] yzena:
I think you need to flash this :

https://xdaforums.com/apps/magisk/module-safetypatcher-t3809879

And if it workes give him a thanks !
[P8 Lite (2017) Development] Bosseur 31:
Hello and thanks for the job

This rom is compatible with PRA-LX1 ?
[P8 Lite (2017) Development] -CALIBAN666-:
for sure, yes!!!
[P8 Lite (2017) Development] DunoCZ:
Just search for ARCore in Magisk and reboot ;)
[P8 Lite (2017) Development] titicom:
hello darkjoker360

I come to you for help...

I am very interested in this ROM but I have a problem...

1) I unlocked the phone

2) I had installed TWPR (as recommended) with the following commands:

then I wanted to flash magisk PHH (as recommended too) via TWPR..... but the problem!!!!!!

at restart the phone remains blocked on HUAWEI.... and after about 15min it offers me the Erecovory..... and result not Magisk.

I specify that it is P8 lite 2017 PRA-LX1

a help would be cool...

thanks to all
[P8 Lite (2017) Development] DunoCZ:
Did you flash the patch? also try factory reset (just format DATA,CACHE, Dalvik CACHE) also i recommend using Morfuz kernel 2.1 with no dm verity & encryption (after that you will be also enabled to use adoptable storage just have fast sdcard) anyway if you go few pages behind try do it as i described.
[P8 Lite (2017) Development] titicom:
When installing system.img, there are several options checked which options to choose?
[P8 Lite (2017) Development] titicom:
hello I managed to install the ROM but..... and yes there is a but.... I have 4 problems: 1) problem with the sd 2) impossible to download anything 3) forced closure of several applications 4) impossible to put sound to the ringing of the phone.
[P8 Lite (2017) Development] vmosca88:
I think we just need to wait for the updates [MENTION=7019289]DarkJoker360[/MENTION] mentioned. I'm waiting for those updates before installing the ROM
[P8 Lite (2017) Development] DarkJoker360:
Read AIO thread ok this section to solve, you have to decrypt !

Got some bootloops, I have to debug once I have the time
[P8 Lite (2017) Development] DarkJoker360:
So guys, since I work on crDroid source code, what about doing crDroid 10 instead of LineageOS 17.1?
[P8 Lite (2017) Development] FortMike:
oh i agree!! i like CrDroid more than Lineage:) please, release soon some update or new CrDroid ROM:good:
[P8 Lite (2017) Development] titicom:
Hello

I can't always understand why I can't download anything and install anything ... every time he tells me that the memory is full and impossible using the sd card .....

I tested on 2 roms and always the same problem .....

an idea ???
[P8 Lite (2017) Development] ronnie92:
Format data un trwp for decrypt device work for me
[P8 Lite (2017) Development] titicom:
could you give me the exact manipulation point by point to do. because I'm a little new to the P8 ..
[P8 Lite (2017) Development] ronnie92:
Boot to twrp (up vol + power button) go to wipe click to format data and reboot system
[P8 Lite (2017) Development] Axolord:
Hey, I installed the rom and really love it.

I am using latest pico gapps (0417), but had the following problem with previous builds too (0412):

when I do not enter a google account in the device setup or when I later want to add another, the app (Google Play Services) just hangs itself up and are unresponsive. I can provide a logcat, if needed.

Does anybody share the same probelm? I followed the instructions closely and did multiple reinstalls. I also have the recommended Magisk installed.

cheers, thanks for any help :)
[P8 Lite (2017) Development] Axolord:
Nvm im stupid as ****.

After I looked into the logcat, it came to my mind: I installed bromite webview, which breaks many things among google login.

So yeah, everythings fine now :)

Just wondering, has anyone got a working gcam port? Tried some and they were all broken in some way or another
[P8 Lite (2017) Development] DunoCZ:
And what about havoc os? Btw the phh treble app is using alot of cpu, after dissabling or limiting it on the backround the battery life is extended alot
[P8 Lite (2017) Development] DarkJoker360:
There is one from pixel 1 or another recent one buggy

Nah.

I think I have to rollback on aosp, I am changing a lot of things, new sources and maybe I can get back flashable zip.

Phh treble app can t be removed due to his fp gestures and hotspot dependecies, disabling or uninstalling it will break hotspot and fp gestures.
[P8 Lite (2017) Development] titicom:
Hello

I’m here to give you a quick review of this ROM ( thank DarkJoker360) ROM seems to be working for the moment ...and here’s what works for me:

install as described here:

(thanks DunoZC)

1. format cache, dalvik, data and system

2. flash system.img (personally I recommend using TWRP)

3. reboot to twrp -> wipe -> advanced -> system -> resize (DO NOT FORMAT THIS TIME!)

4. flash GAPPS, Magisk, patch

5. reboot and wait (if it 1 time reboot on first startup you did it right)

to recover the sd memory card restart and then do this:

(thanks ronnie92)

6. Boot to twrp , go to wipe, click to button format data and reboot system

Now I have to use my SD memory card to put the applications ...

an idea?

Edit:I also have another question:

is it possible to have the camera of the official rom?
[P8 Lite (2017) Development] rambomhtri:
Three questions:

1. If the offline charge does not work, which means you can't charge the phone if it's turned off... what would happen if you drain all the battery in the phone?

Since it won't boot because it has no battery, and from a turned off state you can't charge it, then the phone is completely dead? A brick?

2. What's the difference between the zip called AOSP and the zip called Lineage?

I know Lineage is the OS, but why there's another zip called AOSP with the same date? Can you install that one?

3. When you say "resize" with TWRP, what should you resize and to what size?
[P8 Lite (2017) Development] Roger1979_2:
Incoming and outgoing calls don´t work

Hallo,

thanks for the great ROM .

So far it works fine, only I can't make calls. Incoming and outgoing calls don´t work.

It works without problems via other apps.

I also flashed "los_patches_prague.zip".

I also tried the P8 Lite specific MORFUZ kernel through Magisk Manager, that didn't work either.

Does anyone have similar problems? Or did I overlook something when flashing?

Thanks in advance.

Greetings Roger
[P8 Lite (2017) Development] FortMike:
1. Good question, in that case i think you're simply ****ed up, so make sure you never drain all the battery .

2. AOSP is the "factory version" of the Android OS, without any additional modifications or features, LineageOS is a custom ROM with much more features, options etc.

3. If you try flashing Gapps after flashing the system.img you will get "error 70". To solve this problem, before Flashing Gapps, you need to follow these steps: in twrp -> wipe -> advanced -> system -> resize (DO NOT FORMAT!).
[P8 Lite (2017) Development] rambomhtri:
Wow, then, after reading point one, if that's true, it's something I don't want to live with. So, if you one day leave the phone at night playing music or something, you are done? How can you live with that? If you go to the mountain and forgot to charge it, you are done?

Looks like a terrible bug, to be honest. Get your phone down to 0%, and you might break it forever?

Anyways, about number 3, when I read "resize", I think that you resize something from one size to another, and I was asking what is the final size you have to put. When you resize a partition, you change its size from one value to another, you don't simply "resize" without any other given number.

I just formatted my P8 Lite 2017 and notice I only have less than 6GB of free storage without having installed anything. Quite disappointing. Can you tell me the free storage you have using this ROM?

Since I've read that the dev is going to fix the offline charging thing, I might give it a try, specially for the storage, but please, tell me that out of 16GB, we start with a lot more space than with the latest stock EMUI 8.
[P8 Lite (2017) Development] DarkJoker360:
Once the battery is over and you have to charge it the phone will boot in erecovery and charge else in system.

Aosp and lineage are different roms.

System resize from twrp, you don t have to set any size.
[P8 Lite (2017) Development] DarkJoker360:
Install hwims from Honor 9 lite thread or disable volte in ur sim.
[P8 Lite (2017) Development] DunoCZ:
I looked how crDroid look and it's ok, i will be maybe happier with RR or Havoc but that's still better then outdated EMUI :D

BTW I founded out that NFC can be fixed on yours AOSP rom after deleteing /data/nfc and any NFC named stuff in /data.
[P8 Lite (2017) Development] DarkJoker360:
After flashing nfc fix or no?
[P8 Lite (2017) Development] Lorthirk:
Hello all. I'm trying this rom, and I finally managed to install it with Dil3mma TWRP. However, I'm having a weird (for me, at least) issue: I can't seem to write anything on the MicroSD or the internal storage, although I have no issues installing apps and doing pretty much everything (except Chrome, that won't install). I unlocked the bootloader yesterday with DCUnlocker coming from a stock EMUI on Android 8.0.

Quite some time have passed since I flashed custom roms, so I'm a bit rusty. If you need more info (and I'm pretty sure you will do) just point me in the right direction!

Thanks
[P8 Lite (2017) Development] titicom:
Hello

look at action 6 and everything will be settled for the SD
[P8 Lite (2017) Development] vmosca88:
Try using Link2SD. It works only with root and allows you to put every app in the SD
[P8 Lite (2017) Development] Lorthirk:
A couple more hints:

- Camera reports that "I have to use an SD Card" in order to use the app. Of course the SD is already in, but it somehow can't recognize it

- With FX Explorer I can create files correctly if I use Root Access and go to /storage/<card_id>, while I cannot create them by just going to "Media Card", although I can see the files in the SD.
[P8 Lite (2017) Development] LLegoLLaS:
I have the same issue