yashsingh1/xdaforums huggingface dataset:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
This is incredible!! You are right Mike! Battery life is still incredible on kuntao! Its got nfc. An amoled screen, fast charging and most importantly P2 is still pocketable and light unlike phones launching these days that are big and bulky, have smaller batteries, made of plastic but still considerably heavy.

All hail the P2!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] smartshrayansh:
About Lenovo P2 update

Hey there, I'm on DerpFest OS and currently facing many bugs like video lags, compass sometimes not working, wifi not detected but as a mobile network, and even more bugs. So should I update to lineage 17.1 OS.

As I'm seeing some users are facing bugs in lineage 17.1 OS also.

I just want a stable and fast ROM with minimal bugs.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nothingman1976:
I tried to update to build November 22th but but all I got it's again phone that reboot in bootloader.

I reflashed build of October 25th from adb in order to have a working device
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] kocapomak:
Backup the boot partition with LOS installed on October 25th.

Install the November 22 update.

Restore your backup boot partition.

Restart the phone. It will open.

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

With the October 25 update and twrp 3.4 installed,

1- I backed up Data and Boot partitions with Twrp.

2- I cleared all partitions except usb-otg and sdcard partitions.

3- November 22 and I installed opengapspico on my phone.

4- I restored the Boot and Data partitions that I backed up before restarting the phone.

5- When I restarted the system, my phone was turned on without being attached to fastboot.

I can now use the November 22 update.

I am installing with usb-otg and TWRP 3.4.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mikeioannina:
That's weird, my device is booting fine, I'll try to figure out what's wrong.

Indeed drain is higher but I haven't figured out where the issue comes from yet.

I maintain Xiaomi Mi MIX 2, Razer Phone, Xiaomi Mi A2 and soon Razer Phone 2, Google Pixel 3a and 4a. You can see why I am late looking into P2 bugs sometimes :P
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DS-1:
The same here!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kontex:
I had to switch back to Android 9 unfortunately. The battery lifetime was very bad with a dirty flashed lineage-17.1-20200927-nightly-kuntao-signed. I got about 5 hours SOT with 6 days standby time. I've normally about 10 hours SOT and 10 days standby time with similar low workload.

Are there any tricks to get the old battery lifetime with the new Android 10 image? Accordant to GSAM Battery Monitor the screen was responsible for 30% of the battery consumption (picture attached). This is very high. I always use a very dark screen. Is there something wrong with the displays driver that can be fixed? The CPU power demand for low power tasks like watching a movie seems very high, too (picture attached).
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] kocapomak:
With the October 25 update installed, restart the phone in recovery mode.

Back up the Boot partition of your phone.

Restart the phone with the October 25 software installed.

Install the November 22 update with system update.

When your phone restarts, it will start in bootloader mode. Turn off the phone and restart it in recovery mode.

Restore the Boot partition you backed up.

When you restart the phone, it will open with the November 22 update installed.

(TR)

25 Ekim güncellemesi yüklü iken telefonu recovery modda yeniden başlatın.

Telefonunuzun Boot partisyonunu yedekleyin.

Telefonu 25 Ekim yazılımı yüklü halde yeniden başlatın.

Sistem güncellemeden 22 Kasım güncellemesini yükleyin.

Telefonunuz yeniden başladığında bootloader modunda başlayacak. Telefonu kapatın ve recovery modunda tekrar başlatın.

Yedeklediğiniz Boot partisyonunu geri yükleyin.

Telefonu tekrar başlattığınızda 22 Kasım güncellemesi yüklenmiş olarak açılacak.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Jubin45:
Fingerprint enrolment not working

Fingerprint enrolment not working even after a clean install.

As explained here - https://xdaforums.com/lenovo-p2/help/fingerprint-enrollment-fails-custom-roms-t4110461 I'd like to revert back to 16.0 and then update to 17.1.

Can anybody please give me 16.0 official rom? I have tried searching everywhere, but no luck.

Your help is very much appretiated.

- Jubin
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Bipo:
where is the delete button?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
Last LineageOS 16.0 available:

https://mega.nz/file/ty5CwLoQ#Icppi4Y83C5PeL0ym0YNvPjLtE5eIEbIkbU6OF4Va5M

You are welcome!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] simbanono:
Thanks you are a god among men, I was searching for that older build, but they arent found back easily.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] SrivatsaNag:
I have problem with my fingerprint scanner. There is no fingerprint option in settings, tried with LOS 17 &16, even in STOCK ROM.

But home button is working properly, also for Google assistance.

Please give any solution...
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nothingman1976:
The hardware of your fingerprint scanner is probably broken as mine. Unfortunately it's a common issue on the p2. On my phone sometimes the sensor was again available after being unavailable for many months... But lately it's not available anymore. If I look at the boot logs I see errors connected to the broken hw
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] SrivatsaNag:
Thanks for your immediate reply.

So I have to replace it. Any website which will ship to India. (As Govt. banned AliExpress 2 days ago)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nothingman1976:
When I searched I only finded on AliExpress but I didn't buy because I wasn't sure to be able to install it
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Jubin45:
Thanks a ton!

Thank you so much! You saved my day.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Memreb:
thank you this method worked on my phone, since November 1 update i couldn't install any update.

By the way my developer settings gone after the November 1 update fail and reinstalling October 25 firmware manually, i cant open it or activate it by the classic activation. Any ideas or suggestions about to fix that?

(TR)

teşekkür ederim bu yöntem telefonumda işe yaradı, 1 Kasım'dan beridir hiçbir güncellemeyi yükleyememiştim.

Bu arada 1 Kasım'daki güncelleme hatasından sonra 25 Ekim aygıt yazılımını elle yükledim geliştirici seçeneklerim gitti, ulaşamıyorum yok yani ve açılmıyor da klasik yöntemle. Bu konuda yardımcı olacak fikir ya da öneriniz var mı?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ElGrandeFez:
One thing that made a huge difference for me was disabling the "Mobile data always active" setting in developer options.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mattrattus:
Hi guys,

First of all, because this is my first post on the forum, a specifically on Kuntao board - so... hi everyone :)

I have messed up my phone, so I decided to reinstall.

I read couple of last posts from this topic, and understand there is a problem with last build of LineageOs.

Some of you say the last from October works fine. But there is a problem. LineageOs removed this built from download site.

Now I can download only from November but any of this not working, even the newest. Why is that?

What can I do? I have backup of my stuff, but now I have only TWRP 4 on my phone :/
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] simbanono:
Its kind of dumb that they dont have like an old-stable build since the nightly thing breaks and fixes stuff.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] kocapomak:
After installing the October 25 software, backup and save the Boot partition of the phone. It may be required in the next update.

lineage-17.1-20201025-nightly-kuntao-signed.zip

https://drive.google.com/file/d/12VML8dkNzzFSwMxnB8t55IaQvk6w_GyJ/view?usp=drivesdk
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mattrattus:
Thanks, I know this solution - found on the previous posts.

Maybe this is stupid, but how can I trust to this file? ;) I don't have the SHA from the original build.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] curiousrom:
kuntao October Build Archive Download Link

Thanks! :cool: 👍

You forgot to hit the Like 👍 button below that useful post.

See https://wiki.lineageos.org/verifying-builds.html about how to make sure the file was not tampered with.

***
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
It's picky, but it's not stupid! ;)

Try to download this from me as well, if they both have the same hash, then it is very likely to be genuine.

https://mega.nz/file/83gzxKQR#9V49-5oSlltTeABZnxIUWCN-5T8wLXj64nD-3mQ1ePg

\\//_
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] kocapomak:
you are right. Here are the values ​​of sha.

Those who have the same file can confirm.

https://xdaforums.com/attachment.php?attachmentid=5143077&stc=1&d=1606467435

https://xdaforums.com/attachment.php?attachmentid=5143079&stc=1&d=1606467436
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Hqnbbcn:
does it work a single sim model of lineage os ?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] USRF_Sledge:
Who is the dare devil to test new updates?

Got my phone screwed, backups not working (same boot error) and ended up with a clean install of the 25th Oct image. I'm not very tempting to test new updates .....
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] kocapomak:
Lenovo P2A42

TWRP 3.4.0

Use otg-usb

With the October 25 update installed, restart the phone in recovery mode.

Back up the Boot partition of your phone.

Restart the phone with the October 25 software installed.

Install the November 22 update with system update.

When your phone restarts, it will start in bootloader mode. Turn off the phone and restart it in recovery mode.

Restore the Boot partition you backed up.

When you restart the phone, it will open with the November 22 update installed.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] USRF_Sledge:
Thanks! Will that be the way forward for new updates, or do we reckon the issue will be fixed in future updates? I can miss a couple updates if needed ....
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] kocapomak:
I am not a developer. I do not know. There were those who tried unoffical boot.img. I tried the backup of offical boot.img and it worked.

As a precaution, I store my 25 October boot partition backup in my flash memory.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] cocopipou:
You are right.

I did the same but on a little different manner.

I extracted the boot.img file from the rom dated 2010-10-25 and saved it on my SD card.

After flashling a new build, I flash the saved boot.img before rebooting my phone.

As is has already been said, you are'nt obliged to flash every new update.

Have a look at the changelog and you will see if something is intresting for you.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] standalone0007:
Ok google ain't picking... microphone is not responding how to fix that any help would be appreciated thanks
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] geek.x86:
A quick restart should fix the problem. I, too, had this issue on my P2 earlier. But as soon as I rebooted my device, Google Assistant started responding to "Ok Google".
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] standalone0007:
Yeah but it stops responding after some time and then i have to restart it every time.

Is there any permanent fix
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] architecture. mohamed:
Can u share your boot.img with us please
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] cocopipou:
https://drive.google.com/file/d/1U4DoVaU18BwcpDVBcfoI7YRMzqPtEyiy/view?usp=sharing
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] geek.x86:
In my case it happened just once. After the reboot I have not faced the problem again until now. Is it recurring with your device? By the way, I have installed Nov 22 update. Try updating your device, if you have not done so already.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] r6680jc:
Just asking before I step further.

The first post says:

But, isn't P2a42_S251_171107_ROW a Nougat ROM?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Miltonbaidya88:
Yaah...and thats the last update..that's why its recommended
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] r6680jc:
Ah, okay.

It seems that the P2a42_S251_171107_ROW fastboot ROM isn't available for download (I've searched, and found none).

Is it only available as OTA update?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Miltonbaidya88:
https://xdaforums.com/lenovo-p2/development/fastboot-files-stock-firmware-t3649914/page11
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] r6680jc:
But that links to another thread, and then links to OTA update zip file that I already knew.

What I was talking about, that there's no fastboot ROM version S251 available for download.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kielbek:
If you're not on stock S251 or S255(?) then what are you using? Custom? If unlocked already then go straight for flashing, if not - just do OTA before unlocking.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mahmutpekkara:
Yes, normally it is only available as OTA update but iirc there should be update.zip package for that on xda but cant find now. Just do ota update and you are ready to flash los.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] r6680jc:
The device is not mine, and it's already on S251 (stock ROM OTA updated, BL is still locked), I was just confirming, because I would like to have S251 fastboot ROM as a backup, but it's not a problem if the S251 fastboot ROM isn't available, after unlocking the BL, I can just make image backup of all partitions using dd command.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kielbek:
If it's updated already, go on. You can flash back previous versions, like S233 (MM) if something will go wrong and OTA it back to S251 or S255. I've got S233 fastboot as a recovery solution too. Didn't have to use it but did similiar thing on Lenovo K6 some time ago. To be honest, I don't think there was Nougat fastboot ROM. I might be wrong though.

After unlocking, just make TWRP backup of stock with all of the partitions ticked. just in case in case owner of the device will want to go back or will delete radio or something else by mistake. I heard that some people didn't do that and had some problems making signal reception work again. It's probably only not so foolproof thing sadly in this phone.

Off-top: this new forum seems to be a garbage. Posts are mixed up.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] r6680jc:
There's S244 (Nougat) fastboot ROM.

Regarding backing up partitions, I can do it using dd commands from TWRP terminal.

It seems better now.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kielbek:
Even better. I don't think it'll be needed tho.

Of course you can, but why? I mean, if you're gonna be already using TWRP, which detects EFS, then there's no point in using dd alone. Unless you want to backup this particular one, just to be sure, and have TWRP-independent backup of it (which I think is a good idea). For backing up whole bunch of partitions you're already gonna be using powerful tool which simplifies this for you and using dd is just unnecessary work in such scenario IMO. But it's up to you. You seem to know what are you doing and it's a solution too.

Anyway, you're good to go with that S244 and as long as you backup EFS, no way you'll break something. You would had to be a moron at this point. And if you would like to be fully independent from OTA servers when restoring phone, it was possible to capture HTTP request and get direct link to OTA zip which can be flashed from stock recovery. It was discussed somewhere, I'm not sure if this was XDA tho. If you're familliar with Wireshark, you can go straight up this way.

It is, finally.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] bind00:
Ah OK. Thought I was going crazy. Or just stupid.

Did TWRP backup before last update - from previous experience. Problems again. Tried to restore but didn't work. Read that you need TWRP 3.4.0-0. Screwed that up. My fault. Did fastboot unlock as it was in the TWRP website procedure. Now can't even get TWRP. /data missing.

Couple of questions:

- do you think there's any way to recover the backup I made? TWRP default location wherever that is.

- can I recover without a factory reset? Would that delete backup?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] simbanono:
Why does this rom use so much battery im not switching.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] simbanono:
Also can someone give me the latest android 9 build, I have 20200321 now but I heard that isnt the latest, ill probably make an archive of all last builds of every major version for everyone. and I also need the last android 8.1 build and 7.1.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
This appears to be the latest 16.0 official build available:

lineage-16.0-20200321-nightly-kuntao-signed.zip

566.64 MB file on MEGA

mega.nz

EDIT: thanks @simbanono for correcting me. This is actually the last 16 available:

lineage-16.0-20200419-nightly-kuntao-signed.zip

File on MEGA

mega.nz
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
And indeed you are right! Here you go:

lineage-16.0-20200419-nightly-kuntao-signed.zip

File on MEGA

mega.nz
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mattrattus:
Thanks for this build. It's save my phone ;D

I compare build from you and the previous one from kocapomak, they are the same.

Thank for help :)

But still... The newest build of today, still have the same bug!

WTH? :/

So, the only solution is to repair them via boot.img from lineage-17.1-20201025?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] bind00:
I updated from August to Nov 22 and 29 with Updater. Didn't get boot problems described here but there were issues, most noticeably the navigation bar was missing. Is there a reason or workaround for this?

Also, the bluelight filter had disappeared from the quick pulldown menu which may be trivial but I decided not to stick around to find what else was wrong.

Real problem started when I couldn't restore backup made with TWRP 3.2.x and tried to update to 3.4.0-0. Could be my error but that version wouldn't start until I did 'fastboot boot <recovery_filename>.img' instead of 'fastboot flash recovery <recovery_filename>.img'. Took a few frustratingly long time to figure that out.

Got phone back to Oct 25 now but before setting it up again will spend today getting a rock solid backup/restore procedure.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] kocapomak:
This process is working for now.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mattrattus:
Yes, I know. This is the only solution that allows me to use the phone :)

I'm curious, it will be the permanent solution? I check gitlab with this bug - nothing new.

We stuck with this and wait for LineageOS 18?

I'm not complain - finally this solution it's easy to implement and works, but... ;)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mikeioannina:
Has anyone tried the latest build? Do you still have the issue? Those who have issues, are you using the recommended TWRP from the first post?

I can't seen to reproduce this on 2 devices I tried updating :/
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] simbanono:
This is the perfect example of why people dont trust nightly releases.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] arcaneview:
I've been using los17 since one month after it's release. I did clean installation & everything else as required in initial post. Used twrp suggested etc. Never had none of the recently posted problems. The only problem I had was with sound tearing which went away few updates ago (and battery that drains a bit faster even in idle mode...). Other than that everything is working fine, & I'm not rooted.

Most anticipated question:

Did you get some time to work on los18 or it's too early for any spoilers?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mattrattus:
Hi Mike,

First, I want to say thank you for your work :)

I tray every build from last month, as well as the latest - lineage-17.1-20201206

Same problem - stop on bootloader. The only solution to run phone, is flash boot.img from lineage-17.1-20201025

As for your next question, all the time I use the newest version of TWRP - twrp-3.4.0-0-kuntao.img

I have time to do another test, and I download recommended version - twrp-3.2.3-20190209-kuntao.img and again stop on bootloader. Besides, in the recommended version, I've got error E: recv error on uevent
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
Lenovo P2 p2c72 here!

Updated to 17.1 2020-12-06 using the updater, everything's just fine and smooth as usual. Using magisk and twrp 3.4.0-0 on ext4 partitions.

@mikeioannina thank you so much for this and for planning to move on 18!

The ones that have problems rebooting in infinite boot loader. I've got that once: still back to the los16 era. In my case it was the start-up pin, used to decrypt the disk. Installing a working rom version to disable it did the job.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Haas8:
I had the same boot problem on the latest update, reflashed the 25the boot img, and now it works fine!

To anyone who wants to do this, the default updater doesn't let you flash the img and the bootloop puts you into fastboot mode.

I used fastboot to boot into "fastboot boot TWRP.img"

But I guess it is easier to not use the updater and just flash the update with twrp using the download function for lineage os.

I am btw using the latest twrp, at least I think I am.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mikeioannina:
Latest/official TWRP 3.4.0 is *not* supported because it is out of my control. Do you use ext4 or f2fs?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
Is it safe to update to the latest 2020-12-06 update? Does the weird bootloop still exist?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mahmutpekkara:
Yes! Finally you made this clarification. :D I always tought if using latest twrp will make things better or worse, got confused everytime. Now everyone should use required twrp, NOT latest twrp. I hope this will fix many problems. Also using ext4 or f2fs matters? IIRC f2fs was better than ext4, it was fluidder but I dont know if it causes any problems so far.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Lyceus:
I had a boot problem on the lasted build as well. I am using the f2fs format and recommended TRWP (from the first post). I will try to get more info or logs, if possible, at the weekend
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] rogat92:
deleted
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] rogat92:
Hope this help https://gitlab.com/LineageOS/issues/android/-/issues/1849
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] slovantes:
I don't have problem with audio on my p2a42 los 16 but my mother does on her p2a42 where speakers (ringtone etc.) stops working if i try to use speakers only once in a call. Works again after reboot. She also has LOS 16.

Problems in gitlab i found for audio in Kuntao:

1: https://gitlab.com/LineageOS/issues/android/-/issues/1679

2: https://gitlab.com/LineageOS/issues/android/-/issues/1702

3: https://gitlab.com/LineageOS/issues/android/-/issues/1849

---------- Post added at 02:00 AM ---------- Previous post was at 01:43 AM ----------

There is, i hope it gets implemented into lineage: https://xdaforums.com/lenovo-p2/themes/p2oggle-t3965418
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Mrinmay Medhi:
I feel battery drain is little faster than android 9.