[ROM][10][OFFICIAL] LineageOS 17.1 for P2

Search This thread

en666

Member
Apr 23, 2011
48
26
hello guys what is the difference between p2c72 and p2a42 and which rum do you recommend for daily use?
Fundamentally p2c72 was built for Chinese market and p2a42 for the rest of the world. The main (and only?) difference is that with p2a42 you have 32gb memory, with p2c72 you have 64gb. Rest of the electronic should be the same.

Would recommend LineageOS 17.1 on both, so to have these models to android 10! @mikeioannina has done a super job to maintain this ROM and 18.1 is coming!
 
Last edited:
  • Like
Reactions: OguzcanTR

cocopipou

Senior Member
Jul 24, 2016
72
20
Gembloux
Some apps detect your phone as being rooted simply because you are using a custom ROM. Doesn't matter if you root it or not. For example, I never rooted mine and the Xiaomi app 'Mi Home' always displays a warning saying my device is rooted when I open it (it doesn't prevent me from using the app though).
I finally made a lot of tests using various custom roms Android 10 and Android 11.

Some applications, like Itsme, detect correctly if your phone is rooted or not.

Other applications, like ING Banking and myVOO, detect the root by the simple fact You're using a custom rom.
This false detection of the root only happens with roms based on LineageOS and not with the roms AOSP, no matter the android version.
And this with 2 scenarios : ING Banking only displays an alarm message but myVOO outright refuses to be installed.

Question for Mike and all the developers : would there be a way to hide the fact that You're using a custom rom, because here Magisk is of no use ?
 
Last edited:

Aga.bogdan

Member
Apr 26, 2021
35
3
hello can anyone tell me how to improve camera on this Los17.1?as I installed gcam but same results..stock camera was good on stock ROM but after flashing los17.1 camera become bad
 

darwinH

Member
Apr 23, 2021
6
2
@mikeioannina why LineageOS (all of them for any device) doesn't ship with MAC randomizer. Is there some outside pressure going against that (iykwim) or is it too difficult to implement? If not mike, can anyone give some good answer for that?
 

Aga.bogdan

Member
Apr 26, 2021
35
3
WhatsApp issues detected in latest builds.when you turn on speaker phone hang and reboots.also tried with fresh installation.and for this bug I also tried los18.1 unofficial and found same bug in that ROM also.finaly to check whether this not hardware related I reverted to android 7 stock and having no bug of WhatsApp.
important to mention that on los17.1 and and los18.1 whatsapp badly crashing with speaker on and also reconnecting issues no sound and delayed sound and closes or phone rebooted.
any one have same problem?
 
  • Like
Reactions: Vijayyaru

bind00

Member
Jan 3, 2012
20
4
Ogg files not playing was a bug that's fixed in lineage 18.1 kuntao tree
Sorry to bang on about Ogg but it's a key functionality for me with 1,000s of files encoded in it. It worked before updating to 4/4/21
What's the overall principle with updates and upgrades? Wouldn't the aim be to leave the previous version (17.1) as stable and mature as possible while inevitably moving on?

I'm not a phone wizard and it took a huge amount of time (and stress - twice being left with semi-bricked phone for several days) to get 17.1 stable and updating successfully. I really don't want to have to jump early, possibly with similar stress and feel like a beta tester for 18.1 just to play music.

Apologies if it has been fixed. But I've gone through the history as best I can. It updates line by line very slowly. And perhaps what I'm looking for is worded in a way I won't recognise. Currently on 4/4/21.

Really appreciate the work that goes into this btw and feel a bit uncomfortable even asking for stuff. :confused:
While I'm here I'll mention a couple of issues which may or may not be Lineage but didn't happen before updating to 4/4.
- Phone restarting while playing BBC Sounds app. Happened about 4 times now.
- Sainsbury's SmartShop app locking up. Happened three times.
I'll update soon and report back after using for a while.
 

mikeioannina

Recognized Developer
  • Mar 22, 2011
    1,937
    26,866
    Ioannina
    Lenovo P2
    Xiaomi Mi Mix 2
    Sorry to bang on about Ogg but it's a key functionality for me with 1,000s of files encoded in it. It worked before updating to 4/4/21
    What's the overall principle with updates and upgrades? Wouldn't the aim be to leave the previous version (17.1) as stable and mature as possible while inevitably moving on?

    I'm not a phone wizard and it took a huge amount of time (and stress - twice being left with semi-bricked phone for several days) to get 17.1 stable and updating successfully. I really don't want to have to jump early, possibly with similar stress and feel like a beta tester for 18.1 just to play music.

    Apologies if it has been fixed. But I've gone through the history as best I can. It updates line by line very slowly. And perhaps what I'm looking for is worded in a way I won't recognise. Currently on 4/4/21.

    Really appreciate the work that goes into this btw and feel a bit uncomfortable even asking for stuff. :confused:
    While I'm here I'll mention a couple of issues which may or may not be Lineage but didn't happen before updating to 4/4.
    - Phone restarting while playing BBC Sounds app. Happened about 4 times now.
    - Sainsbury's SmartShop app locking up. Happened three times.
    I'll update soon and report back after using for a while.
    kuntao 17.1 tree has not been touched since September 23, 2020 so I don't really see how ogg playback broke for you only on 4/4/21 build, plus vorbis offload has been broken since lineage-16.0. The fix is this https://github.com/LineageOS/androi...mmit/5cf902996056ae240e70759b307dfc1000f4d436 which you can probably apply manually if you modify your vendor file on device

    The real problem here is that I have limited time. I maintain 8 devices now and kuntao is the oldest one and the one with most issues, so maintaining 2 versions at a time is pretty much impossible. I've been working on getting 18.1 into shape since September and found other issues while doing it (for example the ogg fix). Finding specific patches to pick back to 17.1 would require even more time, plus there is nobody really actively helping me with kuntao on lineage anymore. There is nobody contributing any patches for kuntao on lineage except me. Looks like every other single rom that exists is using different device trees and kernel and nobody is interested in contributing to lineage trees.

    Let's not forget this is all a hobby project and opensource for everyone to contribute. Last stock update was android 7.0 and we got lineage 14.1, 15.1, 16.0, 17.1, 18.1
     

    bind00

    Member
    Jan 3, 2012
    20
    4
    Thanks Mike. I do totally appreciate what you do and tried to express that in my post. Maybe something else is playing up regarding this issue as it behaves differently at different times. But when you said it was fixed in 18.1 I inferred that it was known to be broken.

    I'll work around it and make a donation. Respect and thanks again.
     
    • Like
    Reactions: Rezildans

    en666

    Member
    Apr 23, 2011
    48
    26
    Lenovo p2c72, twrp 3.5.1, magisk 23, ext4 partitions, pin unlocked, LineageOS 17.1 (2021-05-16).



    Downloaded 18.1 and MindTheGapps11 (arm64) on the phone, flashed both from TWRP, cleaning dalvik&cache at each step. Phone rebooted and after a few minutes, 18.1 successfully starded with all my apps and data. Everything smooth. Performances are even a little better than 17.1. So far so good. Thanks a lot Mike, you're a star!
     

    mahmutpekkara

    Senior Member
    Jun 13, 2014
    74
    10
    kuntao 17.1 tree has not been touched since September 23, 2020 so I don't really see how ogg playback broke for you only on 4/4/21 build, plus vorbis offload has been broken since lineage-16.0. The fix is this https://github.com/LineageOS/androi...mmit/5cf902996056ae240e70759b307dfc1000f4d436 which you can probably apply manually if you modify your vendor file on device

    The real problem here is that I have limited time. I maintain 8 devices now and kuntao is the oldest one and the one with most issues, so maintaining 2 versions at a time is pretty much impossible. I've been working on getting 18.1 into shape since September and found other issues while doing it (for example the ogg fix). Finding specific patches to pick back to 17.1 would require even more time, plus there is nobody really actively helping me with kuntao on lineage anymore. There is nobody contributing any patches for kuntao on lineage except me. Looks like every other single rom that exists is using different device trees and kernel and nobody is interested in contributing to lineage trees.

    Let's not forget this is all a hobby project and opensource for everyone to contribute. Last stock update was android 7.0 and we got lineage 14.1, 15.1, 16.0, 17.1, 18.1
    You are our hero Mike, thank you for all your work!
     

    Top Liked Posts

    • There are no posts matching your filters.
    • 19
      Great to hear, thank you so much for your contributions. Do you have an approximate date for official 18.1 updates?
      I will release a test build soon and if there are no big issues, I will ship official 18.1.
      9
      Sorry to bang on about Ogg but it's a key functionality for me with 1,000s of files encoded in it. It worked before updating to 4/4/21
      What's the overall principle with updates and upgrades? Wouldn't the aim be to leave the previous version (17.1) as stable and mature as possible while inevitably moving on?

      I'm not a phone wizard and it took a huge amount of time (and stress - twice being left with semi-bricked phone for several days) to get 17.1 stable and updating successfully. I really don't want to have to jump early, possibly with similar stress and feel like a beta tester for 18.1 just to play music.

      Apologies if it has been fixed. But I've gone through the history as best I can. It updates line by line very slowly. And perhaps what I'm looking for is worded in a way I won't recognise. Currently on 4/4/21.

      Really appreciate the work that goes into this btw and feel a bit uncomfortable even asking for stuff. :confused:
      While I'm here I'll mention a couple of issues which may or may not be Lineage but didn't happen before updating to 4/4.
      - Phone restarting while playing BBC Sounds app. Happened about 4 times now.
      - Sainsbury's SmartShop app locking up. Happened three times.
      I'll update soon and report back after using for a while.
      kuntao 17.1 tree has not been touched since September 23, 2020 so I don't really see how ogg playback broke for you only on 4/4/21 build, plus vorbis offload has been broken since lineage-16.0. The fix is this https://github.com/LineageOS/androi...mmit/5cf902996056ae240e70759b307dfc1000f4d436 which you can probably apply manually if you modify your vendor file on device

      The real problem here is that I have limited time. I maintain 8 devices now and kuntao is the oldest one and the one with most issues, so maintaining 2 versions at a time is pretty much impossible. I've been working on getting 18.1 into shape since September and found other issues while doing it (for example the ogg fix). Finding specific patches to pick back to 17.1 would require even more time, plus there is nobody really actively helping me with kuntao on lineage anymore. There is nobody contributing any patches for kuntao on lineage except me. Looks like every other single rom that exists is using different device trees and kernel and nobody is interested in contributing to lineage trees.

      Let's not forget this is all a hobby project and opensource for everyone to contribute. Last stock update was android 7.0 and we got lineage 14.1, 15.1, 16.0, 17.1, 18.1
      1
      WhatsApp issues detected in latest builds.when you turn on speaker phone hang and reboots.also tried with fresh installation.and for this bug I also tried los18.1 unofficial and found same bug in that ROM also.finaly to check whether this not hardware related I reverted to android 7 stock and having no bug of WhatsApp.
      important to mention that on los17.1 and and los18.1 whatsapp badly crashing with speaker on and also reconnecting issues no sound and delayed sound and closes or phone rebooted.
      any one have same problem?
      1
      Thanks Mike. I do totally appreciate what you do and tried to express that in my post. Maybe something else is playing up regarding this issue as it behaves differently at different times. But when you said it was fixed in 18.1 I inferred that it was known to be broken.

      I'll work around it and make a donation. Respect and thanks again.
    • 71
      Code:
      #include <std_disclaimer.h>
      /*
      * 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.
      */

      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 ARM64 as Platform and 10.0 as Android, use the Variant you want. Recommended nano package)

      Required TWRP recovery
      twrp-3.2.3-20190209-kuntao.img
      Using official TWRP is not supported

      Changelog:
      Changes for kuntao

      Bug reports:
      How to submit a bug report
      LineageOS GitLab

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

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

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

      ROM OS Version: Android 10
      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 2020-04-23
      Last Updated 2020-04-23
      35
      I finally made some progress, this took a long time of debugging...
      Screenshot_20210111-055518_Settings.png
      30
      First build should be up tomorrow, let's hope everything goes well.
      25
      There has been no progress in the audio issue, mostly because I can't reproduce it reliably. I've been running builds for 1+ week and didn't manage to get the bug. I've merged some patches that should fix fingerprint crashing on devices with broken or semi broken hardware, which should save some battery (untested). I've also merged some commits that should improve the dark camera preview issues, also not very well tested.
      21
      I have disabled builds temporarily because I can't figure out this issue.
      Also it looks like a similar issue is present on 16.0 https://gitlab.com/LineageOS/issues/android/-/issues/1679 which means I have to look even deeper :/
    Our Apps
    Get our official app!
    The best way to access XDA on your phone
    Nav Gestures
    Add swipe gestures to any Android
    One Handed Mode
    Eases uses one hand with your phone