yashsingh1/xdaforums huggingface dataset:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] cueballkrill:
updated to the latest Lineage build via android now stuck. Was working fine previously. It attempts to boot (remains stuck on loading splash screen) reboots and then goes back into TWRP

reference to this issue here: on Reddit.

I really need this phone this morning. Any quick fixes that you can think of?

---------- Post added at 11:40 AM ---------- Previous post was at 11:30 AM ----------

Installed an older build! sweating there for a second!

I think I am going to calm down on installing every nightly build.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] wjelo:
Same, if you are reading this, don't flash today's daily.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hnsaba:
What about 26th. build?

---------- Post added at 03:59 PM ---------- Previous post was at 03:39 PM ----------

Tested! It works :)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ashutoshmishra:
26 July build also sent my phone to RescueParty ?? I am staying on 16 July until this is confirmed to be fixed.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] wjelo:
When on video calls, for me the volume both on earpiece and especially using loudspeaker, the volume is too high when using FB Messanger, Google Duos and Whatsapp. Yes, even on lowest possible setting, to the point I need to hold the phone away from my ear or cover the holes of speakerphone like 2/3 for it to not be annoying and the speaker is cracking so I am afraid it will damage it.

Media volume and normal calls volume are fine even on loudspeaker.

Do you share similar experience or it's just me? I have also tried crDroid, HavocOS, and other ROMs but it's the same for me.

Edit: I didn't have any equalisers active, however the problem can be worked around by applying one to reduce volume by like 10 dB.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] pklaus:
I have the same problem. Version 20190723 through 20190729 don't work. When I boot the system, the phone vibrates for a couple of seconds, the blue LED is lit and the screen stays black otherwise.

Any chance you or someone else still has the build from 16 July around? Cannot download it any longer from the LineageOS Download page - any help is welcome.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Mrinmay Medhi:
Boot fixed.

The problem not with the rom, the problem is with the latest gapps. Flashing rom with latest gapps not booting. I flashed the Jul 28 build with May 29 Gapps and its now working fine.

I even tested the May 28 build with July 29 gapps and its not booted. So change the gapps and ur device will be booted.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Ulysse 31:
Hi! I'm on the 29 build, it's working for me but i experience many frame drop during navigation, even on home screen.

Am I the only one or someone else is facing this issue?

I try to force GPU render, change power profile, trim memory, reboot, but it's all the same.

I don't recently install new app, but their is some auto update on playstore.

Any ideas to fix it? If it's still on today's build i'll try clean install.

Edit : also touchscreen is very laggy, somtimes i have to touch it twice because it didn't detect the first time

Edit 2 : it seems that it fixe by itslef after a couple of hour, sorry to bother you
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Uniposka:
Any update about this issue? The audio in my video recordings is atrocious :(
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DS-1:
Other ROMs fixed this issue, but only for audio from videos and not for the audio only.

On LineageOs this fix is not used.

When I'll be back from work, on mid August, I want to try a fix that some users used to fix the same issue on Redmi Note 4.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Uniposka:
Please keep me posted! :)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] vipgod:
Pixel launcher is'nt working ,how it will work ?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] USRF_Sledge:
Hi all,

Quick question of which you will know the answer. I'm pretty new to LineageOS, but was delighted to use it on my P2 phone in order to receive regular security updates.

The other week I successfully installed LineageOS and a couple days ago I applied an update from the build in updater. All went well after updating GAPPS too. However, I was a bit disappointed when I found quite some apps lost their permissions (and did not asked to update them), e.g. whatsapp and chrome.

Is this expected behavior? If so, I will update less often, just too much work.

Thanks
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Erazor84:
GAPPS should only be installed ONCE, when you first install Lineage OS.

After that, all Google Apps Update themself through the PlayStore. The only thing you'll "need" to Update is the Lineage OS itself.

The only reason for flashing GAPPS again, is if you wanna reinstall Lineage OS from scratch ... or if you wanna Upgrade from Lineage OS 16 to 17 for example (i know that 17 isn't available - just an example)

so the permission problems came probably from the newly and not nessecary installed gapps on top of your existing lineage install
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] USRF_Sledge:
Thank you for your reply [MENTION=3906573]Erazor84[/MENTION]

Flashing GAPPS again was due to this post;

After updating LineageOS, mine device didn't seem to fully boot either. After updating GAPPS it worked like a charm .... well other than the apps permissions, which was actually my real question. You reckon this has something to do with re-flashing GAPPS?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Erazor84:
I think so. I have had never any problems with Updates. I am using my Lineage install since it first came out (march!?) - so the first AND last time, i have flashed GAPPS, was in march - and i'Ve had no issues with updates yet (i am updating every 3~4 days)

and i never had any permission problems after an OS update, so yes, the problem might be the newly flashed gapps on your phone.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] USRF_Sledge:
Much appreciated [MENTION=3906573]Erazor84[/MENTION], in that case I will give it another try in a couple days.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
Lineage OS 16 for Lenovo P2 is soo good. A big thanks to the developers to support this underrated phone. Been using Lineage for quite some time now and I must say the optimisation, the smoothness, the reliability of the OS is just brilliant. Again thanks to the developers and lineage OS.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Mr.Pike:
So I've noticed a few people in this thread complaining about WiFi performance issues with Bluetooth enabled. Is this a common issue that more users can confirm? It's what really keeps me from upgrading my phone still running on LOS 15.1 to 16. I appreciate your input!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] trevorishpsycho:
Dont know if its common but its not that severe, you should upgrade just for the sake of security
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] myjess:
Since AOSP R6 ROM on here is maybe EOL, can I go from "AOSP R6 with gapps" to this ROM as a dirty flash?

Thanks.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Ulytas:
Big thanks Face Unlock finally works!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
On which build is it working?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Ulytas:
I noticed it worked on the 02/08 build. I upgraded to the last one (07/08) and it still work.

Edit: Sorry I totally messed up with my update folder and I didn't check on which build I was... I restore my system backup and Face Unlock actually worked again on the 22/07 build.

Nb: I think I won't use Face Unlock anymore and I'll still do the last update since it ONLY work when my face is illuminated. Even a bit darker and it don't work at all... Plus FU disable the "direct unlock" [Déverouillage direct in French] option from GravityBox which I prefer. There is an native option in Settings but it doesn't show time nor it auto disabled itself when there are some notifications.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] sylcml:
Always clean flash when switching between different roms.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
Unfortunately yes. On stock wcnss configs I still have the issue. I was able to reproduce the issue on stock wcnss config at my parents in-law place. Different router brand and setup (no-mesh multi node) and connected Bluetooth to a wireless speaker and was playing online radio via WiFi (Radio Droid).

The WiFi on kuntao would drop-out randomly. The same setup wouldn't happen with different Android phones (Tested with Whyred, Galaxy A3, A5, Huawei Mate X). So something is definitely borked since Android 9. I believe it has something to do with the Prima/Bluetooth drivers. There was no issue on the Android 8 driver kernel code for those.

It works flawless when using 4G/LTE as WAN source for the streaming. It is only affected when using WiFi/Bluetooth simultaneously.

The fix I proposed earlier works but introduces another issue. So it's more of a workaround.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] pklaus:
So the blue LED being lit and the phone vibrating and otherwise not doing anything didn't stop. I tried to fix it by flashing no gapps at all older gapps, I was also flashing a newer lineage build. Nothing helped, the issue persisted.

My only way back was to flash the stock firmware. I used P2a42_S251_171107_ROW_fastboot.zip (sha256: 9a14178861b1feab49f1b2f821b84fc2bb108b4452dcd314f8c98c50f84ec34f) downloaded from AndroidFileHost. I found the link in a Youtube video by Varun Teja. Due to my limited number of posts, I cannot include the link in this post directly. Here are the commands I ran on my computer:

# Hold the phone's Power and Volume-Down buttons for ~8 seconds to get into bootloader/fastboot mode
# unpack P2a42_S251_171107_ROW_fastboot.zip and change into the unpacked directory
for FILE in systemchunk*; do echo $FILE; fastboot flash system $FILE; done
fastboot flash recovery recovery.img
fastboot flash userdata userdata.img
fastboot flash cache cache.img
fastboot flash boot boot.img
fastboot reboot
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] USRF_Sledge:
Hi [MENTION=3432739]pklaus[/MENTION]

Not sure what your actually question is. But your phone is working again on the stock rom, right? What if you try to install LineageOS again?

@ All

On a different matter, I use dual sim on this phone and lineageOS. When on WiFi, it looks in the top bar like the connection of the SIM with data enabled drops constantly. I'm not too sure if it is just a visual bug or actually dropping the connection all the time.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] pklaus:
My last post was rather documenting how I got back to stock rather than asking a new question.

Yes, the phone is working again on stock rom.

I tried to flash lineage again (exactly following the instructions on wiki.lineageos.org/devices/kuntao/install ).

The same issue appeared again: Quickly the bootloader screen shows up, then screen goes black, the phone vibrates constantly for a couple of seconds and the blue LED turns on.

If someone has an idea what I can try, please go ahead. For now I'm back on stock rom.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] USRF_Sledge:
I flashed about two weeks ago [MENTION=3432739]pklaus[/MENTION] and used the latest Lenovo P2 TWRP from their website ( https://twrp.me/lenovo/lenovop2a42.html )
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] pklaus:
Than you, USRF_Sledge for this hint. I tried with twrp-3.3.1-1-kuntao.img (from TWRP's website) instead of version twrp-3.2.3-20190209-kuntao.img (linked in the LineageOS Wiki). Unfortunately, the issue is still the same: long vibration, blue LED as described before. :crying:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] USRF_Sledge:
Too bad, it was worth a shot though [MENTION=3432739]pklaus[/MENTION]
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mikeioannina:
Sometimes I wonder if people even read the first (and second) post.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] yajdintaydemir:
There seems to be a delay in notifications, is that some kind of battery saving feature? I noticed that when you leave the screen off for a long time it also stops notifications from coming in(when in vibration mode, not even dnd)

I tried disabling "detect when apps use too much battery" option in battery settings but didn't help. How else can i solve this problem?

Thanks in advance.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] zombiegoaste:
Hi [MENTION=3839575]mikeioannina[/MENTION] ! Is this thing https://source.android.com/devices/tech/connect/wifi-mac-randomization supported on Lineage for Lenovo P2 ?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] FinGod:
Hi, Is there still problem (I mean the gapps reinstall one ) installig the latest builds ? I have not updated since 21st July, and would avoid any extra difficulty.... Thx a lot
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] zwipz:
The first post states: "ROM Firmware Required: Any version of stock 6.0. Recommended: P2a42_S251_171107_ROW".

Isn't that a 7.0 ROM? What are the actual requirements (if any) on the last installed stock ROM?

I'm about to update from a very old unofficial LineageOS 14.1, https://xdaforums.com/lenovo-p2/development/rom-official-lineageos-14-1-t3664052 :: 20170924, and I believe that I had stock s244 before that (stated as a requirement in that thread).

Do I need to flash any stock ROM (if so which) or any perform some other special action before (clean) flashing updated twrp and LineageOS?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] sylcml:
No actions needed, update your twrp, do wipe, install rom and gapps.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Mr.Pike:
Thanks a lot for the elaborate answer!

Unfortunately that will keep me staying away from LOS 16 for now. But maybe there's still hope for a fix.

Cheers!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] church_foster:
Hello, I'm still on the last nightly build of Los 15.1, how do I safely upgrade to Los 16? And is the performance and battery life improved?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] raphj:
See post #2 of this thread: https://xdaforums.com/showpost.php?p=79328723&postcount=2

Same performance and battery life for me without Google Apps nor any kind of instant messaging apart from texts.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] bsabhisheak:
Airtel volte in India is not working on los 16. Is there anybody for whom airtel volte is working from India?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] aayush00002:
Lenevo p2 isn't compatible with airtel volte.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
Is Lenovo P2 ain't compatible or is Los 16?. Because P2 worked well with Jio when on stock ROM.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] aayush00002:
Lenevo p2 isn't compatible yet with airtel volte.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Uniposka:
Hi. Did you have any chance of testing that fix?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DS-1:
Not yet. In these days I'll work on it!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] TTLucian:
Any idea why I keep losing the keyboard after updating LineageOS? I have installed TWRP + LineageOS + OpenGapps + Magisk + SwiftKey (from Play Store). Every time I update by using built in updater, I can't start the phone because encryption is enabled and it asks me for password to start Android, except the keyboard won't pop up. I have to wipe cache + dalvik/art + system and reflash the LineageOS image + OpenGApps + Magisk all over again. Any help is appreciated.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] comunity:
Hi dear rom developers.

Your ROM is used as a primary source for many other ROMs. So bugs in your ROM ar reproduced in most of them.

One of the terrible bug - Pocket mode is NOT working. It so easy to reproduce this bug - lock your smart, cover proximity sensor by finger and try to press power button while proximity still covered. You will see Lock screen with all buttons on it which MAY be pressed.

Why it's terrible? Because we are listening to music while smart in the pocket. And if, at that time some notification arrived - it will awake your phone lock screen will bring to screen its content and "russian roulette" will start. Your smart start switching music, replay to messages, and press in random order all buttons from lockscreen.

I hope it will be so easy to fix this bug to as reproduce it. Kindly waiting for the ability to listen to music and forget about crazy DJ in my pocket )
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] VladSor:
Write to Google AOSP developers :laugh:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] comunity:
Guys, wtf (sorry) am I asking rocket science?! There is a code somewhere which is STARTING displaying lockscreen. Just insert at the very begin/top something like this:

if (GetProximityDistance() < 10 ) return​

or whatever should be written )

Fingerprint scanner fixing... random MAC-addresses generating.... even launching smarts to space,... however, can't fix this?!?!?

---------- Post added at 22:58 ---------- Previous post was at 22:47 ----------

btw, Vlad, you are the author of two mods Havoc and Syberia. You are hands-on them. On Syberia Pocket mode is working. On Havoc - no. Are file compare tools are so complicated for you to use?

yes, I know, "nobody forces me to...". but what about you? or this challenge is not for you? )

excuse me please 100 times, nothing personal. just want to listen to music and keep calm
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DarkHoundOne:
Bug reports:

How to submit a bug report

LineageOS GitLab
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] comunity:
yes

Proximity sensor for "Prevent accidental wake-up" is not working
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DarkHoundOne:
Take a look at the comments.

I can't seem to reproduce it either.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hnsaba:
Oh! Mike is working on Kernel 4.9, it is near to have it on our devices!

Thanks [MENTION=3839575]mikeioannina[/MENTION]
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Uniposka:
Does anyone know if there is a version of GCam that has slow motion working on this phone and ROM?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] comunity:
The attached video is from other ROM. But the result for your rom is the same: either screen is unlocked, either it's flickering between locscreen and "locscreen for locscreen"

And how my video may help you in this case? Ok, you will see on the video that it's not working for me. And ... what?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] sutharmukesh88:
No Ringtone in phone speaker when wired or Bluetooth earphone connected to phone

hi,

all works great but No Ringtone in phone speaker when wired or Bluetooth earphone connected to phone.

i some time left phone connected to earphone. phone not ringing when i get call. no notification sound also. it is complected like muted. i happen both with 3.5mm earphone and Bluetooth earphone.

please add option for it or fix this issue.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Fangstergangsta:
it's not an issue for me this is normal
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DarkHoundOne:
Maybe try submitting with the video linked so that it doesn't get closed again? Either that or wait for [MENTION=3839575]mikeioannina[/MENTION] to respond here.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] sutharmukesh88:
it is really annoying me as i left my Bluetooth earphone mostly out of my ear so i miss my calls.

i tried 3 other phone , all dont have this issue.

please suggest any fix
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] philje123:
Is anybody using any custom kernels with 16.0? I tried the Blaze Max kernel and it worked really well but there was no sound from the speaker.

I really want to use CPU Hotplug as all 8 cores are constantly online all the time.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] pklaus:
Well, [MENTION=3839575]mikeioannina[/MENTION], I was actually reading it. I was also following the official installation instructions on https://wiki.lineageos.org/devices/kuntao/install

I guess you were mostly refering to the fact that I need to wipe&format the data partition. This hint is included in the LOS Wiki instructions, too, and I did follow that.

Today I tried installing LOS16 on a different Lenovo P2a42 that I own (with P2a42_S251_171107_ROW). This time, I tried with:

* twrp-3.3.1-1-kuntao.img (yes, I know that deviates from the official instructions)

* lineage-16.0-20190827-nightly-kuntao-signed.zip

* open_gapps-arm64-9.0-nano-20190827.zip

* addonsu-16.0-arm64-signed.zip

Before flashing LOS, GApps and su, I performed the Wipe→Format and AdvancedWipe→Cache&System steps in TWRP.

The procedure worked while sideloading/flashing but the system fails to boot afterwards, yielding the same *blue LED + vibrating for a couple of seconds + black screen* behaviour.

Am I just plain stupid? Do I have a different hardware revision that's unsupported? Is there a way to debug? Is there some additional partitioning, reformating, wiping, or whatever step that users/developers coming from prior LOS versions have performed earlier?

Feel free to call me stupid, not reading first posts, or anything. But please point me to my own ignorance. Thx.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nothingman1976:
My suggestions are:

1) Use the twrp version linked on the wiki (the Los version not the official twrp)

2) Try to do the procedure without flashing the addon-su
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mayankmattitude:
How to get swipe gesters?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Hey y'all

Can anyone tell me the current remaining issues ( if there are any).

Thanks.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DarkHoundOne:
Don't think this really classifies as a issue but last time I checked there's no proper way to disable the nav bar and use only gestures without editing build.prop or via root.

Also the visual representation of the signal is kind of whack so it might show an empty bar when in actuality the signal is fine,
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] miro101:
Hey. I'm using this rom for quite a while now and I'm still very happy. Since I play a lot with the phone storage is running out and I want to reinstall the system.

Can I got to twrp, wipe all partions including system, data and all the others and reflash the linage os Rom, or do I need to keep some partions intact?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Great thanks man for your answer man.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Fangstergangsta:
you're right, now I see the problem, when I ride my motorcycle, I can't hear the ringing in the helmet and it's really boring...

someone can help me to "create" bug in the bug tracker? Or explain to me how can i do this?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Mr.T_shaggy:
After I updated to 1st September build, I lost signal on my phone.....any one else facing this issue?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Erazor84:
No, still everything is working fine.

Can you see your IMEI's in the settings, or have they been gone?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Mr.T_shaggy:
Resolved.....the data services got active for both sims after upgrade.....I closed one and all fine now
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ama3654:
Flash lineage OS only first, boot to home screen, then flash gapps afterwards. Mine did the same.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] philje123:
Since the last update I have all these extra options for mobile network. Including CDMA roaming mode.

Is this normal?