Allow usb hub connection for external hdd#6
Open
OsirizX wants to merge 2 commits intoSiSTR0:masterfrom
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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