yashsingh1/xdaforums huggingface dataset:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Sutcliffe9:
Rock solid ROM great battery life
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Sutcliffe9:
Mokee 9 is on Android 9
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] cara7mel:
Thanks for details and to take your time to share your hands-on expertise, in-depth knowledge and insider Lineage OS 18 development status/issues.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] cara7mel:
Thanks, that is OK. Let’s see next MoKee release based on android 10.

I prefer Lineage OS. It is long time well established (fork of CyanogenMod) supports many devices, faster development, (now on android 11 based) large community and forums support!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kielbek:
No problem. I'm not an insider though. I just built 18.1 on my own from sources that were available at the time of building to see where we are.

Can't say that I'm some kind of pro either. I just analyzed the topic a bit and checked out on these rumors if this makes any sense. It didn't, but I disabled FM radio feature completely anyway and checked this out, just to be sure. Android ports are hacky due to some parts of them being closed-source (thanks to OEMs), so it was worth giving it a shot, because some bugs are just weird and shouldn't be happening when you first look at it. That didn't make any difference though.

About these permissions... The commit you shared was kinda related to the thing, but you thought it added these "new" permissions for FM app. Commit itself didn't mention location permission for example. It's because it overriden FM app permissions actually and revoked it and rest of them. Since it was introduced on 16.0 tree, FM app in 16.0 builds, before it was merged, most likely had all of these permissions too. That's why they're unrelated to the battery drain at all. The latter commit I mentioned in my earlier post was introduced on 17.1 branch and it kinda reversed this behavior, so that's why you're seeing them again.

I can't tell why they can't be disabled and where this behavior is defined tho but it doesn't matter much as I said earlier.

You can also take a look at how priv-app allowlisting works in android documentation.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] cara7mel:
Very interesting post…especially the bold sentence!

You admitted that are not an insider, neither a pro and for sure you don’t have the in depth-knowledge because you admitted that you don’t have a clue why the FM Radio permissions can not be disabled or where “this behaviour is defined”

Obviously you didn’t get it but my previous post is 100% pure irony for lack of etiquette definitely not a praise. I just tickle your ego, and give you more rope… Just a bait for a bully!

Q.E.D.

goodbye!

over and out
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kielbek:
Surely. I thought for a bit that it might be an ironic reply but gave it a shot, as it costs me nothing to explain what I know.

Apparently you got very insulted with my first post, lol. This is what I am serving to the theorists like you.

Anyway, I'm glad that you came up with something better and debunked my knowledge and proofs I provided. This says a lot about you if you can't contribute to the discussion with more than irony, your guesses and useless explainations of physics that are not even related/applicable to the case, just to look cool and smart. But yeah, if you can't read a single commit properly, then no wonder why you think someone's needs to be a rocket scientist to draw conclusions like I did.

If you think finding why permissions are locked out for the end-user, for one app is an easy job in such big project, I hope you'll find it out by yourself. You proved yourself to be a lost cause, so I'm not gonna waste my time anymore on this. Keep living in your imaginary world.

The next time you want to challenge someone else's knowledge - try harder.

My point still stands in such case. FM Radio has nothing to do with the battery drain, neither do permissions.

Goodbye.

Next!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] eried1:
Just flashed LOS17.1. Second day, everything works really good this far. If I enable flight mode and battery saving mode - still use wifi - I could almost reach 15 hours of SOT. 0-1% over night.

Head and shoulders above stock Nougat.

Great work, Mike!

Edit: Even without airplane mode, I experience no battery drain. FYI: I have set the phone to go to deep sleep after 10 min of inactivity. I do not know if it helps or not.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] RAZOR1985:
Hi,

I can't get the fingerprint reader to work. Is there anything I'm missing?

I've been away from this phone for two years and decided on flashing Lineage 17.1 on it because I'll have to hand my current phone in. I've oem unlocked, flashed latest TWRP, and flashed Lineage. No FP reader to be seen.

Afterwards I noticed that a custom version of TWRP was required, so I flashed that over but no FP still. Should I flash Lineage again? Or is there anything required else I might not have done?

Thanks!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] 3volution3:
Several Lenovo P2 devices' fingerprint hardware fails after some time. Some people completely lose it and for some others it comes back to life after a while. In my case it fails for a couple of hours a few times in the course of several days, then it's ok for a few months and it fails a few times again, and so on and so on. I have no idea if it's a loose connector, damaged ribbon or something entirely different.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mikeioannina:
Please stop arguing here, as @Kielbek said, FM radio has nothing to do with battery drain. Nothing was changed related to permissions (only thing changed is how user sees the permissions in the OS), it only uses the required permissions to work, it does not run in background. It's all open source and you can study how android works to see that's true.

Lineage 18.1 isn't in a bad shape but it still requires a couple hacks to work on P2. I've been using it daily since December and there is indeed some battery drain issue that I have not pinpointed yet.

Most of the problems come from the fact that official lenovo update is so old now that we have blob incompatibilities and issues all over the place, sometimes not being able to fix them properly without hacking too much stuff.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] RAZOR1985:
I'll be getting a new phone in a while, the P2 is an in between phone. When I have the new one, I'll open up the P2 and have a look inside to see wether there's an obvious problem and document it here. This might help some other people.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mahmutpekkara:
Thanks for all your efforts Mike. Is this means our phone getting too old and we cant get the future android updates properly?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hnsaba:
Thanks Mike.

As I have mentioned earlier, changing the Performance profile from balanced to quick, improves the battery life a lot! It should decrease it, but it behaves in opposite. Maybe it can give you some sign about the battery drain.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
Meanwhile..

Lenovo p2c72, twrp 3.5.0, magisk rooted, ext4 partitions, pin unlocked, updated to 2021-03-14 with the updater app. Everything smooth. Fantastic ROM, thanks a lot Mike.

Looking forward for los18.1!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Getramen:
Does it work with the new twrp version?

twrp-3.5.1_9-0-kuntao.img
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
Do you have figured it out? Maybe your phone wasn't encrypted, no? I think the FP reader only works if the OS is in encrypted mode.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
Yes, I did a clean flash of the ROM hours ago. Everything worked like a charm.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DerpyNerd:
Glad XDA is always around :) Thanks.

Flashed my sisters' phone and it's as new.

I'm not reporting any issues for now. All functionalities (fingerprint, wifi, radio, etc) seem to be working. Congrats! This is the first ROM that doesn't seem broken at first glance
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Getramen:
When comes Lineageos 18.1 for Lenovo P2?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Atanassoww:
LineageOS 18.1 is Released officially. But is not avalible for Lenovo P2 :(
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] 3volution3:
Major problems yet to be fixed for our P2. In case you haven't noticed, there is no 11 ROM for P2 working 100% yet, even though plenty of 11 ROMs have been released to the public. Wifi display is still not working and probably also some other things I don't know about.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
Lenovo p2c72, twrp 3.5.1, magisk 22.0, ext4 partitions, pin unlocked, updated to 2021-04-04 with the updater app. Everything smooth. Fantastic 17.1 ROM, thanks a lot Mike.

Looking forward for los18.1!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Robertsem:
Hello, I'm using stock Android 7 on my P2. Can I directly install LineageOS 17.1 or do I have to downgrade to stock Android 6?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] amdyss:
Just follow manual on how to install... in first post.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] GPSSlovakia:
18.1: https://www.xda-developers.com/lineageos-18-1/
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Robertsem:
This is not what I asked.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] christboanerges:
hello i have a problem with wifi

my speed internet is 16Mbps

when iam using 5GHz wifi , my speedtest just 3Mbps

but in 2.4GHz speed internet its normal 16Mbps

i think its router issues . i have done reset router , but same issues

in another device when using 5ghz speed internet normal.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Sutcliffe9:
l had to turn my 5ghz off on my router and just use the 2.4ghz because my P2 was constantly disconnecting.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] wodaaa:
I have had the same problem for a long time
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
I´m using this ROM without any problems with wireless speeds. Clean flashed it, btw. Maybe you can try within another 5GHz network just for the sake of curiosity (i.e. your friend´s or a coffee´s shop wireless network).

Try giving another name to your 5Ghz network, so you can switch between them manually.

Me either, but not a deal breaker for me as it´s only happens when the phone is resting in standby.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] christboanerges:
thank u ,

iam sorry thats router issues, after change chanel to 157 and RF bandwith to 20 , now my speed internet using 5ghz nomal :D

thank u , very stable rom
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] amdyss:
Hi all,

Bootloop after I tried to update from 3/28 to 4/04. Tries to boot up, then there is a restart and phone goes into TWRP.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] RAZOR1985:
Same behaviour here.

Edit: https://pastebin.com/EUcaUVZC last_kmsg contents; Can't really find anything sticking out.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mikeioannina:
I might release some unofficial 18.1 builds for broader testing, I haven't had time to look into remaining issues yet.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
Hello all. Facing bootloop issues when updating to 2021-04-11 using built in updater like I always do.

Phone goes into twrp and nothing happens.

This has happened a few months ago but was sorted out. It has returned again.

Any solutions much appreciated
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] amdyss:
Ive found no solution, I flashed clean build 3/28.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
Me too. Had to clean flash previous build. Since this happened unexpectedly, not everything was backed up. Lost all data.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] amdyss:
T

That's sad :-(
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Atanassoww:
Who knows, this bug with cast in Android 11 may never be fixed. Is it so encrypted that it is impossible to understand where it is from..
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] wodaaa:
version from 4.04 works for me, installation made in twrp
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] darwinH:
In case you want to try something different before using next los release, there is a - /e/ rom - available for kuntao, it comes with microg and few additional privacy tweaks by default. It's really nice.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] darwinH:
You can get more info about it in here. And find some more info on /e/ forums.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] amdyss:
Fp gestures randomly dissapear and are back after restart. One time I had to remove all recorded fingerprints and set it up again. After couple of restarts Yt problem is constant. Reboot, cleaning cache/dalvik does not help.

Wysłane z mojego Lenovo P2a42 przy użyciu Tapatalka
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mikeioannina:
Ok I can finally reproduce the audio bug myself. Does this happen only on 17.1 or it used to happen on 16.0 as well?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Mrinmay Medhi:
Problem come only in 17.1

Thats problem not appeared in the los 16.0.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Taranis:
I used 16.0 (clean September build with no updates) until yesterday. I didn't have any issues with video or audio.

BTW, is it possible to hide screen buttons in 17.1 to use FP gestures only? I haven't found it in Settings. I also wonder what was the cause of sudden reboot, hope it was single temporary issue. Thanks a lot!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nothingman1976:
Only 17.1
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] topoldo:
I would like to thank you very much Mike for Lineage 17.1. As I am not in an hurry, I'd prefer to be sure that it is mostly ok, especially fingerprints and audio/video before upgrading from 16.0. This however is not so important here. What I want to say with this post is that I want to thank you very much Mike because of his dedition to carry out the project of Lineage for this phone which - IMHO - was not officially supported enough by Lenovo/Motorola despite being a great phone with features well above its price! Tnx again, Mike!

Topoldo
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] AvinashJ:
Thank you

Thanks a lot... Thanks mike
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DS-1:
Only on 17.1. It comes also with slow video, too (on whatever app).

Why this bug shows randomly?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Sutcliffe9:
My battery stats
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nothingman1976:
Are you sure you had this bug on 16.0? I used 16.0 since the first build and never encountered this problem. The problem on my phone appears only on 17.1
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] amdyss:
Mine.

Wysłane z mojego Lenovo P2a42 przy użyciu Tapatalka

My son played brawl stars for more than 90 min. [emoji846]View attachment 5003959
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
[MENTION=3839575]mikeioannina[/MENTION] never happened on 16.0. only happening on 17.1. Also it does not happen when using bluetooth headset on 17.1.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Bipo:
Didn't happen to me on 16 either

Bluetooth worked for a while, but not anymore
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] isanaldi:
Slow video and sound problem is solved after i installed kuntao main cam Fix and video recording fix.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nothingman1976:
I suspect that if you restart the phone few times, the problem reappear...
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] isanaldi:
You are right. After third restart it appeared
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] slim71:
I've been in video calls for hours without any problem today, then phone suddenly stopped recording audio a couple of minutes ago, both from WhatsApp and from stock recording app..

restarted, and everything's working now! :D

[MENTION=3839575]mikeioannina[/MENTION] should I try to make a log (if it happens again, or even now) for you?

---------- Post added at 08:07 PM ---------- Previous post was at 08:05 PM ----------

in case it is needed, what are those fixes?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] blofse:
Slow video here also. Any video in WhatsApp or websites seem to be slow for me!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DS-1:
I wrote the wrong number! 17, not 16!:)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kielbek:
Everything is fine on every 16.0 build you can imagine. Never had such issue there. It's only 17.1 thing.

I'm hard using this phone for multimedia purposes.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] darwinH:
I don't know why they didn't create thread on xda, there are few for /e/, like this one
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] cocopipou:
I meet a very strange problem on my Lenovo P2a42.

I have used LineageOS 17.1 from the beginning (April 2020) until the day before yesterday (25/04/2021). I made monthly a dirty flash (for the security patch), except a clean flash on Last september 27th in order to completely and definitely suppress the root and a second clean flash with the version dated 25/04/2021 to see if my problem is still there.

With my phone rooted (< 27/09/2020)

The first time I launch ING Banking (my banking app) it shows a message saying "You seem to use a rooted device…". But that doesn’t prevent me to install and use properly the application.

I can install and use Myvoo (the app of my TV, phone and internet provider) without any problem.

The application Itsme (official Belgian digital identity) shows the message "You are using a cracked device" and refuses to be launched and configured.

After the suppression of the root (> 27/09/2020)

ING Banking always displays its alert message "You seem to use a rooted device…" ???

Myvoo : still no problem.

Itsme : no more problem, so I can install, configure and use this app.

Clean flash on 25/04/2021

I downloaded from the Play store the last version of ING Banking, Myvoo and Itsme.

ING Banking always displays its alert message.

Itsme works normally.

But Myvoo shows a message saying "Myvoo can not be installed on a rooted device"

Analysis of the situation and tests

"Root checker" and "Root checker-super su" detect my phone as not rooted.

With Mokee Android 10, same problems as with LineageOS 17.1.

With Havoc-OS Android 10 : my phone is not more considered as rooted !!!

As LineageOS 18 is still not available and without knowing if it will be one day, I tested several android 11 rom in development and test.

With AospExtended-v8.0 and CrDroid 7.2 : my phone is detected as being rooted.

With PixelExtended_kuntao-11.0, Fluid-1.4 and Havoc-OS-v4.4, my phone is not more considered as rooted : I can install my 3 applications without any message during the installation and use them normally.

So I finally decided to remain using LineageOS 17.1, without the application Myvoo which is not strictly essential but nevertheless very useful.

I would especially like to avoid having the same problem with LineageOS 18.

Has someone met this kind of problem ?

Has anyone an idea ?

Thanks in advance and above all "A great thank to Mike"
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] 3volution3:
Some apps detect your phone as being rooted simply because you are using a custom ROM. Doesn't matter if you root it or not. For example, I never rooted mine and the Xiaomi app 'Mi Home' always displays a warning saying my device is rooted when I open it (it doesn't prevent me from using the app though).
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] cocopipou:
Thanks for your quickly reply.

I agree with you.

But in my case, I cannot at all configure neither use the application Myvoo of my TV-Phone-Internet provider.

Moreover and as I said in my precedent post : I can install, configure and use Myvoo with 3 roms under Android 11.

I hope it will also be the case with LineageOS 18 if this rom comes up.

Have a nice day.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Vijayyaru:
After recent ota update the pixel launcher keeps on crashing. pls help
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Getramen:
I am getting safetynet api error, does anyone know the solution?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
Lenovo p2c72, twrp 3.5.1, magisk 22.1, ext4 partitions, pin unlocked, updated to 2021-04-25 with the updater app. Everything smooth. Fantastic 17.1 ROM, thanks a lot Mike. Looking forward for los18.1!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
Lenovo p2c72, twrp 3.5.1, magisk 22.1, ext4 partitions, pin unlocked, updated to 2021-05-02 with the updater app. Everything smooth. Fantastic 17.1 ROM, thanks a lot Mike. Looking forward for los18.1!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Aga.bogdan:
Hello.what about camera quality?I guess stock app has good results
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] simbanono:
I think we get the point after the first time.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] OguzcanTR:
hello guys what is the difference between p2c72 and p2a42 and which rum do you recommend for daily use?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] bind00:
Thanks for specifying that you used the Updater app @en666. This had gone wrong for me twice in the past so now I have a complete backup with TWRP 3.5.0 and Magisk I tried again on 4/4/21 and it worked. Very nice.

Just noticed that it doesn't play Ogg Vorbis encoded music files. Tried a couple of players. It skips over them. Have just tested different bit rates and it's the same for all Ogg files. MP3s play at all rates. It worked before the update. Couldn't see anything about it in the version histories. Any ideas?

thanks.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
Simbabono, thanks for your contribution. LineageOS is an on going operative system so, by nature, it can break between updates.

Going back among my posts, you'll notice that I keep the message updated with the correct version numbers, so to give my experience to people wanting to compare theirs. Saying this, I'll keep posting if users find this useful.

Long life and prosperity

\\//_
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
Hi bind00, glad to have been useful.

About the ogg vorbis, just tried with an ogg vorbis sample taken here:

h**ps://filesamples.com/samples/audio/ogg/Symphony%20No.6%20(1st%20movement).ogg

It plays fine, you might want to try it yourself to compare. Tried both within the browser and with the player: Opera as a browser and Musicolet as a player
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] roçkzrohan:
Flash the latest bulid but the phone soft reboot from time to time,any solutionthnx in advance
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] simbanono:
Use android 9
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hnsaba:
I have no problem with the latest build. I dirty flashed as always. I have no Gapps, ext4, encryptef
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] bind00:
Thanks. Finally got round to checking. Yes those web files work fine. Seems to be something with the SD card. Files playing now but intermittently only after several seconds. All a bit random but probably not something for this thread.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mikeioannina:
Ogg files not playing was a bug that's fixed in lineage 18.1 kuntao tree
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] bind00:
Ah. Thanks. Any chance it'll make a 17.1 update?