19 Commits
Author SHA1 Message Date
Hexwell fbf4c3c64b chore: remove unused ELF self-integrity
Ed25519 signing no longer adds useful friction. Drop
libonion_integrity, tools/elf_sign, and the XOR integrity toasts
so builds no longer sign daemon.elf.
2026-08-17 10:45:02 +08:00
Hexwell 9736b1f99a feat: obfuscate beta banner and boot notify strings
Keep redistribution and integrity notices out of ELF .rodata by storing
XOR+position-math blobs and decoding at runtime, so casual string search
cannot locate and patch them. Covers toolbox XML banner, bootstrapper
debug toasts, and the shared integrity failure path in daemon.
2026-08-03 20:05:29 +08:00
Hexwell c821c252f0 refactor(shellui): build toolbox menu via ps5ui::Page
Generate the main toolbox XML at runtime with the fluent builder and drop
the encrypted static embed, encryptxml pre-build step, and decrypt path.
2026-07-15 17:53:18 +08:00
Hexwell 42b7523ff4 fix(fps): SHM overlay path; disable freezing GNM detour
Ship the PHU-style ShellUI top bar and file SHM channel for FPS samples.
Soft-inject fps_elf without process suspend (suspend+ptrace hung titles).

Document and gate the confirmed freeze: DetourFunction on the linked
sceGnmSubmitAndFlipCommandBuffersForWorkload entry (prologue size 17)
freezes games even after a 20s defer. Keep ORION_FPS_ARM_GNM_HOOK=0 so
inject only opens SHM until a safe flip probe is verified.

See docs/fps-overlay-known-issues.md.
2026-07-11 00:40:28 +08:00
Hexwell db4fdda753 feat(daemon): shutdown stack via IPC and LAN TCP :9048
Add BREW_SHUTDOWN_STACK (0xDEAD0002): kill util.elf, ForceKill SceShellUI,
then exit the crit daemon. Expose the same sequence on TCP port 9048 with
ORIO magic frames so a PC can tear down OrionHEN over the LAN.

Provide scripts/shutdown_orion.py (kill_daemon.py becomes a thin alias) and
IPC_Client::ShutdownStack for on-console Unix clients.
2026-07-10 22:35:00 +08:00
Hexwell 352d682cd2 refactor: drop plugins; OrionHEN only supports payload .elf
Remove the .plugin package format and rename the stack to payload-only:
liborion_plugin → liborion_payload, IPC LAUNCH_PAYLOAD, UI payloads.xml,
and bootstrapper/util/shellui load paths under .../payloads/*.elf.

Delete dead package header validation, make_plugin_app staging, and
plugin-named lists/handlers; keep Sony Settings.Plugins resource namespace
and system_settings plugin= attributes (platform, not our format).
2026-07-10 22:28:19 +08:00
Hexwell eb058b3ee5 fix(shellui): match XOR key for toolbox XML; allocate RWX detour stubs
encryptxml used the Base64 string as the XOR key while runtime decrypted
with base64_decode(key) ("SISTR0_I_SEE_YOU"), producing garbage menus.
Regenerate sxml with the decoded key; fix enc_ver the same way.

DetourFunction used malloc for trampolines and ignored mprotect failures,
causing SIGILL/SIGSEGV when jumping to non-executable stubs. Allocate via
mmap+mprotect, page-align target mprotect, and fail closed on errors.
2026-07-10 18:40:56 +08:00
Hexwell 96533ccf4d chore: purge DPI/microhttpd leftovers and unused AppInst stubs
Delete error_translator.hpp, microhttpd.h, and libmicrohttpd.a left after
removing DirectPKGInstaller. Strip unused AppInst types from util/daemon,
drop SceAppInstUtil link where no longer needed, remove dead dpi/kernelrw
thread stubs, drop the toolbox microhttpd credit, and refresh README.
2026-07-10 16:05:46 +08:00
Hexwell ff40042d84 chore: keep only system PkgInstaller; remove DPI and custom PKG UI
Delete DirectPKGInstaller and the toolbox DPI toggle. Remove the custom
background package installer (custompkginstaller XML generation and
id_pkg_ handlers). Package install remains the stock PkgInstaller link
in OrionHEN_toolbox.xml. Leave BREW_UTIL_UNUSED_DPI ordinal for IPC
compatibility.
2026-07-10 16:03:27 +08:00
Hexwell 0d40692219 chore: remove Direct PKG Installer v2 (WebUI :12800)
Drop the microhttpd-based DPIv2 server and settings/UI/IPC knobs. Keep
TCP DPI on port 9090 only; custom package install no longer routes through
127.0.0.1:12800. Unlink libmicrohttpd from util.
2026-07-10 16:00:23 +08:00
Hexwell dc9430377c chore: remove dead ShellCore patch and PS5Debug stubs
Delete util_shellcore and the disabled Allow_data_in_sandbox feature
(settings field, toolbox toggle, onpress/onprecreate handlers). Drop the
no-op load_ps5debug_thr and id_sistro_ps5debug handler; keep credits label
only. Strip firmware pattern tables and hex_lut that only served the
historical ShellCore /data sandbox patch.
2026-07-10 15:57:33 +08:00
Hexwell da96d9a58e refactor: remove TestKit support
Drop the Toolbox TestKit menu and kit Mono hooks, sceKernelIsTestKit
probes in util/daemon/bootstrapper, and client IsTestKit helpers.
BREW_TESTKIT_CHECK remains an unused IPC ordinal for compatibility.
2026-07-10 13:24:00 +08:00
Hexwell 5d646266ea refactor: remove FTP/Klog services and document architecture
Drop the util FTP (1337) and Klog (9081) servers, Toolbox UI toggles, and
config keys. Keep former IPC command ordinals as UNUSED_* for compatibility.
Add docs/arch.md covering modules, IPC, features, and dependencies.
2026-07-10 13:14:52 +08:00
Hexwell 04462fbe7f ui: rename toolbox and brand assets to OrionHEN
Rename toolbox XML/SXML, settings icon, and marketing assets so embeds
and encrypt paths match the OrionHEN brand.
2026-07-10 13:06:48 +08:00
Hexwell ad3e25d689 ui: refresh toolbox menu and assets 2026-07-10 12:24:54 +08:00
Hexwell 728c9ba79e update: drop kstuff pause/resume from OrionHEN toolbox path
Leave kstuff sysentvec pause/unpause to dedicated plugins. Remove pause UI,
shortcuts, auto-pause on launch/close, and daemon inject pause/resume.
Point Debug Settings deeplinks to function=debug_settings_old (Legacy ui3 /
GMRS) on FW 11.6 RN Settings. Add OBJECT_DEPENDS so shellui/daemon embeds
rebuild correctly.

Note: experimental Detour I-cache flush was never kept — not included.
2026-07-10 01:47:11 +08:00
Hexwell f6d1675ca4 update: fix toolbox inject race and drop sandbox /data patch
Serialize kstuff before daemon toolbox inject, wait for mprotect, avoid
ForceKill on ShellUI timeout, and disable Allow_data_in_sandbox ShellCore patch.
2026-07-10 01:04:16 +08:00
Hexwell 23156e8d30 chore: remove unused optional dependencies and embeds
Drop libSelfDecryptor, vendored SDL2/git2/curl headers, Discord RPC,
stale release binary, and related CMake/embed wiring not used by OrionHEN.
2026-07-10 01:04:02 +08:00
Hexwell 37b0ff3143 init: init 2026-07-09 23:48:02 +08:00