yashsingh1/xdaforums huggingface dataset:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] escombralls:
Hi,

I have a stock ROM 7, but I would like to install a newer version of Android because some app doesn't install anymore on Android 7... So, I would like to try LineageOS 18.1. I have already unlocked and rooted my p2a42.

I've read for around 3h lots of posts and opinions on this forum. There is a huge information on it, you are awesome!!

However, I don't know where to find a "build" for my p2a42. When following the "instruction" link (https://wiki.lineageos.org/devices/kuntao/install) it's required to "build" an installation package. However, it seems that p2a42 is not anymore recognised (https://wiki.lineageos.org/devices/kuntao/build).

Furthermore, I've read that the proposed MEGA links are just for updating from previous LyneageOS versions. So, any advise on how to install LyneageOS in my stock ROM 7?

Thanks!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
Hello,

To install LOS18.1 you should have a TWRP recovery already installed on your phone. Afterwards you have to download the ROM ZIP from any of the URLs on the first post (this will contain the OS, you can download the latest version, this is the build you are looking for). Then in order to have access to the Google Services (GMail, Play Store, etc) you must install GApps (URLs linked on the first post too).

Backup your data, perform step 1 of install instructions (wipe part) then copy the downloaded files to the phone's internal storage, then you can follow the other steps. This should give you the LineageOS custom OS based on android 11.

Note that the Stock ROM is Lenovo's android OS. LineageOS is another OS based on AOSP. So by installing LOS you will be switching the OS part of your phone.

I hope I could clarify the process to you, if you have any other questions please feel free to post them here :)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] escombralls:
Thanks for the reply. It runs flawlessly.!!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
March 2023 Release​

Change log:

- Update LOS components

-- Manifest: Sync x86_64 webview prebuilts again

-- Update zlib source

- Sync latest LOS source

- Merge March security patch

Download URLs: GDrive | MEGA | SourceForge

Notes:

- Release was a bit delayed because of testing process (thanks @en666 for being our tester)

- Starting from next release, only the most updated build will be available on Google Drive (due to storage limitations). Mega & Source Forge will remain normal, so if you need a past build, refer to one of the URLs from first post, thanks for understanding.

Enjoy!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ApfelMoes:
First time installing. No issues aside from looking up some instructions for twrp and adb and ignoring some that are on the lineageos page. Came from Android 7, so far it works great. Installed this on my dads P2, thinking I'll try your lineageos 20 on my own P2 and see how that goes. Thank you for keeping this phone alive.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
April 2023 Release​

Change log:

- DT: Change proprietary blobs from official sources to TheMuppets' ones

- LOS: apn: update for T Star, Vibo and AURORA

- Sync latest LOS source

- Merge April security patch

Download URLs: GDrive | MEGA | SourceForge

Notes:

- If clean flashing, please use NikGapps because OpenGapps will cause system to

not

boot (URLs already updated on OP)

- Magisk v26.x can be flashed through TWRP as usual, and IFAIK 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)

- As stated on previous release announcement, only the most updated build is available on Google Drive, the other ones were purged (reason: storage limitations)

Enjoy!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Zdeslav:
Regards,

some one have problem with dirty flashing/upgrade from March ?

So, uninstalled Magisk, decrypted and after upgrade which passed fine I can't get to Normal screen just returning to Recovery after some time. Every time. Made backups, earlier, so no warry.

THX
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] 3volution3:
Hey guys!

For those who did a clean install with the latest April release, can you please check if the phone is using Galileo satellites now with the blobs from TheMuppets?

Thanks!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
Hello,

I'm not currently on EU, so I couldn't test it out. I asked one of the testers and he said that unfortunately Galileo satellites weren't being used to GPS/GNSS.

Furthermore, according to GSM Arena and LineageOS wiki, our P2 doesn't support Galileo satellites.

Regards.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] 3volution3:
Alright, thanks. Galileo support just needs an update from the manufacturer. The hardware for GPS and Galileo is the same as long as the chipset supports it (which in the case of our P2 it does). A few devices from other manufacturers got the update, but unfortunately the P2 didn't. I was just wondering if the blobs from TheMuppets were updated with files from a more recent SD625 device with Galileo support, but apparently not. They are just the same'ol blobs.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
May 2023 Release​

Change log:

- Device Tree: Updates translations

- Sync latest LOS sources

-- Track vendor/crowdin

- Merge May security patch

Download URLs: GDrive | MEGA | SF

Notes:

- If clean flashing, please use NikGapps because OpenGapps will cause system to

not

boot (URLs already updated on OP)

- Magisk v26.x can be flashed through TWRP as usual, and IFAIK 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 dirty flashing, flashing Magisk ZIP again may be needed

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

Change log:

- Fetch latest Device Tree

-- Merge updated translations

- Sync latest LOS sources

- Merge June security patch

Download URLs: GDrive | MEGA | SF

Notes:

- If clean flashing, please use NikGapps because OpenGapps will cause system to

not

boot

- Magisk v26.x can be flashed through TWRP as usual, and IFAIK 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)

Enjoy!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Deleted member 12620985:
Hello,

I have had a Lenovo P2a42 stock ROM android 6 since 2016, works great, except it obviously is no longer compatible with existence.

So as a complete newbie with no experience with any custom ROMs or what I have to do here, am I right that:

1.I have already done a factory reset. Does the phone need a SIM card to do the upgrade?

2.I then have to do this https://wiki.lineageos.org/devices/kuntao/install ?

3.after that I follow your instructions for TWRP > ROM > NikGapps > Magisk > source code?

4.I have to update its security monthly using the link from your monthly releases posts?

5.the phone will live happily ever after?

Thank you for your help.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
Hello,

First of all, sorry for the late reply. So, flashing custom ROMs comes with some risks (see the warnings at the LOS wiki page you linked and at the OP of this thread). Please backup your data before proceeding.

I'll reply each question separately below, ok?

1. No need to have a SIM card to install or update the ROM.

2. Yes, up to the section "Installing a custom recovery using fastboot" (for this step, use the TWRP from the OP)

3. Yes, once you have an unlocked bootloader and a working TWRP, all you have to do is download the ZIP files (ROM, Gapps, Magisk) copy them to the phone and follow the install instructions from my (this) thread

4. Yes, once a new release is done, you have to download the ROM ZIP and flash it via TWRP (TIP: what out for any special instructions on the release announcement posts)

5. Hopefully and probably yes

BTW, welcome to the kuntao's community. If you have any other questions, please, feel free to ask ;)

For all of you watching this thread, a quick spoiler: I'm already working on the July build, as soon as it's tested, I'll make the release announcement here :)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
July 2023 Release​

Change log:

- Fetch latest Device Tree

-- apn: Add Uno Mobile Italy

-- Merge updated translations

- Sync latest LOS sources

- Merge July security patch

Download URLs: GDrive | MEGA | SF

Notes:

- If clean flashing, please use NikGapps because OpenGapps will cause system to

not

boot

- 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)

Enjoy!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
August 2023 Release​

Change log:

- Fetch latest Device Tree

-- Merge updated translations

- Sync latest LOS sources

- Merge August security patch

Download URLs: GDrive | MEGA | SF

Notes:

- If clean flashing, please use NikGapps because OpenGapps will cause system to

not

boot

- If dirty flashing, the first boot/reboot may take some minutes (be patient)

- 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)

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.

PS2: A huge thanks for all the testers for their contributed time

Enjoy!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Zdeslav:
Thank you for effort in developing this room.

Your the best dev.

Reg
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ShellieJ83:
I agree with Zdeslav. Thank you so much for maintaining 18.1 Leo!!!!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ShellieJ83:
Hello, how are we meant to update Magisk? When I choose Direct Install (Recommended), it gets stuck on "Flashing new boot image" and I have to force turn off the phone and re-turn it on for it to come back to normal, and Magisk doesn't get updated.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] eried1:
With 25+ I have never done direct install. Patch image and flash it.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ShellieJ83:
Oh yeah, lol silly me. Thanks :D
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
September 2023 Release​

Change log:

- Fetch latest Device Tree

- Sync latest LOS sources

-- Update the component external/webp

-- Patch CVE-2023-4863

- Merge September security patch

Download URLs: GDrive | MEGA | SF

Notes:

- If clean flashing, please use NikGapps because OpenGapps will cause system to

not

boot

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

- 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)

Enjoy!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
October 2023 Release​

Change log:

- Fetch latest Device Tree

- Sync latest LOS sources

-- Update the components:

--- external/libvpx

--- external/libxml2

-- Patch CVE-2023-5217

- Merge October security patch

Download URLs: GDrive | MEGA | SF

Notes:

- If clean flashing, please use NikGapps because OpenGapps will cause system to

not

boot (this warning will be removed on next release)

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

- 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)

Enjoy!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] eried1:
After some time of testing both LOS19.1 and CrDroid 8.14 I am moving back to this one. I am also nuking OrangeFox in favour of TWRP since TWRP works perfectly fine with A11 or lower. What is the latest stable TWRP version to manage A11?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] en666:
I've been using TWRP 3.7.0 for kuntao with all android versions for a bit now, it works seamlessly for me.

Download TWRP for kuntao

Download TWRP Open Recovery for kuntao

dl.twrp.me
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
Hello,

IIRC, TWRP works (except for the backup being broken) with this ROM. The exact version that I personally tested working was twrp-3.7.0_9-0-kuntao.img.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
November 2023 Release​

Change log:

- Fetch latest Device Tree

- Sync latest LOS sources

-- config: telephony: Advertise telephony support for GMS

-- Update the branch of Lineage snippets from master to main

- Merge November security patch

Download URLs: GDrive | MEGA | SF

Notes:

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

- 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)

Enjoy!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
December 2023 Release​

Change log:

- Fetch latest Device Tree

- Sync latest LOS sources

-- apn: Fix Play MMS

-- Merge updated translations

- Merge December security patch

Download URLs: GDrive | MEGA | SF

Notes:

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

- 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)

Announcements:

- Unless someone speaks up, this will be the last release uploaded to MEGA. Google Drive and SourceForge will remain as usual

- For those wondering, LineageOS 19.1 & 20 updated builds will be released on the coming days

Merry Christmas, kuntao community!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
January 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

-- Merge updated translations

- Merge January 2024 security patch

Download URLs: GDrive | SF

Notes:

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

- 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)

Announcements:

- As stated on last month's release, releases aren't being uploaded to MEGA anymore

- This release marks the achievement of an entire year of unofficial support for kuntao. Huge thanks for all the devs!

Kuntao rocks!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
February 2024 Release​

Change log:

- Fetch latest Device Tree

- New kernel tree (for the PlayIntegrity patch) (?)

- Sync latest LOS sources

- Merge February security patch

Download URLs:

- With PlayIntegrity patch (custom kernel): GDrive | SF

- Without the patch (official sources): GDrive | SF

Notes:

- Some banking apps stopped working since recent Google kernel ban (see this page for more information)

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

- 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)

Enjoy!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
March 2024 Release (EOL Release)​

Change log:

- Fetch latest Device Tree

-- New dt and frameworks tree (for patching Play Integrity)

-- Add device FP spoof

- Sync latest LOS sources

-- Allow signature spoofing for microG Companion/Services

-- Merge updated translations

Download URLs:

- With PlayIntegrity 2nd patch (custom frameworks tree): GDrive | SourceForge

- Without the patches (official sources): GDrive | SourceForge

Notes:

- Bank apps may not work or stop working at any moment due to custom ROM detection (see here)

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

- 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)

Announcements:

This ROM reached its End of Life (EOL) due to Google dropping security patches on A11, which caused LOS to officially shutdown LOS18.1 development, which means that this is its final build. You may consider migrating to LOS19.1 or, if storage encryption isn’t a requirement for you, to LOS20 in the coming months (a clean flash + data format will be required whichever option you choose)

In the next release cycle (April), LOS18.1 builds will be removed from Google Drive due to storage limitations, but Source Forge will remain as normal.

Acknowledgements:

LineageOS for providing the sources

@mikeioannina for maintaining LOS18.1 officially

@Astridxx and @XiaoAk for helping me and for maintaining the DTs

All the testers and users who trusted me to keep our kuntao rocking for so long

See you around!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ShellieJ83:
Sad to see 18.1 end for good. Thanks Leo for the extra year you gave it :giggle:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
Hello, just a quick announcement:

After already removing LOS18.1 unofficial builds from Google Drive, I've received a notice from SourceForge due to high storage usage, so I had to delete all the older files from the kuntao2023 folder (which included LOS18.1 official build backup and my latest LOS18.1 unofficial builds). I re-uploaded them on Mega (click the URLs below to access the folders).

LOS18.1-Official-Backup & LOS18.1-Unofficial

The latest releases of LOS19, 20 and 21 builds will continue to be available through Google Drive.

Regards, Leo.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ricgon:
I just flashed this last ROM build and everything is working perfectly. However if I ran dmesg, it is constantly throwing messages, I which I believe it is not good especially for battery. It doesn't happen just after flashing the ROM, but after using the phone for a bit. I reflashed again, but happen again. Is it concerning?

Here it is an excerpt:

[ 136.739618] SMB1351 smb1351_usbin_uv_handler: chip->chg_present = 1
[ 136.747550] healthd: battery l=92 v=4118 t=35.2 h=2 st=2 fc=5000000 chg=u
[ 136.761921] SMB1351 smb1351_usbin_uv_handler: chip->chg_present = 1
[ 136.771530] healthd: battery l=92 v=4118 t=35.2 h=2 st=2 fc=5000000 chg=u
[ 136.778624] healthd: battery l=92 v=4118 t=35.2 h=2 st=2 fc=5000000 chg=u
[ 136.800079] SMB1351 smb1351_usbin_uv_handler: chip->chg_present = 1
[ 136.805557] healthd: battery l=92 v=4118 t=35.2 h=2 st=2 fc=5000000 chg=u
[ 136.821777] SMB1351 smb1351_usbin_uv_handler: chip->chg_present = 1
[ 136.835365] healthd: battery l=92 v=4118 t=35.2 h=2 st=2 fc=5000000 chg=u
[ 136.842805] healthd: battery l=92 v=4118 t=35.2 h=2 st=2 fc=5000000 chg=u
[ 136.858643] SMB1351 smb1351_usbin_uv_handler: chip->chg_present = 1
[ 136.865747] healthd: battery l=92 v=4118 t=35.2 h=2 st=2 fc=5000000 chg=u
[ 136.880145] SMB1351 smb1351_usbin_uv_handler: chip->chg_present = 1
[ 136.885831] healthd: battery l=92 v=4118 t=35.2 h=2 st=2 fc=5000000 chg=u
[ 136.889448] healthd: battery l=92 v=4118 t=35.2 h=2 st=2 fc=5000000 chg=u
[ 136.916342] SMB1351 smb1351_usbin_uv_handler: chip->chg_present = 1
[ 136.921201] healthd: battery l=92 v=4118 t=35.2 h=2 st=2 fc=5000000 chg=u
[ 136.939781] SMB1351 smb1351_usbin_uv_handler: chip->chg_present = 1
[ 136.947954] healthd: battery l=92 v=4118 t=35.2 h=2 st=2 fc=5000000 chg=u
[ 136.951082] healthd: battery l=92 v=4118 t=35.2 h=2 st=2 fc=5000000 chg=u
[ 137.092946] SMB1351 smb1351_usbin_uv_handler: chip->chg_present = 1
[ 137.100900] healthd: battery l=92 v=4118 t=35.2 h=2 st=2 fc=5000000 chg=u
[iPAQ rw6828, XDA Atom General] yanchuchi:
How does one make a rollover on an image map using CSS/HTML? Basically, I've mapped out an image so that it has clickable areas. But I want each of those clickable areas to change whenever the user hovers their pointer over it, while still remaining clickable. Is there a CSS/HTML code for this?

_________________

Keyword Research Tool
[Amazfit] Nombre4507:
Hey, sorry if i bother or im posting where im not supposed to.

I have an amazfit stratos that has worked perfectly for years, but suddenly it got brick two weeks ago, I've trying to fix it lately, but I have no clue on what shpul I do.

I have installed the Adb libraries, Minimal Adb and fastboot and followed tutorial of some threads but I always get the same error, when I put the watch in fastboot mode it is recognized by the computer on the device manager, but whenever I try to execute the adb commands, it says that theres no device attached, I dont think I have a problem with adb libraries because it can recognize my other devices.

I've installed the "TOOL ALL IN ONE" and Huami AMAZFIT Tool of mauronofrio to try to install a ROM or at least get an idea of what could be happening, both of the Apps say that the device is in fastboot mode, but none of them can recognize the device, also when i click on check bootloader status it says its locked and whenever I try to unlock it the watch would restart getting stuck into the logo so the app throws an error.

I dont know if my problem is that the bootloader is locked or if Im doing something wrong.

Id take whatever advice, thanks
[General Questions and Answers] j_hazama:
Hello, and sorry for my bad English

I have a Lenovo Tab E10 (TB-X104F), and I've been trying to flash TWRP via QFIL

QFIL shows me a message that the .img was flashed successfully, but in the tablet everytime I access to Fastboot to enter Recovery mode (As far as I know, this is the only way you can access Recovery mode in this device), it shows the Lenovo logo for a couple of seconds and then the tablet turns off

Does anybody know if I have to do something more after flashing TWRP? Like pressing a combination of buttons or something like that?

I'm using the TWRP file from this post: https://xdaforums.com/t/twrp-or-any-custom-recovery-for-lenovo-tab-e10-tb-x104f.4243591/

*The bootloader is locked, so I only can flash partitions using QFIL

*Also, the internal storage may be full or almost full. Could this be a reason why it doesn't get installed?

I want to install TWRP because my tablet got stuck in boot logo, and I want to recover my files. I have in my tablet photos of my family, my pets, and important files from my job. I never did a backup of all of that and I totally regret it.

I don't know what else I can do to recover my files. Getting TWRP installed to enable MTP is my only hope