Skip to content

fix: make Android 16 carrier override effective - #129

Open
nuhour wants to merge 3 commits into
Ackites:masterfrom
nuhour:fix/android16-effective-carrier-override
Open

nuhour wants to merge 3 commits into
Ackites:masterfrom
nuhour:fix/android16-effective-carrier-override

Conversation

@nuhour

@nuhour nuhour commented Aug 1, 2026

Copy link
Copy Markdown

Summary\n\nThis is a follow-up to #127 for devices where Nrfr reports a successful save but the target service still sees the original carrier config.\n\n- ignore SubscriptionManager.INVALID_SUBSCRIPTION_ID instead of using -1 as a real target\n- resolve slot-to-subscription IDs through dumpsys isub over the existing Shizuku channel when the legacy API returns an invalid value\n- use the effective non-persistent override path on Android 16 (API 36), while retaining persistent behavior on older releases\n- keep the Android 16 instrumentation fallback from #122/#127\n\n## Validation\n\n- Redmi K80 / HyperOS / Android 16 / Shizuku\n- before: save UI reported success, but logs showed Invalid phoneId: -1 and no effective override\n- after: slot 0 resolved to subId=1; mOverrideConfigs contained sim_country_iso_override_string=us and carrier_name_string=T-Mobile USA; TikTok loaded the feed after restart\n\nThe local build check reached dependency resolution, but Maven Central returned HTTP 403 for jsr305; device validation used the patched APK recorded in the local verification artifacts.

nuhour added 3 commits August 2, 2026 00:28
Follow-up to Ackites#127: resolve vendor ROM slot-to-subscription mappings and use the effective Android 16 temporary override path.
Resolve vendor slot-to-subscription mappings through the existing Shizuku channel and use the effective Android 16 override path.
Pass the active application context through the carrier override UI calls.
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