Skip to content

feat(rcs): enhance RCS support with real IID tokens, EAP-AKA auth, DroidGuard, CarrierAuth service#3599

Open
hanu-14 wants to merge 2 commits into
microg:masterfrom
hanu-14:rcs-enhanced-support
Open

feat(rcs): enhance RCS support with real IID tokens, EAP-AKA auth, DroidGuard, CarrierAuth service#3599
hanu-14 wants to merge 2 commits into
microg:masterfrom
hanu-14:rcs-enhanced-support

Conversation

@hanu-14

@hanu-14 hanu-14 commented Jul 3, 2026

Copy link
Copy Markdown

Summary

Enhances microG RCS support with proper implementations replacing stubs. Supersedes #3598 with more complete implementations.

Changes

New Files

  • CarrierAuthService.kt / CarrierAuthServiceImpl.kt: New service (ID 191) for carrier entitlement verification, EAP-AKA support detection, SIM readiness reporting

Modified Files

  • ConstellationServiceImpl.kt: Real IID token from SHA-256 of device identifiers (IMEI, build fingerprint, hardware IDs, package signature). EAP-AKA SIM authentication via TelephonyManager.getIccAuthentication(). DroidGuard availability detection. Carrier ID extraction (API 29+)
  • AsterismServiceImpl.kt: Consent persistence via SharedPreferences. Device-tied consent token generation using package signatures + build fingerprint
  • RcsServiceImpl.kt: Enriched metadata bundle with capabilities flags
  • AsterismService.kt: Passes Context to constructor
  • AndroidManifest.xml: Added CarrierAuthService registration

Testing

  • Verified service registration in AndroidManifest
  • All services follow microG patterns used by existing implementations

Mohammed Hanan M T P added 2 commits July 4, 2026 00:07
…ices

- Add AIDL interfaces for Constellation (service 155) and Asterism (service 199)
- Add Java SafeParcelable classes for request/response types
- Implement RcsService, ConstellationService, AsterismService in Kotlin
- Route RCS intent away from DummyService to dedicated RcsService
- Add RCS phenotype flags for Google Messages and Tachyon
- Fix phone number extraction from VerifyPhoneNumberRequest (policyId vs msisdn)
- Register all three services in AndroidManifest.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant