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

Status
Not open for further replies.
Search This thread

mikeioannina

Recognized Developer
Mar 22, 2011
1,969
27,117
Ioannina
Lenovo P2
Xiaomi Mi Mix 2
Code:
[COLOR="Purple"]#include <std_disclaimer.h>[/COLOR]
[COLOR="Navy"]/*
 * 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.
 */[/COLOR]

Installation:
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

Changelog:
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

Contributors
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
 

nothingman1976

Senior Member
Apr 18, 2012
323
78
No twrp linked from the wiki now Mon Jul 9 23:35:24 CEST 2018. I don't know if it's a bug or Mike just removed it for some reason.
I see... I downloaded and flashed twrp-3.2.2-20180709-kuntao.img present until some minutes ago... I will check tomorrow if we have a newer version
 
Last edited:

nihil39

Senior Member
Sep 20, 2012
274
59
OnePlus 8T
Xiaomi Mi Pad 5
There was a mistake so I'll reupload the right image. I opened the thread now because I'll be at work tomorrow when new build arrives.

I will test magisk 16.6 with your twrp-kuntao. I'm using a custom twrp with a patched magisk version but magisk 16.6 should support treble without issue, at least I hope.

Thank you for your great work. LOS official status means future for our device and, in the end, money saved.
 

nihil39

Senior Member
Sep 20, 2012
274
59
OnePlus 8T
Xiaomi Mi Pad 5
Does this twrp 3.2.2.0 los support also non treble roms? If I'd like to try another rom (AEX for example) can I keep the same twrp? I suppose the answer will be yes but I asked just to be sure.
 
Status
Not open for further replies.

Top Liked Posts

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

    Installation:
    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

    Changelog:
    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

    Contributors
    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
    45
    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
    40
    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.
    37
    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 :)
    35
    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.