Commit Graph
25 Commits
Author SHA1 Message Date
Hexwell f81c7a88d4 test: expand host unit coverage for pure OrionHEN modules
Extract host-testable helpers (GitHub commit SHA, account-id base64,
registry entity ids, playtime store, cheat flatten names, toolbox path
helpers, IPC reply body) and grow the util host suite to ~120 cases.
Also phase-split bootstrapper main for clearer launch diagnostics.
2026-07-10 17:09:54 +08:00
Hexwell b307266a65 refactor(shellui): drop UI state aliases; use g_ui exclusively
Finish ToolboxUiState migration by removing compatibility references and
updating all call sites to g_ui. Expand host tests for route matrix and
session flag/cheat-map helpers.
2026-07-10 16:52:01 +08:00
Hexwell 924cda712c refactor: split daemon commands and consolidate shellui UI state
Break daemon/commands.cpp into playtime, jailbreak, and utils TUs. Introduce
ToolboxUiState with compatibility aliases, extract pure toolbox resource
routing for host unit tests, and fix superuser empty-XML pass-through.
2026-07-10 16:48:59 +08:00
Hexwell 37276e1d8d feat(shellui): add fluent PS5 settings XML builder for dynamic pages
Introduce ps5ui::Page so cheats, plugins, remote play, and plapps UIs are
built via explicit widget calls instead of hand-written XML strings, and
cover the builder with host unit tests.
2026-07-10 16:26:05 +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 eb353bb16d refactor(shellui): split prx and HookFunctions god TUs
Extract overlay widgets, navigator, manifest stream, launch/terminate,
background threads, and prx install/overlay helpers into focused files.
prx.cpp keeps inject bootstrap main; HookFunctions keeps shared hook
state and glue.
2026-07-10 15:49:47 +08:00
Hexwell c278453cb5 refactor(shellui): break ipc.hpp→HookedFuncs and extract types
ipc.hpp is now a thin orion/ipc_client seam. Domain enums/settings live in
shellui_types.hpp; HookedFuncs remains the Mono-hook umbrella.
2026-07-10 15:38:43 +08:00
Hexwell 0e24f2da17 refactor: migrate platform leaves and split ShellUI OnPress
Wire daemon/util/shellui/bootstrapper to liborion_platform and
liborion_proc (orion_notify, OrionHEN_log configure, find_pid, if_exists).
Split MonoUtils into mono_runtime/toolbox_xml/settings_ui/shellui_* and
replace the OnPress id bus with table-driven domain handlers.
2026-07-10 15:29:32 +08:00
Hexwell 4fd679b6b8 refactor(injectee): share Detour/hde64 and proc/ucred via static libs
Replace per-module Detour, hde64, proc, and ucred copies in shellui/fps_elf
with shims over liborion_detour and liborion_proc so injectee low-level fixes
land once.
2026-07-10 14:41:55 +08:00
Hexwell c06bf078a1 refactor(settings): hold orion::Settings as the single process store
Wire daemon/util/shellui Load/Save through liborion_settings. Daemon and util
use g_settings directly; util keeps atomic legacy CMD flags for the hot path.
Slim daemon globalconf.hpp to StartOpts + g_settings and move UserService ABI
locals into commands.cpp.
2026-07-10 14:41:55 +08:00
Hexwell ea9cf078d2 refactor(ipc): share client/server transport and split command dispatch
Point shellui/fps clients at liborion_ipc dual-singleton client. Move daemon
and util Unix listen/accept loops onto shared ipc_server. Extract handleIPC
into ipc_handle.cpp so transport stays in msg.cpp and command tables can
evolve independently.
2026-07-10 14:41:55 +08:00
Hexwell 793719abf4 refactor(cheats): C++ service/parsers and remove RELOAD index cache
Move util cheats orchestration to C++ (CheatService, Repository, Applier,
IMemoryBackend, ICheatParser factory for json/shn/mc4 with ShnExt C adapter).
Drop the obsolete RELOAD_CHEATS UI/IPC path; reloads use file-signature hot
reload only. Document util cheats architecture under docs/util_arch.
2026-07-10 14:06:42 +08:00
Hexwell 07211b416b feat(shellui): wire cheats UI to flat TITLE_VERSION layout
Pass game version on toggle IPC, update cheats path copy for json/shn/mc4/ShnExt,
and refresh architecture docs for the new util cheat engine.
2026-07-10 13:47:31 +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 d28f4e3eb1 chore: rebrand runtime paths and identifiers to OrionHEN
Rename remaining etaHEN symbols, log prefixes, on-disk paths, plugin
magic, process names, and copyright headers across bootstrapper, daemons,
shellui, and util without keeping legacy aliases.
2026-07-10 13:06:58 +08:00
Hexwell 2b2a58cc16 refactor: migrate daemon and IPC JSON parsing to orion_cjson
Replace tiny-json and nlohmann::json call sites in daemon/util/shellui
IPC paths with orion_cjson RAII helpers for safer parse/print ownership.
2026-07-10 13:06:41 +08:00
Hexwell ce14f9f6aa cleanup: remove deprecated toolbox services 2026-07-10 12:25:16 +08:00
Hexwell ad3e25d689 ui: refresh toolbox menu and assets 2026-07-10 12:24:54 +08:00
Hexwell 8f581dd5b2 fix: DebugSettings legacy redirect 2026-07-10 02:42:31 +08:00
Hexwell a8cf6bd6d8 fix: sceShellUI hook 2026-07-10 02:14:35 +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 8375128e59 feat: launch util/daemon/kstuff via external elfldr on 9021
Drop in-process spawn for HEN components. Write ELFs under
/data/etaHEN/daemons and hand off file: URIs to the host elfldr service.
Add elfldr_remote helpers and wire bootstrapper/daemon/util CMake and call sites.
2026-07-10 01:04:15 +08:00
Hexwell 37b0ff3143 init: init 2026-07-09 23:48:02 +08:00