yashsingh1/xdaforums huggingface dataset:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mahmutpekkara:
When I try to listen 5+min music, it sounds weird crunch effects for 15-20 secs and it becomes normal. If you loop music, on every loop this occurs.

On videos its same, but maybe this is not occurs when you use gallery instead of file manager.

---------- Post added at 12:35 PM ---------- Previous post was at 12:35 PM ----------

Do you use ext4 or f2fs?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] wodaaa:
I use ext4, previously used twrp 3.2.3 for a month now I have been using twrp 3.3.1 and I don't see the difference.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Fangstergangsta:
no problem for me i use it daily!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] abhishekjain.ims:
I see low frame rates in this rom, however the rom is fast with a decent battery life.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mohankumars90:
yes, even I am facing similar issue, I tried installing lawnchair launcher v2, I dont see any issues there
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] church_foster:
"Networking enabled" always appears at bottom of the screen.

Here is a record

How do I disable that message prompt?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] HakanDaburda:
settings -> trust -> privacy protection

settings -> trust -> privacy protection

Does this feature come to android 10 rom?

I installed it last time, the feature was left on android 9 rom.

That's why I went back to 9
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] jk77:
Never seen this toast message, and may not even be related to LineageOS and our P2.

Try to use the following app to identify which app push these toast messages.

https://play.google.com/store/apps/details?id=pl.revanmj.toastsource
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] P2 friend:
Can anyone help me to find a source for working aptX HD Firmware for 17.1? I searched other devices that supposedly have support for aptX HD but could not find any working binaries. Any help would be appreciated.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ashutoshmishra:
Privacy Guard has been removed from LOS 17.1. It uses Android 10's native permission manager now. This is a downgrade if you ask me, but the Privacy Guard code caused many issues with Android 10.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
Here a P2c72 updated to los17.1 2020-08-16 with twrp 3.3.1.1

I've been quiet for a while, testing different combinations and settings in order to solve my last 'bug': the battery drain, everything else works perfectly.

Battery drain is now improved a lot for me. After setting the dark theme, battery consumption left to the default 'balanced', setting all the unnecessary apps to battery 'restricted', what eventually did the huge difference was a suggestion in this thread: just use Nova instead of Trebuchet. I am now running on Nova (with Nova prime, the payant version) and consistently obtaining the following results:

From 100% to 1% with automatic extreme power saving at 15%

Average with Nova:

Usage time: 2 days

Display On time: 11 hours

Average with Trebuchet:

Usage time: 17 hours

Display On time: 8 hours 30 min

Need to say though that I still need tests because of the different phone usage between Trebuchet and Nova: Nova was indeed installed while on holidays, with less intensive phone usage. I'll keep you posted.

Monitoring consumption with AccuBattery app.

It's worth to say that Android 10 has introduced an even more interesting permission feature, you can now decide to give permission to an app only when it runs on the screen, avoiding annoying background hidden operations.

Hope to have been helpful. \\//_
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Fangstergangsta:
How to use this feature?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
The feature that allows you to grant a permission only when the app is in use is visible when you assign a permission 'Settings > App Info > Permissions > permission you want to manage' or when, starting an app for the first time, it asks you to grant permissions. With Android 10, you may have three options for certain sensitive permissions:

Allow all the time

Allow only while using the app

Deny

Official Page: https://source.android.com/devices/tech/config/tristate-perms
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] educowley:
Finger print registration not finish LOS 17.1 last release

Hi, I have a problem with the fingerprint registration in los 17.1 augoust 16th , I can never finish it, an error appears at the end that says to try with another finger. Could anybody help me? thanks
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Akhil Lalji:
I have the same issue as well.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] church_foster:
How do I go back to the default sim configuration? I mistakenly change it from LTE to CDMA/EVDO + LTE. And now my sim is not working and going to Settings makes it freeze and become unresponsive.

---------- Post added at 06:13 AM ---------- Previous post was at 06:10 AM ----------

Edit: Just solved it lol. I reset wifi and mobile date settings.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] alirazaagha:
This error normally happens while changing data partition to ext4 and then going back to f2fs. I was so clueless when it happened to me. However, I tried the following method;

1. Wiped everything (internal memory is optional). Installed LOS 16 with gApps and added fingerprints.

2. Rebooted in TWRP and wiped system, dalvic and cache only. Data partition was not wiped.

3. Installed LOS 17.1 with GApps and Magisk and rebooted to find fingerprint was working.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Fangstergangsta:
okay thanks!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] educowley:
Thanks, but I am now in stock ROM, is same method? What mind exactly "wipe everything"? Thanks
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] alirazaagha:
System, data, dalvic cache and cache
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] church_foster:
Is the ability to disable the secondary sim no longer allowed? Back in 15.1 you can disable one, but now they are both running simultaneously.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
Wifi speeds drop drastically when phone is connected to a Bluetooth device.

This problem has become worst now. I constantly have to disconnect Bluetooth in order to get my speeds back when downloading or watching videos.

This did not happen with LOS 16. Please any solution?

P.S- I have a 2.4ghz router only and tried configuring it by changing channels and all but no use.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] LeshaRB:
Hi

Can you explain to me why "Heads up" doesn't work?

Or tell me how to do it.

During working hours, I want all messengers (viber, telegram, skype, slack etc) + gmail to be turned off.

That is, no sound, but notifications could be displayed.

But all other applications (including phone and sms) could beep
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] educowley:
I did yesterday, now all is working perfectly, also fingerprints, thank you very much
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Akhil Lalji:
I have this weird issue where, when I am on a call with someone, be it Cellular Call, Whatsapp voice-call, or Whatsapp video call on a wired headset, the other party complains about hearing a periodic beep sound and it is irritating. It only happens when the phone is unlocked and the screen is ON. As soon as I keep the screen OFF, the beep sound vanishes. This issue happens ONLY when I am on a wired headset, while the screen is ON. I also have this issue with other Android 10 based ROMS.

Does anybody have a clue what is going on? Please.

---------- Post added at 01:49 PM ---------- Previous post was at 01:48 PM ----------
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] alirazaagha:
You're welcome bro. I'm happy that it worked for you :cowboy:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] church_foster:
Deleted
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] church_foster:
How to install Magisk? Do I install it in the recovery partition? Then after that install the Magisk Manager?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
Hi Church, for a quick installation, the following has worked to me:

Google for "Magisk GitHub releases"

Last version 20.4 > assets > download Magisk-v20.4.zip

Copy the zip to your P2

Spin up twrp and Install the zip
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] StLi:
New build found

https://download.lineageos.org/kuntao

https://mirrorbits.lineageos.org/fu...neage-17.1-20200830-nightly-kuntao-signed.zip

Changes included in lineage-17.1-20200830-nightly-kuntao-signed.zip

LineageParts: Discard all invalid bits when setting TRUST_WARNINGS value

android_packages_apps_LineageParts

recovery: Stop showing fastbootd logo for devices without it

android_bootable_recovery

vendor: kernel: Add back support for custom dtboimg makefile

android_vendor_lineage

PackageInstaller: Fix crash when uninstalling apps with fragile data

android_frameworks_base

Revert "kernel: Set full path to DTC"

android_vendor_lineage

Skip screen on animation when wake and unlock via biometrics

android_frameworks_base

Fix cp -r dir/. symlink child.

android_external_toybox

Add failing test for cp -r dir/. symlink child.

android_external_toybox

mkdtboimg: Add support to V0 DTBO image creation

android_system_libufdt

mkdtboimg: Make filepath search recursive

android_system_libufdt

kernel: Switch to mkdtboimg.py

android_vendor_lineage

kernel: Add support for mkdtimg cfg_create

android_vendor_lineage

kernel: Rework how DTB/DTBO are built

android_vendor_lineage

Add NR network type to "Global" mode preference

android_packages_apps_Settings

vendor: apns-conf: Add Hits APN

android_vendor_lineage

overlay: Remove voicemail number configs

android_vendor_lineage

Revert "overlay: Enable Visual Voicemail for Verizon devices"

android_vendor_lineage

vendor: Drop verity tool

android_vendor_lineage

wifi: Add StaState API [2/2]

android_frameworks_opt_net_wifi

WifiManager: Add StaState API [1/2]

android_frameworks_base

kernel: Make dtb.img depend on dtc and dtbo.img on mkdtimg

android_vendor_lineage

kernel: Set full path to DTC

android_vendor_lineage

HDM: Resolve concurrent access issue - defer execution

android_frameworks_opt_net_wifi

[HDM] Fix concurrency failure

android_frameworks_opt_net_wifi
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] SummerRainbowz:
Does anyone else's phone heat up almost uncomfortably? Just clean flashed the latest Lineage 17.1 20200830 a few hours ago, and even just watching a YouTube video makes it quite hot.

I attached below some screenshots from CPU-Z after watching a video.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Sohit5s:
Yes,for me too, first time reached 47° ?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] cool_nin:
Not for me... Dirty flashed..all is well
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Sohit5s:
Me too dirty flashed bro
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
Not for me, installed with the updater. Noticed actually a little further increase in battery life, reaching 12 hours screen usage and couple of days autonomy.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] SummerRainbowz:
[MENTION=3998398]en666[/MENTION] Could you please answer a few questions for me? I'm trying to find out what is making this happen.

1. From which build you did update (previous build number/date)

2. Do you use F2FS of ext4?

3. Do you use gesture navigation, 3 button or 2 button?

Thanks for your time.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
Yes sure,

Lenovo P2 (p2c7) originally moved from stock to LOS16 using twrp 3.3.1.1. Upgraded to LOS17.1 since the very first version, always using using twrp 3.3.1.1. All the 17.1 upgrades done through the Updater app.

1. Updated from 20202-08-16 to 2020-08-30 via Updater app

2. Ext4

3. 2 Buttons navigation. But need to say that I am using Nova Launcher instead of Trebuchet
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ashutoshmishra:
Just checking in again. Does anyone know if Wi-Fi calling is available on kuntao?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Fangstergangsta:
Hi, when i stop and start or restart my p2, the date and time (06:00) are always wrong and when i am connected to network the date is corrected but if i can't get network the date and time stay wrong... How i can i solve this problem?

I have no problem on los16 but this appear on los 17
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] wodaaa:
I have the same problem...

in twrp I also have a wrong date and time and cannot be set
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] jk77:
Hi,

Try to install the latest version of twrp:

https://dl.twrp.me/kuntao/twrp-3.4.0-0-kuntao.img.html
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hnsaba:
The problem persists with the twrp 3.4.0 as well. The time in Twrp is different from the time in LOS without any rationale.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] jk77:
Ok, I was not sure how I fixed it, I remember I tried to fix some access rights too but cannot find the instruction page anymore....

Since then, I changed my data partition to use f2fs and made a complete reinstall of LOS17.1 using TWRP 3.4.0

Try to check the recovery.log file (within /tmp in twrp) and see if you meet the same issue than described in this thread:

https://github.com/TeamWin/Team-Win-Recovery-Project/issues/1549#issuecomment-571764766

To check the offset value that you will find in this log file, you can use this website:

https://www.epochconverter.com/

---------- Post added at 03:19 PM ---------- Previous post was at 02:57 PM ----------

This actually maybe worth a try:

https://github.com/TeamWin/Team-Win-Recovery-Project/issues/1581#issuecomment-673016698

"The settings in my ROM have always been set to use network-provided time. Just for fun, I turned that off and booted into TWRP and now the time offset is working correctly. Perhaps Android doesn't make an ats file if it's just using network time? In any case, that would be an Android issue and not a TWRP issue, like you say."
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mahmutpekkara:
If you have sound/video problems, install magisk and install viper4android fx., it will be fixed. I had the same issue on both LOS 17.1 and MOKEE 10.0.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] abhishekjain.ims:
Did you try this? Once I installed viper mod on other Android 10 rom and it was struck on Boot loop.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mohankumars90:
Microphone not working while recording videos and also while using Google Assistance

Hello Everyone,

I have been facing no audio issues, Microphone is not working while recording Videos (Only the video gets recorded, audio will not be recorded) and also microphone is not working for Google assistant and Google Gboard as well. Is Anyone facing similar issue ?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] SrivatsaNag:
My fingerprint is not working, but Home button is working perfectly. I followed every instructions given in OP, No use.

Can anyone give detailed solution?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Fangstergangsta:
I have nothing in /persist folder... And change setting to not use the network date don't work...

TWRP has not the good time but not the same wrong time than LOS...
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] amansinghcr7:
Daily Driver Ready?

Is the latest build of LineageOS 17.1 ready to be a daily driver? Is it as stable as LineageOS 16? Should i upgrade to the latest build of LineageOS?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] HkQc:
Yes

Yes

Yes
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mahmutpekkara:
Actually I did this on only mokee 10.0 but I faced the exact same issue on both lineage and mokee. I think solution shouldnt be a problem also on lineage os. At least, you can backup your phone on twrp.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Hqnbbcn:
I installed 17.1. When I lock the phone from the power button, the screen does not turn back on. There is a sound, it reads a fingerprint, but the screen is not at all. I have to turn it off and on completely. Why does this happen?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Akhil Lalji:
Try installing LOS 16.1 first and then dirty flash 17.1

It worked for me.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
I have experienced this behaviour on couple of Lenovo P2 that had their screen replaced with compatible screens. In addition to that, in my case both the replacement screens have been physically damaged: turning off the screen indeed, not only the phone behave like you reported, but it also burns on the top corner right. Still didn't quite get why this, it happens even from twrp, but only certain versions. On these two P2 I have moved back to stock until finding the reason causing this.

Yes, yes and yes!

In my case, on latest build, Nova launcher consumes a little less battery than trebuchet.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] lston:
Hello, this worries me...

I've been running 17.1 without any issue so far. Very happy with it. But I broke my screen, so I ordered a replacement on aliexpress.

And I noticed the same issues :

-couldn' turn on screen

-screen burning in the upper part.

And then, I had many pink vertical lines...

I figured it was faulty, and ordered a new one.

Now, I'm waiting to receive it but, reading you, I'm afraid to get the same issues again!!! :crying:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
Oh man, I did exactly the same: smashed screen, ordered replacement from eBay, installed twrp and LOS, burn and pink lines, asked the ebayer to send me another one, burn and pink lines again. There should be a post in this thread somewhere.

Anyway, I eventually decided to use that particular P2 as a server so I don't care to have the permanent pink lines but I needed to roll back to Stock android, there is no other way. To reach this conclusion I have made some experiments installing different versions of twrp and LOS: Bad news.

This "burn and pink lines" thing happens in twrp as well when the display goes off, but not all of the versions. This leads me to say that the effect is caused somehow by the software, in particular it could be caused by the uncompatible firmware and kernel versions, that don't not cope with the 'not so compatible' electronic of the non-original display.

To summarize my experiments:

Burn and pink lines when the screen goes to sleep: on all the LOS versions, need to roll back to stock. (Stock android7 link I have used: https://mega.nz/file/Bu5mGAwS#Er9wdrLhlz3NX-5bX74LAFaCze4axwEPnSkkoFUBNLY)

It happens in TWRP as well when the screen goes to sleep on all of the recent versions except twrp-3.3.0-0-kuntao_row.img

As a suggestion, before using the new screen, do install the mentioned twrp and the stock with the burnt and pink lines screen. In both, check if you are still experiencing the burn when the screen goes to sleep. If not, you will be probably fine with the new screen as well.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] lston:
Wow! Thanks for the advice and for the upload! You've probably saved my second replacement screen then.

I'll get it in 2 or 3 weeks (I've just placed the order).

Too bad I need to rollback to stock after enjoying android 10...
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] cool_nin:
This ROM just gets smoother and smoother by every update adding more life this very old phone. Great job dev
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] educowley:
Hi, when I boot the fingerprint unlook screen doesn't work, I have to go into the security/ fingerprint menu, go in an go out, them unlock fingerprint screen work, always same issue when boot my phone early morning.... Could help me?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
Hi educowley, if you are asked to insert the pin or the combination every time you reboot or switch on the phone, I think is normal: android wants to be sure that 'you are you' even if someone has stolen your phone while you are not conscious. Think about this: you are sleeping, someone can switch on the phone with your finger simply touching the finger with the fingerprint sensor. Phone now boots on but without the pin or the combination, which is only on your mind, it can't access your data!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] educowley:
Hi, that's not the problem, normally i swicht on the screen with my fingerprint but when I boot my phone and the screen swicht off I can't to swicht on with the fingerprint always I have to press the button and then swicht on the screen, then the combination... And continuing not working until I open the security/fingerprint menu, go back and work again
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] gianpaoloc:
The same happens to me. Just a minor hassle, after I open the security/fingerprint menu everything works flawlessly until I fully switch off my phone again (which I only do a couple of times per week).
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ankitshah009:
having problems with NO sound from loudspeaker. Any idea why this would happen and how to resolve this?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ElGrandeFez:
Stupid question: Have you got the phone connected to bluetooth speakers/headphones? I know that's caught me out a few times in the past. I always feel really clever after that :D
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ankitshah009:
sound available from earpiece and headphones, just the loudspeaker sound is not working of the phone
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] iam_zeus:
Why i can't able to enroll my fingerprint ???? it asks for my fingerprint print, and when i placed my finger above the sensor, it seems to work at first but at the last step , it says " cant enroll the fingerprint, try with other finger" ... this is weird...

I just simply downloaded the latest build from the website, flashed it... am i doing something wrong ??? or is this problem is related to gapps ???, why i'm asking bcoz i flashed bitgapp, instead of opengapp... any idea?????
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mahmutpekkara:
It can. Use opengapps, Its recommended
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] iam_zeus:
okay, tq... so this problem occurred due to the gapps???
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Din4564:
Have anyone been facing issue with the ROM? Like some apps just won't open most of the time? Ks it ROM or Network issue, never had such problem in same location with 16 but 17.1 it happens with couple of apps, like MY JIO, YONO, even XDA? any help or way around? Tried a couple of different SIM but same issue remains.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DS-1:
With stock rom and LineageOS 16 I had 4G+ icon when I was in a zone where carrier aggregation works.

With LineageOS 17.1 I've never seen this icon and I don't know if it's a cosmetic bug or just the phone doesn't aggregate carriers anymore.

Anyone knows how carrier aggregation is working in LineageOS 17.1?

Thanks!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] HkQc:
No issue at all on my device.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] SummerRainbowz:
[MENTION=5265754]DS-1[/MENTION] Carrier aggregation is working fine (B7+B3/B3+B7), what you're talking about is probably related to the usage of CarrierConfig from Android 10 onwards. (it's a cosmetic change, could be modified to show LTE+/4G+ like before if you'd build an edited version of the ROM.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DS-1:
Thanks a lot for the reply and for the explenation!

Is there any guide to modify the 4G icon to show 4G+ when carrier aggregation is working?

I should need it to make some tests!