ps4-hen-vtx
ps4-hen-vtx copied to clipboard
Allow usb hub connection for external hdd
The PS4 will give the error below if external storage is not connected directly to a single usb port. This ShellCore patch bypasses that requirement.
It's useful for those who want to use more than one usb hub or dedicate one port for usb audio while still having the ability to run off the external hdd.
I've also added a patch to bypass the usb 3.0 speed specification check. This allows usb 2.0 external drives to be connected.
Please note that these patches do NOT cover the extended storage format process. The external hdd must still directly be connected with usb 3.0 for the initial format.
Second note is if using a hub, the hdd should be connected AFTER enabling Hen otherwise the PS4 will fail to use the drive as extended storage. This is slightly inconvenient however we shouldn't be having external drives connected while triggering the exploit anyway.
// 5.05 offsets
#define ext_hdd_usb_spec_patch 0x183526
#define ext_hdd_usb_hub_patch 0x1A5E5F
// 6.72 offsets
#define ext_hdd_usb_spec_patch 0x19CB5F
#define ext_hdd_usb_hub_patch 0x1C65F1