[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] leo_97:
Known Issues​

- Storage encryption is broken ( FDE was deprecated in A13 )

- Network traffic monitoring ( 4.9 kernel required for this )

- GPU monitoring ( 4.9 kernel required for this )

- TWRP backups are broken (see notes on this other post here)

- Extra dim and Night Light are buggy (see workaround on this post)

- OTG connection may not work

- Camera may crash randomly (since lineage-20.0-20240621-UNOFFICIAL-kuntao)

- LOS Charging control is broken (feature removed since October 2023 build)

- SafetyNet & Play Integrity Fail (more information on this page here) (fixed on lineage-20.0-20240217-UNOFFICIAL-kuntao)

- SafetyNet & Play Integrity are failing again (as of 29th Feb) (check this page for updates on this situation) (fixed again on lineage-20.0-20240311-UNOFFICIAL-kuntao)

- Play Integrity is broken for non-rooted installs (as of May, 2024) (more information here) (fixed on lineage-20.0-20240621-UNOFFICIAL-kuntao)

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

- You tell

ROM Doesn't Boot After Flashing​

Make sure you formatted /data partition (see installation instructions step 2)

SafetyNet Status & Play Integrity Fix Instructions:

Method #1 - Non-rooted/Magisk-less Install​

0- Download the June build (aka lineage-20.0-20240621-UNOFFICIAL-kuntao)

1- Dirty flash the ROM ZIP (refer to the update instructions in the post above)

SafetyNet Status & Play Integrity Fix Instructions:

Method #2 - Rooted/Magisk Install​

1- Make sure Magisk v27.0 is properly installed

2- Open the Magisk App

3- Open App settings (wheel on the top right side of the screen)

4- Enable "Zygisk"

5- Enable "DenyList"

6- Open "Configure DenyList"

6.1- Click the three dots on top right corner of the screen

6.2- Enable "Show system apps"

6.3- On "Google Play services": Enable "com.google.android.gms" & "com.google.android.gms.unstable"

6.4- On "Google Play Store": Enable "com.android.vending"

7- Click on the back arrow (on top left)

8- Reboot your system

9- Test again (now it should pass)

Note: For Magisk versions below 26.x, it might not be needed to follow steps 6.1 and 6.2 as the system apps should be already being displayed.

Note2: If still not passing after following the instructions above, please, check the method #2 from this post here.

NavBar is Broken After Flashing or System Reboot​

1- Open the system settings (wheel icon on the notifications area)

2- Scroll down and navigate through the menus: System > Gestures > System navigation

3- Choose the option "3-button navigation" (if already selected, select another and this one again)

Navigation Gestures are Broken After System Reboot​

1- Open the system settings (wheel icon on the notifications area)

2- Scroll down and navigate through the menus: System > Gestures > System navigation

3- Choose the option "Gesture navigation" (if already selected, select another and this one again)

4- Make sure the option "Hardware keys", if present, is disabled/unchecked

ROM Change logs​

06/21/2024
- Fetch latest Device Tree
-- prop: Set HW timeout multiplier to 6
- Sync latest LOS sources
-- Correct logic for obtaining the path to full recovery image
-- Merge updated translations

05/16/2024
- Fetch latest Device Tree
- Sync latest LOS sources
-- lineage: Opt-in to shipping full recovery image by default
-- Merge updated translations
- Merge May security patch

04/12/2024
- Fetch latest Device Tree
- Sync latest LOS sources
-- overlay: several Dialer VVM config fixes
-- kernel: Support kernel modules via kbuild
-- Merge updated translations
- Merge April security patch

03/16/2024
- Fetch latest Device Tree
- Sync latest LOS sources
-- Merge updated translations
- Merge March security patch

03/11/2024
- Fetch latest Device Tree
-- Update device FP spoof (fix Play Integrity status)
-- Disable Nearby SurfaceServices (Fix wifi speed issues)
-- props: Clean up log messages
-- Explicitly disable AVB
-- Add Dolby Atmos support
-- rootdir: Start sensors hal on boot
-- mm: Always overcommit memory (improves app performance)
- Sync latest LOS sources
-- Allow signature spoofing for microG Companion/Services
-- Enable SimpleSettingsConfig
-- overlay: enable VVM for Boost and other ATT MVNOs
-- Merge updated translations

02/17/2024
- Fetch latest Device Tree
-- Add PlayIntegrity patch & GMS patch
- Sync latest LOS sources
-- overlay: Decommonize long press power action
-- apn: Update for Telus MVNO's (Canada)
-- RotationLockTile: Open LineageParts rotation settings
-- Fix NPE when fetch shortcut icon uri
- Merge February security patch

01/14/2024
- Fetch latest Device Tree
-- Update navbar patch
- Sync latest LOS sources
-- overlay: update VVM config
-- prebuilt: Update APNs for Boost Mobile
-- SettingsLib: Handle WifiService being null
-- Settings: Hide Flashlight
-- Merge updated translations
- Merge January 2024 security patch

12/17/2023
- Fetch latest Device Tree
-- Drop power patch
-- Move Sensor HAL to system-background
-- Set the compiler filter for shared apks to quicken
-- Set threshold to filter unused apps
-- Set lmkd's swap_free_low_percentage to 100
-- sepolicy
--- Allow system app to access HALs
--- Fix sepolicy error
-- rootdir: Bump zram 1.5GB to 3GB
-- Build TextClassifier packages
- Sync latest LOS sources
-- Update the branch of Lineage snippets from master to main
-- Update packages/apps/KeyChain source
-- kernel
--- Use lz4 from Google prebuilts
--- Use correct variable name for vendor_kernel_boot modules
-- fixup! lineage: prebuilt: Add Carrier ID and MVNO ID for T-Mobile Ting
-- vars: Update qcom tags
-- config:
--- telephony: Advertise telephony support for GMS
--- Add fur_IT locale
-- charger: regenerate.sh: Don't delete percent_font.png
-- apn: Fix Play MMS
-- Update APN settings used in Japan
-- SystemUI: Internet tile: Allow long-pressing on mobile network
-- Merge updated translations
-- Many other changes
- Merge tag android-13.0.0_r83
- Merge December security patch

10/11/2023
- Fetch latest Device Tree
-- rootdir: audio HAL: Enable RT priority inheritance
-- Explicitly disable Lineage Health feature
-- Remove allow gms to access data partition patch
-- Remove LOS Charging control
-- A13 related compatibility fixes
- Sync latest LOS sources
-- manifest:
--- Track our hardware/broadcom/libbt
--- Switch to our fork of system/netd
--- Track our own external/dtc
-- lineage:
--- Remove no longer used symlinks
--- Switch to our own fork of hardware/libhardware_legacy
--- Revert "Sync external/dwarves from AOSP"
-- qcom:
--- Sync core-utils-sys and core-utils-vendor
--- Remove deprecated custom APM
--- Add taro HALs
--- Add kalama HALs
--- Change healthd-ext group to reflect waipio-vendor base
--- Correct core-utils-vendor group
-- Track our own frameworks/opt/colorpicker
-- Patch CVE-2023-4863 & CVE-2023-5217
-- Update translations
- Update platform to android-13.0.0_r76
- Merge October security patch

07/15/2023
- Fetch latest Device Tree branch
-- Add Lineage battery health
-- rootdir: Move read_ahead_kb to init.qcom.post_boot.sh
-- sepolicy: Update Camera property sepolicy
-- Bump graphene camera version to 63
-- Remove pixel_2016_exclusive
-- vendorsetup.sh Use depth=1
-- parts: Update few parts icon
- Sync latest LOS sources:
-- Include build manifest on target
-- Disable AGPS by default, it'll be enabled in SetupWizard
-- kernel:
--- Go full LLVM build on 5.10+ kernels
--- Restore TARGET_KERNEL_VERSION
--vars:
--- Use fbpacktool for unpacking bootloader.img on Tensor pixels
--- July 2023 Security update
--- Pixel Fold
--- Update qcom tags
--- Use gs201 kernel for gs101 pixels
-- apn:
--- Update mcc525
--- Add Uno Mobile Italy
-- config:
--- common-full: unrar undead
--- common-full: Build zstd cmdline tools
--- Copy Lineage health permissions
--- device_framework_matrix: Add vendor.lineage.health
--- Move IAntiFlicker to fqname
--- Allow overriding ro.support_one_handed_mode
-- soong:
--- Add TARGET_HEALTH_CHARGING_CONTROL related configs
--- Add aapt_version_code default
-- repopick: Don't ignore change status for query mode (-Q)
-- overlay: Set screenshot work profile files app to DocumentsUI
- Update platform to android-13.0.0_r61
- Merge July security patch

04/20/2023
- Fetch latest Device Tree:
-- Set default livedisplay mode to 0
-- vendorsetup.sh: Add DeskClock patch
-- trebuchet:
--- Make overview scrim transparent again
--- Kill haptics in recents
-- nfc: Fix Mifare Classic reading
-- sepolicy:
--- Silence suspend_control_service neverallow denial
--- Silence tracingproxy_service neverallow denial
--- Silence fsck_untrusted neverallow denial
--- Allow system_app to access storaged via IPC
-- overlay: Allow gms to access persistent data partition
-- props:
--- Silence ResourcesCompat spam
--- Remove hwui skia atrace properties
--- Disable virtual displays writeback
-- Revert "sepolicy: Allow some apps to access debuggable prop"
- Sync latest LOS sources:
-- lineage: Track the FMRadio App and dependencies
-- Move Trebuchet to default.xml
-- overlay:
--- Disable immersive mode confirmation
--- Move default status bar height to no-rro
-- soong: Bring bootloader_message_offset back
-- envsetup: aospremote: Take .gitupstream into account
- Update platform to android-13.0.0_r41
- Merge April security patch

03/30/2023
- Fetch latest Device Tree
-- Sepolicy:
--- Address sensor hal denials
--- Address launcher3 denials
--- Allow some apps to access debuggable prop
-- rootdir:
--- Create STSensorHAL folder on data
--- Restore iio sensor device6 on boot
--- Add cpuset for the camera daemon
-- overlays:
--- Disable IMS features for Turkiye networks
--- Enable voWIFI support
-- prop:
--- Disable Bluetooth APCF Extended features
--- Enable ro.hwui.render_ahead and set it to 20 frames
-- Enable selinux ignore never allow flag
-- Don't force enable ims features
-- Remove aptX(HD) encoder shared libs
-- vendorsetup.sh: Add Trebuchet patch
- Update LOS components
-- Manifest:
--- Sync x86_64 webview prebuilts again
--- March 2023 Quarterly Platform Release and Security update
--- gs101 March 2023 Quarterly Platform Release and Security update
-- Update zlib source
- Sync latest LOS sources
- Update platform to android-13.0.0_r35
- Merge March security patch

03/05/2023
- Initial release