Skip to content

Support regional Galaxy Store downloads and store metadata - #3344

Open
HotKids wants to merge 8 commits into
ImranR98:mainfrom
HotKids:codex/galaxy-store-network-codes
Open

HotKids wants to merge 8 commits into
ImranR98:mainfrom
HotKids:codex/galaxy-store-network-codes

Conversation

@HotKids

@HotKids HotKids commented Sep 22, 2026 •

Copy link
Copy Markdown

Galaxy Store apps whose stub interface is unavailable fall back to ODS with the same configured device, CSC, MCC, and MNC. CHC defaults to 460/00; other CSCs retain 425/01, the SM-S948B/DBT defaults, and existing nonempty network-code overrides. Regional endpoint discovery follows AppMarket’s Samsung protocol, with a restricted host list and fixed endpoint fallback. The observed Israel endpoint preserves the existing global profile.

Native products request a full APK without the installed-version field. Definite HTTP/API rejection permits restore authorization; China requests can then try the partner interface once, only with matching package, product, version, version code, full size, and a Samsung HTTPS URL. Malformed replies, mismatched grants, login-required apps, and ODS timeouts cannot enter that retry path. Successful stub replies receive the same identity and URL checks.

China products explicitly marked linkProductYn=1, with a known full-package size, use the partner interface directly. Its observed replies omit Samsung's GUID and product ID: either must match when present, while version, version code, and full size must always match the selected metadata. Only this branch additionally permits the exact HTTPS download host auto-dd.myapp.com; native, stub, restore, and nonlinked mirror grants retain the Samsung-only host restriction. No purchase or order requests are made.

Stub and ODS requests have 40-second deadlines. A stub timeout can use the same-profile ODS fallback. Rate-limit errors retain their retry timing and stop further fallback requests; a rate limit during optional discovery or details preserves the already authorized APK.

Store dates and original publisher notes are bound to the selected release using stable main/overview/main responses. APK filename timestamps are no longer treated as release dates. Optional details cannot invalidate an authorized APK.

Anonymous final-source probes resolved com.shuge.fitness 4.6.32 through the direct China partner route, matching its 93625737-byte metadata and returning the allowed Tencent HTTPS host. Samsung Assistant 9.4.02.7 still resolved through Samsung's stub with store date 2026-08-25. No APK content was transferred by these probes. Native Obtainium settings and installation UI remain unverified.

@HotKids HotKids changed the title Allow custom MCC and MNC for Samsung Galaxy Store Support China Galaxy Store apps and custom network codes Oct 4, 2026
@HotKids HotKids changed the title Support China Galaxy Store apps and custom network codes Support China Galaxy Store apps Oct 4, 2026
@HotKids HotKids changed the title Support China Galaxy Store apps Support regional Galaxy Store downloads and store metadata Oct 4, 2026
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