fix(libSceSystemService): return what the firmware returns from 26 calls it does not implement #8303
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/8303"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by hypermoist on 2026-10-20T09:35:54Z.
What
These 26
libSceSystemServiceexports wereNotImplementedstubs. 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.xor eax, eax; retsceShellCoreUtilActivateAbort,ActivateRecordActivation,ActivateStart,ActivateStartAsync,ActivateTerm;sceSystemServiceChangeAcpClock,ChangeCpuClock,ChangeGpuClock,ChangeMemoryClock,ChangeMemoryClockToBaseMode,ChangeMemoryClockToDefault,ChangeMemoryClockToMultiMediaMode,ChangeNumberOfGpuCu,ChangeSamuClock,ChangeUvdClock,ChangeVceClockretsceSystemServiceSetOutOfVrPlayZoneWarning(returns 0 here)mov eax, 0x80a10002; retsceSystemServiceAcquireFb0,ReleaseFb0,DisablePartyVoice,ReenablePartyVoice,DisableVoiceRecognition,ReenableVoiceRecognition,LoadExecVideoServiceWebAppmov eax, 0x80a10005; retsceSystemServiceLaunchUdsApp,RequestToChangeRenderingModeThe two codes are named
SystemServiceUnavailable(0x80A10002) andSystemServiceRejected(0x80A10005), after the PS4 SDK numbering the other emulators use forSCE_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,GetProgressOfFsckandIsIDUStateread shared memory, so they are not constants.Tested
Linux (CachyOS, GCC, Release):
libSceSystemServicebuilds,check_conventionspasses, andpr_overlapfinds no overlap with open pull requests. There are no tests, since the bodies are constant returns. No title was run.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
https://claude.ai/code/session_01RbLgECLQ2bpDM7oe2urGZK
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
sceShellCoreUtilActivateAbortsceShellCoreUtilActivateRecordActivationsceShellCoreUtilActivateStartsceShellCoreUtilActivateStartAsyncsceShellCoreUtilActivateTermsceSystemServiceAcquireFb0sceSystemServiceChangeAcpClocksceSystemServiceChangeCpuClocksceSystemServiceChangeGpuClocksceSystemServiceChangeMemoryClocksceSystemServiceChangeMemoryClockToBaseModesceSystemServiceChangeMemoryClockToDefaultsceSystemServiceChangeMemoryClockToMultiMediaModesceSystemServiceChangeNumberOfGpuCusceSystemServiceChangeSamuClocksceSystemServiceChangeUvdClocksceSystemServiceChangeVceClocksceSystemServiceDisablePartyVoicesceSystemServiceDisableVoiceRecognitionsceSystemServiceLaunchUdsAppsceSystemServiceLoadExecVideoServiceWebAppsceSystemServiceReenablePartyVoicesceSystemServiceReenableVoiceRecognitionsceSystemServiceReleaseFb0sceSystemServiceRequestToChangeRenderingModesceSystemServiceSetOutOfVrPlayZoneWarning⚪ 26 behaviourally empty (constant return or throw)
sceShellCoreUtilActivateAbortsceShellCoreUtilActivateRecordActivationsceShellCoreUtilActivateStartsceShellCoreUtilActivateStartAsyncsceShellCoreUtilActivateTermsceSystemServiceAcquireFb0sceSystemServiceChangeAcpClocksceSystemServiceChangeCpuClocksceSystemServiceChangeGpuClocksceSystemServiceChangeMemoryClocksceSystemServiceChangeMemoryClockToBaseModesceSystemServiceChangeMemoryClockToDefaultsceSystemServiceChangeMemoryClockToMultiMediaModesceSystemServiceChangeNumberOfGpuCusceSystemServiceChangeSamuClocksceSystemServiceChangeUvdClocksceSystemServiceChangeVceClocksceSystemServiceDisablePartyVoicesceSystemServiceDisableVoiceRecognitionsceSystemServiceLaunchUdsAppsceSystemServiceLoadExecVideoServiceWebAppsceSystemServiceReenablePartyVoicesceSystemServiceReenableVoiceRecognitionsceSystemServiceReleaseFb0sceSystemServiceRequestToChangeRenderingModesceSystemServiceSetOutOfVrPlayZoneWarningImported 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.
core/libs/prx/libSceSystemService/PendingExports.cppcore/libs/prx/libSceSystemService/PendingExports.cpp