Kstuff Lite 1.02 Supports Firmware 3.00-12.00
A huge thanks to @sleirsgoevy for the help and creating this project, and to @zecoxao, @flatz, @idlesauce, @buzzer-re, @Al-Azif and everyone else who contributed. Your work and support are greatly appreciated!
🔹 Changelog
Merged upstream improvements from @drakmor
Major Changes
• Significant performance optimizations in uelf/fSELF and PFS/NPDRM crypto paths
• Reduced overhead in crypto hot paths (FPKG, PFS decryption, key scheduling)
• Improved caching throughout the loader
Detailed Changes
Crypto & PFS Optimizations
• Optimized fpkg crypto hot paths
• Specialized HMAC-SHA256 for fake-key crypto paths
• Added request-local virt2phys caches for PFS crypto paths
• Cached expanded XTS keys per fake-key handle
• Cached PFS crypto state by key ID
• Cached NPDRM debug RIF key schedule
• Switched NPDRM hashing to minimal SHA wrapper
• Added destructive SHA256 final
• Dropped per-CPU cache atomics
• Persisted PFS crypto caches across requests
• Made PFS crypto cache request-local in ps5-kstuff
uelf / fSELF Improvements
• Cached parsed state and streamlined SELF handling
• Reapplied hardening guards after cache split
• Cleaned up cmd6 readability in uelf/npdrm
• Automatic memory allocation for module loading
• Reuse zero buffer during kernel loads
Loader & Startup Changes
• Optimized startup shellcore lookup and CR3 setup
• Restored legacy shellcore process lookup
• Optionally disable automatic mounting
Build & CI Updates
• Updated GitHub Actions SDK bootstrap
• Made payload build flags configurable
• General source cleanup (no version bump)
Thanks
Big thanks to @drakmor for these optimizations!
Compatibility
Firmware 3.00 – 12.00
📂 Original Source:
github.com/sleirsgoevy/ps4jb-payloads/tree/bd-jb