yashsingh1/xdaforums huggingface dataset:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Astridxx:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

LineageOS is a free, community built, aftermarket firmware distribution of Android 12L (Sv2), which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Githup repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.

What's not working :

• You tell

Instructions :

• Download the latest build and gapps

• Reboot to recovery

• Make a full wipe (system, vendor, data, cache, dalvik)

• Flash the latest build and gapps

• Reboot

Download :

Rom : LineageOS-19.1-kuntao

Gapps : Nik-gapps-12L

Gapps addons↓

Nik-gapps-SetupWizard

Nik-gapps-AndroidAuto

Changelog :

22/08/2022
• initial release

XDA:DevDB Information

[ROM][12.1][UNOFFICIAL] LineageOS 19.1 for Lenovo P2

Contributors

Astridxx ,XiaoAk ,Sohit5s

Source Code: https://github.com/LineageOS

ROM OS Version: 12.x Sv2

ROM Firmware Required: Latest Stock

ROM Kernel: Linux 3.18.x

Based On: LineageOS

Version Information

Status: Stable

Created 2021-08-22

Last Updated 2021-08-22
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] kimocyc:
Screenshots please?

Regards
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mahmutpekkara:
Wait, how!? Didn't Lineage OS 19.1 require 4.9+ kernel for eBPF? Mad respect!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Astridxx:
Required but BPF fix available for 3.18 kernel
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mahmutpekkara:
Does ''gradually increase alarm volume'' works?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Atanassoww:
Soon Android 13 for the Lenovo P2?😃
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] eried1:
Does anyone have any feedback or is everone pleased to stop upgrading by 18.1?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Ryus25099:
Ingin bertanya apa yang menyebabkan chrome error' di lineageos 18 ydk bisa di akses
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] eried1:
How's the battery performance for this ROM, @Astridxx?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] eried1:
Any news in the LOS department @Astridxx?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hnsaba:
And would @Astridxx be able to take the responsibility of official LOS maintenance?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] eried1:
Because our old kernel is not optimized for A12 and higher, I think all official support has ended and will not be resumed in any way. End of life basically, even though unofficial ROMs keep coming.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hnsaba:
The 3.18 with a specific patch is compatible for A12 as Astrid has mentioned earlier.

The problem is the concentration of maintaining power, Mike has been so busy to continue maintaining the Kuntao. If Astrid is able to pick the responsibility, he will at least be able to make Kuntao updated with the LOS 18.1 as before, with the regular patches/security bumps and fixes.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] eried1:
Thanks for the FYI! I thought the LOS team dropped official support for a lot of devices because most could not make it past A11. Only some, like P2 and A5 2017, are able to bypass the system requirements.

Amazing if LOS 18.1 could be kept updated. It is after all the most stable ROM and should hence be prioritized. Crossing my fingers! :)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hnsaba:
Would you please let me know where I can find that fix? Is there a git repo/tree hosting it?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] eried1:
Try reach out to @Astridxx through Telegram.

I'd be happy just for quarterly or - stretching it - even half-yearly updates.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Redalike:
Top! I use it as my main phone.

Daily driver.

Google pay working, everything seems fine and bugless.

No battery drain, seems better than in Los 18.

Absolute masterpiece
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Redalike:
Pls make a port for Lenovo tab 3 8" plus. Same Snapdragon 625
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] eried1:
@Astridxx Any plans on LOS20? Just an initial build like this one?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] gnoonx44:
I have flashed the necessary files and this is the result. My device works but I would like to know if you think there is any problem?

LineageOS-19.1:

Total xfer: 0.98x

Gapps:

serving: 'NikGapps-core-arm64-12.1-20220908-signed.zip' (~55%) adb: failed to read command: Success

Magisk25.2:

Total xfer: 3.16x
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] zhizhuo520:
Thank you very much!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
Ok, somehow only very recently I have discovered this thread and I've immediately tried this 19.1 on my other p2 and to be honest: I am very, very positively surprised!

So far it's the perfect rom, not only everything seems to be working, including the clock alarm when the device is switched off, but it's super slick and battery drain disappeared as someone was mentioning. Basically it's even better than 18.1 and I have already developed an addiction for floating windows!

I think this unofficial 19.1 should start becoming the new official P2! Are there any plans to this?

Thanks to:

@Astridxx, @XiaoAk, @Sohit5s for being the 19.1 superheroes!

@mikeioannina for having been previousP2 LOSses superhero.

@leo_97 for pointing me to this thread!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] eried1:
Thanks for the input, @en666! Now thinking of installing it myself.

I know that P2 developers don't think LOS is as fun of a project as more customizable AOSP ROMs, but it would be amazing to see LOS20 one day.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
I've got a question for @Astridxx, @XiaoAk or @Sohit5s or even who may know: I'm definitely a rookie, but what if I wanted to build this LOS12 rom with the latest changes? What guide or what steps can I follow?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
Thank you @leo_97 and @Astridxx and everyone else involved!

https://xdaforums.com/t/rom-12-1-unofficial-lineageos-19-1-for-lenovo-p2.4557707/

Not sure why we have a new thread there called like this one, but I've installed that LOS19.1 on a LenovoP2 (p2a42) and I can confirm, so far, it is at least as stable and slick as the one from Aug 2022 and it's brand new!

Thank you again guys, will keep following this adventure!

live long and prosper \\//_
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
Just for the sake of clarification, a new thread was created because astridxx asked me to do so (maybe because then he doesn't have to bother with updating the thread and can focus only in development :) ), so I did it.

Another thing is that the newer build came from a new device tree, which means they are incompatible and a clean flash was required anyway.

BTW, as stated on the other thread, I'll do my best to keep merging the latest security patches as soon as they are available ;)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mahmutpekkara:
It's very nice too see that there are humble developers who try his/her best for our lovely Lenovo P2, thank you and good work to all!🥳
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Athar saad:
I tried installing this rom from official lineage OS 18.1 but getting "ERROR 1" in installing this rom.

I also tried installing this rom from stock as well but got the same error.

Please someone tell me my mistake.

I am on twrp 3.7.0_9-0

Thanks in advance.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
If you are coming from official builds or stock ROM, you must perform a clean flash (backup your data first). Try following the instructions from here.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Athar saad:
Thanks @leo_97

The ROM 19.1-20220822-UNOFFICIAL-kuntao doesn't work for me, I don't know why.

but the ROM lineage-19.1-20230227-UNOFFICIAL-kuntao.zip worked
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Athar saad:
BTW I have a question how can I change the font color from this pinkish to blue like that of the other ROM ?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] 3volution3:
In that screenshot I see white font. And that's how it usually looks in most roms I guess.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Athar saad:
Its not white

Anybody know how to change it.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] 3volution3:
Now there's some pink in there. That's not the font. it's the theme color. For LineageOS 16 it's in display->advanced->style->accent color. For LineageOS 19.1 I'm not sure if it's in the same place. Just check it out.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Athar saad:
Searched everywhere can't find it 😞.

Request to developers

Please add an option to change the color in subsequent updates
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] 3volution3:
It should be a setting that all roms have I believe. Did you try the search box from inside settings as well? Sometimes we miss something while looking around. If you search "color" it should show you all the settings related to color.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Athar saad:
Yes I did.

Couldn't find that.

😞
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Athar saad:
Finally

Found the way to to change the color

The color depends on the wallpaper colors of the lock screen

For example, If the color of lock screen wallpaper is only blue then the theme color will also change to the same.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] santoshwins:
Hi

Hi @leo_97,

Apologies for a newbie question. My daily driver is currently on the last update for the official LOS rom.

Is this rom okay as a daily driver? I want to switch as the outdated security patch worries me.

Please advise.

Thanks,

S
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
Hi S,

As I've mentioned here, I'm currently using LOS19.1 as my daily driver, no huge problems so far. But if stability is a must to you, then consider flashing LOS18.1 unofficial instead as it's based on the old official sources.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] santoshwins:
Thanks so much, @leo_97. This is exactly what I wished to understand. Much appreciated 😊

Sincerely,

S
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] santoshwins:
Sorry another quick noob question, please?

Is this ROM getting regular security patches, kindly?

I saw the one @leo_97 has created (LOS20) but per their advice, I am going with this ROM as my daily driver?

Thanks so much!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Athar saad:
No it's not getting any security patch update, if any new build of this come in future then you have to download manually from forum or wherever it is and flash it through recovery.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] LukasLudwig:
Has some tried to use the german Ausweisapp2?

Does the NFC Chip with extened length support work?

This would be a criteria to install LOS.

Or i have to buy a new phone soon anyway.

Thanks and greetings
[Android Stick & Console AMLogic based Computers] Chandran£:
The x96mini box get bricked as I try to upgrade then now iam facing a issue that when I try to flash by usb burning tool ,when I connected the box with usb cable the box get detected automatically but when is import .img file and started it get struck at 1% with a error 0x10103005]Romcode/Initialize DDR/Download buffer/Read item data failed

Error in all versions of firmware any one solved this error pls contact or reply me i also tried many firmware the error what i
[Windows Mobile Development and Hacking General] asak0:
I´ve developed a simple app for scanning wireless devices for the pocketpc. Its features are:

- It´s been designed to be usable with your fingers but keeping a considerable amount of information on the screen

- Scans for wireless devices (APs and Clients) by issuing DeviceIoControl calls to the underlying driver (ndisuio)

- Sorts networks based on signal strength and displays the strength using the typical windows vertical bars

- Displays if network is protected or not (using a keylock image if it is)

- Further details of the wireless device can be seen when clicking on the device

- Scanning speed is configurable (5 possibilities)

And that´s all for the time being. Hope you like it!!!

P.S. I am currently developing a PE/Analyzer and ARM disassembler at the moment. I may release a beta soon to know your opinion.

UPDATE: I´ve been making some changes to the app and after some time I´ve decided to make it more eye-candy and "touch friendly". I´ve rewritten all the interface code and I´ve been testing it lately. Some options in the menu do not still work properly but I´m working on it...

I´m currently testing the WZC API to be able to connect to an AP with a simple click. When I manage to support at least open and WEP authentication (I´m now facing some issues with WEP encryption) I´ll post a new version of the app.

As for now:

* Scan begins right away if a wireless adapter is found

* Wireless device information is shown/hidden by double-clicking on any item

* Automatically connect to an AP (keep your an item tapped for a while)[TODO]

P.S.: Suggestions are welcome.
[Windows Mobile Development and Hacking General] nir36:
this is wonderful.

few suggestions:

1. after searching, there should be an option to connect to the selected network.

2. the app has to be run while WiFi is on. if there's a possibility to have it refresh wireless adapters automatically so it detects wifi even if it's turned on AFTER the app is run it would be great.

3. if the + sign near the network name could be like twice as big, it would really help controlling the app.

other than that this is really really wonderful. scanning is MEGAfast and the app is straightforward.. no bull****.

one thing i don't understand is, which clients does it detect? my laptop is running on wifi right now and it doesn't detect it. unless i'm misunderstood the meaning of "client"

thank you!
[Windows Mobile Development and Hacking General] asak0:
Hi there!

1. Good news: If you keep the finger/stylus pressing any of the wireless device, you will have the option to connect to it.

Bad news: It is not working properly (i can not debug my wifi adapter with activesync on...). There is a problem here and I have two possibilities: issue ioctls to the driver to connect to an ap (too much work and testing so I find it unfeasible for WPA and such) or use wireless zero (I do not really like this way, but I may use this way if I have time to test). Each method has its advantages/drawbacks and it´s not a trivial issue to resolve

2. I could do 2 things. Either check for adapters every "n" seconds if no adapter is found or try to enable the adapter if no adapters found.

3. I´ll have a look at that.

Thank you for the feedback!
[Windows Mobile Development and Hacking General] Jokes On You:
Really good app. Later I will check to see if this can fix my problem with GRemote
[Windows Mobile Development and Hacking General] nir36:
1.hehe i'm sorry but i can't see the good news fit here :)

i tried keeping my finger pressed and it doesn't do anything..

2. i assume checking for a connection every 5 seconds wouldn't make a difference cpu-usage-wise, so that would be great.

3. thanks.

4. if it's possible to scan at launch..

5. please refer to my question about the "clients". thank you.
[Windows Mobile Development and Hacking General] asak0:
1. I´ll check that the version I uploaded is the same I am using in my pocketpc (a popup menu shows up with an option to "Connect"). Anyway the functionality is not yet operative, so it will make no difference...

2. I think it´s a good idea.

3. :)

4. I guess you mean scan using the first adapter found. This is a feature I wanted to include but I have a little issue with that and the status bar not showing when I launch the scan inmediately after start.

5. when I said clients I was referring to Ad-Hoc networks

I´ll review these issues this weekend when I have some spare time. :)
[Windows Mobile Development and Hacking General] nir36:
thank you very much.

:)
[Windows Mobile Development and Hacking General] szkandi:
Hi guys,

I can not run this great sw in my PDA... - Asus Win 5.0

thanks
[Windows Mobile Development and Hacking General] levelup2:
I am glad to read it here.
[Windows Mobile Development and Hacking General] asak0:
Hi there!

It´s been compiled for ARMV4 based devices. Which processor does your Asus have?
[Windows Mobile Development and Hacking General] szkandi:
ASUS 636n - CPUIntel PXA272 @417MHz

Thanks for your help.
[Windows Mobile Development and Hacking General] szkandi:
Don't you know?

Please any ideas...
[Windows Mobile Development and Hacking General] haiopei:
Hi,

Tytn2, Opal german ROM : didnt work.

Error Message : cant find wireless adapter.

Best regards
[Samsung Galaxy Z Flip 4] Matterhorn:
I guess I must be in the first round of deliveries. I'm a long time Pixel user that's jumped ship for the Flip. My Pixel 6 Pro fell out of my shorts pocket so I'm downsizing.

Edit: It's here in CA.
[Samsung Galaxy Z Flip 4] D.W.H:
Received my wife's today, about 2 hours ago. View attachment 5693629
[Samsung Galaxy Z Flip 4] HDCowboy:
Mines supposed to be delivered tomorrow!
[Samsung Galaxy Z Flip 4] D.W.H:
If you're on AT&T... Don't expect RCS to work for messaging... Heh
[Samsung Galaxy Z Flip 4] HDCowboy:
RCS to work for messaging? I'm on AT&T but dont know what you're talking about!
[Samsung Galaxy Z Flip 4] D.W.H:
Yea, for messaging. AT&T changed over to using their RCS servers that do not work with any other provider or phone. They started this nonsense with the S22 series and the only way for it to work with older phones or any other network is to install the U1 firmware, which isn't out yet.

So, if you rely on RCS "Chat Features" on Google Messages, it don't work.
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] ArmoredVortex:
Hi, I'm trying to unlock the bootloader of my phone.

I've got everything signed in but there's one problem, the networking chip on the phone doesn't work after it was water damaged which means I cannot use a sim card and mobile data on the phone.

When I try to "Add Account" under Developer Options -> Mi Unlock Status, It tells me to turn off wifi and use mobile data. Thus I'm stuck.

Is there any way i can bypass this? or else my only option is to get it fixed from a repair shop.
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] NOSS8:
You can try this (not guaranteed to work).

https://nerdschalk.com/unlock-bootloader-via-fastboot-android/

Otherwise repair it but it's an old phone is it financially interesting?
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] ArmoredVortex:
The tutorial only works for devices where it doesn't require a token to unlock the bootloader.

I'd probably get it repaired if its cheap, or else yea there's not really any benefit to spend more money on the phone
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] NOSS8:
OK,Apart from installing AOSP roms, that's all you can do since Miui no longer provides updates.

Old but not obsolete ;)
[Vivo X80 Pro] valiiii4:
Hello,

I've had this phone for a week and while there are certain things I love about it (the fingerprint scanner and the cameras are amazing as you all know), I've been very disappointed with the phone's performance. In my case, the phone has a lot of hiccups and stuttering while browsing through menus and in particular, the screen has a delay and slows down if you're opening menus while you have youtube or the camera app or any kind of media open. If I had to describe it, it's as if the display slows to less than 60 hz while trying to play animations, with everything becoming slow and jagged and laggy, although I have set it permanently to 120 hz. The smoothness just isn't there and I noticed that if I open a youtube video and hit stop, the phone becomes decently smooth in menus, but as soon as I hit play, it slows down right away.

It's particularly strange since the phone does not overheat as I've read it does for some people, yet it has those performance issues even while playing videos at a lower resolution. Sometimes I get the same delay and lag even in basic apps such as messenger while typing. The scores I get in benchmark apps are the same I see in reviews, yet in real-world use, it's less smooth than a mid-range, not to mention other flagships. Hell, I still have my Oneplus 7 pro and that's way smoother and you don't even notice when you have youtube in the background.

Did anyone else experience that? Returning the phone would be quite a big hassle at this point, so I'm hoping there's something else I could do. I've tried all kinds of things like resetting the phone, allowing full access to battery for most apps and other similar measures, but I'm willing to try more.

Thanks.
[Vivo X80 Pro] Confused Gamer:
Go to Developer settings > Running services

Running services is basically a task manager for Android

You can also terminate tasks in there

First active Developer settings. In case you don't already know.

Go-to Settings

Scroll down to about phone

In about phone go to build number and tap it multiple times until it says "you're now a developer!"

Go to outside of about phone and Developer settings will be below About Phone.
[Vivo X80 Pro] valiiii4:
Hey, thanks for the reply.

Everything seems to be fine in terms of resource usage, or at least nothing seems to use a ton of resources.

View attachment 5693997
[Vivo X80 Pro] Confused Gamer:
You can click on the settings (three dots) on the top right corner and click "Show cached Processes", maybe the system is not getting rid of old cache data.
[Vivo X80 Pro] valiiii4:
Okay, so I've discovered the main issue, but nothing that works to fix it yet. Thanks to your tip of using developer options, I activated the show refresh rate option and sure enough, it drops to 60 hz or lower in a lot of apps, despite me having it set at 120 hz permanently.

Now I know youtube and a lot of apps only support 60 hz, but the strange thing is that the entire screen drops to 60hz while using them. For example, if I check my notifcations or do anything else with the dropdown menu, the display just slows down in menus. As a reference, whenever I used youtube on my old One Plus 7 pro, the dropdown menu was always smooth and set at 90hz even while running youtube or other apps.

I've tried some apps like SmartHerz, Setedit and forcing 120 hz through ADB commands on the Vivo X80 pro, but I've had no luck yet. At least I know what to focus on, thank you for the tips.
[Vivo X80 Pro] Confused Gamer:
Well at least you were able to narrow down the issue, hope it's easily fixable because the X80 Pro isn't a cheap android device, I certainly hoped it would come with good software.
[Vivo X80 Pro] Derpling:
Vivo implantation of LTPO panel seems to be bad and very laggy.

For reference, mine ROG6 is so much faster than the x80 pro it's not funny, and ALL the apps staying at my chosen refresh rate(unless it's hard coded to use a fixed value).

I'm on A13 beta atm, and i hope they'll fix it asap.
[Vivo X80 Pro] valiiii4:
Yeah, it's such a shame to see this amazing hardware being held back by its software.