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

Not open for further replies.
Search This thread


Senior Member
Oct 8, 2017
but the upgrade wiki page shows error 404.
So how to upgrade without data loss? flash rom and gapps and reboot?

---------- Post added at 02:02 PM ---------- Previous post was at 01:40 PM ----------

Lineage os upgrade wiki page doesn't open.
how to update without data loss?


Senior Member
Mar 23, 2017
Hi everyone. I hope not to be off-topic, but I have the following question. Is there any way of disabling the noise attenuation/removal feature when recording videos? I am currently using GCam and low sounds get completely removed, i.e. like if there would be total silence.
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.