Skip to content

Commit

Permalink
Update 0002-ims-Replace-download-links-with-our-own.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
imbroglius authored Jul 3, 2024
1 parent ad8988b commit 674876a
Showing 1 changed file with 12 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
From 0181b8401d7aac9afc44f9c72ed5467cfcc4efbf Mon Sep 17 00:00:00 2001
From: Alberto Ponces <[email protected]>
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(-)
Expand All @@ -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

0 comments on commit 674876a

Please sign in to comment.