No /data directory: homebrew titles that see uid 0 expect the jailbroken /data and stop without it (PS5CEMU-HAR, ProsperoEden) #4643
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 babyhuey on 2026-10-12T17:27:10Z.
Homebrew titles see uid 0 under AnyPS5 (PS5SX2 logs
already root (euid 0), ProsperoEdenuid 0/0). On a console that means a HEN has jailbroken the app and/datais reachable. AnyPS5 creates/download0at start-up (AppMetadata.cpp) but nothing creates/data, so a guest path under/dataresolves to a missingdatadirectory in the run folder. At least two catalog titles treat that as "no jailbreak" and stop before showing anything.PS5CEMU-HAR (PPSA99360, 3.5.0). It relinks with
--trap-sdk-syscall-stubsand needs open PRs for its imports (#3787, #4514, #4467, #4462, #4469). With those onmain2a5eca11it loads every import, then:After
mkdir datain the run folder, the same build logs/data reachableand continues until thepoll: descriptor 8 is not a socketthrow that #3649 fixes. It also looks for its files under/data/homebrew/PPSA99360, where the console's homebrew installer puts them.ProsperoEden (PPSA99008). On plain
main2a5eca11(with--trap-sdk-syscall-stubs), it opens/data/.lapy_probe_16(flags 0xA02) in a loop for about 2.5 s, then aborts:With a
datadirectory, it gets access straight away and runs on tosceVideoOutOpen, which is as far as a headless run can go:Ruffle (PPSA68091) also logs
can't write /data/ruffle/ruffle.logonmain, but it carries on without its log.Windows 11 (WinLibs GCC 15.2) matches for ProsperoEden:
status=9after the probe loop onmain, thenstatus=0with an emptydatafolder. There it then gets past video out and opens its launcher (egl 1.4 surface 1920x1080,gl 4.6 ... renderer="PS5 AGC"). Linux numbers above are Ubuntu 24.04, GCC 13.Possible directions: create a
datadirectory at start-up the way/download0is created, or alias/datato a per-title host folder. If titles' own/data/homebrew/<title id>paths should see their files, that needs an alias to/app0as well. I haven't looked at which fits the launcher better.Imported from boykopovar/AnyPS5. Originally posted by David-cmrg on 2026-10-12T17:33:05Z.
I'm working on the first direction: creating
databesidedownload0at start-up (AppMetadata.cpp), with a guest test, and checking it with ProsperoEden (PPSA99008) on Linux. A PR will follow.