feat(libSceSystemService): report the web browser as unavailable #2065

Merged
LuisBiceps merged 3 commits from upstream-pr/2065 into main 2026-10-09 21:42:50 +00:00
LuisBiceps commented 2026-10-09 06:31:14 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by LuisBiceps on 2026-10-09T06:31:14Z.


What

Exports sceSystemServiceLaunchWebBrowser (NID -+3hY+y8bNo) from libSceSystemService. AnyPS5 launches no web browser, so it fails with the kernel's EOPNOTSUPP (0x8002002D) for any arguments, the same choice as sceTextToSpeech2Initialize (#1374).

  • RommPS (PPSA76677) 1.1.0, released today, declares int sceSystemServiceLaunchWebBrowser(const char *uri, void *param) (credits.cpp L16) and calls it as sceSystemServiceLaunchWebBrowser(url, nullptr) == 0 (L86-L95).
  • When the call fails, RommPS's message becomes "The browser didn't open. Scan the code to watch on your phone", pointing at the QR code it shows for the YouTube video (L396-L411).
  • Opening the host's browser would not help here: the page RommPS opens, http://127.0.0.1:8780/video?v=..., is served by its own payload on the console (L239-L242).
  • The console's error for an unavailable browser, its argument checks and the param layout are unknown. They are recorded in TechnicalDebt, under silent stubs and unknown function info.
  • PSXS5 (PPSA97510), SwanStationPS5 (PPSA98510) and ScreenTester5 (PPSA69420) import it too, behind earlier stops.

RommPS 1.1.0, from its GitHub release (the homebrew catalog reserves PPSA76677 for it; the 1.1.0 listing is pending), relinked with --windows and run on Windows 10:

  • main f1451396: FAIL: unresolved ELF import -+3hY+y8bNo from libSceSystemService.prx (sceSystemServiceLaunchWebBrowser)
  • main + this PR: FAIL: unresolved ELF import QuJYZ2KVGGQ from libkernel.prx (shm_open, #1860)

Tested

  • guest_system_service now also checks that sceSystemServiceLaunchWebBrowser returns 0x8002002D for:
    • RommPS's call (a URL and a null param);
    • an https URL with a non-null param, which must stay untouched;
    • an empty URI;
    • a null URI.
  • Windows 10, MinGW-w64 GCC 15.2.0 (WinLibs 15.2.0posix-14.0.0-ucrt-r7), Release: passes (--repeat until-fail:3). The NID-patched libSceSystemService.prx exports the NID.
  • Ubuntu 26.04.1 (WSL2), GCC 15.2.0, Release, ANYPS5_ENABLE_SPIRV_TOOLS=ON: passes (--repeat until-fail:3). The NID-patched libSceSystemService.prx exports the NID.
  • The test fails against 12 deliberate breakages:
    • returning success (as shadPS4 does), PARAMETER, -1, or another kernel error;
    • throwing NotImplemented;
    • failing only for a null param, or only for http URLs;
    • reading a null URI, writing the param, or succeeding for an empty URI;
    • returning PARAMETER for a null URI.
  • tools/check_conventions.py and tools/check_test_registration.py pass.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4796903913 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2065). Originally posted by [LuisBiceps](https://github.com/LuisBiceps) on 2026-10-09T06:31:14Z. --- ### What Exports `sceSystemServiceLaunchWebBrowser` (NID `-+3hY+y8bNo`) from libSceSystemService. AnyPS5 launches no web browser, so it fails with the kernel's `EOPNOTSUPP` (0x8002002D) for any arguments, the same choice as `sceTextToSpeech2Initialize` (#1374). - RommPS (PPSA76677) 1.1.0, released today, declares `int sceSystemServiceLaunchWebBrowser(const char *uri, void *param)` ([credits.cpp L16](https://github.com/s0liton/RommPS/blob/754d4d60f25938a5136b9e2efcd074313c4386c5/platform/ps5/app/rommps/examples/rommps/kit/credits.cpp#L16)) and calls it as `sceSystemServiceLaunchWebBrowser(url, nullptr) == 0` ([L86-L95](https://github.com/s0liton/RommPS/blob/754d4d60f25938a5136b9e2efcd074313c4386c5/platform/ps5/app/rommps/examples/rommps/kit/credits.cpp#L86-L95)). - When the call fails, RommPS's message becomes "The browser didn't open. Scan the code to watch on your phone", pointing at the QR code it shows for the YouTube video ([L396-L411](https://github.com/s0liton/RommPS/blob/754d4d60f25938a5136b9e2efcd074313c4386c5/platform/ps5/app/rommps/examples/rommps/kit/credits.cpp#L396-L411)). - Opening the host's browser would not help here: the page RommPS opens, `http://127.0.0.1:8780/video?v=...`, is served by its own payload on the console ([L239-L242](https://github.com/s0liton/RommPS/blob/754d4d60f25938a5136b9e2efcd074313c4386c5/platform/ps5/app/rommps/examples/rommps/kit/credits.cpp#L239-L242)). - The console's error for an unavailable browser, its argument checks and the param layout are unknown. They are recorded in TechnicalDebt, under silent stubs and unknown function info. - PSXS5 (PPSA97510), SwanStationPS5 (PPSA98510) and ScreenTester5 (PPSA69420) import it too, behind earlier stops. RommPS 1.1.0, from its [GitHub release](https://github.com/s0liton/RommPS/releases/tag/v1.1.0) (the [homebrew catalog](https://github.com/blackbearreloaded/ps5-homebrew-catalog) reserves PPSA76677 for it; the 1.1.0 listing is pending), relinked with `--windows` and run on Windows 10: - `main` f1451396: `FAIL: unresolved ELF import -+3hY+y8bNo from libSceSystemService.prx` (`sceSystemServiceLaunchWebBrowser`) - `main` + this PR: `FAIL: unresolved ELF import QuJYZ2KVGGQ from libkernel.prx` (`shm_open`, #1860) ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. --> - `guest_system_service` now also checks that `sceSystemServiceLaunchWebBrowser` returns 0x8002002D for: - RommPS's call (a URL and a null param); - an https URL with a non-null param, which must stay untouched; - an empty URI; - a null URI. - Windows 10, MinGW-w64 GCC 15.2.0 (WinLibs `15.2.0posix-14.0.0-ucrt-r7`), Release: passes (`--repeat until-fail:3`). The NID-patched `libSceSystemService.prx` exports the NID. - Ubuntu 26.04.1 (WSL2), GCC 15.2.0, Release, `ANYPS5_ENABLE_SPIRV_TOOLS=ON`: passes (`--repeat until-fail:3`). The NID-patched `libSceSystemService.prx` exports the NID. - The test fails against 12 deliberate breakages: - returning success (as shadPS4 does), `PARAMETER`, -1, or another kernel error; - throwing `NotImplemented`; - failing only for a null param, or only for http URLs; - reading a null URI, writing the param, or succeeding for an empty URI; - returning `PARAMETER` for a null URI. - `tools/check_conventions.py` and `tools/check_test_registration.py` pass. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs) - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-09 13:12:43 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-09T13:12:43Z.


Progress report (d70b899 → 50ee20c)

📈 System libraries: 84.7% (+0.01%, +1 implemented functions)

✅ 1 implemented
Library Name
libSceSystemService sceSystemServiceLaunchWebBrowser
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6081587512 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2065#issuecomment-6081587512). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-09T13:12:43Z. --- <!-- progress-report --> ### Progress report (d70b899 → 50ee20c) 📈 **System libraries**: 84.7% (+0.01%, +1 implemented functions) <details> <summary>✅ 1 implemented</summary> | Library | Name | | - | - | | libSceSystemService | `sceSystemServiceLaunchWebBrowser` | </details>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!2065
No description provided.