yashsingh1/xdaforums huggingface dataset:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Chichi023:
Why every day has an update should i upgrade to the latest build what problem fix the new update? anyone?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Erazor84:
There's a button called "Changelog" in the updater app. Read it and decide for yourselft, if you wanna upgrade or not.

daily updates, because it's a nightly build. but not every update brings changes. sometimes there are 4~5 updates in a row, without a since Change. but if you Keep an eye on the changelog Website, you can track the changes and decide if you wanna upgrade or not.

easy, isn't it? ;)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] andyscuff:
Did you manage to download it? I've just realised I have a copy on my Google drive I could send you the link if you're having download issues. I remember it took me a while and several attempts to download it.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] asraf5285:
Yesterday, I clean flash this build and today I notice that deep sleep is not running on my CPU. Now, I'm downloading 8 Jan build and try OTA..
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] huntk1:
I have a P2c72 model P2 which was supplied by GearBest with the P2a42 firmware.

I unlocked the bootloader and installed the Lineage specific TWRP at the beginning of this thread.

I've installed this Lineage 15 build and rooted it using the standard su supplied by Lineage. I didn't change any partitions.

I'm gradually finding more and more apps that are detecting root so I'm considering moving to Magisk.

Can this be done easily considering I'm already running this Lineage build?

Any help greatly appreciated.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] andyscuff:
Try toggling WiFi hotspot on then off and see if this fixes the issue. Some users, including me, have this issues.

The wake lock happens when leaving WiFi for mobile data. Might not be the case with yourself, but worth a test.

---------- Post added at 12:47 PM ---------- Previous post was at 12:45 PM ----------

Magisk works fine with LOS 15.1. I use version 17.3, but some people have reported 18.0 is working fine. Not sure how easily your current SU can be removed, but magisk is easy to flash through twrp.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] huntk1:
There's an SU removal on the Lineage extras page which I can try, but I was more concerned about coverting the System partition to ext4 which I haven't done. I assume I need to do that still? Will I need to flash Lineage again or will it work as it is once I convert the system partition?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] andyscuff:
You can keep it as s2fs and it will work. The only thing is it doesn't work too well with the modules. There is a f2fs workaround in the mods download section of magisk, but it's a pain as you need to flash this through twrp each time you update LOS.

If you change to ext4 back ROM up using twrp to SD card. You'll also lose all data in the user partition. Then change to ext4. Then restore the backup from SD card. Should work.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mikeioannina:
Hey guys I don't know if you noticed, but I published my sources for kuntao 16.0 on gerrit. If anyone compiles from source you can do it now using the open kernel and device commits and vendor blobs from my github. :)

There might be a couple of experimental builds after I figure out new TWRP to fix the f2fs/data issues once and for all. Looks good so far and SELinux enforcing with a few denials left to fix.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Sutcliffe9:
Great news, thanks Mike.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Same here I had the same problem a while ago. I used the method to get back to stock. Then I reflash TWRP and LOS. If you need the files, let me know or use the files mentioned in the previous post by andy
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Jerghal:
The download worked and I managed to get it back on stock ROM. Thx for the offer!

---------- Post added at 08:39 PM ---------- Previous post was at 08:36 PM ----------

When I used my browser download it failed but then I used a Firefox extension called 'Multithreaded download Manager' and this managed to download it in one go and at a faster speed. I got the phone back on stock ROM in the mean time. But thanks for the Google drive offer!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] asraf5285:
Thanks for the reply and info. It works. ?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] andyscuff:
Do you use Tasker?

I've been chatting to a user off here who created a task that toggles the WiFi Tethering automatically when the WiFi drops. It's quite useful for this issue. I noticed that the WiFi drops then connects again (for whatever reason) when I'm at home without even realising, which would have triggered the wake lock
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Jerghal:
So now that I got the stock ROM back I started again, and again at the formatting it went wrong, BUT this time I did enter my PIN code in TWRP to decrypt the data.

So when I choose format, then type 'yes' it gives me this:

Formatting data using mkfs.f2fs...

mkfs.f2fs -t 0 -r 16384 /dev/block/mmcblk0p56

process ended with ERROR: 1

Unable to wipe Data.

Unable to format ro remove encryption.

Updating partition deails...

Failed to mount '/data' (Device or resource busy)

...done

Then the only thing you can do is reboot coz I tried this format several times and it gives the same error each time.

How hard can it be to simply format thtis stupid data partition?

Anyone got an idea what the problem is here exactly?

---------- Post added at 10:07 PM ---------- Previous post was at 09:33 PM ----------

Ok so I restored the stock ROM a second time BUT this time I did the extra 'fastboot flash userdata userdata.img' step because the data partition always seemeed to be the problem, so why not rewrite it? Also now in the stock ROM I didn't put a PIN code or fingerprint scan on it or nothing.

Installed TWRP again and booted in TWRP. Then there was NO question to decrypt anything - so far so good.

Tried to do Wipe > Format again and AGAIN it failed (same error as previous post).

So I was expecting it to go in a TWRP boot loop again like the last time but strangely enough it booted in the stock ROM without any problems....

But the main question remains: WHY does this format keep failing? Is there something wrong with the TWRP? I downloaded the one from the install instructions (twrp-3.2.2-20180709-kuntao.img).

Should it format in ext4 instead of f2fs. If so how do you change it coz you don't get an option to change it. How is there still encryption on the partion and what does it need to remove it?

Did anyone encounter similar problems while trying to format?

Thanks for the feedback.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
I've had the same issue in the beginning of 8.1 I assume you flashed the " custom" TWRP?

If I recall it correctly to overcome the issue I formatted using the standard TWRP version. Once that was done I rebooted the phone directly into TWRP again. Then flash the custom TWRP. Then reboot into TWRP again and then flash the ROM with gapps. I also encountered issues creating a backup with the custom TWRP. It went fine with the default TWRP though. I think this will help you.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] jk77:
Andy, I think that we can share this tasker profile, here is the link:

https://taskernet.com/shares/?user=...uLOAUoG5XYtSASW/az/U=&id=Profile:P2unWakelock
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Chichi023:
Thank you i save a lot of data for everyday update
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
I format using official twrp. The format error happens in official twrp as well. Just reboot back to twrp from the menu itself and format again. This time it will work. Then I update to LOS twrp from official twrp itself and flash ROM. Worked for me once i did the procedure long time back and been using since then.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] QuaX1:
Try unrooting with SuperSu app and then flash Magisk using TWRP.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Fangstergangsta:
same problem for me, to resolve the problem i reformatted the partition in EXT4 and now i cant wipe data etc ... but LOS work great ...
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Jerghal:
I flashed the TWRP for which there is a link in the official install instructions on top of this thread (https://androidfilehost.com/?fid=5862345805528044694. It's called twrp-3.2.2-20180709-kuntao.img). I assume that is the custom TWRP as the name says kuntoa specifically.

I would assume this is the official one: https://eu.dl.twrp.me/kuntao_row/twrp-3.2.3-0-kuntao_row.img.html

But it's frustrating how vague this all is. What is custom about the first one linked in the instructions? What does it do differently? (there is no nfo file or nothing added). And if I should use ONLY the official one, would that be a problem?

Does anyone have an idea what the difference is between the two and why you need to flash the custom TRWP after the normal one and not just use the normal one instead.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] selvababuu:
FP gesture will be engaged automatically if you disagree navigation bar. However the zip works fine, If your flash it you can have both navbar and FP gestures at the same time.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Jerghal:
I got it installed by using ONLY the official TWRP. Instead of ADB sideloading I used the normal install option in TWRP and put the LOS & GApss zips on the SD card.

Maybe someone should change the install instructions on the first page of this tread, because the TWRP to which it refers there has cost me several hours while the official TWRP works just fine....

Thanks to Kevin, andyscuff and others here for their kind replies.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Frasp:
If you check my post a couple hundred posts back, I might have written pretty much exactly that in not as many words...
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Jerghal:
Sure, but no one is going to search for install instructions in 211 pages of a forum. You assume the install instructions on page one are updated and correct. That saves everyone a lot of time ;)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Frasp:
Think you misunderstood me. I was suggesting the same thing you are after scratching my head for hours. It's really frustrating when you follow instructions to the letter and end up with a phone that doesn't boot.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Great to hear you got it working. I think something had changed in the official version since I tried and now. I've tried the official version to but failed to got it working. It worked instantly when I the custom Version was released ( I think it was 1 or 2 days later) haven't tried anything else since then.

So I agree maybe the first post should be updated to match the criteria.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Jerghal:
Oh sorry, indeed I misunderstood. But yeah, installing these custom ROM's is not that difficult if you got the right instructions and files, so most issues and problems for users arise from steps being skipped over in the explanation, errors (like the incorrect TWRP link) or outdated documentation.

I installed a Sultan ROM on my OnePlus one (when it was still working - dead now) and there I had no problems whatsoever, went really quickly, so it doesn't always have to such a pain.

So to avoid all future P2 custom ROM users of having the same painful experience someone (Mike?) should change the install steps.

---------- Post added at 11:24 PM ---------- Previous post was at 11:14 PM ----------

Took me a couple of hours to install all my apps, log in all the accounts, change all the necessary settings etc but I think it's fully configured now.

So my first impressions:

-Banking apps (BNP Fortis & Deutsche Bank) work fine

-Itsme app (authentication app for goverment sites & bank apps) works fine

-Skype, Teams, Outlook, Facebook, Slack, Google maps, Waze, etc also seems te be working fine (at first glance)

2 apps gave some issues:

-Whatapp notified me that the phone was rooted/custom (or somesuch message) but it does work

-Tfl transport (that is an app to check your ballance for the London Underground Oyster Card) detected also that it was a custom rom and refused to work

I will have to test it more extensively for a couple of months to see it I have any other issues, but most things seem to working ok for now

One BUG I detected is that if you push the power button to turn off the screen the camera app opens

When I search in the button settings there is an option 'Camera button' but when you select that you don't see any option to turn off this 'long press' functionality. That must be some mistake/bug right?

Has someone else had this problem?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Fangstergangsta:
Can you make a tutorial to explain what you did because i would like to reinstall properly...

You use ext4 or f2fs?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] andyscuff:
There is a double tap power button to jump to the camera. Is it possibly registering two power button presses?

You can turn it off search for jump to camera
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
Is there anyway to get rid of the screenshot sound in LOS 15.1? There is no option to mute the screenshot sound in device settings.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] prashu199:
LOL my loudspeaker has been dead for a week now.I am missing that screenshot sound very much..though this is the only way to mute it..haha..
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] andyscuff:
Mine died the other week too. Then it started working again. I wasn't sure why and still not. Seemed to fix itself after an update, although I don't think it was the ROM that caused it to stop.

Which version are you on?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] prashu199:
I am on 28 dec currently..i have double checked installing few other roms too.It isnt a software issue. Many users have faced loudspeaker problem in p2. I ll have to get it fixed at service centre.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] andyscuff:
Sounds like a hardware issue then. That's a shame. Hope you get it fix.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] prashu199:
Its been 2 years since i bought my p2 so its fine.haha
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Jerghal:
Installing correctly is quite simple:

-You follow the instructions on the first page of this thread: https://wiki.lineageos.org/devices/kuntao/install

BUT with one important difference: where is says '1. Download a custom recovery - you can download TWRP', DO NOT use that one but use the official one: https://twrp.me/lenovo/lenovop2a42.html

The other difference is for '8. Sideload the LineageOS .zip package', that will probably work. But I used the 'Install' option in the TWRP main screen and put the LOS installation zip and the GApps zip on the SD card and installed those from TWRP.

What I also did (because of these problems), but maybe that's not necessary is to not have a PIN code or fingerprint scan in the stock ROM before you install through TWRP, then you don't get the decrypt question.

If you do it like this the install should go without any problems.

About your f2fs or ext4 question: you can't select which one you want yourself, the TWRP automatically selects one if you select the format option. The Custom TWRP seemed to want to use f2fs (but that failed), the official TWRP seemed to use ext4. Hope that answers all your questions.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
About the issue out til app I some or less had the same. With an different an though. But I solved it with magisk hide
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Sutcliffe9:
security patch has been updated to 5th January 2019.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Ulysse 31:
I don't face this issue, I've made every OTA until tonight, I make a clean install and it works well for me.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Sutcliffe9:
That happened to me too but it also happened on another rom so it could be aroma. I just disable the lineage phone app. Saves me deleting it after every update.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] slp2096:
Hi is there any way to fix low light performance of front cam in 3 rd party apps like lens kart etc , I'm on los 15.1 latest build now . Tq
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mikeioannina:
Some 16.0 updates:

* New kernel bug of not being able to reboot to recovery has been fixed. AFAIK this was the only bug of the rebased kernel, should be good to go now.

* All TWRP issues should now be fixed. Official TWRP and official TWRP code has broken formatting code since a very long time and the submitted patches don't look like they will be merged soon, so I am using my TWRP fork to have something more stable: https://github.com/LineageTWRP/android_bootable_recovery/commits/android-8.1. The only way to fix the long standing issues would be to reformat /data with the new TWRP once it comes out, either ext4 or f2fs should work the same.

* TWRP defaults to ext4 format now when userdata partition is blank to avoid issues on fresh installs

* ADB shell has been fixed in TWRP by using custom usb init.rc

There are very few SELinux denials to resolve and some test build will come out soon. There are still things to upgrade but they are not crucial for shipping.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Sutcliffe9:
Great work Mike.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] prashu199:
Awesome work Brother.Thanks for your hard work.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] philje123:
Wow. Thank you for your work! Really really appreciate it.

Just sent you a little thank you via PayPal.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] anilyarki:
Status bar icons randomly disappear like second Sim signal icons etc. However sims are all functional and I can receive calls as well. Just that icons disappear. Anyone else with similar issue. I m using the 13th January 2019 build.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] philje123:
Not experienced this issue. I live in Germany with a UK SIM and a German SIM in use.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] garvit girotra:
Once you release that please add steps to flash pie from stock rom in the main op so that nobody can brick there devices
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Liacon:
Hi guys, I have installed the last ota, the last clean install was made in august.

In the last days I have noticed a massive battery drain from google play service, i have already check the permisson for gps, mic and photo, but it's still present

From gsam battery monitor the google play service's stats is shown the motion detector for at least 8 hours, but i can't figure why.

I think that i will do a fresh install, but first i'm wait the new twrp.

Until that time, did you have a similar issue?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] prashu199:
Try using universal gms doze magisk module and see if it helps.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Frasp:
I've seen it. I'm on the dec 26th build, not seen it on earlier builds (but I update maybe once a month).
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Jerghal:
I've installed the Jan 9th release (clean after the stock ROM) and it seems to drain the battery quicker then the stock ROM.

-Loses about 7% during a night (about 3-4% on stock ROM)

-Drains quickly when you work on it. Had it lose more then 2% in 10 minutes, so you can almost see the battery go when working on it

I had GSam installed, but removed it because android said it also kept using energy in the background.

But sofar batterij life hasn't been great.

I had 2 days and 12 hours with 3 hours of SOT (so light use). With heavy use I probably just barely make a day.

Stock was about 3 days and 15 hours with the same type of use.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] andyscuff:
Gsam doesn't really has very little drain on the battery. It's worth installing it back and seeing what's draining your battery.

You possibly could have the same wake lock issue as me. Temporary fix is to toggle WiFi tether on then off each time you leave WiFi for mobile data.

Doesn't seem to affect everyone however.

I'm currently at about 3 hours SOT and 70% battery left at nearly the end of the day, so decent SOT and will probably get about three days battery and about 9 hours SOT. Fairly medium use, streaming etc, no games.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Jerghal:
I actually leave my 4G/LTE on 24/7 because I have 10GB/month so switching to wifi to save data isn't necessary. But I do know that LTE consumes more energy than Wifi in comparisson.

But my use is really light, those 3 hours were just gmail, slack, outlook, whatsapp and surfing. No streaming and no games (none are installed). So that makes the battery life all that more disappointing.

I had GSam on my stock rom from the moment I got my phone, so for a bit more then 1,5 years. And the average battery time I got on one charge over that period was 3 days and 12 hours. I would be happy to have at least the same battery life on this ROM.

Will add Gsam back again to see what's draining the battery.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] prashu199:
After charging your battery to 100% unplug the charger and switch on tethring and again switch it off. Try it once.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Jovintr:
Does jio sim work flawlessly on this ROM?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] prashu199:
Yes
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] adnan.ameer:
Hi

i am using Lineage OS 15.1 on my lenovo P2 kuntao but its not showing quick charging / Fast charging & and this phone have hard button for power saving mode its also not working.

any fix for that problem?

please help.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DarkHoundOne:
The only way to tell if it's fast charging is by looking at the estimated time it shows to finish and one key functionality was never implemented so there is no power saving mode or any option to remap it.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nothingman1976:
Fast charge works (the notification on lock screen is simply "charging" and not "fast charging" but this not means that it's slow charging )

Power saving button dont work and no dev was able to enable it because it require proprietary Lenovo drivers not available opensource

Inviato dal mio Lenovo P2a42 utilizzando Tapatalk
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] adnan.ameer:
thanks for reply

is anybody know when lineage 16 official will launch?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Armaty:
Yaa Signal icons vanish randomly. They just appear after toggling them
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] prashu199:
We are also waiting anxiously for it..?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] satej@123:
Yes very
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Patience is a virtue:laugh:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] GOOGLE OFFICER:
How SCREEN ON TIME IS? IN CONTINUE PLAYING PUBG MOBILE 100% to 0%
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] prashu199:
I got 8-9 hours approximately
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] GOOGLE OFFICER:
Really? Continue playing pubg 8-9 hours

Im switching to crdroid and i get only 5:30 hours in continues playing pubg mobile game with full brightness full volume

GRAPHICS - smooth

Fps. - high

4g network with volte on

Battery 100% to 10%

Results - 5:30 hours screen on time for gaming