From 674876acbe1094ac585f041e7ec1f726277b24fa Mon Sep 17 00:00:00 2001 From: Imbroglius <163344413+Imbroglius@users.noreply.github.com> Date: Wed, 3 Jul 2024 21:13:08 +0200 Subject: [PATCH] Update 0002-ims-Replace-download-links-with-our-own.patch --- ...-Replace-download-links-with-our-own.patch | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) 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 ba4a88f8..92c510a1 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 @@ -1,8 +1,3 @@ -From 0181b8401d7aac9afc44f9c72ed5467cfcc4efbf Mon Sep 17 00:00:00 2001 -From: Alberto Ponces -Date: Wed, 5 Jun 2024 15:56:57 +0100 -Subject: [PATCH 2/2] ims: Replace download links with our own - --- .../java/me/phh/treble/app/ImsSettings.kt | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) @@ -25,9 +20,19 @@ index 16f8ecf..5920a66 100644 + Ims.gotMtkQ -> Pair("https://github.com/Imbroglius/vendor_imbroglius/raw/android-14.0/prebuilt/ims/ims-mtk-s.apk", "MediaTek Q vendor") + Ims.gotMtkR -> Pair("https://github.com/Imbroglius/vendor_imbroglius/raw/android-14.0/prebuilt/ims/ims-mtk-s.apk", "MediaTek R vendor") + Ims.gotMtkS -> Pair("https://github.com/Imbroglius/vendor_imbroglius/raw/android-14.0/prebuilt/ims/ims-mtk-s.apk", "MediaTek S vendor") - + (Ims.gotQcomHidl || Ims.gotQcomAidl) && Build.VERSION.SDK_INT >= 34 +- -> Pair("https://treble.phh.me/ims-caf-u.apk", "Qualcomm vendor") +- Ims.gotQcomHidlMoto -> Pair("https://treble.phh.me/stable/ims-caf-moto.apk", "Qualcomm pre-S vendor (Motorola)") +- Ims.gotQcomHidl -> Pair("https://treble.phh.me/stable/ims-q.64.apk", "Qualcomm pre-S vendor") +- Ims.gotQcomAidl -> Pair("https://treble.phh.me/stable/ims-caf-s.apk", "Qualcomm S+ vendor") +- else -> Pair("", "NOT SUPPORTED") ++ -> Pair("https://github.com/ponces/vendor_ponces/raw/android-14.0/prebuilt/ims/ims-caf-u-signed.apk", "Qualcomm vendor") ++ Ims.gotQcomHidlMoto -> Pair("https://github.com/ponces/vendor_ponces/raw/android-14.0/prebuilt/ims/ims-caf-moto-signed.apk", "Qualcomm pre-S vendor (Motorola)") ++ Ims.gotQcomHidl -> Pair("https://github.com/ponces/vendor_ponces/raw/android-14.0/prebuilt/ims/ims-q.64-signed.apk", "Qualcomm pre-S vendor") ++ Ims.gotQcomAidl -> Pair("https://github.com/ponces/vendor_ponces/raw/android-14.0/prebuilt/ims/ims-caf-s-signed.apk", "Qualcomm S+ vendor") ++ else -> Pair("https://github.com/ponces/vendor_ponces/raw/android-14.0/prebuilt/ims/ims-floss-signed.apk", "FLOSS") + } installIms!!.title = "Install IMS APK for $message" -- 2.34.1 -