diff --git a/patches/personal/treble_app/0002-ims-Replace-download-links-with-our-own.patch b/patches/personal/treble_app/0002-ims-Replace-download-links-with-our-own.patch index 3a35f865..f0229e5c 100644 --- a/patches/personal/treble_app/0002-ims-Replace-download-links-with-our-own.patch +++ b/patches/personal/treble_app/0002-ims-Replace-download-links-with-our-own.patch @@ -20,22 +20,22 @@ index 16f8ecf..5920a66 100644 - Ims.gotMtkQ -> Pair("https://treble.phh.me/stable/ims-mtk-q$signSuffix.apk", "MediaTek Q vendor") - Ims.gotMtkR -> Pair("https://treble.phh.me/stable/ims-mtk-r$signSuffix.apk", "MediaTek R vendor") - Ims.gotMtkS -> Pair("https://treble.phh.me/stable/ims-mtk-s$signSuffix.apk", "MediaTek S vendor") -+ -> Pair("https://github.com/imbroglius/vendor_imbroglius/prebuilt/ims/ims-mtk-u-imbrogliosign.apk", "MediaTek R+ vendor") -+ Ims.gotMtkP -> Pair("https://github.com/imbroglius/vendor_imbroglius//prebuilt/ims/ims-mtk-p-imbrogliosign.apk", "MediaTek P vendor") -+ Ims.gotMtkQ -> Pair("https://github.com/imbroglius/vendor_imbroglius/ims/ims-mtk-q-imbrogliosign.apk", "MediaTek Q vendor") -+ Ims.gotMtkR -> Pair("https://github.com/imbroglius/vendor_imbroglius/prebuilt/ims/ims-mtk-r-imbrogliosign.apk", "MediaTek R vendor") -+ Ims.gotMtkS -> Pair("https://github.com/imbroglius/vendor_imbroglius/prebuilt/ims/ims-mtk-s-imbrogliosign.apk", "MediaTek S vendor") ++ -> Pair("https://github.com/imbroglius/vendor_imbroglius/raw/android-14.0/prebuilt/ims/ims-mtk-u-imbrogliosign.apk", "MediaTek R+ vendor") ++ Ims.gotMtkP -> Pair("https://github.com/imbroglius/vendor_imbroglius/raw/android-14.0/prebuilt/ims/ims-mtk-p-imbrogliosign.apk", "MediaTek P vendor") ++ Ims.gotMtkQ -> Pair("https://github.com/imbroglius/vendor_imbroglius/raw/android-14.0/prebuilt/ims/ims-mtk-q-imbrogliosign.apk", "MediaTek Q vendor") ++ Ims.gotMtkR -> Pair("https://github.com/imbroglius/vendor_imbroglius/raw/android-14.0/prebuilt/ims/ims-mtk-r-imbrogliosign.apk", "MediaTek R vendor") ++ Ims.gotMtkS -> Pair("https://github.com/imbroglius/vendor_imbroglius/raw/android-14.0/prebuilt/ims/ims-mtk-s-imbrogliosign.apk", "MediaTek S vendor") (Ims.gotQcomHidl || Ims.gotQcomAidl) && Build.VERSION.SDK_INT >= 34 - -> Pair("https://treble.phh.me/ims-caf-u$signSuffix.apk", "Qualcomm vendor") - Ims.gotQcomHidlMoto -> Pair("https://treble.phh.me/stable/ims-caf-moto$signSuffix.apk", "Qualcomm pre-S vendor (Motorola)") - Ims.gotQcomHidl -> Pair("https://treble.phh.me/stable/ims-q.64$signSuffix.apk", "Qualcomm pre-S vendor") - Ims.gotQcomAidl -> Pair("https://treble.phh.me/stable/ims-caf-s$signSuffix.apk", "Qualcomm S+ vendor") - else -> Pair("", "NOT SUPPORTED") -+ -> Pair("https://github.com/imbroglius/vendor_imbroglius/prebuilt/ims/ims-caf-u-imbrogliosign.apk", "Qualcomm vendor") -+ Ims.gotQcomHidlMoto -> Pair("https://github.com/imbroglius/vendor_imbroglius/prebuilt/ims/ims-caf-moto-imbrogliosign.apk", "Qualcomm pre-S vendor (Motorola)") -+ Ims.gotQcomHidl -> Pair("https://github.com/imbroglius/vendor_imbroglius/prebuilt/ims/ims-q.64-imbrogliosign.apk", "Qualcomm pre-S vendor") -+ Ims.gotQcomAidl -> Pair("https://github.com/imbroglius/vendor_imbroglius/prebuilt/ims/ims-caf-s-imbrogliosign.apk", "Qualcomm S+ vendor") -+ else -> Pair("https://github.com/imbroglius/vendor_imbroglius/prebuilt/ims/ims-floss-imbrogliosign.apk", "FLOSS") ++ -> Pair("https://github.com/imbroglius/vendor_imbroglius/raw/android-14.0/prebuilt/ims/ims-caf-u-imbrogliosign.apk", "Qualcomm vendor") ++ Ims.gotQcomHidlMoto -> Pair("https://github.com/imbroglius/vendor_imbroglius/raw/android-14.0/prebuilt/ims/ims-caf-moto-imbrogliosign.apk", "Qualcomm pre-S vendor (Motorola)") ++ Ims.gotQcomHidl -> Pair("https://github.com/imbroglius/vendor_imbroglius/raw/android-14.0/prebuilt/ims/ims-q.64-imbrogliosign.apk", "Qualcomm pre-S vendor") ++ Ims.gotQcomAidl -> Pair("https://github.com/imbroglius/vendor_imbroglius/raw/android-14.0/prebuilt/ims/ims-caf-s-imbrogliosign.apk", "Qualcomm S+ vendor") ++ else -> Pair("https://github.com/imbroglius/vendor_imbroglius/raw/android-14.0/prebuilt/ims/ims-floss-imbrogliosign.apk", "FLOSS") } installIms!!.title = "Install IMS APK for $message"