Skip to content

Accounts › Users rename always fails: 0x800D0208 = SCE_REGMGR_ERROR_PRM_SIZE (registry field size 32 vs 17) #940

Done

Description

@david20210608-cmd

Where in the app?

  • Something else

What happened, and what did you expect?

Renaming a user in Accounts › Users fails on every attempt with:

502: rename rejected by the console (registry err_code 0x800D0208) —
needs a ucred-elevated payload

I expected the registry slot name to update like the login-screen name does.
This is not a privilege problem: per the PS5 Dev wiki error-code list,
0x800D0208 is SCE_REGMGR_ERROR_PRM_SIZE — a parameter-size rejection.
The helper passes PROFILE_NAME_MAX (= 32, payload/include/profile.h:33) as
the registry field size, but the user_name entity (key
125829632 + (slot-1)*65536) is registered with a field size of 17 (see the
OffAct-derived entity table in francoataffarel/ActRemoteLink,
actremotelink_agent.c:549: {"user_name", 125829632, 1, 17}).

The code comment above profile_slot_set_name() (payload/src/profile.c,
~line 46) already states the contract — "sceRegMgrSetStr is told the FIELD's
size and reads that many bytes" — it is just being given the caller buffer size
instead of the entity's registered size. Note that profile_slot_set_type()
in the same file passes PROFILE_TYPE_MAX (17), which happens to be correct
for the type entity — so this looks like an oversight rather than intent.

Because the slot name (and the NP_online_id entity, key 125874188, also
size 17) never updates, remote play clients keep showing the stale name.

Minor suggestion: mapping SCE_REGMGR_ERROR_PRM_SIZE to a size-mismatch hint
instead of "needs a ucred-elevated payload" would save other users from
chasing kernel-privilege theories (that message cost me a day).

Steps to make it happen again

  1. Jailbreak (Relapse) → onionHEN v0.9.0 (built-in kstuff-lite 1.11) → kraken-mount autostart; helper loaded via ps5-payload-dev elfldr on 9021, other privileged operations behave normally
  2. Web UI → Accounts › Users → rename the slot-1 user (offline-activated, backup-restored account)
  3. The 502 error appears every time; rebooting and re-sending the helper changes nothing

How often?

  • Every time

PS5Upload version

12.6.26

The app runs on

  • Browser (web UI or Docker engine)

PS5 model

  • PS5 Slim

PS5 firmware

12.40

Other payloads running on the PS5

Relapse exploit → onionHEN v0.9.0 → kraken-mount (autostart) → pldmgr. Helper sent through the elfldr on port 9021.

Logs (if you have no bug report zip)

Error: rename rejected by the console (registry err_code 0x800D0208) — needs a ucred-elevated payload

Suggested fix

#define PROFILE_NAME_FIELD_SIZE 17   /* Sony's registered entity size */

int profile_slot_set_name(int slot, const char *name, uint32_t *out_err_code) {
    char field[PROFILE_NAME_FIELD_SIZE] = {0};
    if (!name) return -1;
    snprintf(field, sizeof(field), "%s", name);
    return sys_registry_set_str(KEY_NAME(slot), field,
                                PROFILE_NAME_FIELD_SIZE, out_err_code);
}

Happy to test a patched payload on FW 12.40.

Activity

  1. phantomptr commented on Nov 26, 2026

    @phantomptr
    Owner

    Fixed in 12.6.31, and thank you for the precise diagnosis: the name was written with the wrong field size. It now uses the field's own size (17), names are limited to 16 bytes with a clear message when one is too long, and a size refusal no longer talks about privileges. Renaming does not write NP_online_id: that belongs to the sign-in state, so I left it alone. This was not tried on a console, so if the rename still fails, reply here with the new message and I'll reopen this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions