[Treble-Enabled Device Guides, News, & Discussion] gilbert32:
So i have just flashed Lineage OS 15.1, and here is the logcat:

03-02 21:27:21.956 1355 1355 D SELinuxMMAC: Using policy file /system/etc/selinux/plat_mac_permissions.xml
03-02 21:27:21.957 1355 1355 D SELinuxMMAC: Using policy file /vendor/etc/selinux/nonplat_mac_permissions.xml
03-02 21:27:22.006 1355 1412 I PackageParser: Skipping target and overlay pair com.qualcomm.location.XT and null: overlay ignored due to required system property: persist.vendor.overlay.izat.optin with value: rro
03-02 21:27:22.006 1355 1414 I PackageParser: Skipping target and overlay pair android and null: overlay ignored due to required system property: ro.vendor.build.fingerprint with value: +blackshark/SKR*
03-02 21:27:22.006 1355 1355 W PackageManager: Failed to parse /vendor/overlay/OptInAppOverlay: /vendor/overlay/OptInAppOverlay/OptInAppOverlay.apk (at Binary XML file line #11): null
03-02 21:27:22.006 1355 1355 W PackageManager: Failed to parse /vendor/overlay/treble-overlay-blackshark-shark.apk: /vendor/overlay/treble-overlay-blackshark-shark.apk (at Binary XML file line #5): null
03-02 21:27:22.010 1355 1355 W PackageManager: Failed to parse /system/framework/arm: Missing base APK in /system/framework/arm
03-02 21:27:22.010 1355 1355 W PackageManager: Failed to parse /system/framework/oat: Missing base APK in /system/framework/oat
03-02 21:27:22.010 1355 1355 W PackageManager: Failed to parse /system/framework/arm64: Missing base APK in /system/framework/arm64
03-02 21:27:22.065 1355 1422 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS in package: com.android.shell at: Binary XML file line #106
03-02 21:27:22.076 1355 1421 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.CONFIGURE_WIFI_DISPLAY in package: com.android.systemui at: Binary XML file line #124
03-02 21:27:22.157 1355 1355 W PackageManager: Failed to scan /system/priv-app/Phonesky: Package com.android.vending at /system/priv-app/Phonesky ignored: updated version 81425800 better than this 81060800
03-02 21:27:22.201 1355 1420 W PackageParser: No actions in intent filter at /system/priv-app/Contacts/Contacts.apk Binary XML file line #444

My android manifest:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.blackshark.srkh0"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="ro.vendor.build.fingerprint"
android:requiredSystemPropertyValue="+blackshark/SKR*"
android:priority="20"
android:isStatic="true" />
</manifest>

phhgsi_arm64_ab:/ $ getprop ro.build.vendor.fingerprint

phhgsi_arm64_ab:/ $ getprop ro.vendor.build.fingerprint
blackshark/SKR-H0/shark:8.1.0/G66X1901082OS00MPX/eng.19.0108.140816:user/release-keys
phhgsi_arm64_ab:/ $

Do you know what to do in this case? ro.build.vendor.fingerprint gives me nothing (not mentionned in /vendor/build.prop), but ro.vendor.build.fingerprint exists and you can see the output above

EDIT: I managed to get that error removed from logcat by using ro.build.vendor.fingerprint, and the full value instead of +blackshark/SKR*

however, the problem remains: bad brightness values. Is there a way to make sure the right overlay is selected?