Skip to content

13.60: libSceAmpr.sprx fails SELF auth (error 46 / 0xa0020104) for PPSA15035 from exFAT and loose folder — same file loads in other contexts #227

Open

Description

@ShaneBreazeale

Summary

On FW 13.60, libSceAmpr.sprx is refused by the SELF auth path (error 46) for Beat Saber PPSA15035, both from an .exfat image and from a loose folder dump. The same file loads fine in two other contexts (see below), so this looks like a per-title/context gap in the auth path rather than a config error.

Environment

  • FW: 13.60
  • SMP: 1.7beta12 (POST /api/v1/version → shadowmount_version: 1.7beta12). Also reproduced on 1.7beta11 and 1.7beta5fix1.
  • kstuff: kstuff-lite v1.11, official release asset (kstuff.elf, 1,737,080 B), loaded before SMP via Payload Manager autoload.
  • Game: Beat Saber PPSA15035, launched from /data/homebrew/PPSA15035.exfat (6,285,164,544 B, v01.037.000, requiredSystemSoftwareVersion 0x1120…, contains dlc_emu.ini and a 4-file fakelib/). A loose folder dump of v01.012.000 behaves the same way.
  • fakelib: fakelib_mode=PPSA15035:emulators, update_emulators=1, everything else at defaults (exfat_backend=lvd, ro=1, backport_fakelib=1).
  • All game files/dirs verified 0777 (271 files, 23 dirs).
  • Account activated + fake sign-in (ProsperoMgr 1.2.1). PS4 titles uninstalled, database rebuilt.

Symptom (immediate, before the game runs)

[KERNEL] self_pager_activate:857: sceSblAuthMgrAuthHeader returned unexpected error 46
[KERNEL] 860:A: unexpected error 46
[rtld] ERROR self_load_shared_object:2758: B: error 46 (libSceAmpr.sprx)
[rtld] ERROR do_load_object:4355: C: Load error (libSceAmpr.sprx)
# exception: 0xa0020104 (PRX_PROCESS_STARTUP_FAILURE)

Preceded by sceSblAuthMgrAuthHeader(324) readHeader -37 and ERROR: readHeader(865) invalid state.

Reproduced with (all identical)

variable values
SMP 1.7beta5fix1, 1.7beta11, 1.7beta12
source .exfat image (their v01.037), loose folder v01.012
exfat_backend lvd (BFS fast path, optimized-1.7) and md
fakelib mode emulators, full, global fakelib overlay, hand-placed fakelib/libSceAmpr.sprx
mounts ro=0, ro=1
kstuff official v1.11, and a stock 1.13 build

Image mount itself is healthy:

[IMG] Mounting image (exfatfs, optimized-1.7): /data/homebrew/PPSA15035.exfat -> /mnt/shadowmnt/PPSA15035_4b42ff37
[IMG][LVD] Mounted (exfatfs) /dev/lvd2 -> /mnt/shadowmnt/PPSA15035_4b42ff37
[IMG] FS stats: ... type=exfatfs bsize=65536

The two contexts where the same emulator does load

  1. Same game, LZ4-packed folder (v01.012): the packer's runtime loads —
    [AMPR_EMU] name=libSceAmpr version=0.4.2.1 (c) Drakmor build=Sep 6 2026 — and the game then exits itself with 0xa0020318 (SYSTEM_ABNORMAL_TERMINATION_REQUEST).
  2. Different title, folder source: 007 First Light PPSA11386 loads its folder fakelib/libSceAmpr.sprx (774,536 B, also a bare ELF) without complaint from the same kstuff/SMP.

The image's fakelib (reproduced byte-exact) is:

libSceAmpr.sprx                 466,916   ELF (7f454c46)
libSceAppContent.sprx            98,652
libSceGameUpdate.sprx            67,676
libSceNpEntitlementAccess.sprx   97,892

Question

  1. Is the SELF-auth path expected to load ELF (unselfed) modules from an image mount and from a loose folder, or only from specific locations? error 46 at readHeader suggests the loader parsed the file as a SELF.
  2. Is there a known error 46 / 0xa0020104 for libSceAmpr on 13.60 with PPSA15035 specifically? Related: Recognize ampr-emu-ng and keep it updated #200 (ampr-emu-ng recognition).
  3. Anything else SMP-side to check — the fakelib overlay composition for mode: emulators on an image source?

Happy to attach full debug.log, /dev/klog captures (with the crash registers, thread names and module fingerprints) or run any diagnostic build.

Activity

  1. ShaneBreazeale commented on Nov 18, 2026

    @ShaneBreazeale
    Author

    Kernel-log excerpt for the failing launch (13.60, SMP 1.7beta12, kstuff-lite v1.11 official, fakelib_mode=PPSA15035:emulators, their v01.037 exFAT). Captured with klogsrv on TCP 3232, IPs redacted.

    <118>[SceLncService] PrepareProcessLaunchDebugger() returned
    <118>[SceLncService] sandboxType={0x00000002}
    <118>[SceLncService] W:\Build\J03950016\vsh\shell\shell_core\lnc_service\lnc_application.cpp(655) initializeMountRoot: LNC_RTRACE::0x80020011
    <118>[SceLncService] spawnApp
    <118>[Syscore App] createApp PPSA15035
    <118>[Syscore App]  ExpandCpuSetMode : disable
    <118>[AvControl] onAppLaunch(appid=0x2019)
    <118>[AvControl] Entry appId(0x2019) supplementaryInfo: 0x0 
    <118>[AvControl] -- app[0](appid=0x2019 attr=0xc0e0057)(GAME RUNNING)(HDR:x HFR:x VR:2 VRR:Boost 8K:x) SpecialModeInBg(none) HDCP23(none) supInfo(0x0)
    <118>[AvControl] start videoout session (app:0x2019) 
    <118>[AvControl] App Event[POST_BEGIN]: elapse 0[ms] 
    <118>[Syscore App] processSpawn(pid, 0x2019, 0x120191a0, appParam, processParam, 1, 1, 1, param, debug, 0)
    <118>[Syscore App] appParam: appType = 0, titleId = PPSA15035
    <118>[Syscore App] new pid=0x63[Syscore App] attributeExe= 0
    <118>[AvControl] AudioOut: shared (pid=0x63)
    <118>[AvControl] VideoOut: shared (pid=0x63 appId=0x2019)
    <118>[AvControl] video owner is switched to registered app(appId=0x2019) 
    <118>[Syscore App] Ready to exec
    <118>[Syscore App] wait for NOTE_EXIT|NOTE_EXEC
    [KERNEL] INFO: Disable workaround PPRREQ55470_NO_ADDITIONAL_DMEM_192MB
    <118>[Syscore App] Add event : pid=0x63
    <118>[AppMgr Trace]: New Process, pid=0x63, created.
    <118>[AppMgr Trace]: New App, appId=0x2019, created
    <118>[Syscore App]  ExpandCpuSetMode : disable
    <118>[SceLncService] update: appId={0x00002019} appSessionId={63930618886933122}
    [KERNEL] INFO: pid 99
    [KERNEL] INFO: Application Category Type: 00000000
    [KERNEL] INFO: SDK vesion: PS4:11590001 PPR:09000040
    [KERNEL] INFO: Total Memory Size: 0x32d600000
    [KERNEL] INFO: DMEM size: 0x300000000
    [KERNEL] INFO: FMEM size: 0x1c000000
    <118>[UninstallRecommend] SetRankByAction [title_id:PPSA15035], [rank:0], [hdd_type:INTERNAL], [atime:2026-11-18 17:14:47.435]
    [KERNEL] INFO: NDA Text size: 0
    [KERNEL] INFO: CPU/GPU page table count: 0x4000 0x4000
    <118>[SceLncUtil] blockAppSuspend: name={SceNpUds}, appId={0x00000007}, refCount={1}
    <118>[SceLncUtil] unblockAppSuspend: name={SceNpUds}, appId={0x00000007}, refCount={0}
    [Amm] pid=99 fastTlbi is enabled
    <118>[ResArbitrator][QUEUE    ]Enqueue                 [187e2]( 40)  : Enqueue(id[0], t[1], user[0] state[RUNNING] appId:[0x2019]) size[1]
    <118>[ResArbitrator][TestId   ]lncEventCallback        [187e2]( 77)  : Set Target BigAppId[0x2019] pid[0x63]
    <118>[ResArbitrator][VA_main  ]GetMediaAppInfo         [187e2](124)  : sceKernelGetAppCategoryType(0x63) ret:SCE_OK categoryType[0x0]
    <118>[ResArbitrator][App      ]GetExecutable           [18963](151)  : Target id[0] budgets{vcn[  0] scanin[-] acp[ 0] mem[  0]} prio[2(2)]
    <118>[ResArbitrator][App      ]ChangeState             [18963]( 49)  : replace id[0] state:['RUNNING'->'RUNNING']
    <118>[ResArbitrator][App      ]SetVCNBudget            [18963](656)  : vcnType is TYPE_UNKNOWN.vcn budget not set.
    <118>[ResArbitrator][RA_main  ]cbResult                [18963](358)  : Callback id[0] type[RESULT] result[true] state[RUNNING]
    <118>[ResArbitrator][TestId   ]raCallback              [18963](141)  : BigApp[0x2019] Changed state"RUNNING"
    <118>[ResArbitrator][QUEUE    ]Remove                  [18963]( 76)  : Remove:(id[0] state[RUNNING] type[1]) queue.size[0]
    <118>[ResArbitrator][App      ]Dump                    [18963](547)  : -- Exec Apps *************************
    <118>[ResArbitrator][App      ]Dump                    [18963](556)  : -1: Id[  0] state[RUNNING] vcn[  0] scanin[-] acp[ 0] mem[  0] prio[2(2)] from[DIRECT(0x0)] user[0x0] appId[0x2019]
    <118>[ResArbitrator][App      ]Dump                    [18963](564)  : -2: Id[100] state[RUNNING] vcn[  0] scanin[-] acp[ 0] mem[  0] prio[0(0)] from[IPMI(0x20ee387a0)] user[0x0] pid[0x46]
    <118>[ResArbitrator][App      ]Dump                    [18963](564)  : -3: Id[190] state[RUNNING] vcn[  0] scanin[-] acp[ 0] mem[ 34] prio[10(10)] from[DIRECT(0x0)] user[0x0] pid[0x3b]
    <118>[ResArbitrator][ScanIn   ]Dump                    [18963](548)  : --ScanIn mode:[1440P] 0[-1,-] 1[-1,-] 2[-1,-] 4K2K[false] Fixed4K[false] A[3,false] Cng[true] 8KReady[false]
    <118>[ResArbitrator][App      ]Dump                    [18963](878)  : -- No kicking Apps *************************
    <118>[NoticeScreenSkip] start NoticeScreenSkipTimerThread wait_time = 120 sec
    W:/Build/J03950001/sys/mp4/x86/kernel/modules/a53mm/a53mm.c(468) a53mm_prepare_pid2 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    <118>[PFAuthClient][ERROR]pf_auth_client_request_for_ppr.cpp(464) Failed(ret=0x8041013d)
    <118>[PFAuthClient][ERROR]pf_auth_client_request_for_ppr.cpp(258) Failed(ret=0x8041013d)
    <118>[PFAuthClient][ERROR]pf_auth_client.cpp(84) Failed(ret=0x8041013d)
    <118>[PFAuthClient][ERROR]pf_auth_client.cpp(90) Notified error:(0x8041013d)
    <118>[SceLncUtil] blockAppSuspend: name={SceNpUds}, appId={0x00000007}, refCount={1}
    <118>[SceLncUtil] unblockAppSuspend: name={SceNpUds}, appId={0x00000007}, refCount={0}
    <118>[SceLncUtil] blockAppSuspend: name={SceNpUds}, appId={0x00000007}, refCount={1}
    <118>[SceLncUtil] unblockAppSuspend: name={SceNpUds}, appId={0x00000007}, refCount={0}
    <118>[SceLncUtil] blockAppSuspend: name={SceNpUds}, appId={0x00000007}, refCount={1}
    <118>[SceLncUtil] unblockAppSuspend: name={SceNpUds}, appId={0x00000007}, refCount={0}
    <118>[SceLncUtil] blockAppSuspend: name={SceNpUds}, appId={0x00000007}, refCount={1}
    <118>[SceLncUtil] unblockAppSuspend: name={SceNpUds}, appId={0x00000007}, refCount={0}
    <118>[AppDb][AppInfo] onNewClient()[64]: start
    <118>[AppDb][AppInfo] onNewClient()[81]: pid: 0x3e
    @
    W:/Build/J03950001/sys/mp4/x86/kernel/modules/a53mm/a53mm.c(469) a53mm_prepare_pid2: wac_PPRREQ101907_enabled=0
    W:/Build/J03950001/sys/mp4/x86/kernel/modules/a53mm/a53mm.c(470) a53mm_prepare_pid2 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    [BAPM] CPU/GPU Frequency: Gen2 UB High CPU Frequency
    [BAPM] Param Set: 7 (Ver:09000040)
    <118>[NoticeScreenSkip] NoticeScreenSkipGetFlag(notice_screen_skip_flag= 0, appId= 0x00002019)
    [MP1] Set CNN WAR VolMargin = 0000004B
    [MP1] Enable CNN WAR Global Flag
    <99> EXEC /app0/eboot.bin [user], vm#1, dmem#1 abi=native category=native_game <156495 msec>
    ERROR: readHeader(865) invalid state
    ERROR: sceSblAuthMgrAuthHeader(324) sceSblAuthMgrAuthHeader:readHeader -37
    [KERNEL] self_pager_activate:857: sceSblAuthMgrAuthHeader returned unexpected error 46
    [KERNEL] 860:A: unexpected error 46
    [KERNEL] 862:A: size 0x1d
    [rtld] <99> ERROR self_load_shared_object:2758: B: error 46 (libSceAmpr.sprx)
    [rtld] <99> ERROR do_load_object:4355: C: Load error (libSceAmpr.sprx)
    #
    # A user thread receives a fatal signal
    #
    # exception: 0xa0020104 (PRX_PROCESS_STARTUP_FAILURE)
    # thread ID: 101893
    # thread name: eboot.bin
    # proc ID: 99
    # proc name: eboot.bin
    #
    # registers:
    # rax: 0000000000000000  rbx: 0000000009000040
    

    Full logs (klog + debug.log per attempt, all variants in the matrix) available on request, as is the byte-exact 4-file fakelib and the image itself if useful for reproduction.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions