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

- SafetyNet & Play Integrity Fail (more information on this page here) (fixed on Feb release, a.k.a. lineage-18.1-20240215-UNOFFICIAL-kuntao) (fixed again on lineage-18.1-20240310-UNOFFICIAL-kuntao)

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

Boot loop/Boot inside TWRP Fix Instructions​

1- Reboot to recovery

2- Wipe > Format data (careful, will erase everything and remove storage encryption)

3- Then repeat wipe from step 1 of Installation Instructions

4- Reboot to recovery again

5- Copy the ZIP files (ROM, Gapps...) to internal storage

6- Flash ZIP files again

7- Reboot to system

8- Wait for the boot and encryption process (may take some minutes)

9- Phone will reboot automatically and then start the system

10- Finish the setup wizard (Wifi, Google acc, etc)

10.1- Reboot the system in order to finish installing Magisk App (optional)

SafetyNet Status Fix Instructions

(deprecated since Feb 2024)​

1- Make sure Magisk was 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.

Play Integrity Fix Instructions:

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

0- First make sure that you are using the January 2024 (lineage-18.1-20240120-UNOFFICIAL-kuntao) build (avoid making long jumps between versions as it may break the system)

1- Download the March build with custom kernel (?)

2- Reboot to recovery and flash the ROM (dirty flash is only supported from Jan or Feb build)

2.1- Clean the Dalvik/Cache

2.2- Reboot to system

3- Test again (now it should pass both device and basic integrity)

Play Integrity Fix Instructions:

Method #2 - Rooted/Magisk Install​

0- First make sure that you are using the January 2024 (lineage-18.1-20240120-UNOFFICIAL-kuntao) build (avoid making long jumps between versions as it may break the system)

1- Download the February build or March build with custom kernel (?)

2- Reboot to recovery and dirty flash the ROM

2.1- Clean the Dalvik/Cache

2.2- Reboot to system

3- Download Magisk v27.0

3.1- Rename Magisk APK to .ZIP (use lower case, e.g. .zip)

4- Reboot to recovery and flash Magisk ZIP

4.1- Reboot to system

5- Once the system boots, rename Magisk ZIP to .APK (use lower case, e.g. .apk)

5.1- Install the APK using the system installer (as a normal app/apk)

5.2- A system reboot may be required for it to finish installing

6- Open the Magisk App

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

6.2- Enable "Zygisk" and "Enforce DenyList" options

6.3- Click "Configure DenyList"

6.4- Enable "Show system apps" on the three dot menu

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

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

6.7- Reboot the system to apply

7- Download PlayIntegrityFix v15.9.9

7.1- Open the Magisk app

7.2- Enter on the Modules tab (bottom right)

7.3- Click "Install from storage" > Select the PlayIntegrityFix ZIP and confirm its installation

7.4- Click on "Reboot" to reboot system

8- Once the system boots, test again (now it should pass both device and basic integrity)

Note: If the "Requires Additional Setup" popup shows up, just hit "cancel".

PS: If the Magisk app crashes during use, close it in the recent apps menu, clear its data and reopen it.

Magisk App is Gone After Flashing v26.3 or v27.0​

1- Flash its ZIP through TWRP (if not done already)

2- Rename the .ZIP file to .APK (use lower case, e.g. .apk)

3- Install the APK using the system installer (as a normal app/apk)

4- A system reboot may be required for it to finish installing

ROM Change log​

03/10/2024
- ROM reached its End of Life (EOL) due to upstream support end
- Fetch latest Device Tree
-- New dt and frameworks tree (for patching PlayIntegrity)
-- Add device FP spoof
- Sync latest LOS sources
-- Allow signature spoofing for microG Companion/Services
-- Merge updated translations

02/15/2024
- Fetch latest Device Tree
- New kernel tree (for the PlayIntegrity patch)
- Sync latest LOS sources
- Merge February security patch

01/20/2024
- Fetch latest Device Tree
- Sync latest LOS sources
-- prebuilt: Update APNs for Boost Mobile
-- overlay: Change vvm_type_vvm3_mvno to vvm_type_vvm3
-- overlay: update VVM config
-- Merge updated translations
- Merge January 2024 security patch

12/15/2023
- Fetch latest Device Tree
- Sync latest LOS sources
-- apn: Fix Play MMS
-- Merge updated translations
- Merge December security patch

10/11/2023
- Fetch latest Device Tree
- Sync latest LOS sources
-- Update the components:
--- external/libvpx
--- external/libxml2
-- Patch CVE-2023-5217
- Merge October security patch

09/23/2023
- Fetch latest Device Tree
- Sync latest LOS sources
-- Update the component external/webp
-- Patch CVE-2023-4863
- Merge September security patch

08/19/2023
- Fetch latest Device Tree
-- Merge updated translations
- Sync latest LOS sources
- Merge August security patch

07/15/2023
- Fetch latest Device Tree
-- apn: Add Uno Mobile Italy
-- Merge updated translations
- Sync latest LOS sources
- Merge July security patch

06/12/2023
- Fetch latest Device Tree
-- Merge updated translations
- Sync latest LOS sources
- Merge June security patch

05/10/2023
- Device Tree: Updates translations
- Sync latest LOS sources
-- Track vendor/crowdin
- Merge May security patch

04/21/2023
- Device Tree: Change proprietary blobs from official sources to themuppets' ones
- LOS: apn: update for T Star, Vibo and AURORA
- Sync latest LOS source
- Merge April security patch

03/28/2023
- Update LOS components
-- Manifest: Sync x86_64 webview prebuilts again
-- Update zlib source
- Sync latest LOS source
- Merge March security patch

02/20/2023
- Update LOS modules
-- packages/modules/NeuralNetworks
-- system/connectivity/wificond
- Sync latest LOS source
- Merge February security patch

01/31/2023
- Sync latest LOS source

01/28/2023
- Initial release