[ROM][8.1.0][TREBLE][OFFICIAL] LineageOS 15.1 for P2

Not open for further replies.
Search This thread


Recognized Developer
Mar 22, 2011
Lenovo P2
Xiaomi Mi Mix 2
The progress is looking quiet promising :) All got merged, also the WIKI - How to Upgrade to 16 entry. So i guess in the next days or 1~2 weeks, we should get our first 16 build - thanks mike for your hard work! :D

There's just an annoying bug with fp gestures which I couldn't figure out yet, other than that it's pretty stable and ready to go.


Senior Member
Apr 4, 2011
i'm ok with that. i have never used finger print gestures. as long as the normal finger print unlock is working, i have no problems with that ;D i just wish i could help ya, but unfortunately, i never learned coding ... just don't hesitate, you will figure it out one day, i am sure ;)


Senior Member
Nov 19, 2012
First of all thank you for all your efforts mike.
Secondly it's great to know that no major bug is there. This is good enough for p2 to go from 6.0 to 9.0.
Nice.... Waiting.... Any estimate ?????
If it's not that critical, you can release the lineage 16 for our device and figure it out by the time & push the fix later?
I just saw an adjust on Gerrit about FP little over an hour ago so he is working on a solution.

---------- Post added at 05:12 PM ---------- Previous post was at 05:09 PM ----------

Anyone which using mike's lineage 16 build, can share the battery usage?
Afaik It is not released yet so nobody has these stats.
  • Like
Reactions: DS-1


Senior Member
Oct 8, 2017
Also, one more thing... i have "preserve force encryption" enabled in magisk by default after i updated lineage through OTA. Is that normal???
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 89
    [COLOR="Purple"]#include <std_disclaimer.h>[/COLOR]
     * 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.

    If you are on stock OS, you need a custom recovery first. You can get the recommended TWRP recovery in the official installation instructions link below.
    If you are coming from stock or other ROMs, you need to make a factory reset.
    As always, make sure to backup before installing this ROM.

    More detailed instructions at:
    Install LineageOS on kuntao

    Download link:
    LineageOS Downloads

    Recommended Google Apps package:
    Open GApps (choose the variant you want. Recommended nano package)

    Official root addon
    LineageOS Extras

    Changes for kuntao

    Bug reports:
    How to submit a bug report
    LineageOS JIRA

    Donate to support development:
    Donate via PayPal to mikeioannina
    Donate via PayPal to LineageOS

    XDA:DevDB Information
    Official LineageOS 15.1 for P2, ROM for the Lenovo P2

    mikeioannina, highwaystar_ru
    Source Code: https://github.com/LineageOS

    ROM OS Version: 8.x Oreo
    ROM Kernel: Linux 3.x
    ROM Firmware Required: Any version of stock 6.0. Recommended: P2a42_S251_171107_ROW
    Based On: LineageOS

    Version Information
    Status: Nightly

    Created 2018-07-09
    Last Updated 2018-11-15
    Merry Christmas to everyone!

    Just a small update, I finally have some time in holidays and I began to finish the 16.0 bringup. It's going well so far, just need to resolve some issues and kuntao will probably ship with the initial batch of devices when 16.0 is officially released
    Some 16.0 updates:
    * New kernel bug of not being able to reboot to recovery has been fixed. AFAIK this was the only bug of the rebased kernel, should be good to go now.

    * All TWRP issues should now be fixed. Official TWRP and official TWRP code has broken formatting code since a very long time and the submitted patches don't look like they will be merged soon, so I am using my TWRP fork to have something more stable: https://github.com/LineageTWRP/android_bootable_recovery/commits/android-8.1. The only way to fix the long standing issues would be to reformat /data with the new TWRP once it comes out, either ext4 or f2fs should work the same.
    * TWRP defaults to ext4 format now when userdata partition is blank to avoid issues on fresh installs
    * ADB shell has been fixed in TWRP by using custom usb init.rc

    There are very few SELinux denials to resolve and some test build will come out soon. There are still things to upgrade but they are not crucial for shipping.
    I've been away for a while (busy with work and real life stuff), but I'm slowly getting back to lineage dev. I've been using an updated kernel since a couple months, which I can't push because of the f2fs breakage. I don't notice the wifi/data battery drain you are talking about, maybe it was fixed in some kernel update. I will try to merge newest kernel updates without touching f2fs so we can get wider testing on next builds.

    I'm aware of the low earpiece issue, I've tried a few things so far with no luck. I need to trace back and find when it started happening so I can know what causes it. There's also another issue where camera doesn't work if you delay entering decryption PIN or when boot takes longer to finish, will test some possible solution for that as well.

    Since lineage 16.0 is getting close to be ready for initial release, I will soon start pushing the required commits for 16.0 kuntao on gerrit. I have some nice [redacted] plans too so stay tuned :)
    Hey guys I don't know if you noticed, but I published my sources for kuntao 16.0 on gerrit. If anyone compiles from source you can do it now using the open kernel and device commits and vendor blobs from my github. :)

    There might be a couple of experimental builds after I figure out new TWRP to fix the f2fs/data issues once and for all. Looks good so far and SELinux enforcing with a few denials left to fix.