How theofficialflow/adrenaline works
Project type and purpose
• This is a native-C, multi-module firmware hack for the PS Vita that patches the official PSP emulator (pspemu) via the taiHEN CFW framework to run a PSP 6.61 custom firmware.
• It consists of a Vita “bubble” app, kernel-mode plugin, user-mode plugin(s), VSH-mode plugin, and a suite of payload modules (the CEF folder) that perform various boot-time and runtime patches.
File structure
• Top-level directories:
• bubble/ – the Vita LiveArea “bubble” application that downloads the PSP firmware, packages all modules, and launches pspemu
• cef/ – “Custom Exploitation Framework” payload modules (payloadex, rebootex, systemctrl, inferno driver, recovery menu, updater, popcorn, vshctrl, etc.) each built with its own Makefile and linker script
• kernel/ – the kernel-mode hook module (adrenaline_kernel.skprx) built via CMake, injected at IPL via taiHEN
• user/ – the user-mode plugin (adrenaline_user.suprx) and supporting libraries/drivers (flashfs, msfs, lz4, menu, pops, USB, states, math_utils)
• vsh/ – VSH (shell) plugin (vshctrl) plus isofs_driver code to mount ISOs and virtual PBP files
• Build/config files: CMakeLists.txt, Makefiles, exports.yml/exports.exp, linkfile.x, various .h/.c/.S files
README for additional insights
• Describes injection points (inject code into IPL), install/update instructions copying modules into ux0:app/PSPEMUCFW/sce_module, reliance on taiHEN’s config.txt for kernel module loading.
• Lists high-level features implemented by the various modules (graphics filters, PS1 support, savestates, USB toggle, recovery menu, resolution patches).
Step-by-step sketch approach
• Hook points: “NID patch”, “syscall intercept”, “file-system hook”.