yashsingh1/xdaforums huggingface dataset:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
I can confirm that dark video is still present. tested it with gcam port.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Abhi8232:
U have patched the camera to improve dark video recordings right? Your patch is working perfectly fine as it was intended to work on stock camera.

Talking about Gcam it is subjected to what apk and what settings u are using in the app. I don't have any issue when we set frames/sec to auto.

Guys with issues with Gcam can try Parrot043's apk named MGC_7.3.020_Parrot043-v2.apk ( don't confuse with another v2 apk, In those underscore have been used but in this hyphen )
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Billytromp:
Don't know if this helps, but I got the audio issue only after wiping the dalvik/cache and restarting. I had restarted before after dirty flashing 17.0 without any problems.

Edit: fixed the issue by re-installing the ROM and gapps
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] alirazaagha:
[MENTION=3839575]mikeioannina[/MENTION]: You have done a fabulous job dude. This ROM is working as intended. I haven't faced any bugs in 7th June update. Audio, video, camera including video capture and FP all are working well. Appreciate your efforts bro.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Ramesh788:
Native video calling and KCAL support

Is there a way to enable native video calling in los 16.0 and los 17.0? I'm from india and my carrier support video over lte( VioLTE), but i didn't find any option to enable it on los 16 and 17.

Does stock kernel of los 17.0 and 16.0 support kcal?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] LeshaRB:
Where is default camera app exists? I can't find it in system folder(
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] tjwasiak:
I moved to LOS 17.1 from stock S251 firmware using TWRP 3.2.3-20190209-kuntao. I did fresh install of 20200604 version (with opengapps nano 20200606), after checking everything is working as it should I installed Magisk 20.4 and than updated to 20200607 using LOS Updater.

On mine P2a42 I am facing just few issues:

- audio problem randomly on some reboots (but it always takes only one reboot to get it sorted - I am just starting Music Player as first app and everything is working ok) - it is quite funny as even if speakers and 3.5mm jack does not output audio it works over bluetooth. When audio problem occurs also video (for example YouTube) playback is not working properly.

- quick charge is not working

- VoLTE is not working (it always switches to 3G when calling/receiving a call), while other phone using same operator has it constantly

- Gallery (and other apps - for example Facebook and Messenger) is not able to find photos, albums and videos (I am using 32GB SD card formatted as external/removable memory, and set default Camera app to use SD card as storage) while default music player finds MP3s without any issues...

- fingerprint working correctly

- battery lasts only a bit shorter comparing to stock firmware
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] amansinghcr7:
Can anyone share screenshots or video for the latest build? I'm currently using LineageOS 16 as my daily driver. Should I upgrade to Lineage OS 17.1?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] siemens_marolikar:
Please do Something about this video bug its so irritating.

And also need auto option in power management cuz everytime i want to play pubg i have to set it manually of performance mod. But if i put it on performance always it will consume lots of battery

otherwise great rom powerful and study .
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] SummerRainbowz:
Looks like Mike is exploring a potential fix for the audio issue: https://review.lineageos.org/c/LineageOS/android_device_lenovo_kuntao/+/278055
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] alirazaagha:
It surely is an upgrade. However, battery timing is lesser than 16.

Its my 3rd day using LOS 17.1 and I haven't found video bug, though I am using Viper and Vanced YT. No performance problems with PUBG as well whereas, I am using "Conservative" governor to keep CPU at controlled speed. You may have used older TWRP to install it. Use latest TWRP to avoid any bugs and do a clean install again.

I would recommend latest micro gapps along with Magisk 20.4 for a complete installation of 7th June build with new features of Android 10.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] rogat92:
Which twrp? This one https://dl.twrp.me/kuntao/twrp-3.3.1-1-kuntao.img.html?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mikeioannina:
I have merged that change now so people can test it. Not sure if it has any effect but I saw some recommendation for it. Still can't reproduce the issue reliably
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] MAILUS:
Thanks Mike. Hope this would fix the issue.

Has any one faced issue in Night Light/Theme is Not Automatic with Sunrise/Sunset?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] OguzcanTR:
This version vanced YouTube How to install
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Abhi8232:
You can go for nikgapps in place of opengapps. It by default contains youtube vanced and other stuff.

https://nikgapps.com/downloads#downloads
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] OguzcanTR:
I have to install everything again, is there no other solution
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Abhi8232:
You can read here. It will require u to install microg and split apk installer.

https://vanced.app/
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Fangstergangsta:
Hi, is the battery still drained by wifi on los 17 like los 16?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] degrus:
Hello Mike I discover these error spamming when using camera or any other app like facebook messenger which are using the camera

These error make battery drain so fast I hope that you will find solution for it.

Thank you so much
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] melchiar:
how to root los 17.1?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] garvit girotra:
By flashing magisk zip file.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kielbek:
Yep, the new build is working fine so far. I'm unable to reproduce playback problem using audiotrack on phone's speaker anymore (OpenSL ES playback was always working, even when bug appeared, as someone pointed out on bugtracker).

However, before reboot, I had previous build booted for a week and it didn't break somehow.

I'm already after about 30 reboots and it looks solid as rock. I'm gonna flash it fresh and do some final tests before full migration from 16.0 so I will report back soon.

Good work buddy. [MENTION=3839575]mikeioannina[/MENTION]

EDIT: Yep, I freshly configured whole ROM with Magisk and GMS and audio works properly all the time as expected. I can't break it like before.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
Updated to the latest build using built in updater.

I Rebooted 4-5 times. Audio loss/video stutter does not appear in any reboot. Tested it using YouTube app.

So far sooo damn good.

ROM is rock solid so far.!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Mrinmay Medhi:
Changing from navigation gesture to 2 bottom gesture fix the battery drain.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Sutcliffe9:
Does everybody have battery drain on this rom?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
Just updated to the new 20200614 build of LineageOS 17.1 on a P2 P2C72 hardware. I can say this rom is slick and I can't reproduce the audio problem anymore, eve after restarting. Before reaching this point I needed to restart three or four times, cleaning dalvik and cache, but then everything started to properly and constantly work. Curiously enough I now have another minor issue: when starting an mp3 audio file with Music or other player apps, for 4-5 seconds the audio is muted and then it plays. This happens every time a new song is played! This is super weird.

Other than that I'll keep monitoring the battery drain and will report here! For time beings, a huge thanks to Mike and the community!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] salobar:
There is a VanvedYouTubeblack-signed.zip at sourceforge. You can find it clicking Nickgapps link. Then click download now, releases, addons-q, 09-mar-2020. (Sorry i can not give outside links)

Download and Flash the VanvedYouTubeblack-signed.zip with TWRP,

Uninstall previous YouTube updates. You have YouTubevanced now.

---------- Post added at 01:46 PM ---------- Previous post was at 01:39 PM ----------

My average screen time is about 12 hours. From %100 to %1

Thanks for your great work Mike.

Is there a way to merge P2oggle with this rom? So we can use left button and assign many features.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] SummerRainbowz:
[MENTION=2579459]salobar[/MENTION] Do you use gesture navigation, 2-button navigation or 3-button navigation?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Ramesh788:
Does latest build drain battery overnight like previous build?

Can someone tell about overnight battery drain?

If it drains more than los 16.0?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] salobar:
I use default navigation. 3-button.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Mrinmay Medhi:
Switch to 2 bottom navigation and there will be no battery drain.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] MAILUS:
Has any one faced issue in Night Light/Theme is Not Automatic with Sunrise/Sunset?

For me it is not working. location access available for settings and systemUI.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Ramesh788:
What is the connection of navigation buttons from battery drain?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Mrinmay Medhi:
I don't know. I just got huge battery drain when I switch back to gesture navigation.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] alirazaagha:
Dark theme is automatic but it doesn't change while screen is on. My phone switches dark theme on after sunset when phone is not in use for a few minutes.

IMO, it doesn't drain too much battery overnight. But it does use more battery than LOS 16.

Battery drain is there for me but I assume that it is because this ROM tend to boost CPU and GPU to Max speed when phone is being used especially for gaming. Hence, yesterday I installed BlazeMax kernel 3.4 as it has got plenty of governors to choose from. I chose bioshock governor with Max speed of 1958mhz. The results were great as SOT improved a lot. However, I couldn't really check this out with gaming as my son deleted pubg accidently and I didn't reinstall it for good ;)

For the record, I'm using gesture navigation and Pixel launcher with micro gApps.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] salobar:
Same here. I have tested too.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hackeur0elite:
Hil,

I'm trying to install the rom with openGapps, but at first time boot, the phone reboot after the animation to recovery mode.

Anybody found to fix the problem?

tested with:

system in EXT4 and F2Fs

TWRP 3.3.1-1

open_gapps-arm64-10.0-stock-20200613

---------- Post added at 09:28 PM ---------- Previous post was at 08:50 PM ----------

Tested without OpenGapps and same thing, the sytem reboot into recovery mode.

I forgot to say that it's the 2020-06-14 version
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Sutcliffe9:
I have just install today with nano Gapps and everything is ok. If you use stock Gapps the default camera will be replaced with Google camera and it will not work.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] amdyss:
Could you link a blaze max kernel for Android Q?

Wysłane z mojego Lenovo P2a42 przy użyciu Tapatalka
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] alirazaagha:
Download version 3.4 from sourceforge. It can be used from Android 8 to 10.

I slept at 12am and just got up at 5am and I've witnessed 8% battery drop in 5 hours from 35% to 27%. I'm on 7th June build. Going to update today..
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Ramesh788:
It's a huge amount of battery drain. On los 16.0 it's only 1-2%

Devs should do something to come out of this problem. I can compromise with audio/video bug but not with battery drain.

I appreciate the hard work of Mike who keeping our p2 alive
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] alirazaagha:
Yes, LOS 16 is much better optimized. Not only mikeioannina but Astridxx, Degrus and VladSor and other such devs have all done commendable job. Their perseverance has brought updates and features to P2 which couldn't have been possible in their absence.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Zloy Y:
Does anyone notice a worsening mobile signal? The connection has become very unstable. Where on Android 9 it catches 4g to Android 10 unstable 3g.:confused:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] blofse:
No different for LOS16 for me. However I previously switch from Los to another rom specifically because the mobile signal was worse than other Roms. So I'm guessing this is on a par with Los, but as I have different conditions now then before I am happy to use it.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] salobar:
00:30 to 08:00 3% battery drop for me. I'm on 14th build and all partitions ext4.

Also there is no mobile Signal loss.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] danielcepa:
Amazing smoothness compared to 16. The framerate is way more consistent.

Amazing job, again, Mike.

I guess I'll keep my trusty P2 for one more year :)

Ps. No signal, battery or audio issues
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Ramesh788:
Currently i am on los 16.0 and from the day of flashing this rom, i was getting awesome SOT without overnight drain(1-2%). But in last two days i noticed that my overnight drain is 3-5%. I didn't understand why it increased. Then i realised that after enabling developers options in settings (where i enabled internal terminal app) i got battery drain issue. Now iam getting same sot as was on first day.

I think in LOS some settings making device consume more battery in idle mode. That is why every user on this thread getting different amount of overnight drain.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Fangstergangsta:
Can i use the last official twrp to flash this rom?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] alirazaagha:
Yep. I faced this issue of weak signals. 4g connectivity is very rare on 7th June build. Let's see how 14th June build improves on it.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] yamamototoshi:
Hi, please tell me how to increase the volume of the speaker?

Yesterday was on AOSiP DerpFest and the volume of the voice is excellent
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] yajdintaydemir:
Yes.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Fangstergangsta:
Thanks
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Zloy Y:
From June 14, the network jumps less, but 4G is still terrible. With the exception of this, the build on June 14 is simply gorgeous!:good:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Fangstergangsta:
hi, i try to flash the rom with nickgapps and magisk (20400) but that's not works, my p2 still return on twrp after installation.

When i install rom + nikgapps no problem...

Any suggestion to install magisk?

And how to disable fpgesture?

thanks by advance
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hackeur0elite:
How long did it take to install it ? it's been 30 minutes since I have the animation boot.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Ramesh788:
Before flashing rom format your device.

---------- Post added at 03:20 PM ---------- Previous post was at 03:16 PM ----------

Don't flash magisk until you setup your rom properly. I mean to say that don't flash magisk right after you flash rom and gappa. First let the rom boot, setup it, all done. Then reboot to recovery and then flash magisk
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hackeur0elite:
I know, I always do this before installing a rom and it's functional with other roms:

- I erase all data (erase encryption)

- I format all internals partition (cache, davlik, system, ...)

I don't know what's the problem with my procedure, I tried with others models of opengapps (micro, nano, ..), but always the same problem of animation boot loop.

Now, I'm trying with NikGapps, and I hold aware.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Ramesh788:
Use latest version of twrp 3.3.1.1

I think your device didn't decrypt properly.

Try the following method:

1. In twrp go to wipe section

2. Select data partition

3. Select advance wipe and change data partition ext4 to f2fs and then rechange it with ext4

4. Format your device

5. Flash the rom and gapps

6. Don't flash magisk or something else until your rom boots up
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hackeur0elite:
I forgot to say that i'm already into f2fs for all internal partition and I use also twrp 3.3.1-1

I'm going to try your method because, I have boot loop again with nickgapps, I hold you aware.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hackeur0elite:
Again, first boot = boot loop during 1hour, restart to recovery to flash the 07-06-2020 version...
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Ramesh788:
Keep data partition ext4.

If it doesn't help then re-download the rom
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hackeur0elite:
How long average is the install time at first boot? I begin to despair lol, I arrive to flash some others roms and not the last build and the last but one build on my p2...

---------- Post added at 07:21 PM ---------- Previous post was at 07:07 PM ----------

Finally, I have succeeded to flash the rom without gapps, just unselected the auto restart after the zip install and make a wipe cache.

Now try with gapps without auto restart and wipe before restart, wait and see.

---------- Post added at 07:39 PM ---------- Previous post was at 07:21 PM ----------

Hell yeah, finally booted with the wipe cache after the install zip, auto reboot of twrp don't do that automatically.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hnsaba:
Can the ROM be dirty flashed from LOS 16?

Current setup: all partitions ext4, no gapps, with addonsu
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] kocapomak:
mp3 ve mp4 lerde problem var.

Lenovo P2 TWRP 3.3.1.1 ile tüm bölümleri ext4 olarak seçip temizledim ve LOS17.1 14.06.2020 i opengapps pico ile yükledim. LOS 16 da problem yoktu. 17.1 de mp3'lerde 5-8 saniye geç ses geliyor. Mp3'ün başlangıç kısımları sessiz geçiyor. mp4'ler ise 40-50 saniyelik video birkaç saniyede bitiyor. Görüntü arada bir kaç yerde görünüyor. Diğer bölümleri atlayıp video sonuna ulaşıyor.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] rogat92:
English please
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] HkQc:
I "OTAed" the 14th of June build on the previous build (which I clean flashed) and have no issue at all (YouTube, WiFi...) and no battery drain at night (I'm the first surprised!).

Twrp used : 3.3.1.1

No root

System partition : Ext4

Data partition : F2fs
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Ramesh788:
Audio/video bug is still here with this Rom

Yesterday i flashed this rom and i noticed some improvements:

1. Rom is fast and smooth than los 16.0

2. No 4G signal lost problem and cellular reception is good

3. I was worrying about overnight battery drain but now i don't notice any overnight drain (my battery drained only 1% in 6 hours)

4. P2oggle app is not working with this rom however it was working perfectly with los 16.0

5. Fingerprint unlock works slower than los 16.0

But unfortunately i got audio/video bug in my first boot. I restarted the phone and it got resolved.

Hey devs, is there any way to enable native video calling on this rom?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
It works perfectly for me. I installed the 0.4 apk and it works flawless.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] salobar:
Ben de aynı şeyleri yaptım ama bende problem yok.

Sadece twrp versiyonlarımız farklı ama sorun olacağını zannetmiyorum. Tekrar kurulum yapmayı deneyebilirsin.

My installation is as same as yours. Only Twrp versions are different but i do not think that this can ve a problem. I suggest you to download and flash the rom again.

P2oggle is working with Los 17.1 with magisk.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Ramesh788:
Just installed the latest version 0.4. still app is not working. Root permission is granted and when i try to enable the toggle in app, the toggle stucks and nothing happens
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Fangstergangsta:
i had the same problem but i solved it by unselect "install twrp app in rom"
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] HkQc:
I'm amazed by how Mike and the other devs keep our device rolling... Thanks so much :o

To me, it's still the perfect phone autonomy wise. All the other +5000 mA phones, even the latest ones, lack something, no Amoled (G7/G8 Power), no community support (G8 and G power)...

The Realme 6i which was intriguing won't work well in my place due to its network support.

All that to say, thanks again!

Who can keep happily an almost 4 years old phone with the latest Android version on it, monthly security patch and above 4500 mA battery left?

Mike, you are awesome, cheers!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] wodaaa:
it is a pity that you can not buy the original battery with a capacity of 5100mAh (71gram), only replacements with a real capacity of 4000mAh (63gram) are available, my result from the accubattery on the original is 4100mAh, while on the "new" 3980mAh:-/
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hackeur0elite:
After 1 day used, I'm amazed with this rom, any big bugs founds just some improvements I can give:

- Add 4G+ support (4g is working great but I think that 4g+ don't work (tested with speedtest results slower than other rom and I don't know if 4G+ is the same of LTE+ ( in statut bar display))

- Add some textual options for the statutbar (manage where is displayed the speed connexion or the clock centered for exemple)

- Add possibility to turn off the notification light when the phone is in do not disturb mode

- Add possibility to disable the navigation bar at the bottom of the screen.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Ramesh788:
Custom kernel with LOS 17.1

Can i use custom kernel with this ROM? Will custom kernel reduce the performance and reduce the battery backup of this rom?

Any suggestions???
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kielbek:
It already supports these features technically, dude. Some of them partially, but still. Not sure about LTE band 20 though. They might changed how it's displayed so there's no "+" on status bar but for sure speeds are slow. 30Mbps max for me and I'm living near celluar tower. I don't know if it's carrier throttling or it's a ROM thing cause I don't have any spare device to check this.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hackeur0elite:
I think it's the rom, only 60mbps here and 120mbps with my old bootleggers rom.

But this rom have an amazing battery autonomy.

Thanks Mike for your amazing work ?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] kocapomak:
Thank you to everyone who contributed to LOS 17.1.

I reinstalled on the advice of Salobar. Thank you Salobar. I installed LOS 17.1 again. No problem. It works very well. There are no problems with mp3 and mp4. Zip signature verification did not work during installation. I installed it without zip signature verification.