fix(libSceSystemService): return what the firmware returns from 26 calls it does not implement #8303

Merged
hypermoist merged 1 commit from upstream-pr/8303 into main 2026-10-21 07:41:04 +00:00
hypermoist commented 2026-10-20 09:35:54 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by hypermoist on 2026-10-20T09:35:54Z.


What

These 26 libSceSystemService exports were NotImplemented stubs. In the decrypted firmware module (system/common/lib/libSceSystemService.sprx), each body is a single return of a constant, with no IPC, no syscall and no argument use. This PR returns the same values.

Firmware body Exports
xor eax, eax; ret sceShellCoreUtilActivateAbort, ActivateRecordActivation, ActivateStart, ActivateStartAsync, ActivateTerm; sceSystemServiceChangeAcpClock, ChangeCpuClock, ChangeGpuClock, ChangeMemoryClock, ChangeMemoryClockToBaseMode, ChangeMemoryClockToDefault, ChangeMemoryClockToMultiMediaMode, ChangeNumberOfGpuCu, ChangeSamuClock, ChangeUvdClock, ChangeVceClock
ret sceSystemServiceSetOutOfVrPlayZoneWarning (returns 0 here)
mov eax, 0x80a10002; ret sceSystemServiceAcquireFb0, ReleaseFb0, DisablePartyVoice, ReenablePartyVoice, DisableVoiceRecognition, ReenableVoiceRecognition, LoadExecVideoServiceWebApp
mov eax, 0x80a10005; ret sceSystemServiceLaunchUdsApp, RequestToChangeRenderingMode

The two codes are named SystemServiceUnavailable (0x80A10002) and SystemServiceRejected (0x80A10005), after the PS4 SDK numbering the other emulators use for SCE_SYSTEM_SERVICE_ERROR_*. The stubs had no parameters and the firmware reads none, so only the bodies change.

Three exports whose bodies are also short were left alone: sceShellCoreUtilGetProgressOfFormatExternalHdd, GetProgressOfFsck and IsIDUState read shared memory, so they are not constants.

Tested

Linux (CachyOS, GCC, Release): libSceSystemService builds, check_conventions passes, and pr_overlap finds no overlap with open pull requests. There are no tests, since the bodies are constant returns. No title was run.

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 under Silent stubs in their library's technical debt file
  • 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
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes (Claude Code), reviewed by the contributor

🤖 Generated with Claude Code

https://claude.ai/code/session_01RbLgECLQ2bpDM7oe2urGZK

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4933867851 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8303). Originally posted by [hypermoist](https://github.com/hypermoist) on 2026-10-20T09:35:54Z. --- ### What These 26 `libSceSystemService` exports were `NotImplemented` stubs. In the decrypted firmware module (`system/common/lib/libSceSystemService.sprx`), each body is a single return of a constant, with no IPC, no syscall and no argument use. This PR returns the same values. | Firmware body | Exports | |---|---| | `xor eax, eax; ret` | `sceShellCoreUtilActivateAbort`, `ActivateRecordActivation`, `ActivateStart`, `ActivateStartAsync`, `ActivateTerm`; `sceSystemServiceChangeAcpClock`, `ChangeCpuClock`, `ChangeGpuClock`, `ChangeMemoryClock`, `ChangeMemoryClockToBaseMode`, `ChangeMemoryClockToDefault`, `ChangeMemoryClockToMultiMediaMode`, `ChangeNumberOfGpuCu`, `ChangeSamuClock`, `ChangeUvdClock`, `ChangeVceClock` | | `ret` | `sceSystemServiceSetOutOfVrPlayZoneWarning` (returns 0 here) | | `mov eax, 0x80a10002; ret` | `sceSystemServiceAcquireFb0`, `ReleaseFb0`, `DisablePartyVoice`, `ReenablePartyVoice`, `DisableVoiceRecognition`, `ReenableVoiceRecognition`, `LoadExecVideoServiceWebApp` | | `mov eax, 0x80a10005; ret` | `sceSystemServiceLaunchUdsApp`, `RequestToChangeRenderingMode` | The two codes are named `SystemServiceUnavailable` (`0x80A10002`) and `SystemServiceRejected` (`0x80A10005`), after the PS4 SDK numbering the other emulators use for `SCE_SYSTEM_SERVICE_ERROR_*`. The stubs had no parameters and the firmware reads none, so only the bodies change. Three exports whose bodies are also short were left alone: `sceShellCoreUtilGetProgressOfFormatExternalHdd`, `GetProgressOfFsck` and `IsIDUState` read shared memory, so they are not constants. ### Tested Linux (CachyOS, GCC, Release): `libSceSystemService` builds, `check_conventions` passes, and `pr_overlap` finds no overlap with open pull requests. There are no tests, since the bodies are constant returns. No title was run. ### Checklist - [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 under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [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] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes (Claude Code), reviewed by the contributor 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01RbLgECLQ2bpDM7oe2urGZK
github-actions[bot] commented 2026-10-20 09:36:44 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-20T09:36:44Z.


Progress report (d14a186 → 4506a0b)

📈 System libraries: 65.57% (+0.4%, +26 implemented functions)

✅ 26 implemented
Library Name
libSceSystemService sceShellCoreUtilActivateAbort
libSceSystemService sceShellCoreUtilActivateRecordActivation
libSceSystemService sceShellCoreUtilActivateStart
libSceSystemService sceShellCoreUtilActivateStartAsync
libSceSystemService sceShellCoreUtilActivateTerm
libSceSystemService sceSystemServiceAcquireFb0
libSceSystemService sceSystemServiceChangeAcpClock
libSceSystemService sceSystemServiceChangeCpuClock
libSceSystemService sceSystemServiceChangeGpuClock
libSceSystemService sceSystemServiceChangeMemoryClock
libSceSystemService sceSystemServiceChangeMemoryClockToBaseMode
libSceSystemService sceSystemServiceChangeMemoryClockToDefault
libSceSystemService sceSystemServiceChangeMemoryClockToMultiMediaMode
libSceSystemService sceSystemServiceChangeNumberOfGpuCu
libSceSystemService sceSystemServiceChangeSamuClock
libSceSystemService sceSystemServiceChangeUvdClock
libSceSystemService sceSystemServiceChangeVceClock
libSceSystemService sceSystemServiceDisablePartyVoice
libSceSystemService sceSystemServiceDisableVoiceRecognition
libSceSystemService sceSystemServiceLaunchUdsApp
libSceSystemService sceSystemServiceLoadExecVideoServiceWebApp
libSceSystemService sceSystemServiceReenablePartyVoice
libSceSystemService sceSystemServiceReenableVoiceRecognition
libSceSystemService sceSystemServiceReleaseFb0
libSceSystemService sceSystemServiceRequestToChangeRenderingMode
libSceSystemService sceSystemServiceSetOutOfVrPlayZoneWarning
⚪ 26 behaviourally empty (constant return or throw)
Library Name
libSceSystemService sceShellCoreUtilActivateAbort
libSceSystemService sceShellCoreUtilActivateRecordActivation
libSceSystemService sceShellCoreUtilActivateStart
libSceSystemService sceShellCoreUtilActivateStartAsync
libSceSystemService sceShellCoreUtilActivateTerm
libSceSystemService sceSystemServiceAcquireFb0
libSceSystemService sceSystemServiceChangeAcpClock
libSceSystemService sceSystemServiceChangeCpuClock
libSceSystemService sceSystemServiceChangeGpuClock
libSceSystemService sceSystemServiceChangeMemoryClock
libSceSystemService sceSystemServiceChangeMemoryClockToBaseMode
libSceSystemService sceSystemServiceChangeMemoryClockToDefault
libSceSystemService sceSystemServiceChangeMemoryClockToMultiMediaMode
libSceSystemService sceSystemServiceChangeNumberOfGpuCu
libSceSystemService sceSystemServiceChangeSamuClock
libSceSystemService sceSystemServiceChangeUvdClock
libSceSystemService sceSystemServiceChangeVceClock
libSceSystemService sceSystemServiceDisablePartyVoice
libSceSystemService sceSystemServiceDisableVoiceRecognition
libSceSystemService sceSystemServiceLaunchUdsApp
libSceSystemService sceSystemServiceLoadExecVideoServiceWebApp
libSceSystemService sceSystemServiceReenablePartyVoice
libSceSystemService sceSystemServiceReenableVoiceRecognition
libSceSystemService sceSystemServiceReleaseFb0
libSceSystemService sceSystemServiceRequestToChangeRenderingMode
libSceSystemService sceSystemServiceSetOutOfVrPlayZoneWarning
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6287995409 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8303#issuecomment-6287995409). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-20T09:36:44Z. --- <!-- progress-report --> ### Progress report (d14a186 → 4506a0b) 📈 **System libraries**: 65.57% (+0.4%, +26 implemented functions) <details> <summary>✅ 26 implemented</summary> | Library | Name | | - | - | | libSceSystemService | `sceShellCoreUtilActivateAbort` | | libSceSystemService | `sceShellCoreUtilActivateRecordActivation` | | libSceSystemService | `sceShellCoreUtilActivateStart` | | libSceSystemService | `sceShellCoreUtilActivateStartAsync` | | libSceSystemService | `sceShellCoreUtilActivateTerm` | | libSceSystemService | `sceSystemServiceAcquireFb0` | | libSceSystemService | `sceSystemServiceChangeAcpClock` | | libSceSystemService | `sceSystemServiceChangeCpuClock` | | libSceSystemService | `sceSystemServiceChangeGpuClock` | | libSceSystemService | `sceSystemServiceChangeMemoryClock` | | libSceSystemService | `sceSystemServiceChangeMemoryClockToBaseMode` | | libSceSystemService | `sceSystemServiceChangeMemoryClockToDefault` | | libSceSystemService | `sceSystemServiceChangeMemoryClockToMultiMediaMode` | | libSceSystemService | `sceSystemServiceChangeNumberOfGpuCu` | | libSceSystemService | `sceSystemServiceChangeSamuClock` | | libSceSystemService | `sceSystemServiceChangeUvdClock` | | libSceSystemService | `sceSystemServiceChangeVceClock` | | libSceSystemService | `sceSystemServiceDisablePartyVoice` | | libSceSystemService | `sceSystemServiceDisableVoiceRecognition` | | libSceSystemService | `sceSystemServiceLaunchUdsApp` | | libSceSystemService | `sceSystemServiceLoadExecVideoServiceWebApp` | | libSceSystemService | `sceSystemServiceReenablePartyVoice` | | libSceSystemService | `sceSystemServiceReenableVoiceRecognition` | | libSceSystemService | `sceSystemServiceReleaseFb0` | | libSceSystemService | `sceSystemServiceRequestToChangeRenderingMode` | | libSceSystemService | `sceSystemServiceSetOutOfVrPlayZoneWarning` | </details> <details> <summary>⚪ 26 behaviourally empty (constant return or throw)</summary> | Library | Name | | - | - | | libSceSystemService | `sceShellCoreUtilActivateAbort` | | libSceSystemService | `sceShellCoreUtilActivateRecordActivation` | | libSceSystemService | `sceShellCoreUtilActivateStart` | | libSceSystemService | `sceShellCoreUtilActivateStartAsync` | | libSceSystemService | `sceShellCoreUtilActivateTerm` | | libSceSystemService | `sceSystemServiceAcquireFb0` | | libSceSystemService | `sceSystemServiceChangeAcpClock` | | libSceSystemService | `sceSystemServiceChangeCpuClock` | | libSceSystemService | `sceSystemServiceChangeGpuClock` | | libSceSystemService | `sceSystemServiceChangeMemoryClock` | | libSceSystemService | `sceSystemServiceChangeMemoryClockToBaseMode` | | libSceSystemService | `sceSystemServiceChangeMemoryClockToDefault` | | libSceSystemService | `sceSystemServiceChangeMemoryClockToMultiMediaMode` | | libSceSystemService | `sceSystemServiceChangeNumberOfGpuCu` | | libSceSystemService | `sceSystemServiceChangeSamuClock` | | libSceSystemService | `sceSystemServiceChangeUvdClock` | | libSceSystemService | `sceSystemServiceChangeVceClock` | | libSceSystemService | `sceSystemServiceDisablePartyVoice` | | libSceSystemService | `sceSystemServiceDisableVoiceRecognition` | | libSceSystemService | `sceSystemServiceLaunchUdsApp` | | libSceSystemService | `sceSystemServiceLoadExecVideoServiceWebApp` | | libSceSystemService | `sceSystemServiceReenablePartyVoice` | | libSceSystemService | `sceSystemServiceReenableVoiceRecognition` | | libSceSystemService | `sceSystemServiceReleaseFb0` | | libSceSystemService | `sceSystemServiceRequestToChangeRenderingMode` | | libSceSystemService | `sceSystemServiceSetOutOfVrPlayZoneWarning` | </details>
github-actions[bot] commented 2026-10-21 03:11:21 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-21T03:11:21Z.


Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 8354 core/libs/prx/libSceSystemService/PendingExports.cpp
PR 8651 core/libs/prx/libSceSystemService/PendingExports.cpp
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6307079244 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8303#issuecomment-6307079244). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-21T03:11:21Z. --- <!-- pr-overlap --> Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 8354](https://www.github.com/boykopovar/AnyPS5/pull/8354) | `core/libs/prx/libSceSystemService/PendingExports.cpp` | | [PR 8651](https://www.github.com/boykopovar/AnyPS5/pull/8651) | `core/libs/prx/libSceSystemService/PendingExports.cpp` |
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!8303
No description provided.