yashsingh1/xdaforums huggingface dataset:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
July 16th 2023 Release​

Change log:

- Fetch latest Device Tree sources:

-- sepolicy: Update Camera property sepolicy

-- rootdir: Move read_ahead_kb to init.qcom.post_boot.sh

-- Set lmkd kill timeout value to 50

-- props: Disable Camera Hal3

-- audio: Disable call screen mode support for audio 5.0

-- camera: Update QCamera2

-- Revert "rootdir: Add cpuset for the camera daemon"

- Sync latest LOS sources:

-- apn: Add Uno Mobile Italy

- Merge July security patch

Download URLs: GDrive | SF

Notes:

- Magisk v26.x can be flashed through TWRP as usual, and it works even without the "additional setup", so you can ignore it (trying to install Magisk via its app doesn't work, it keeps flashing boot image indefinitely)

- If clean flashing from other ROM or previous android versions, a format data might be required

Enjoy!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ShellieJ83:
Hello :)

A big thanks for maintaining 3 versions of Lineage in parallel (18/19/20)!! I was so sad to learn the Lineage team had cut support for our beloved kuntao in October last year, so this is very nice to see :D

I have installed this version (19), making sure to carefully follow the installation steps you outlined. Everything seems to work just fine except for the Wifi.

The wifi works just fine after cleanly installing Lineage 19, but seems to stop working for no reason after rebooting once even if there is no visual indication of a wifi issue. Lineage is still connected to the Wifi, says it's connected in the Wifi settings, and alternates between displaying the router name and "Networks available" under Internet in Settings -> Network and Internet.

The result is the wifi does not work despite Lineage thinking and displaying that it's connected to the Wifi in the settings, in the status bar, and on the top right of the screen.

I would appreciate it very much some help to resolving this, thank you :)

PS: Rebooting the phone does not fix the problem
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] InsideShocker:
Hi,

I'm using this ROM for a while now but never got any connectivity problem, also done a couple of dirty flashes and nothing ever broke.

Did you connected normally to your network before flashing this ROM?

You should turn on 'network traffic monitor' to have a better understanding of your device behaviour.

If you have followed the instruction try to check any configuration that may interfere like an always on VPN (I got problems with Blokada in the past), or a static IP setting that may conflict with another device on the network.

Also tell us what kind of network you are connected to, if it's a 2.4 GHz maybe you're just too far from the router or the signal band is crowded.

I can't tell you if the 5GHz is working 'couse I'm not usually connected to one, in case try to force the connection to the 2.4 band usually it's more stable with older devices.

If you can try to replicate the problem with other networks or devices and let us know.

Also a big thank you to @leo_97 for the hard work, you're giving my p2 a third life!!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ShellieJ83:
Edit: See below - added reply to InsideShocker's comment
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ShellieJ83:
Hi there. Yes I was on and have reverted back to 18.1 and never had any connectivity issues before flashing 19.1

I have "network traffic monitor" enabled and had it enabled when I was testing 19.1. I remember it disappearing when it the wifi cut out even if the phone was connected to the router.

I only use my phone with "always on VPN", I hadn't tested it without it on after the wifi cut out after rebooting the phone once.

As I said I'm back on 18.1 but with the up to date security patches (thanks again to Leo!!)

I'm connected to a 5GHz router that does has 2.4GHz as an option. It's weird I can't connect or change the connection to 2.4GHz, Lineage says it failed to connect, but has no issue connecting to 5GHz.

I didn't have this issue when trying 20.1 but since FDE's broken on it I won't be using it
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] eried1:
I have also experienced that. Kuntao does not play well with LOS + Magisk for some reason. Boot loops happen for me from time to time.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Zdeslav:
Yeep something is broken, what ever I do if Magisk is involved I just counting restarts to boot loop.

So keeping nandroid backups for just in case something goes wrong.

It doesn't matter 18.1 or 19.1 just the same. Didn't mess much with modules, install by the book. No awail.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
August 15th 2023 Release​

Change log:

- Fetch latest Device Tree sources:

-- Added Touch response optimizations

-- Added AdGuard,Open,Quad9,Cleanbrowsing and Cloudflare DNS provider

-- Added battery temp info

- Sync latest LOS source

- Merge August security patch

Download URLs: GDrive | SF

Notes:

- Magisk v26.x can be flashed through TWRP as usual, and it works even without the "additional setup", so you can ignore it (trying to install Magisk via its app doesn't work, it keeps flashing boot image indefinitely)

- If clean flashing from other ROM or previous android versions, a format data might be required

PS: It took some days to release it after building because I'm in the middle of my finals (uni exams) and my professional career is taking more time than the expected, so I've been pretty busy. Thanks for understanding that.

Enjoy!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
Hello, I'm currently using this ROM as my daily driver and unfortunately I couldn't confirm this issue neither on last month's build nor on that I've just released above. I tested 2.4GHz and 5GHz WiFi networks while using an always on VPN and could use both setups normally.

If you face that issue again, could you please check if the phone had a SIM card inserted and if a system reboot solves it (even temporarily)? If possible, provide a system logcat too (if required, you can send it to me via PM).

Regards, Leo
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] eried1:
No worries at all. We are all very grateful for your work :)

I am using LOS19.1 on one of my devices and have not yet faced any problems.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ShellieJ83:
Hello Leo, I gave it another go and the issue I was having the first time seems to not have returned - the Wifi is connected and remains connected even after reboots :giggle: thanks anyway

However even when removing all animations, there is one rather annoying that remains when you tap the left & middle buttons on the navigation bar when you go from an app to Home. I think this is a bug :(
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] NjutNjut:
Hey, I was wondering if anyone of you tested this ROM with a dongle/portable DAC?

On my side I cannot get sound, even though the DAC is recognized by TIDAL/Spotify. The DAC is working on another phone running stock android 7.

I know some Lineage ROMs support audio DACs.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
Hello, I'm glad to hear that WiFi is working well. So, couldn't find a way to disable the animation you mentioned but IG it's launcher related (Trebuchet). Maybe you should try a custom one with more customization options, but I'm not sure if there's one that might do the job.

Hello, I don't have a micro USB dongle or DAC to test this out, sorry. Anyway, could you please provide a system logcat captured while you connect and disconnect your DAC for the devs to take a look on it?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Redalike:
Hi, you have my deepest thanks for keeping this up. I hope to see the next monthly release asap.

I ve noticed low volume on voice messages on watsapp. No matter what, seems there is no way to increase it at an audible level. It keeps going out from the ear speaker from the top and not from the speaker at the bottom of the phone.

Another bug i ve experienced happens when you call, the screen becomes immediately black even if you hold the phone in your hand. To turn on the speakerphone you have first to turn on the screen again using the power button. Only then you can press the speakerphone button and in this case the screen remains on until the end of the call.

So after some research, I found the cause is the proximity sensor always reading 0 cm . Can someone confirm the same bug? Came after i changed the touch panel and frame of the oled screen after accidentally breaking it while i was opening it in order to replace the battery.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] eried1:
IMO the most stable >A11 ROM.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
October 12th 2023 Release​

Change log:

- Fetch latest Device Tree sources:

-- Move Sensor HAL to system-background

- Sync latest LOS source

-- Track our own frameworks/opt/colorpicker

-- Patch CVE-2023-4863 & CVE-2023-5217

- Merge October security patch

Download URLs: GDrive | SF

Notes:

- Magisk v26.x can be flashed through TWRP as usual, and it works even without the "additional setup", so you can ignore it (trying to install Magisk via its app doesn't work, it keeps flashing boot image indefinitely)

- If clean flashing from other ROM or previous android versions, a format data might be required

Enjoy!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
Hello. The proximity sensor is working normally on my unity (screenshot attached). Probably it was damaged somehow, or there is something solder related happening between your main board and the sensor itself.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
December 17th 2023 Release​

Change log:

- Fetch latest Device Tree sources

-- Bump zram 1.5GB to 3GB

-- sepolicy: Allow system app to access HALs

- Sync latest LOS source

-- config: telephony: Advertise telephony support for GMS

-- apn: Fix Play MMS

-- Merge updated translations

-- Many more changes (full change log)

- Merge December security patch

Download URLs: GDrive | SF

Notes:

- Magisk v26.x can be flashed through TWRP as usual, and it works even without the "additional setup", so you can ignore it (trying to install Magisk via its app doesn't work, it keeps flashing boot image indefinitely)

- If clean flashing, to access Magisk v26.3+ app, install it via system (flash it via TWRP, then rename the file extension to .apk and install it on system)

- If clean flashing from other ROM or other android versions, a format data will be required

Merry Christmas, kuntao community!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] eried1:
I've seen several people talking about Magisk and different issues on P2. I had a lot of problems with 25 and lower versions. 26.1 works flawlessly for me - not even a single hiccup on at boot which I used to have all the time (e.g. showing 0% battery level and requiring reboot). I'd also advise against using Magisk Delta as it sacrifices too much stability.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] bidulez:
Hello,

Someone succeeded to make volte/vowifi work ?

I contacted my carrier who activated the option.

In phone parameters, I have all options enabled, but when I cut mobile data, I can't make Wi-Fi calls (I have an error message that say me to disconnect airplane mode and connect on Wifi network while my phone is already connected to... ).

I tried this magisk module, it's the same.

When I call *#*#4636#*#*, I have all options in grey and IMS not registered (all options are unavailable) > in screenshots

Thank you for your help !

- Edit (30/12/23) :

It seems to be related that mbn file in LineageOS is not compatible with my ISP.

So :

- mbn_lenovo-p2a42.zip include all mbn files

For example, we have 3uk mbn file but I don't know what search to know why this mbn file don't permit to active VoLTE or VoWifi with my ISP (a specific configuration with my ISP ?)

- mbn_sony.zip include only a mbn file related to my ISP (Bouygues) with another phone model (Sony).

I don't know how and what to do if I wanted to test this file on my Lenovo P2A42

- Also, I found a lot of mbn files here but related to another model : Lenovo ZUK Z2 (for example)

I don't know where to start to find out what VoWifi/VoLTE don't work :'(

I specify that I deduce VoLTE doen't also work because I don't see any indication that it works when I am in call (no specific icon, option greyed with *#*#4636#*#*)

And I don't understand the structure of an mbn file.

Maybe I'm looking in the wrong place, and it is not possible to make this work with old model like Lenovo P2a42 ?

Thank you for your help !
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] eried1:
I try to avoid 5 GHz. It is generally not as stable on either of 18.1 and 19.1.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] capri_1900:
Thanks very much for this custom ROM.

I've had my Lenovo P2 for 6 years and had various goes at flashing ROMs and it always ended with a black screen and a blue LED.

Recently apps in Play store were saying they weren't compatible so I thought I'd give it one more go.

This time I decided to use Magisk to root and see what happened. I think that made the difference. It was either that or wiping the Dalvik cache.

Anyway, it's working well now. I was getting almost two days from Android 7 but that's down to a day. I suspect that's Google Play or Garmin Connect draining the battery. Will use some app to see if I can hibernate them.

Cheers!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
January 21th 2024 Release​

Change log:

- Fetch latest Device Tree

- Sync latest LOS sources

-- prebuilt: Update APNs for Boost Mobile

-- overlay: Change vvm_type_vvm3_mvno to vvm_type_vvm3

-- overlay: update VVM config

-- Validate ringtone URIs before setting

-- Merge updated translations

- Merge January 2024 security patch

Download URLs: GDrive | SF

Notes:

- Magisk v26.x can be flashed through TWRP as usual, and it works even without the "additional setup", so you can ignore it (trying to install Magisk via its app doesn't work, it keeps flashing boot image indefinitely)

- If clean flashing, to access Magisk v26.3+ app, install it via system (flash it via TWRP, then rename the file extension to .apk and install it on system)

- If clean flashing from other ROM or other android versions, a format data will be required

Enjoy!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
February 16th 2024 Release​

Change log:

- Fetch latest Device Tree

-- Add PlayIntegrity patch (?)

- Sync latest LOS sources

-- AudioService: anonymize Bluetooth MAC addresses

-- Merge updated translations

- Merge February security patch

Download URLs: GDrive | SF

Notes:

- Magisk v26.x can be flashed through TWRP as usual, and it works even without the "additional setup", so you can ignore it (trying to install Magisk via its app doesn't work, it keeps flashing boot image indefinitely)

- If clean flashing, to access Magisk v26.3+ app, install it via system (flash it via TWRP, then rename the file extension to .apk and install it on system)

- If clean flashing from other ROM or other android versions, a format data will be required

Enjoy!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
March 12th 2024 Release​

Change log:

- Fetch latest Device Tree

-- overlay: Disable Nearby SurfaceService (fix wifi speed issues while using bluetoth at the same time)

-- rootdir

--- Start sensor hals on boot

--- Set top-app cpuset to 0-3

-- Add Dolby Atmos support

-- Update device FP spoof (fix Play Integrity status)

-- mm: Always overcommit memory (improved app performance)

- Sync latest LOS sources

-- Allow signature spoofing for microG Companion/Services

-- Merge updated translations

Download URLs: GDrive | SourceForge

Notes:

- Magisk v26.x can be flashed through TWRP as usual, and it works even without the "additional setup", so you can ignore it (trying to install Magisk via its app doesn't work, it keeps flashing boot image indefinitely)

- If clean flashing, to access Magisk v26.3+ app, install it via system (flash it via TWRP, then rename the file extension to .apk and install it on system)

- If clean flashing from other ROM or other android versions, a format data will be required

Announcement:

March security patch isn't merged by LOS until this date, that's why it hasn't been added on this release. I've decided to not wait for it to release (thanks to our devs) a Play Integrity passing build. As soon as the security patch is available and its source is build-able I'll try to release another build, stay tuned.

Enjoy!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
March 17th 2024 Release​

Change log:

- Fetch latest Device Tree

- Sync latest LOS sources

- Merge March security patch

Download URLs: GDrive | SourceForge

Notes: Same as the previous release above.

Enjoy!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
April 27th 2024 Release​

Change log:

- Fetch latest Device Tree

- Sync latest LOS sources

-- RESTRICT AUTOMERGE Added limitations for attributions to handle invalid cases

-- Don't store invalid pkgs when migrating filters

isUserInLockDown can be true when there are other strong auth

-- Fix security vulnerability that creates user with no restrictions when accountOptions are too long.

- Merge April security patch

Download URLs: GDrive | SourceForge

Notes:

- Magisk v26.x+ can be flashed through TWRP as usual, and it works even without the "additional setup", so you can ignore it (trying to install Magisk via its app doesn't work, it keeps flashing boot image indefinitely)

- If clean flashing, to access Magisk v26.3+ app, install it via system (flash it via TWRP, then rename the file extension to .apk and install it on system)

- If clean flashing from other ROM or other android versions, a data format will be required

Enjoy!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] capri_1900:
Thanks for your time and hard work on these ROMs.

Can anyone tell me what the battery life is like on this?

I never seemed to have any joy with decent battery on any ROMs from Android 9 onwards.

'm on AOSP 8, which is ancient but the battery life is 3 days, which on an old phone like a Lenovo P2 is fantastic.

On the newer ROMs I only seem to get about a day's worth.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
May 29th 2024 Release​

Change log:

- Fetch latest Device Tree

- Sync latest LOS sources

-- Prioritize system toasts

-- lineage: Opt-in to shipping full recovery image by default

- Merge May security patch

Download URLs: GDrive

Notes:

- Magisk v26.x+ can be flashed through TWRP as usual, and it works even without the "additional setup", so you can ignore it (trying to install Magisk via its app doesn't work, it keeps flashing boot image indefinitely)

- If clean flashing, to access Magisk v26.3+ app, install it via system (flash it via TWRP, then rename the file extension to .apk and install it on system)

- If clean flashing from other ROM or other android versions, a data format will be required

Announcement:

I'm aware that non rooted installations can't pass Play Integrity (see this page FAQ for more information)

Enjoy!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
June 24th 2024 Release​

Change log:

- Fetch latest Device Tree

-- prop: Set HW timeout multiplier to 6

- Sync latest LOS sources

- Merge June security patch

Download URLs: GDrive | SourceForge

Notes:

- FM Radio is broken

- Build is self-signed, so Play Integrity checks for non-rooted installs now passes again

- Magisk v26.x+ can be flashed through TWRP as usual, and it works even without the "additional setup", so you can ignore it (trying to install Magisk via its app doesn't work, it keeps flashing boot image indefinitely)

- If clean flashing, to access Magisk v26.3+ app, install it via system (flash it via TWRP, then rename the file extension to .apk and install it on system)

- If clean flashing from other ROM or other android versions, a data format will be required

Enjoy!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] eried1:
How come FM-radio suddenly broke seemingly out of the blue? I noticed camera is partly broken not only on LOS21 but also LOS20, but here it should be OK?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] capri_1900:
Unfortunately I couldn't get a decent battery anymore for my Lenovo P2, though the phone is otherwise fine. Such a shame. I know have a Nokia X30, which seems really good.

I'll miss using my P2. :(
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] bidulez:
Hello @eried1 ,

Have you tried to upgrade the camera to last version :

https://github.com/GrapheneOS/Camera/releases/download/71/Camera-71.apk

I tested it, it seem to be more stable :)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
Hello,

On my unit, camera is working without any issues on LOS19.1.

Regarding FM Radio, my best guess for now is that the app we are using on the DT isn't currently maintained and something broke. I'm planning to try another one ASAP but, TBH, I'm kinda busy these days.

Anyway, thanks for reporting it.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
July 20th 2024 Release​

Change log:

- Fetch latest Device Tree

- Sync latest LOS sources

- Merge July security patch

Download URLs: GDrive | SourceForge

Notes:

- FM Radio is broken

- Build is self-signed, so Play Integrity checks for non-rooted installs now passes again

- Magisk v26.x+ can be flashed through TWRP as usual, and it works even without the "additional setup", so you can ignore it (trying to install Magisk via its app doesn't work, it keeps flashing boot image indefinitely)

- If clean flashing, to access Magisk v26.3+ app, install it via system (flash it via TWRP, then rename the file extension to .apk and install it on system)

- If clean flashing from other ROM or other android versions, a data format will be required

Enjoy!
[Touch Pro, Fuze General] snathanb:
For some reason, I can only see the numbers portion of the Full Querty Keyboard. If I click on the "ABC" Button, to switch back to numbers, nothing happens at all. I have tried soft resetting, but it didn't help.

Any suggestions?
[Touch Pro, Fuze General] Maveaxe:
I had this same problem i just uninstalled the programs that i installed this last week and it went backnot sure what program cased this but i uninstlled the flash cabs for opera and the RR keyboard speed up cab. if you have any one of those try uninstalling.
[Touch Pro, Fuze General] slyng1:
I have this problem as well - anyone know what causes it?

I can still use the "Keyboard" option, but when I use the "Full QWERTY" or "Compact QWERTY" it will only type the numbers/symbols.

Oh well, probably just have to fix this by re-flashing a new rom.
[Touch Pro, Fuze General] rareness4:
I had this problem w/ the ROM I was using, here's a fix for it courtesy of NATF.

t9 fix
[Touch Pro, Fuze General] DrunkenOstrich:
+1 this fix worked for me, i had the same issue
[Touch Pro, Fuze General] jblakk:
this problem comes from removing the T9 with the .cab. it gives you back the spell correction, but you loose the QWERTY keyboard in the process. I believe the posted cab reinstates the T9 predictive text. Damned if you do...
[LG Velvet Questions & Answers] Doug007v2:
Hi I have a lg velvet phone that's frp locked is there a way to bypass it with out a computer and can I use a sd card to bypass it or even to down grade it from android 12 to android 10
[LG Velvet Questions & Answers] JoKingg:
No one replied yet? That's my issue also. I do have a computer. I think to downgrade it you need to pay for the software. But haven't gotten any real solution yet
[LG Velvet Questions & Answers] Surgemanxx:
You can downgrade it with an older dll from LGUP.Try this one!
[LG Velvet Questions & Answers] JoKingg:
It's crazy no one replied to doug for like 2 months. Have you tried downgrading and it worked?