yashsingh1/xdaforums huggingface dataset:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] jk77:
Hello,

I'm running the latest nightly and cannot get a GPS fix, am I the only one with this issue ?

Edit : nevermind, working fine now
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] blofse:
Latest update fixes the stupid android pie volume screen and now has it as an overlay when controlling volume, much better! Slowly getting there as a rock solid ROM.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Jerghal:
During one of the play store update I saw a Device Health Services app in the list. This seems to be a non removable system app that manages the power stanby stuff (which is optimized through google's machine learning).

They push it through the play store but it is part of the system. I would think that something like this is part of the Lineage OS and updated through the OTA updates. Is this correct and/or does this Device Health services app cause problems or is this something that's not part of lineage OS and only google manages?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hnsaba:
Can Navbar be disabled in LOS 16 completely, without black margin in bottom of keyboard?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] emmanuelcassar:
Add qemu.hw.mainkeys=1 in build.prop
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
Interactive notification tiles are back in today's update!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] sunando:
Yes !!! The very useful advanced QS tiles are back on pie
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Shuichi Akai:
[MENTION=3839575]mikeioannina[/MENTION] I'm having huge battery drain too, my fingerprint sensor is gone and in betterbatterystats I have 100% in fingerprint_wakelock as for other users, could you fix this please?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] rdanel88:
Thank you for the info.

That's weird that an "hardware issue" is solved just with a couple of reboots. Maybe there is something hardware related, but there must be something on software side too, like a race condition. Otherwise, I can't explain why the reboot would solve it.

Now there are more people having this issue, so I hope they will look into it soon. I'm starting to charge my phone twice per day even without using it at all!

I don't even use the fingerprint and I really don't think I will use it in the future. I don't know if there is a way to totally disable it without having to root the phone or rebuild the rom (which would be excessive in my opinion), but maybe that would be perfect for me.

I hope there will be news about this soon, otherwise I will try to downgrade to a previous release or try another rom checking if it has the same problem.

It's starting to get annoying. I chose this phone (and later this rom) to be able to wait days before charging it, but now it lasts less than my old phone (a Samsung Galaxy Nexus for 2012 with stock rom)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] danielcepa:
Clean flash and try not to hack it too much (magisk). I get 4-5 days of battery with 7-8 hrs SOT with one or two updates in that period. No battery saving measures, everything ON all the time.

F2FS, no root, no bugs

LOS is a very good and mature rom.

Thanks Mike and Highwaystar!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Akhil Lalji:
That's awesome!

How old is your device?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] danielcepa:
pretty old

using it daily since Nov 2017
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] philingle:
Hi all.

I am not all that tech savvy but I managed to get this installed on my phone, via downloading adb and fastboot. I formated my partitions to ext4 to play it safe, and it is all working really well. I did this 6 to 8 weeks ago, just after this thread started actually and my experience with the rom is that it is really smooth, battery life seems fine, still lasts two days if I don't put it on charge overnight. I have a vague feeling that the mobile signal is a tiny bit worse than it was on the stock rom, but nothing significant. I have been doing the OTA updates every now and then, and they have all gone without any hiccups. All in all very happy with the rom

One little thing that I have noticed on a recent trip (to somewhere with no mobile signal) was that when I restart the phone, and there is no mobile signal, it sets the date and time to a random date and time a few days in the past. I didn't do quite enough testing to be able to work out if it was resetting it to when I did the last rom update or not. I will be away from mobile signal for about 10 days in a couple of weeks time. I could do a bit more testing then, noting down dates and times of updates and restarts etc if that would help.

Thanks everyone involved for putting this together, and keeping the P2 going. I still havent seen a new phone with a battery good enough to think about moving on yet.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] BrokenLeg:
[MENTION=3839575]mikeioannina[/MENTION]

Re-tested and confirmed.

With screen off I have 0,3 %/h power consumption when my fingerprint is working. But if it's not working, it increase to 1,2 %/h
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] jk77:
I noticed that too within TWRP.

I'm quite sure that TWRP was displaying the proper time before.

I guess that something changed in the way Android sync up the clock, maybe the internal clock is not changed anymore and the time difference with reality is added live by the OS now...

... or our P2 is now too old and we need to change its CMOS battery ;)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Akhil Lalji:
Alright. I'm using my P2 since August 2017.

But i hardly get 6h SOT with 1 day usage. (I do a bit of gaming as well)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] BrokenLeg:
I'm using my P2 since April 2017...

It's strange. With this os version (if I have not the battery drain bug fingerprint related, that I was talking previously), I do al least 8-9 hours on two days with gaming, gps, data, bluetooth, wifi ecc..

Maybe you have a problem, check your device with accubattery.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Sutcliffe9:
Circular battery style is back with latest update.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Akhil Lalji:
Hi, I've checked my device with Accubattery as you've suggested.

The estimated capacity shown is 3767 mah. Maybe this is why my battery doesn't last long.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] jose_777.mx:
This my battery health (near 17 months), sorry the other picture was uploaded by error
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] David78130:
You need more cycles and sometimes that app isn't precise at all.. (it was around 60% for me with 15 hours sot.. ??)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] BrokenLeg:
Mine 90%, 4517mah (two years phone)

Test for one week for more accurate data.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hnsaba:
Just installed latest build (20190605). It can't connect to hidden WiFi SSID. Did any other friend experienced it?

On LOS oreo and RR pie, there is not such a problem with the same SSID and settings.

Edit: Found the solution. There is an advanced wifi settings in Pie for hidden SSID:

https://forums.oneplus.com/threads/...ifi-hidden-ssid-network.928862/#post-19344281
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Hey All

Can someone summarize me the whole list of outstanding bug's / issues?

Thanks in advance.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] church_foster:
Just flashed 15.1 last week because I thought it's more reliable than the newer 16 builds. Should I update?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Fangstergangsta:
Weak LTE in India (and maybe a little too in France)

Weak wifi

fingerprint sensor drain battery for some users
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] blofse:
Also some bands in UK.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] BrokenLeg:
Yes, that's all for now.

For the fingerprint sensor battery drain see the log in the previus post.

Thanks
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] robylbaldo:
this rom is fantastic, fluid, perfect! The only thing that doesn't work well is the connection !! It loses the signal for a few seconds both with the wi-fi and with the 3g-4g .... why?:confuso:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] selvababuu:
I think signal strength is same as stock and other ROMs.

The signal icon fluctuation looks just like a cosmetic bug rather than actual signal drop.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] trevorishpsycho:
I have a lower Speed than in other roms
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] blofse:
Its an actual signal drop. Since I moved to pie my signal has been as bad as the initial Oreo ROMs, which got fixed a bit later bringing back the good signal this phone can achieve. I'm just waiting on a bug fix or even an acknowledgement of the issue, or even I've asked if I can help with no information asked for. I swear its to do with which band is being used -I'm on three UK which uses for odd bands like 1800 etc - I had issues with the one plus where this range wasn't supported - so I'm presuming its some bands have bad signals like that!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Uniposka:
Does anybody know how to set a SELinux rule? I think it could solve this error:

[B]init[/B]
type=1400 audit (0.0:90) :
avc : denied { execute } for
name="wpa_supplicant" dev="mmcblk0p55"
ino=1162 scontext=u : r : init :s0
tcontext=u : object-r : vendor_file : s0
tclass=file permissinve=0
06-07 15:45:47 . 857 9505 9505

What I did: I replaced the wpa_supplicant with the stock one and I changed its permissions to be -rwxrwxr-x/775 UID: 0/root GID: 0/root. Wifi doesn't turn on at all.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mikeioannina:
In case someone missed it in the first post:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] blofse:
Quite possibly I did miss this.... :)

Added a new bug:

https://gitlab.com/LineageOS/issues/android/issues/795
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nsandersen:
Adaptive battery

Silly question - is adaptive battery included (cannot seem to find it) or is this because I have excluded it by accident when pruning GApps? Thank you.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] philingle:
Wi-Fi Calling

Hi

I can't get wifi calling to work, and was wondering if its a Lineage thing, or if is something that needs setting up in this ROM, or will this phone not support it. When I do a * # * # 4636 # * # * and look at Phone Information, the 'Wi-Fi Calling provisioned' switch is greyed out in the off position, so I can't enable it. I have two SIM's one with Three in the UK and one with Free in France, and they both support Wi-Fi Calling.

Thanks for any help.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] sylcml:
Switched to lineage 16 first time yesterday and exists all of them you mentioned, it's quite annoying because there was no problem any pie roms which I tried.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Uniposka:
In addition to #728

Is it possible to make that wpa_supplicant work by editing the policy? And if so, how?

I don't want to set SELinux to permissive for obvious reasons, but I couldn't figure out how this whole policy thing works...

Can anybody give me a hand?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] seky2205:
https://www.androidpolice.com/2019/...-on-10-more-phones-including-the-xiaomi-mi-6/

It seems that there is now official nightly build of lineageOS for kuntao. What is different there from this ROM?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] sylcml:
Same rom :p
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DarkHoundOne:
This IS that ROM
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] BrokenLeg:
I was going to open it, but I saw this

https://gitlab.com/LineageOS/issues/android/issues/800

It's my problem too.

Thanks in advance mikeioannina! I hope you will fix it :)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] MrJackTR:
i found bug. when I call someone and turn on the loudspeaker, the phone hangs up and switches on. Can you solve the error?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mikeioannina:
You *can't* use stock wpa_supplicant on a 3 version newer ROM. What are you even trying to accomplish?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Uniposka:
I really need support for EAP SIM and I have been advised to try this approach. Also, nobody else suggested anything different, so I gave it a try. If there could be some way of making it work, it would still be better for me than to reinstall stock Nougat.

Some old forums say that EAP SIM was supported in Cyanogenmod via vendor's blobs, but there's no in-detail information. Mostly French forums.

Do you have any advice [MENTION=3839575]mikeioannina[/MENTION] ?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Ofb34:
I think it was already mentioned before but I wanted to mention again for calling attention to this issue. I have signal drop problem since using lineageOs 16, sometimes i lose the signal completely and sometimes it gets quite weaker. Is there any solution for this? If not, hopefully it's gonna be fixed as soon as possible. Thank you in advance.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] rogat92:
Please refer to this post
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] blofse:
Or add a comment to this bug:

https://gitlab.com/LineageOS/issues/android/issues/795
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] naveenv023:
Lineage os 16 lenovo p2 VOLTE not working

I have installed the latest version of linage os 16 on my lenovo p2 everything works smoothly but I'm unable to get volte support, please help
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DS-1:
I've generated this bug tracking about the sound limiting after one second. There is also an example clip that shows you the issue.

https://gitlab.com/LineageOS/issues/android/issues/804
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Sutcliffe9:
I had to use a magisk module VoEnabler-v1.4.zip to get it to work. It is not in the repo list anymore so you will have to do a search for it.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] robuser007:
I also noticed the signials drops (Belgium. Proximus). Provider with very good coverage.

On aex if didn't happen (but there was wifi tether issues), sound quality while calling was also better (really a big difference!), even better than stock!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Lavesh05:
signal drops and worst battery performance moving back to stock.. bye bye
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hnsaba:
I have not signal drop, nor battery drain. In fact, for me this rom has the best battery life ever, Better than LOS Oreo, RR Pie and even stock. It seems that the problems mentioned are carrier specific! But I am confused about the battery drain, which I have NOT at all!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] blofse:
At least the connection issues are speculated to be down to which mobile network band the mobile company uses, I think!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] suvam69:
Waiting for the network signal fix!! On RR till then?

Where are you at boy!? [MENTION=5339160]pragun-sharma[/MENTION]
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] pragun-sharma:
Hey man, what's up ?

I'm on AEX. Lately, not much active on the xda. But surely waiting for the day when Lineage fixes that.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
Honestly, absolutely no LTE connectivity issues. It was as good as before for me atleast. This hints at may be the problem is carrier or region specific.

As far as battery life is concerned, i feel it is good but I suppose Oreo was a bit better.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] suvam69:
Yeah me too but checking lineage thread every 2-3 days hoping the lte thing gets fixed! =_=
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] emmanuelcassar:
Bye :D
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Sutcliffe9:
Yes goodbye, have fun.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
there are no real "signal issues" it's down to how the signal bars are calculated. this has been discussed last year across multiply devices.

other roms just set:

<boolean name="use_only_rsrp_for_lte_signal_bar_bool" value="true" />

which technically is wrong and hence was voted out by LineageOS dev's last year i believe.

there are even OEM's who set it properly to "false" for example Sony. see here
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Uniposka:
EAP SIM BUG

If anybody else has got the same issue (especially in France, from what I found out) keep an eye on this bug: https://gitlab.com/LineageOS/issues/android/issues/55
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] blofse:
so for me, there is still an issue regardless of how the bars are calculated. I cannot receive calls or text when the connection is miscalculated, which is a real problem effecting me at work where I need to receive texts for 2fa. One last thing I need yo do is go through the commit history of 15.1 and find some evidence of a commit that fixed this issue. Otherwise, I'm going to have to go to another ROM just so I can use the phone part of my phone!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nothingman1976:
Anyone have problems with the latest build? My fingerprints do not work and I had also two reboot of the phone...
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Fangstergangsta:
anyone test to put some files into the external sd using the phone and a computer?

I can't put files, the phone freeze and reboot.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
no need to get upset. if its not signal bar calculation related then if anyone is to blame it's Google. the issue is known to affect tissot too since Pie. (P2's donor device). so it is either related to ril blobs or kernel changes introduced with Pie kernel for msm8953.

my suspicion is that it has something to do with Google's "overhaul" battery optimization related with Pie.

on my last trip to an area which boarders with 4G/LTE and edge I did notice when my phone is in 4G/LTE idle. the signal would considerably drop where 4G/LTE is available all down to just edge. hence conserve power but once i trigger data traffic the signal would be back to normal (back to 4G).

I visited that same area with 15.1 build and never experienced that behavior. I suspected it's due to the area having seasonal changes (winter/summer - tree leaves and so on). but it is possible Google tuned something on Pie and made it worse for us compared to Oreo.

best possible option would be. bother Xiaomi official forums to fix it on tissot. Xiaomi will forward it to Google. once fixed Mike will grab whatever fixes it and put in into his ROM for P2.

remember Lenovo gave the P2 up long ago.

without the effort of Mike the users would still be stuck on Nougat. so users that are affected should stay calm an contribute in a progressive way by trying to pin point the issue and reproduce it or in any other way possible.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Ulysse 31:
Battery life is ok for me, performance mode all the day with data GPS, Bluetooth, and music from vanced. I get almost the same every day, i'll try in eco next week.

No complaints about this rom, i still remember how laggy was the stock. The only thing that i miss is the extreme eco mode from the button, but battery is never a problem on this phone.

Thank you for you work!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] blofse:
Righto, giving this a go! I'll post back with some results soon where I know its been bad! Thanks for the suggestion.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] :
Thank you so much, phone services was the app i was missing in the battery settings, after turning off the battery optimisation. My data works continue and i don't have to trigger airplane mode anymore
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DS-1:
[MENTION=3839575]mikeioannina[/MENTION] i've discovered that qualcomm 625 uses a noise cancellation technology called "fluence". I've also discovered that different phones that use 625 have different settings in build.prop or audio_platfom_info.xml to enable it.

I've found no infos about how Lenovo P2 uses this technology. But It's clear that Lenovo P2 fluence is too aggressive.

Is there any way to implement a function to enable/disable it on our phone? Just to try if turning it off can solve the low quality audio from recording.

Thanks!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] suvam69:
Is face unlock working now?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Erazor84:
no, everything works as expected. no problems with the latest build.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nothingman1976:
Now after two days of chash and reboot it's stable as usual and fingerprints works.. Very strange...
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] sunando:
Is anyone having any issue with the ringtones in 16.0 ?

The phone doesn't ring and vibrates when someone calls even if a ringtone is set.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] fuzhyperblue:
I literally opened a xda account just to say thank you mikeioannina for this wonderful ROM. Even though its still nightly build, I have absolutely no serious problem with the phone right now. Only problem is low network signal, otherwise very stable. Combined with Magisk, my P2 became just like a brand new phone. My last root experience was with LG G2 and Cyanogen, and it was a bumpy ride. Glad to see that LineageOS has become successful and stable. Thank you once again for your work and effort.

edit: Dear dev. mikeioannina seeing you are from Greece , greetings from Istanbul.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Shuichi Akai:
Hey guys! I've installed today's release but I'm getting white notifications even if I'm using dark theme!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
I've had that issue to with substratum on LOS15. Is not LOS related.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Ulysse 31:
Do you think the new 4.9 kernel will be usable in LOS? (See in "discussion")
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mikeioannina:
Maybe yes, maybe no. I tried porting it to kuntao a couple months ago but it's not as easy as cherrypicking the device supportt commits from 3.18. Lenovo charger modifications for example need almost complete rewrite. I will look at it again when I have some more free time, especially now that 3.18 is EOL in linux-stable
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] HACKIMTOSH:
Can you please tell what is the meaning of EOL ?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] raphj:
End Of Life (support)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Mrinmay Medhi:
Charging wakelock is again comeback. Device doesnot goes to sleep if charge more than 90%
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] iampijush:
Is there anyway to hide the navigation buttons? Since I only use fp gestures.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
It would have been great if the navigation bar hid itself when fp gestures are activated just like in los 15.1
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Chichi023:
I get bootloop on latest build anyone face the problem?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Ulysse 31:
Take a look at extended desktop in display ?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] philje123:
No. Worked fine for me.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hero1985:
Where can i find always on display ???

Or not available.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Faltak:
please add special ring volume control and notifications
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Mr.T_shaggy:
Anyone.....please........