yashsingh1/xdaforums huggingface dataset:
[P8lite Android Development] DarkJoker360:
Hello, I found an issue while calling: if u try mute it won' t work. Keep calm, this is present on every roms for this device and I already fixed it on lineage 14.1 for P9 lite. As soon as possibile I am going to release this fix here too. Thanks for understanding !
[P8lite Android Development] tjk123:
Thanks for this ROM - which fixes a GPS time rollover issue. I can continue to use Strava :) Great work

Correction: I though GPS time issue was fixed - but just tested it now and it's still broken as it's reporting today as the 31 August 1999. Any ideas?
[P8lite Android Development] john3voltas:
You're the man, [MENTION=7019289]DarkJoker360[/MENTION] , master at work!

This seems to be the most stable and most well maintained unofficial rom for the p8lite.

Just a couple of small issues I found. The bluetooth feature most of the times doesn't respond when I try to enable it.

I have to enable/disable several times in a row for it to finally turn on.

Most of the times I disable BT in order to save battery and it's definitely not easy when I try to re-enable it.

Also moving through the menus doesn't seem to be very smooth. This is not an issue I've found with this rom only. All other roms that I tested except for the official rom which seems to be pretty smooth.

Is this normal? Is there any workaround?

Thanks in advance.

Cheers
[P8lite Android Development] john3voltas:
Ouch...just noticed the "double-tap to wake" feature that is available in the settings > display is not working.

It worked both on stock and other unofficial roms.

Do you think there's anyway I can get bluetooth and double tap to wake to work?

Thanks in advance.

Cheers
[P8lite Android Development] a young boy:
Hey, I have already swiped LineageOS, but the ROM is not very customizable. Is there any way to increase his customization? Magisk module and XP module are OK！

Any suggestions for what you want to offer to me?
[P8lite Android Development] DarkJoker360:
Bluetooth is already working, I am trying to get Dt2w working yet.
[P8lite Android Development] john3voltas:
Not on my end.

It works, but only if I enable, disable, enable, disable many times. That's when it works.

But if I disable it again (to save battery), when I want to reenable it back up again I have to go through all that enable, disable, enable, disable, again.

So either there's something wrong on my end or the BT is not yet 100%.

Say, I still haven't had time to try the NFC. It didn't work in other roms. Should it be working? Your first post doesn't mention NFC.

Great news. Thanks a bunch mate.

At one point you mentioned you were going to work on LOS 15 for this device. That would be extra cool. But if at least you keep maintaining/improving this 14.1 then we already owe you big time.

Thanks a bunch mate.

Cheers
[P8lite Android Development] DarkJoker360:
I am sorry but I can' t say the same.
[P8lite Android Development] marianobianchi:
I have some problems with bluetooth too. But the main problem is when trying to connect to new devices. I have to do something similar as you said: enable, try to connect and BT power off alone. Enable again, connect, power off alone. After a few tries, I can finally connect and after the device is "known", I don't have any problems to re-conect in the future to that device. :victory:
[P8lite Android Development] john3voltas:
I was loving it so much, even with the small bluetooth glitch...

But now the battery is draining in less than 7 hours even if I keep the phone idling whereas it would hold up just fine for 18 hours with the stock rom (in idle).

Also I am experiencing another issue with celular data. Once in a while I am suddenly loosing celular data. This happens maybe 6 or 7 times per day.

EDIT

Apparently it starts happening every time I disable WiFi.

Every time I'm at the office or at home I connect the WiFi but when I'm on the road I disable WiFi and enable Bluetooth. From that point onwards the celular network symbol starts showing a small cross in the bottom-right corner even though it shows the LTE words.

I then have to go into to the "settings > data usage" and disable and re-enable cellular data.

Then it's fixed until I enable and disable WiFi again.

/EDIT

I even thought it could have something to do with issues with my provider, but I have another P8 Lite 2015 (my wife's) which is still running on the stock rom with a simcard from the same provider and her phone is not having these issues.

I even switched simcard with her last night and it kept happening only on my phone.

I am felling tempted to wipe the phone again and reflashing the rom. Maybe something wasn't wiped out properly...

Another issue with the bluetooth is that I have paired my phone with my car stereo system and with a small Hi-Fi system. They are both behaving strangely. My car's stereo reboots when I try play some music from my phone. After the reboot I retry to play the same music and from that point onwards it works just fine. With my Hi-Fi system, it paired just fine with the phone but whenever I try to play music on it from my phone it just freezes and will only work again if I unplug the power and power it up again. This does not happen with my wife's phone.

Any advise?

Thanks
[P8lite Android Development] bennywayne23:
Hello As i say before i have battery drain issue Can someone tell me how can i update the latest version i dont know how to do it ?
[P8lite Android Development] allrightlite:
Read OP, wipe dalvik and cache and then dirty flash the zip file, easy going :o
[P8lite Android Development] john3voltas:
I'm on the latest update from 12-04-2019 and I also have the battery drain issue.

Can you please let me know if you somehow if you find a workaround for that? Thanks

---------- Post added at 10:28 ---------- Previous post was at 10:06 ----------

What exactly do you mean by "the right settings"?

On other roms, namely stock and AOSPA which are the ones I've been using lately, I usually have either bluetooth or wifi scanning enabled in local settings. Sometimes I even have them both enabled at the same time and occasionally enable NFC for the random payment and the battery always worked fine for at least 17 straight hours with little usage (no calls, no videos, only texting).

With calls, a couple of videos, some twitter/mastodon and lots of texting it usually holds up for at least 12 hours.

So I can't understand what you mean by right settings. To me, they are all fine and they are all possible options during the day and they should work without any big noticeable draining like I'm having right now.

Right now, with no calls at all, no social, no nothing, in the best chance it holds up for 7 hours...
[P8lite Android Development] Ralfifranken:
Why is the battery very fast empty?

When the phone isn´t connected with an wlan, then is it always activ.

What musst i do?
[P8lite Android Development] john3voltas:
Interesting. You posted a question and the answer to your question is in your subsequent comment.

Exactly!

At first I thought it might have something to do with "data saver" feature which I always enable because my data plan is very short.

But yesterday I've had it disable and it still didn't matter and I still had huge battery draining.

Now, today I've kept WiFi on all the time and "lo and behold": the battery says it's going to last for TWO days.

Right now I'm not going to disable WiFi any longer. But issue is: what if I go out and don't have WiFi coverage? I will still keep the WiFi on but will this work? Will it go into doze or will it start draining battery like mad all over again?

For now, keep WiFi on and pray that [MENTION=7019289]DarkJoker360[/MENTION] can replicate our issues.

There's something wrong in the LTE, WiFi, BT, NFC area of the rom.

All the above work but they tend to do weird stuff. For instance, my LTE disables data if I enable WiFi. That's normal. But when I later disable WiFi, LTE data does not resume. It keeps showing a small x in the voice/data coverage meaning that data is disabled. I go in the settings, disable data, reenable data and voilá, LTE data is now enabled again. But only until I reconnect to a WiFi network...

EDIT: forgot to mention. I still have HUGE faith in this rom and in the developer. Without these small glitches, I still think this is easily the best rom out there for this phone. By far.
[P8lite Android Development] davidkejzlar:
Some battery drain can also be caused by Wi-Fi scanning or positioning? I had same this problem on stock Huawei P9 (battery lasted half day) and it was fixed by disabling of Wi-Fi scanning and setting positioning to GPS only.
[P8lite Android Development] john3voltas:
I've been keeping location services disabled. So, I guess WiFi scanning is not the culprit here.

Or could I be assuming wrong and even though location is disabled, in the back WiFi scanning could still be working?
[P8lite Android Development] davidkejzlar:
WiFi scanning is separate function and is constantly scanning for visible WiFi networks (there's also similar function for bluetooth), search for "scanning" in settings to see, if it's really disabled.
[P8lite Android Development] john3voltas:
Had never noticed that.

I notice that I've always had BT scanning disabled and WiFi scanning enabled and I've had battery draining issues and I also seem not to have them right now that I am using WiFi enabled all the time.

But I'm at home. I have access to a WiFi network. What happens if I spend the whole day "on the road" going from customer to customer where I don't have WiFi access.

I guess I will only find out on Monday.

Cheers
[P8lite Android Development] ender1324:
well I tought it was a good idea to update but it was a strange one and it failed anyways, I rebooted to twrp and wiped cache and dalvik, after that flashed the updated rom and after the rom was flashed, magisk just popped up without reason, I never flashed it, it failed unmounting system because it was busy but magisk didnt say it failed and at the end it said unmounting partitions without problem, but after reboot I am stuck at the logo, probably bootloop.... Can someone help
[P8lite Android Development] john3voltas:
You can't just wipe cache and dalvik only unless if you just want to update to the latest rom release. Or at least that is my understanding.

OP says that for a regular install you need to do a full wipe. You wipe system, data, cache, dalvik/art cache/cust. Don't wipe the SD Card.

Reboot into TWRP, do a full wipe and reinstall the rom.

That should put you off the bootloop.

---------- Post added at 11:42 ---------- Previous post was at 11:27 ----------

@DarkJoker360

I ran a test. I fully charged the device and disabled WiFi. Then I went to sleep.

It's been like 10 hours since I did that and the battery just drained 22%. I still have battery almost for a full day.

The only things I did since I was having battery draining issues are:

- I disabled the "cellular data saver"

- I haven't been "enabling BT after disabling WiFi" or vice-versa "enabling BT after disabling WiFi".

I usually do the first because my data plan is small and the second to save battery during the day.

Now I am going to test enabling the "data saver" again and see how it goes.

One thing is true: with the data saver disabled I haven't had any issues with the cellular data showing an X in the logo and going fully disabled. The data saver is supposed to cut data to all apps *except* to the ones that we put in the exception list. And I have several apps in that exception list. So it doesn't make any sense to cut the data when I have whatsapp running and I have that app in the exception list.

I'll let you know how my next test goes.

Cheers
[P8lite Android Development] allrightlite:
I have no problems with battery drain. Here I charge all 3 days by around 2h screen on time. That's ok for daily use. Just use it for messager like WhatsApp, Threema and calls, emails, sometimes chrome and driving tickets. But not really for other stuff. Love this phone for this art of tasks. Perfect and fast.
[P8lite Android Development] john3voltas:
Then do me a favor. Please enable "cellular data saver" and reboot. And tell me about it in a day or two.

I am currently trying out "cellular data saver" again. At first sight, as soon as I enabled it and disabled WiFi, I immediately lost cellular data even though I have several apps in the exclusion list of the cellular data saver, whatsapp being one of those apps. And I can confirm that with WiFi disabled and cellular data saver enabled, I'm not receiving whatsapp messages from other folks.

I shall see about battery usage in the evening.

Cheers
[P8lite Android Development] allrightlite:
Don't know what it is. Never change a runnung system. I won't do any tests which not needed.
[P8lite Android Development] john3voltas:
That's fine.

One day, though, you may wake up with a phone that is draining battery and then you may need a hand yourself...
[P8lite Android Development] ender1324:
but what did I say, it says "I tough it was a good idea to update"
[P8lite Android Development] john3voltas:
Sorry mate. I missed the update part... ;)
[P8lite Android Development] daniyal.javani:
Can anyone please tell me why it's necessary to install the b896 update and then "do a full wipe (system, data, cache, dalvik/art cache/cust)"? I'm confused!

What if I'm using a newer update than b896?
[P8lite Android Development] alexelbdmc:
Honestly I don't know I flashed these custom roms over other updates(both b895/896 and other firmware that I find with firmware finder tool) without any problems, even from emui 4.0

And there was no problem neither improvement

The full wipe is always necessary when you have to install a new rom because the old files may interfere with the new ones
[P8lite Android Development] davidkejzlar:
Yes, B895/B896 is mandatory, as mentioned by ROM creator.

This was already discussed before (at least one user was unable to boot, when this ROM was flashed over stock non EMUI4.1 ROM), you can download ROM here.

https://xdaforums.com/showpost.php?p=79098985&postcount=407
[P8lite Android Development] Frelis69:
http://huawei-firmware.com/phone-list/huawei-p8-lite/ale-l21

:highfive:

There are also more updated versions with emui 4.1, as: B903
[P8lite Android Development] john3voltas:
Somehow my battery draining issues disappeared. I have undone everything I did that I thought could have cured the issue but the draining didn't come back.

I'm clueless...

So, right now the only issue I am facing is with bluetooth. The fact that it doesn't get enabled when I tap to enable it (minor disregardable issue) and the fact that it does weird stuff with my car stereo and with my compact Hi-Fi system.

My car stereo goes into several reboots when I enable my phone BT. At times it can reboot 6 or 7 times until it somehow stabilizes and allows me to play audio. But when a phone call comes in it immediately reboots my car stereo again.

Any way I can try debug this issue, [MENTION=7019289]DarkJoker360[/MENTION] ?

Thanks in advance.

Cheers
[P8lite Android Development] MARCOSOFT:
Any solution for DT2W?
[P8lite Android Development] john3voltas:
Apparently the OP has already a fix for that. Maybe he's waiting to squash some more bugs before releasing it.

https://xdaforums.com/showpost.php?p=79340354&postcount=450
[P8lite Android Development] john3voltas:
No one else having issues with Bluetooth?

Like when trying to play some smartphone music on a stereo system using BT connection?

What about taking phone calls on your car stereo via BT connection? Is it working for you guys?

I've found another issue which seems to be quite common among AOSP/LOS roms: when I plug an headset jack it usually puts the sound on the headset and cuts the phone speaker sound, which is expected. But when I unplug the headset jack, sometimes the phone does put back the sound coming from the phone speaker.

This means that after listening to some music on the phone and unplugging the headset I then have to restart the phone in order to make the sound go through the phone's speaker.

There are applications to force the sound path but this not optimal. This week I've lost several calls because the phone was ringing but the sound was going to the (unplugged) jack headset instead of going to the phone speaker.

Could you please take a look at that, [MENTION=7019289]DarkJoker360[/MENTION] ?

Thanks man.

Cheers
[P8lite Android Development] DarkJoker360:
Provide some logs.

Btw headphones are fine till u touch some headphones' s button
[P8lite Android Development] john3voltas:
Hey there, mate.

I would be more than glad to do so. Can you please point me to a wiki/tutor on how to provide logs? Because I've never done that before and I've never run across a topic that refers to that.

Could we be talking about these logs? https://www.xda-developers.com/how-to-take-logs-in-android/

Oh! I think you're right!

I use the headset button all the time to either take calls or to pause the music that I am listening to.

Any way we can workaround this issue? Because the stock rom works fine with the headphones and with the headphone's button.

I will test using the headphones without touching the button and report here later.

Thanks in advance.

Cheers

EDIT: I think it's confirmed. The headphones work fine when I don't touch the headphones button. As soon as I touch the button it starts malfunctioning. Any known workaround?
[P8lite Android Development] DarkJoker360:
1: Use matlog app

2: Unfortunatly no :(
[P8lite Android Development] DarkJoker360:
By the way, good news, I am trying to implement ota updates !
[P8lite Android Development] john3voltas:
Hmm, the one on F-Droid will do? Do I set it for "verbose" or do I choose a different log level?

BTW, I am experiencing some issues with recording video with Footej. On other roms I've never found this issue when running Footej. The image is not fluid in the video. As if it was stuttering.

Anyone else experiencing this issue? I am going to disable Magisk's modules and try it again. Maybe it's the HWC module that I enabled in Magisk.

Can this kind of issue be debugged with a logcat log?

Yay!! :)

That would be just awesome. Thanks man.

May I ask if you have any plans to try a LOS 15 build? Is it very difficult like starting the work all over again or is it something that you could reuse some of the work you've done on 14.1?

And, hey, you know me, I'm the guy the said it here I prefer a stable/matured LOS 14.1 to a WIP/unstable LOS 15. I'm just curious, that's all.

Cheers
[P8lite Android Development] DarkJoker360:
New LineageOS Update !

Changelog

* Fixed incall Mute issues

Check OP for more info and download !

Best Regards.
​
[P8lite Android Development] DarkJoker360:
Everything could be debugged by a log.

I think I am going to make a RROS-Extended, a modded and updated rros oreo.
[P8lite Android Development] floshey:
ALE-L21 Sim card not working!?

Hi there,

first of all: thank you! Really need something different than the stock huawei ROM :D

BUT I have one issue... My SIM CARD is not detected even though I did everything according to the instructions.

I also tried it with other Custom Roms of LineageOS but it didn't work either :'(

I'm from Europe (Germany), so do I have to edit any files or so??

I took the SIM Card out before installing, and put it back in after rebooting.

Greetings
[P8lite Android Development] ender1324:
Oh my are you actually gonna do it, thank you man, are they gonna be bug fixes
[P8lite Android Development] DarkJoker360:
I will try so, it is so hard so say exactly what will happens.

The thing that I am sure is that I will continue providing security patches updates every month :)
[P8lite Android Development] john3voltas:
Yiiiipiiii :D
[P8lite Android Development] allrightlite:
That will be working until august, right? Because Google provides security updates always for the last three main versions. I'm really excited if nougat support ends with Q release, but normally it should. I love nougat anyway. One of the best versions ever! When your oreo-version comes until end of august, maybe this phone can get one year more security fixes. Would be great ;)
[P8lite Android Development] ender1324:
Nice, i am wishing you luck, the rros oreo that the openkirin team made was pretty stable for a testing build but the thing is, my phone was singlesim and offine charging stuff, I just couldnt stay with it
[P8lite Android Development] DarkJoker360:
No it can be updated after Q

Thanks, I got single sim too and it is so hard to fix but not impossible... Let' s see
[P8lite Android Development] aciupapa:
Any way to fix Snapchat video recording? or is there a workaround
[P8lite Android Development] Kpsr94:
I was really happy to install this ROM but unfortunately battery drain was enormous. As [MENTION=5366561]john3voltas[/MENTION] said it is probably caused by cellular data. At the beggining i thought i will live with this drain and dont care about it but 3h of continuous phone use (or max 8h while phone is idle) with a new battery is really annoying.

So unfortunately i had to change ROM for Paranoid which doesnt have such battery drain.
[P8lite Android Development] john3voltas:
And what is funny is that I don't recall having done anything out of the ordinary and now it holds for as much as 24h without recharging. Mindbloging...

Try disabling the cellular data saver. I remember having it enabled when I first installed the rom. I disabled it further down the line.

Hey, don't change rom that fast. You should try to workaround your issues with it and keep in mind that AOSPA for our phone hasn't had any updates in almost 1 year. I remember that I installed an unofficial rom especially because I was looking to keep the phone as secure as possible with patches from upstream. And also being able to completely ditch google apps was another positive.

Try LOS 14.1 again and enable disable wifi/bt/nfc/data saving many times. I'm quite sure our battery draining issue had something to do with that.

Oh, also try installing MatLog and send DJ360 a logcat. Maybe he can understand what's happening with your battery draining. I'm gonna try to do the same for my BT issue.

Cheers
[P8lite Android Development] daniyal.javani:
Thanks, it was really annoying!
[P8lite Android Development] ender1324:
I hope so, I am stuck with this phone 6 more month so I need to use it somehow still :(
[P8lite Android Development] Gastozz:
How to unlock the device and install TWRP? I want to flash my phone but don't know how to get TWRP working. Does it work on 2015 version? Thanks in advance. :)
[P8lite Android Development] DarkJoker360:
Okay guys I am here to say something.

I think I found the root cause of rild crashing on oreo. And finally single sim support can be added I hope so.

Actually now I am stucking on fixing a lot of kernel error, there is a lot of stuff to correct but i don' t wanna say that ril is working but meh, it is a progress :)

Also some positivity to notice on BT !
[P8lite Android Development] john3voltas:
Go to your phone's settings and enable "developer mode" by tapping a lot of times. Google it.

With developer mode enabled, you can flash TWRP using ADB. Google it.

Can't recall if you need to hack the bootloader for any of the above....Nevertheless, both are covered here in the forum.

And yes, it works fine on the 2015 version of the phone.
[P8lite Android Development] ender1324:
I am speechless but thats very good news
[P8lite Android Development] M47Z:
Had the same issue... forgot to flash this as mentioned in post 2 https://androidfilehost.com/?fid=962021903579489234

After this the battery drain is better than stock at least.
[P8lite Android Development] john3voltas:
[MENTION=7019289]DarkJoker360[/MENTION]

Do we need to install b895/b896 each time we install a rom?

I'm asking because before installing your LOS 14.1 I was already using AOSPA and in order to install AOSPA I had to flash b895/b896.

Before installing your LOS 14.1, coming from AOSPA, should I had flashed b895/b896 again?

It was my understanding that it was not needed but post #503 got me thinking.
[P8lite Android Development] DarkJoker360:
No, just once after removing emui 4.0