diff --git a/app/src/main/java/me/phh/treble/app/UpdaterActivity.kt b/app/src/main/java/me/phh/treble/app/UpdaterActivity.kt index a8f5f54f5c9d..7a9fe1c1c4f0 100644 --- a/app/src/main/java/me/phh/treble/app/UpdaterActivity.kt +++ b/app/src/main/java/me/phh/treble/app/UpdaterActivity.kt @@ -263,7 +263,10 @@ class UpdaterActivity : PreferenceActivity() { private fun getVariant() : String { var flavor = SystemProperties.get("ro.build.flavor").replace(Regex("-user(debug)?"), "") val secure = File("/system/phh/secure") - val vndklite = File("/system_ext/apex/com.android.vndk.v27/etc/vndkcore.libraries.27.txt") + var vndklite = File("/system_ext/apex/com.android.vndk.v29/lib64/vendor.qti.qcril.am@1.0.so") + if (flavor.contains("_a64_")) { + vndklite = File("/system_ext/apex/com.android.vndk.v29/lib/libstdc++.so") + } if (secure.exists()) { flavor += "-secure" } else if (vndklite.exists()) {