Once your PS4 is jailbroken and your USB is connected, follow these steps:
Copy the compiled .pkg file to the of the USB drive (not inside any folders).
To transfer the file to your console, use a USB drive formatted to or FAT32 .
: Place your legitimate baserom.us.z64 (or EU/JP version) into the root directory of the source code.