Skip to content

rcs support #3323

Closed
naushad970 wants to merge 3 commits intomicrog:masterfrom
naushad970:master
Closed

rcs support #3323
naushad970 wants to merge 3 commits intomicrog:masterfrom
naushad970:master

Conversation

@naushad970
Copy link

analyzed Google Messages behavior by monitoring logcat output on a device with official Google Play Services. Google Messages actively searches for services with the action "com.google.android.gms.rcs.START" and attempts to bind to an IRcsEngineController interface. When these services are missing, Google Messages displays "Chat features unavailable" because it cannot locate the RCS infrastructure it requires for enhanced messaging features.

Technical Analysis Process:

  1. Analysis Phase: Installed Google Messages on device with official Google Play Services
  2. Discovery: Used adb logcat to monitor RCS-related log entries
  3. Identification: Observed Google Messages repeatedly attempting to bind to com.google.android.gms.rcs.START
  4. Understanding: Noted successful RCS activation when IRcsEngineController was available
  5. Implementation: Replicated the exact same service structure and broadcast patterns in microG
  6. Verification: Confirmed RCS features activated on physical device with microG

Testing Environment:

  • Physical Phone: Redmi Note 8 Pro
  • Android Version: 11 (API 30)
  • SIM Card: Active Airtel SIM card inserted
  • microG Version: Custom build with RCS integration
  • Google Messages: Latest version from Play Store
  • Network: Connected via wifi

Evidence of Working Implementation:
Logcat output confirms successful RCS activation:
image

Untitled.design.1.mp4

Technical Implementation:

  • RcsEngineLifecycleServiceV2 - Service that responds to com.google.android.gms.rcs.START and returns IRcsEngineController implementation
  • Broadcast System - Sends REGISTRATION_STATE_CHANGED with state=7 to signal RCS is available
  • AIDL Interfaces - All required Google RCS APIs implemented
  • Token Authentication - Provides hasToken: true, isValidAndUpdated: true flags

RCS Support #2994

Test User added 3 commits March 7, 2026 14:54
- Implement RcsEngineLifecycleServiceV2 with proper AIDL interface
- Add RcsStatusBroadcaster for RCS availability notifications
- Include comprehensive RCS AIDL interfaces and implementations
- Enable RCS features like typing indicators, read receipts, file sharing
- Support recent Google Messages versions without root requirements
- Follow microG code patterns and Apache 2.0 licensing
- Clean production-ready implementation with no debug logs

Resolves: Enable Google Messages RCS functionality on microG devices
Tested: Confirmed working with Google Messages - RCS available and connected
- Add play-services-rcs dependency to play-services-core build.gradle
- Include RCS service files in vending-app for complete integration
- Clean up RcsContactsService - remove Log.d statements
- Clean up RcsCapabilityProvider - remove Log.d statements
- Ensure production-ready code with no debug output
- Follow microG codebase patterns for clean implementation
@naushad970
Copy link
Author

@mar-v-in updated , Could you please review the updated PR now?

@quimodotcom
Copy link

Screenshot_20260310-013044_microG Services Screenshot_20260310-013051_Messages Screenshot_20260310-013105_LogFox

Quickly skimmed over the code, cant tell if this is AI slop. But yeh, this aint it. Maybe im missing something??

@naushad970
Copy link
Author

The logs show "isRcsAvailable: true" and Google Messages shows "Connected" status in my part.

image

did you clone the repo and run it locally ,what did you do exactly to produce this error ?

Screenshot_20260310-013044_microG Services Screenshot_20260310-013051_Messages Screenshot_20260310-013105_LogFox
Quickly skimmed over the code, cant tell if this is AI slop. But yeh, this aint it. Maybe im missing something??

@naushad970
Copy link
Author

Could you try cloning the repo and building it locally? Then open Google Messages, toggle rcs on/off, send some rcs messages and run adb logcat, and share the logs.
@quimodotcom

@mar-v-in
Copy link
Member

Again, you're not complying with #2994 (comment), which explicitly asked for a human-written, not LLM-bullshitted explanation.

@mar-v-in mar-v-in closed this Mar 10, 2026
@mar-v-in mar-v-in added the AI slop Pull requests that have been created using AI label Mar 10, 2026
@0xNoushad
Copy link

0xNoushad commented Mar 10, 2026

Again, you're not complying with #2994 (comment), which explicitly asked for a human-written, not LLM-bullshitted explanation.

Aight lemme just do that , this is also human written with ai help but i get it .

@quimodotcom
Copy link

Again, you're not complying with #2994 (comment), which explicitly asked for a human-written, not LLM-bullshitted explanation.

Aight lemme just do that , this is also human written with ai help but i get it .

Oh no bud. You replied with your main account. Im seeing a lot of AI and Crypto slop...

@0xNoushad
Copy link

Again, you're not complying with #2994 (comment), which explicitly asked for a human-written, not LLM-bullshitted explanation.

Aight lemme just do that , this is also human written with ai help but i get it .

Oh no bud. You replied with your main account. Im seeing a lot of AI and Crypto slop...

what are you on buddy ?
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI slop Pull requests that have been created using AI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants