yashsingh1/xdaforums huggingface dataset:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] alirazaagha:
Well, that's a great news my friend. P2 community is very thankful to you for your valuable contribution thus far. LOS 17.1 would be a great addition indeed :good:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nothingman1976:
Sometime I completely lose the fingerprint sensor functionality and I can unlock the phone only with the pin, and when it happens the entry "fingerprint" it's totally missing from the setting menu. Then (usually) after few weeks the fingerprint sensor starts working again without doing nothing on the phone. Do you think it's an hardware problem ?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kielbek:
I hope 17.1 will fix problems that were bugging me on 16. Like phone setting itself to no ringtone mode after/during calls or dropping wifi connection issue on non-dfs channels which I metioned earlier. I will try to do some serious bughunting this time after release. Also hoping we get first 10 builds before April since there are no news about that so far.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
If I we're you, I would flash another ROM just to be sure that is not a Lineage problem. Then, if the other ROM works fine, I'd suggest a Lineage clean flash just to be sure everything is in it's place.

PS: Mike, thank you a lot for all your contribution to kuntao development.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] resonic:
Yes! Huge battery drain since I updated in the beginning of January. There has to be some bug emptying the battery.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hnsaba:
I have Jan 9 build and battery backup is excellent.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] avocadoyoghurt:
First of all, thank you, Mike. Some months ago I was looking for a new phone and in the course of the search, I realized my 2.5-year-old P2 has all the functionality I need. Thanks to you it is still alive and kicking with the pie new features.

One thing missing is the toggle switch for the power saver mode. Is it possible to integrate p2oggle app into the ROM?

https://xdaforums.com/lenovo-p2/themes/p2oggle-t3965418/
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] eljuggy:
Hi,

I just updated with OTA to JAN 23 build (from JAN 12 build with Magisk 2.3) and got stuck into reboot to recovery...

is there any particular things to do before OTA updates ? Can my issue be linked with the presence of Magisk ? Or the encryption ?

Now what should I do to have a working phone back ? Follow again the lineage OS install procedure ?

Recovery : Now tap Wipe.

Now tap Format Data and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage.

Return to the previous menu and tap Advanced Wipe, then select the Cache and System partitions and then Swipe to Wipe.

Sideload the LineageOS .zip package:

On the device, select “Advanced”, “ADB Sideload”, then swipe to begin sideload.

On the host machine, sideload the package using: adb sideload filename.zip

(Optionally): If you want to install any additional add-ons, adb sideload filename.zip those packages in sequence.
​

thanks
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] rogat92:
Try to uninstall magisk first, using magisk Uninstaller. Then reboot system, if successfully rebooted to system, try to install older magisk version
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] danielcepa:
Yay, LOS 17 - great news !

Running LOS 16 since the first official builds. No bugs, amazing battery life - still charging only twice a week :)

Thanks Mike and the rest of the contributors !
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] alirazaagha:
It's not possible with an official ROM. It is official because it carries functionality approved by the moderators of lineage os.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ashutoshmishra:
Thank you, Mike, for keeping this good phone going with official builds. ????
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hnsaba:
Is The problem with audio recorded in video still persisting?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Sutcliffe9:
No everything works fine.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] resonic:
The odd thing is that Android OS dominates the battery stats with 38% usage right now. I wiped caches multiple times during the last update.

To me it seems the battery drain done by Android OS bumps up as soon as the phone switches into battery safe mode. Maybe still a energy profile bug.

---------- Post added at 11:50 AM ---------- Previous post was at 11:34 AM ----------

Also a huge thanks from me. Dude, you rock! Thanks for keeping up the great support of this device.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
Have you tried doing a clean flash of ROM?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Zezo9009:
Hey , I'm playing lots of games and noticed something weird about this rom , in Call of Duty it's fine and performance is like other roms , in titles like clash of clans and clash royale it's laggy , I've experienced this in other roms like havoc but in app details you can select the profile for games or performance and it fixes the problem , here there is no such option !
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] :
is LOS 17 coming?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] monchberg:
Hi, can anybody tell me the situation with Miracast/WifiDirect screen mirroring? I understand it was removed in AOSP 9 (replaced by Chromecast), but as for LineageOS, some LineageOS devs implemented some solutions & others disabled it for the devices they maintain. What is the situation with the Lenovo P2 and LineageOS? I use Miracast to cast to my smart TV, and don't want to have to buy and plug in a Chromecast dongle. Thanks!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] theredone51:
https://xdaforums.com/showpost.php?p=81525385&postcount=1133
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] LEIBE:
You don.'t need to but the CHROMECAST dongle which is for TVS without WIFI cast, as far as yours is a SMART TV you can download any other app to cast without a problem.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] monchberg:
OK. So on Lenovo P2 Stock Rom (Android 7), the Miracast functionality is built in (Settings - Display - Cast Screen). Is it built-in with LineageOS 16, or it requires a separate app to be installed?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] :
pls update vendor security patch
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Lyceus:
Like mikeioannina said almost one year ago:

'You *can't* update vendor security date without the vendor releasing the security update. Anyone updating the date is straight up lying to the users.

There are specific components like bootloader, firmware and many proprietary blobs that come from stock and cannot be updated by anyone other than lenovo.'
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] :
Bro Wifi drop a lot frequently that doesn't happens before few months i think, Am i only one facing this issue?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Sutcliffe9:
My wi-fi is ok, no dropouts.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Fangstergangsta:
i have experienced this when i playing a game and sometime when screen is off
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] robylbaldo:
why every time a build finally comes out with serious changes the next day it is no longer available for download, while empty bulids are always available?

---------- Post added at 09:40 PM ---------- Previous post was at 09:35 PM ----------

I forgot, the wi-fi in the games, especially clash royale, almost always loses the connection for a second, with the rom stock it didn't happen

---------- Post added at 09:44 PM ---------- Previous post was at 09:40 PM ----------

for the rest the rom is spectacular and very fluid, thanks for the work!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] rogat92:
But I haven't seen your commits for Kuntao LOS 17 on your gerrit yet :p
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nothingman1976:
LineageOS always do daily build for every device even if there are no changes.

Inviato dal mio Lenovo P2a42 utilizzando Tapatalk
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] :
Also bro, phone does file sizes are very different than their actual size. What would be the problem here and how can it be fixed? Is it due to the format system or lineage?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] joshthemajor:
Hello, I think I have the exact same issue but on ROM MSM 6.0

I tried to execute the command

mv "/vendor/bin/hw/android.hardware.biometrics.fingerprint@2.0-service.kuntao" "/vendor/bin/hw/android.hardware.biometrics.fingerprint@2.0-service.kuntao2"

as they suggested you on GitLab (yest I'm stalking you lol)

but it doesn't work. The command cannot be executed probably because I have no file named "android.hardware.biometrics.fingerprint@2.0-service.kuntao" in that location.

Thank you for your time!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Shuichi Akai:
I use these commands on adb, on a different rom something may change:

adb shell

su

mount -o rw,remount rootfs /

mount -o rw,remount /vendor

mv "/vendor/bin/hw/android.hardware.biometrics.fingerprint@2.0-service.kuntao" "/vendor/bin/hw/android.hardware.biometrics.fingerprint@2.0-service.kuntao2"
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] joshthemajor:
looks like it's working!!!

I'll give it a day but it looks promising already
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Shuichi Akai:
edit
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nothingman1976:
It looks like Mike has started to do some commits on the 17.1 branch for our device!

https://review.lineageos.org/#/q/project:LineageOS/android_device_lenovo_kuntao

Great!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] amdyss:
That's really a great news. We just have to be patient [emoji846]

Wysłane z mojego Lenovo P2a42 przy użyciu Tapatalka
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] lp2yisdfu:
Looking forward to a stable Android 10 on this device. I wonder if the upgrade will require a clean install?

Android 11 will be out soon but this is an older device and nice to see it still supported by the hard (unpaid) work of individuals
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mikeioannina:
I might post a test build soon, all hardware seems to be working fine, except fingerprint gestures.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] rogat92:
Soon or later for being official? :confused:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ashutoshmishra:
I'm sad that privacy guard is no more present in LOS 17.1. Wonder how long LOS 16 will be supported? I'll be happy with quarterly security patches.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] alirazaagha:
Dear Mike, appreciate your work. I've been using your LOS16 for past few months along with Lawnchair with Q gestures so I don't use fingerprint gestures because Android 10 is about on screen gestures which are great. Not having fp gestures has no to limited impact on functionality. You should release your ROM as your fans are eagerly waiting for it :good:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mikeioannina:
AOSP permission hub will be the replacement for privacy guard, as it will be explained in the blog post when official builds start. A device can only receive one version of lineage at a time, so 16.0 will no longer be supported for kuntao once it switches to 17.1.

I already figured out the issue with gestures and fixed them, currently uploading a test build. Will take a while since my upload is slow.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mikeioannina:
OK here's the test build:

http://www.mediafire.com/file/zbkpz794zdkll4d/lineage-17.1-20200301-UNOFFICIAL-kuntao.zip/file

Recommended Google Apps package is OpenGapps nano: https://opengapps.org/

You can use the same old recovery: https://androidfilehost.com/?fid=1395089523397888315

Lineage SU addon is dropped in lineage 17.1 so you will have to use Magisk if you need root (keep in mind that even though Magisk works fine at the moment, it is still not "officially" supported by Lineage and you are on your own if you have any issues that might be caused by it)

Also keep in mind that it's not possible to upgrade from official 16.0 builds to this test build. It is also not possible to upgrade from the test build to official 17.1 builds when they come out! You will have to wipe your data in both cases.

When official 17.1 is out you will be able to upgrade from official 16.0 with no issues.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] alirazaagha:
I've got mixed feelings about that but have strong confidence in your ability as well :fingers-crossed:

Great job mate :good:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] alirazaagha:
14 hours plus SOT

After using this phone for 2 and a half year; such battery performance is just incredible. Thanks to Motorola engineering and worthy devs. This phone is still going strong and surely no other phone can beat that score of 14 hrs plus SOT :o
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Zloy Y:
Android 9 - LOS 16?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] alirazaagha:
Yes. I have been testing 10 ROMs but come back to LOS16.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Zloy Y:
:):good:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Lyceus:
LOS 17.1

It's just me or there is no MEDIA sound outcome from the headphones plugged by jack or the phone speaker, only the bt works fine.

After flashing ROM 3 more times, sound works fine.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Abhi8232:
I am using F2FS data, nano gapps and clean flashed the rom . After using the rom for some hours i faced some issues which are as follows:

* Random system ui crash and errors like system ui memory full.

* Randomly sound stops working and after several restarts it works again.

* Dark mode still not available for messaging and

phone app

* FM not working

These were observed by me may be some other bugs there.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] :
suggest firmware

is it need Q blob?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nothingman1976:
I also have problems with sound: no audio at all from all media app like Spotify, Youtube and fm radio does not work. (Not available error)

In two hours I had 1 chrome crash

You can have dialer and messages with dark mode if you install the Google versions (Google Phone and Google Messages)

Inviato dal mio Lenovo P2a42 utilizzando Tapatalk
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] anshdeep:
Smoothest ROM

Everything works for me
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Lamentxthe:
Yes, that's what I was doing for face unlock, flash rom+gapps+magisk, set up the phone (boot) and after just flash the same version of gapps again.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mikeioannina:
I can't do anything about vendor security level, thank lenovo for not releasing any new update. Vendor security level only affects components that are device specific like bootloader, firmware and proprietary blobs like camera, sensors etc. The device is as secure as it can get at the moment, with many non-device specific proprietary components updated to Pie thanks to other msm8953 devices.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DS-1:
[MENTION=3839575]mikeioannina[/MENTION] instead what can you say about the fact that the mic has watery sound after one second of recording? It happens with ANY rom and with ANY Lenovo P2.

Is it a kernel related issue? Drivers issue?

Thanks in advance for the reply!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Erazor84:
What do you mean? I have just tested to record an audioclip with the built-in recorder app - crystal clear sound. Also recorded a voice message/ called the voice test number in skype, also clear. No watery sound whatsoever.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DS-1:
Try to take a record with a high pressure level sound. You'll discover that after 1 second of recording, a sort of limiter affects the sound. This is not only a Lineage 16 issue, it affects all the roms. But I'd like to know if it's possible to be fixed in a newer release.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
First of all thanks a lot to mike for the ROM. It smooth, responsive, and pleasure to use in first impressions.

Also I must mention the auto brightness calibration is done superbly on pie (much better than lineage 15.1). Battery life seems good till now. Looks very promising. Thanks again for extending the life of such an awesome phone.!! Cheers!!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nothingman1976:
Gestures not working for me also after reboot. I made clean installation (data f2fs) not restoring data
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] satej@123:
Checkout this video on Lenovo p2 lineage OS, can it be your daily driver

[youtube]Lyc_njS_5t4[/youtube]
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Fangstergangsta:
thanks, thanks, thanks good by los 15.1 battery drain!

Just three little things, video record was darky, pixel launcher not work, and wallpaper link not linked with the wallpaper app

how to change video record brightness?

thanks by advance
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Uniposka:
For me, it provoked a bootloop and I had to uninstall it from TWRP.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] :
I think fp gestures are working here.

I lock and unlock with my fingers without any problem. Is it related to this?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Erazor84:
No, Fingerprint & FP Gestures is something completely different.

Fingerprint Unlock is working here too, but FP-Gestures are gestures to controll your device.

one tap to go back, long tap to open the history. all with the home button instead of using the onscreen buttons. fingerprint reader works like a charm, but no fp gestures - tried to activate them yesterday for my first time, but even after reboot - no gestures available.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
Is it only me or has someone noticed the fingerprint unlocking has become quite faster than los 15.1?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] :
Do you mean blocking the screen with double click above, opening the camera and so on?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Erazor84:
no, taping on the fingerprint reader once goes back (just taping, not press is physical), like the back - onscreen button does and long-touch the fingerprint reader opens the "recent apps" menu. or it should, but it does not work for me right now.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] :
Ok ok. Sorry for disturbing you one more time.

So these options are related to Pie I understand because I can't see them on the menu.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Rockarolla1:
Thanks Mike, awesome work! Besides fp gestures, also proximity sensor is not working to me, the phone is turning on when the phone is in pocket, maybe that's why i cant install other dialer, with automatic proximity sensor to turn on speaker phone! Cheers!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Erazor84:
[MENTION=8438283]ladano[/MENTION] just search for "fingerprint" in the settings searchbox and you will find that option to enable it with a slider - called fp gestures.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
Is anyone able to access Google assistant by long pressing the home button? I am unable to access it.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DenBukki:
I fixed this by selecting google in apps & notifications -> Default apps -> Assist & voice input -> Assist app.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nothingman1976:
Is media audio working for you? I mean for example Spotify or YouTube audio?

No audio at all for me

Inviato dal mio Lenovo P2a42 utilizzando Tapatalk
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] anshdeep:
Yes after Restart it is working
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mikeioannina:
Please get logs and post them if you have any issue, I can't reproduce the audio problems you posted.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Lyceus:
Hey, here is a log file when the issue occurred:

https://mega.nz/#!ndMgHIQY!xk9LvAUrLnEjSXpSieWJ4s3Mmq6OXrhbAgQ0IwSOnmo

After reboot, the YT app was opened and 4 to 5-second of the music video was played.

No sound and the video itself was lagging.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] anshdeep:
https://drive.google.com/file/d/1GzlCADIrPNvyrbCX6wgL6NRV1ce4BQ_a/view?usp=drivesdk

Media sound problem
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] anshdeep:
Sound of videos is not coming but it is coming for games(clash of clans)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] djelloul:
Hi everybody.

I installed this ROM by clean flash method and it is very smooth!

About the Media Audio issue, I've got it only when I begin to use the BlazeMax kernel.

I had sound when using a wired headset or a Bluetooth headset, but no sound coming from the internal speaker.

I also had issues using the Volume + and Volume - buttons on the wired headset because they produce no effect.

As soon as I had flashed back the boot.img of mikeioannina LineageOS 17.1 unofficial release, those issues are gone and everything's fine.

I also have another issue:

I'd like to use the P2oggle app shared by Prospero.X-3 and it seems not working in this unofficial release.

It requires root access and for this I installed Magisk in order to make it work.

As soon as I tried to switch the app ON, the software seems hanging and I have no other choice than force close it.

I was using the same app in the same phone that has the AICP ROM installed instead and I have no problem using it.

Is there something I can check to solve this trouble in your release?

By the way, I've got the chance to have 2 Lenovo P2 phones, and thanks to that, I can test multiple ROMs without taking any risk.

If you have some test you wanted me to do, just feel free to ask.