Skip to content

RCS: DroidGuard tachyon fixes, phone-number fallback, and unit tests (#2994)#3644

Open
br413 wants to merge 52 commits into
microg:masterfrom
br413:rcs-droidguard-fixes
Open

RCS: DroidGuard tachyon fixes, phone-number fallback, and unit tests (#2994)#3644
br413 wants to merge 52 commits into
microg:masterfrom
br413:rcs-droidguard-fixes

Conversation

@br413

@br413 br413 commented Jul 15, 2026

Copy link
Copy Markdown

Summary

Follow-up work for RCS bounty #2994, building on @opstic's Constellation/Asterism implementation (#3359, #3360) with upstream master merged.

This draft PR adds DroidGuard/Tachyon parity fixes, a Constellation provisioning safety fix, and offline unit tests.

Changes by @br413

DroidGuard / Tachyon fixes

Fix Why
cache_dg -> dg_cache Match stock GMS path in /proc/self/maps
Uppercase VM cache keys okio .hex() is lowercase; stock GMS uses uppercase
DroidGuardInitReply partial parcel Preserve DroidGuardResultsRequest when PFD is null
Named DgVmClassLoader Avoid anonymous loader leaking org.microg to DG VM
Phone number hint fallback Prevent provisioning abort on null E.164

Unit tests (14 tests, no device required)

./gradlew :play-services-droidguard:testDebugUnitTest
./gradlew :play-services-constellation-core:testDebugUnitTest

E2E validation still needed

  • RCS provisioning completes (not stuck on "Setting up...")
  • RCS status: Connected
  • Send/receive RCS messages
  • No Tachyon PERMISSION_DENIED in logcat

Related

@br413
br413 marked this pull request as ready for review July 15, 2026 15:43
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.

2 participants