yashsingh1/xdaforums huggingface dataset:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] geographer26:
[QUOTE = "geographer26, gönderi: 84261251, üye: 9646389"]

Parmak izli ekran kilidi çalışmıyor. O nasıl çalışır?

[/ALINTI]

cevap verecek kimse var mı?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Prospero.X-3:
The latest builds do not boot with F2FS partitions. They work fine with EXT4. Not a huge issue, but hopefully this saves someone else the confusion. Formatting to F2FS was done with the recovery image linked in the first post. During boot, /cache seems to be written to but not /data.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mikeioannina:
I finally made some progress, this took a long time of debugging...
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mahmutpekkara:
Just dont use

Kullanmayıver, ben hayatımda hiç gerek duymadım. Ve söylediğin problemi çözmek için çok az bilgi verdin..
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mahmutpekkara:
Amazing man! Good work!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] geographer26:
ok.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] jk77:
No issues here with data partition initially f2fs formatted with the official twrp 3.4.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] j71x:
In this very date - 11.01.21,

Lineage18 has been officially announced & is coming to your phones soon.

Go and hit that THANKS button for the OP!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Jerghal:
@mikeioannina:

You say the official TWRP does not use the same Kernel as Lineage OS and is out of your control.

So that means there is no way to modifyTWRP 3.5 to replace the 3.2.3 TWRP we're supposed to use (from the 1st post but which seems to be a bit broken now as it messes up the LOS install)?

Because that would solve most people's upgrade problem. Because now I'm still using the october 2020 release (the latest one that still worked) and just don't upgade anymore till there is a new modified TWRP that can handle the newest releases.

Also for the LOS 18 release (thanks for the hard work on thatbtw ;))is it also going to use the modified 3.2.3 release or a newer one?

Many thanks
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kielbek:
What do you mean? It works fine, unless you did use official release to install Lineage/format partitions/modify filesystem. There are no known upgrade issues atm. The only one that was here got fixed already.

EDIT: Also, there is this patch that could indicate TWRP was expected to be built with the ROM itself, so people could get version that is always compatible with Lineage. It might come back some day. I'm not sure when it got added as from what I remember, it wasn't included with 16.0 sources and I had to include it myself then.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Getramen:
Is there a problem with the new version? (2021-01-17) And does it work with new twrp? (3.5.0_9-0)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] kocapomak:
I'm using twrp 3.5.0_9-0. I did a clean install with lineageos.20210117 and opengapps20210116. my phone works fine.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] metalclawJ:
Greetings,

There seems to be a minor bug, where the text in one of the lines do not invert color on dark/black mode on the storage settings page. Similarly, such inversion bugs also occur in various other elements in the notification shade (eg. the progress bar, which should be white); especially when you choose to use the alternate color(white) black theme in styles and wallpapers along with pure black background in display settings; making it very hard to identify certain elements on screen from a distance.

(if there is already a fix please point the same and ignore this post)

Thank you
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] bind00:
Still on 25/10/20 running fine for several weeks but would like to update for security patches. Spent much time getting phone working again after last two update attempts failed. Hopefully now have reliable backup/restore plan in place through TWRP + Magisk TWRP Helper module.

Any advice before I go ahead? Do people backup /data, /system/, /boot partitions individually or as one backup? Can they be separated at restore if done as one?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kielbek:
Do backup of /data and internal storage -> wipe everything -> format /data to ext4/f2fs again -> make sure you have old TWRP from this thread flashed already, if not, flash it now -> reboot to recovery to "regenerate" TWRP config -> flash newest OTA .zip, latest OpenGApps, Magisk -> restore your /data backup -> boot it finally and wait for your data to re-encrypt eventually.

If it boots, copy back your internal storage stuff, if not, create issue on gitlab and post ramops log.

Keep your 25.10 OTA just in case it'll not work for you. I don't have this one but I believe it was posted in here earlier. I was sitting on 27.09 for a long time when november builds got broken for some devices (including mine).
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] cara7mel:
Greetings,

I’m new here and first I like to thanks to the nice community and developers for their great work to keep our old phones working with new software releases. This great work is very much appreciated by all of us that benefit from it.

I just upgraded the lineage OS 17.1 (17Jan2021) from 16.0, on my Lenovo P2 and it works great.

Looking for new settings to save battery I found that the FMRadio app has permisions to acces the

location, microphone, storage

and

telephone

and all these permisions can not be changed. These changes are on Lineage 17.1 and also on Lineage 18.1.

It says that “Device requires this permissions to operate”

On lineage 16.0 for FMRadio app were no such permisions required and worked OK without any issues.

Why the FMRadio app require such permissions and why the permissions can not be changed/declined like for others apps installed default on the phone?

For example the Contacts and Calendar apps can be disabled but

FMRadio can not be dissabled

!

This might cause issues on the future releases as a third party app with such permisions can broke the Lineage OS.

see link below and screenshot from lineage 17.1

FMRadio: Add privapp permissions xml - (commit on 6 May - 2020 for 17.1 and the same now for 18.1)

FMRadio: Add privapp permissions xml · LineageOS/android_packages_apps_FMRadio@720ac70

Change-Id: Ide419814b0dbe0d1da2933037a388617f361c45b

github.com

Many thanks
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] bind00:
Thanks for your detailed reply, Kielbek. It's a lot to think about for an update.

Regarding TWRP, I originally installed LineageOS with 3.2.x. As far as I remember now when it came to restoring a backup it wouldn't do it with this version and I had to upgrade to 3.4.0.0 and that's the version I'm on now. Backup seems to work now (inc /data/media thanks to Magisk TWRP Helper module) though I've never tried to restore.

I'd hoped that to update we'd do a full backup for insurance first and then just hit the Update option within LineageOS. Why would there be a problem with that?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kielbek:
You can try that. I thought you had problems with recent updates from January and I'm sure official TWRP has some incompatibilities with the attached one when it comes to filesystems, so I mentioned this. I tested it myself and formatting /data partition (not wiping) with 3.4 will make 3.2 from this thread to fail a backup/restore and vice versa on some occasions. Even on ext4 partitions. Both are built on different kernels as a base. But if you're talking about November - December broken builds, which redirected to fastboot, it's fixed already and you're good to go with simply backing up current data and flashing the update.

What I personally do to be safe before updating:

- Update about once a month (unless there are device specific bug fixes)

- Flash builds that are out for about 4+ days, so I can check this thread for eventual issues and save my time/nerves when I'm not in mood for testing

- Do a backup of /data before updating

- Keep last working OTA zip somewhere, along with Magisk and GApps I used last time. It saves time and space when it comes to doing/restoring backups. It's just faster to flash fresh OTA + GApps + Magisk and restore /data, also takes less space in compmarision to a full backup
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Dakatar:
Hi, where did u see info about announce?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kielbek:
He probably meant all the commitment Mike put into making 18.1 boot on P2, his screenshot few posts earlier that confirms it.

I managed to build it once, before my build machine got shut down, and can confirm there is huge progress towards the goal, but it still needs work.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] kocapomak:
We are waiting impatiently.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
I am unable to delete saved fingerprints. Anybody can help with a fix who has faced similar issue?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] christboanerges:
this rom its stable for daily used?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] 3volution3:
Yes, I've been using it for several months and I've never had any problems.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kielbek:
How many did you add?

It's related to this issue I bet. I mentioned this thing happening too.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
Initially I had 3 fingerprints for almost 3 years now.

A week ago, fingerprint sensor stopped working. I couldn't delete fingerprints either. I left it and used pin unlock for a week.

Yesterday I again opened fps in settings and tried to register a fingerprint, it started working again magically.

I registered 2 fingerprints now and using. But the previous 3 I am unable to delete.

P.S- Running 24 jan build without root, nano gapps.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kielbek:
It's an issue from the very beggining of 17.1, at least for me. It was always behaving weird on this version.

It works fine all the time but fingers do get stuck, I was getting random reboots when unlocking with PIN if FP's were set. But these reboots were usually a thing when ROM was still fresh install and they mostly disappeared after some time. Well, we'll see if issue is gonna transfer to 18.1. I wasn't able to set up my fingerprint on early build, so couldn't check it out.

Anyway, in case you would like to remove your current fingers, this will work:

1. Go to file manager in TWRP

2. Remove /data/system/users/0/settings_fingerprint.xml

3. Remove /data/system/locksettings.db

4. Reboot
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
Thank you for the guide. Will try it.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] church_foster:
Very stable. I'm always updated to the latest build without issues.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] LeshaRB:
Hi

How can I add my own font to

Settings - Display - Styles & Wallpapers
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] gh0st85:
Can somebody upload the apk or zip of the default file manager? Accidentaly deleted it and don't have access to SAF anymore...
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] simbanono:
Not to be a douche but android 10 is worse for battery performance than 9, if you care more about battery than android 10 features, you should take a look at android 9.

I dont know why but I feel like nobody cares about the background battery drain, and the only reason you'd pay for a Lenovo P2 is for the battery life, oled screen, and the hardness of a nokia brick phone.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Dakatar:
Hello everybody!

Guys, tell me, I noticed such a phenomenon that the phone goes into a deep sleep, which does not wake up even when SMS arrives. That is, if you do not touch it for a long time (about an hour), notifications begin to arrive late and so on. How can you fix this, where to dig?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Enthusiast95:
Can i install it with the stock Android 7.0 update?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Saniddds:
Hellow im new in all this stuff i wanna know how can i install this step by step .. my phone currently has android 7 and my mobile is rooted.. so what is my next step? And can i install without computer???
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
Can anybody confirm if los 17.1 supports VOLTE?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mahmutpekkara:
Install LineageOS on kuntao | LineageOS Wiki

wiki.lineageos.org

Install LineageOS on kuntao | LineageOS Wiki

wiki.lineageos.org

JUST READ THE FIRST MESSAGE..

AFAIK, no it doesnt support but i'm not sure.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
Lenovo P2 p2c72, twrp 3.5.0_9-0, magisk rooted. Just updated to 17.1 2021-02-07 from 2021-01-24 using updater app: everything went smooth. ROM is stable and using as a daily driver.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mahmutpekkara:
@mikeioannina I have exactly this issue for couple days:

https://www.reddit.com/r/LineageOS/comments/9cvjst
My phone is not rooted. I updated manually. Btw I had the 4 October build for 4 mounths. Recently tried updating this happened. First I thought seems ok because I had older build. But now I just tried to update phone (again) and this error again.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] James365:
While attending calls the screen is off, even after, when I move the phone away from my ears. I think its the issue with the proximity sensor.

I had restarted the phone,

Tested "Prevent accidental wake-up" in system settings and

Updated to latest version 2021\2\7

But no solution

I had an issue while recording audio through phone's microphone but it is solved in the latest update

I think it's a bug in the proximity sensor.

Developers,

I hope that you will solve this issue.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Saniddds:
Bro how can i install witout computer because my phone is already rooted but now i dont have compu

Bro how can i install without computer LineageOS 17. ?? because right now i don't have access any pc.. my phone is already rooted but now i dont have computer..
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] gh0st85:
Edit for reference:

I found the DocumentsUI.apk in the s251 firmware (google drive link on this forum, 1.75 GB) and copied it into /system/priv-app/DocumentsUI/
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mahmutpekkara:
If you already installed twrp, yes you can install. If you did not, no. You need a pc.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Getramen:
I am having problems when trying to update the version. It stays on the boot screen and then jumps to twrp. It may be caused by what. I am using TWRP 3.5.0. I used the recommended twrp version( twrp-3.2.3-20190209-kuntao.img ), but the result is still the same.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
Lenovo p2c72, twrp 3.5.0, magisk rooted, ext4 partitions, pin unlocked, updated to 2021-02-14 with the updater app. Everything smooth. Fantastic ROM, thanks a lot Mike.

Looking forward for los18!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] abhishekjain.ims:
Guys, I have 2 queries mentioned below:

1. Can we install Viper audio mod in this ROM?

2. When can we expect stable Android 11 version?

Please address these for me. Thanks in advance.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] 0101chaitanya:
I found a bug . When I remove the cable while the tethering is on whithout turning off the usb tethering option , my phone reboots .

I'm on 14/02/2021 los17 build . With magisk 21.4 installed , only module in use in systemless hosts . Not using any custom kernel . Twrp 3.5 .This tends to happen when usb debugging is on otherwise it occurs rarely
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] geek.x86:
1. Yes, you can.

2. As for the ETA, please understand that Mike has other projects as well. But he's still supporting our beloved P2. Isn't that great? So, let's wait patiently. :)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Getramen:
Does anyone know the solution to the problem?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] der3k:
May I ask if somebody has problems with the battery? I lose like 10% during the night and I don't know if it is a software problem or if it's the battery. I have to recharge every 36 hours - way more often than a year ago.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] gh0st85:
It is a known problem with the software, turning airplane mode on sometimes helps.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] cara7mel:
Hi der3k

As gh0st85 has already said there is a well known battery drain in Lineage OS 17.1 vs Lineage 16.0.

Have a look at the posts from this link:

https://xdaforums.com/t/rom-9-unofficial-lineageos-16-extended-built-from-source.4227679/
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
Lenovo p2c72, twrp 3.5.0, magisk rooted, ext4 partitions, pin unlocked, updated to 2021-02-21 with the updater app. Everything smooth. Fantastic ROM, thanks a lot Mike.

Looking forward for los18!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] gh0st85:
You seem to be right! I removed FMRadio, did a full charge and waited until 25% drained, battery use went from around 11 hours screen usage to almost 12 and time to last charge from around 17 hours to 30 hours ago!

Rooted with magisk and used com.smartpack.packagemanager to remove.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] cara7mel:
I think that the FMRadio app scans all the time for local fm radio stations (beeing active in the background and having such high level permissions) and such causes a high discharge of the battery, even when phone is not in use - overnight drain.

Maybe it's worth asking our developer mikeioannina to do an unofficial test release on Lineage 17.1 or Lineage 18 without FMRadiio app included in this unofficial build... and see if it make a difference in battery life.

The fewer apps are included in the Lineage OS release the system will be lean and clean and run much faster and better than oem releases with tens off usless and overlapping apps.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] simbanono:
Can you remove FM-radio without root?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] simbanono:
Also I think someone should open a bug report, since it seems he doesnt care about bugs reported on the forums. No offense.

EDIT: Im gonna post an unofficial build without FM radio, if I can figure out how to do that.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] franchini.luca:
Where i can find "com.smartpack.packagemanager"

To try remove fmradio package?

I have robot with magisk.

Thanks
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] gh0st85:
I installed it from F-Droid. https://f-droid.org/app/com.smartpack.packagemanager
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] cara7mel:
If it is of any help have a look at my post #1075, on page 54 on this forum - from 27 Jan, with this link to the github repo where the FMRadio app permissions were changed:

FMRadio: Add privapp permissions xml · LineageOS/android_packages_apps_FMRadio@720ac70

Change-Id: Ide419814b0dbe0d1da2933037a388617f361c45b

github.com

It might help to remove / disable the FMRadio app.

Thanks for your time and dedication to get the best of P2!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] der3k:
It would be nice if Mike could get it fixed in the official builds :)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] eried1:
I am still on stock Nougat, thinking of upgrading to either 9.0 or 10. Is the FM radio really that much of culprit in draining battery life? I am assuming 10 simply requires more juice. One could of course try and tweak CPU settings, but this seems like a common issue among all Android users, not only this ROM.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kielbek:
Nope.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] simbanono:
Yes, if you dislike idle drain, dont know why a phone needs to drain battery this much when its not being used? And why does the FM radio need to drain battery when its not even being used?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] der3k:
I have set performance level in the battery settings to efficient now which seem to help a bit to avoid that much battery drain during the night.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
P2c72, Los 17.1 20210221, twrp 3.5.0, ext4 (no pin), magisk.

"Nope" for me as well.

What I have tried:

I literally removed the app using total commander (as root) from /system/priv-app/FMRadio/. Over the days nothing has really changed in terms of battery drainage. Average ~36hours with ~8:30 on screen; usual Android10 drain trend in my case.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kielbek:
It doesn't. Looking on the history of P2 forum, you're only trying to assume that this is the problem. One guy posted that his SoT increased by 1 hour, another dude said something about permissions and hurr durr, it's FM fault for sure!

Give me the hard facts. If you're basing your theory on post of random person then we don't have anything to talk about. Lots of people on xda post such stupid things about battery life after installing weekly update. You need to make longer tests in similiar conditions to prove anything, not 1 charge like this dude mentioned. Boring.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hnsaba:
The best battery backup was on the LOS-16, it was really above expectations. I hope Mike or any other experienced man can find the cause of this decrease and resolve it. That is boring on such a capable device.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] cara7mel:
I beg to differ…

I’m a long time (20+ years) CB & ham radio user. A radio device, regardless of frequency, with a poor or no antenna uses more power and drains the battery quickly. On same principle in the remote areas the phone “chase” the cell towers signal, does a lot of tower chasing / switching and uses more battery. In such remote areas is recommended to switch the phone OFF or use air-plane mode to save battery!

Remember that P2 oem software phone has a function for the button on left side to switch to power save mode when

all background apps are OFF

to save battery!

The P2 phone uses the headset as antenna for FM Radio app and most of the time the headset (antenna) is not plugged in. The FM Radio app might scan, when the phone is idle, in the background 24/7 for FM radio stations.

On the same analogy what are the details and the hard facts why a simple FM Radio receiver app needs to be ON all time on the background 24/7 use CPU time/power and have such system level permissions for location (GPS receiver) microphone and telephone?

The FM Radio app permissions were changed to system app level on 6 May 2020, that is 2 weeks from the Lineage OS 17.1 release. The last lineage OS 16.0 release (19 April 2020) the FM Radio app did not require any special permissions.

Coincidences? Maybe? Maybe not!?!?

I’m sure that everyone agree that a clean and lean operating system with no bloatware is more power efficient and uses less battery!

PS I'm the dude who said something about permissions... :);):cool:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Sutcliffe9:
Im on mokee 9 and battery drain is 2% over night so FM Radio is not a problem for me.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] cara7mel:
Thanks for your feedbak.

Is mokee 9 based on android 9 or 10 ?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] cara7mel:
Having a different OS can make THE difference!

There is NO battery drain and NO problems with FM Radio in Lineage OS 16.0 (Android 9)

In this screenshot are the FMRadio app permissions in LineageOS 17.1 from P2a42 January 2021 build.

Can you post a screenshoot from your phone and give some details about mokee 9 OS ?