You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(rcs): implement baseline RCS and Constellation services for Google Messages - #3809
Building on top of @opstic's foundational work in #3359 and #3360.
While testing Google Messages against that branch, it was running into a few immediate roadblocks before the verification flow could even engage:
Messages tries to bind com.google.android.gms.rcs.START right off the bat, which upstream routed to DummyService (returning API_DISABLED). Added a dedicated RcsService (svc 189) returning SUCCESS so the client actually proceeds past step 0.
In AppCertManager.kt, the Android-ID fallback had an unhandled return null // TODO where the Spatula header proto was getting dropped, causing Google's RPC endpoints to silently fail on devices without full GMS tokens.
Aligned the DroidGuard VM cache path (app_dg_cache / uppercase hex key) to match stock GMS so unrooted / locked-bootloader setups don't fail local VM lookups.
Injected the UPI Phenotype flag for com.google.android.ims.library to prevent premature ACS fallback.
All credit for the protobuf schemas and core Constellation implementation belongs to @opstic. Just to be completely clear, this PR is not a bounty submission—that credit belongs with @opstic for the original heavy lifting. My only goal here is helping get RCS unblocked by contributing these complementary fixes.
Keeping this in draft to gather logcat feedback across different carriers (test APK is on my fork's v0.3.3-rcs-test release). Whenever @mar-v-in has time to look, happy to rebase, split, or adapt any of these fixes to match whatever upstream integration path you prefer.
apk file: https://github.com/Entirework-blip/GmsCore/releases/tag/v0.3.3-rcs-test
Cross-testing opportunity for locked/non-root RCS: the #3808-based branch still routes com.google.android.gms.rcs.START to DummyService, while this PR provides a dedicated svc189 binder. We have six separate TS.43/EAP-AKA hardening and compatibility commits on top of #3808 in Chess-Debug#8 (incoming MAC verification, RFC 4187 USIM bounds, Android 10 identifiers, bounded HTTP 511 recovery, HTTPS entitlement URLs, sanitized diagnostics). The exact six-commit build and Constellation unit-test task passed on https://github.com/Shellshock9001/GmsCore/actions/runs/39746406690; debug APK SHA-256 87DCA1CDF16665D04D1CD721B60E9617AEDAF999AD0D22ED83B040605FD94CD4. Can your testing help determine whether Messages proceeds past svc189 on a bootloader-locked, rootless microG device with an active SIM, and whether the TS.43 path is invoked? Please avoid collecting or publishing subscriber IDs, tokens or message bodies. This is a request for real interoperability data and collaboration, not a claim to issue #2994 or its bounty; credit for your svc189 work remains yours.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Building on top of @opstic's foundational work in #3359 and #3360.
While testing Google Messages against that branch, it was running into a few immediate roadblocks before the verification flow could even engage:
com.google.android.gms.rcs.STARTright off the bat, which upstream routed toDummyService(returningAPI_DISABLED). Added a dedicatedRcsService(svc 189) returningSUCCESSso the client actually proceeds past step 0.AppCertManager.kt, the Android-ID fallback had an unhandledreturn null // TODOwhere the Spatula header proto was getting dropped, causing Google's RPC endpoints to silently fail on devices without full GMS tokens.app_dg_cache/ uppercase hex key) to match stock GMS so unrooted / locked-bootloader setups don't fail local VM lookups.com.google.android.ims.libraryto prevent premature ACS fallback.All credit for the protobuf schemas and core Constellation implementation belongs to @opstic. Just to be completely clear, this PR is not a bounty submission—that credit belongs with @opstic for the original heavy lifting. My only goal here is helping get RCS unblocked by contributing these complementary fixes.
Keeping this in draft to gather logcat feedback across different carriers (test APK is on my fork's v0.3.3-rcs-test release). Whenever @mar-v-in has time to look, happy to rebase, split, or adapt any of these fixes to match whatever upstream integration path you prefer.
apk file: https://github.com/Entirework-blip/GmsCore/releases/tag/v0.3.3-rcs-test