Since the last revision, PlayStation 4 developer BigBoss has updated the PS4Link library which allows PS4 to communicate and utilize a host file system with the PS4Client host tool.
According to the developer, PS4Link is now updated with ldr creation and information to do it yourself
PS4Link is a group of tools (libps4link, libdebugnet, ps4sh) for PS4 and host. It is the same method that we used in ps2dev days, so basically it is the same protocol than ps2link and ps2client have been using since 2003.
Functions available are defined like native sce functions so it is easy for homebrew developer to use these new functions:
FILEIO functions
Code:
int ps4LinkOpen(const char *file, int flags, int mode);
int ps4LinkClose(int fd);
int ps4LinkRead(int fd, void *data, size_t size);
int ps4LinkWrite(int fd, const void *data, size_t size);
int ps4LinkLseek(int fd, int offset, int whence);
int ps4LinkRemove(const char *file);
int ps4LinkMkdir(const char *dirname, int mode);
int ps4LinkRmdir(const char *dirname);
int ps4LinkDopen(const char *dirname);
int ps4LinkDread(int fd, struct dirent *dir);
int ps4LinkDclose(int fd);
Remote Commands functions
1) execelf
This command let you load and exec elf files compiled with libps4. Check samples directory.
2) execsprx
Right now do nothing
3) execwhoami
Show you uid and gid
4) execshowdir
Let you list filenames in directory. With ftp server you will not need it
5) exitps4
Try to close ps4link resources. If you try to run ps4sh again when all is released you will get a messager saying that it can't connect. Now you can leave ps4 browser.
check ps4link_internal.h and commands.c to see how can you implements new commands
How do I use it?
1) Configure your environment:
You will need:
[clang] 3.7 or upper i tested it on freebsd and osx. For osx :
For osx only (you will not need this for freebsd):
1 USB Hdd or a USB Key big enough to install Ubuntu
First you need to install Ubuntu on your USB Hdd:
Download the ISO
Copy the iso to Usb with a tool like unetbootin (Win/Mac/Linux) (You can burn on a DVD also)
Boot on this USB or DVD
Launch Install on your USB HDD or USB key (you can make small partition in Fat32 for Bzimage and initramfs) and the rest in Ext4
I've used the ubuntu-14.04.4-desktop-amd64.iso and made the install on my USB Hdd (with a PC of course) , nothing more to say here just configure your keyboard layout , password ...)
So now you should have Ubuntu installed on your USB Hdd ...
Now go to the PS4-Playground and load Linux (you must have of course a USB key with bZimage & initramfs.cpio.gz in the PS4)
Now you should see better-initramfs shell ...
Plug the USB Hdd where you have your ubuntu install (At this point you can remove the USB key with bZimage & initramfs.cpio.gz everything is in RAM)
Type fdisk -l to see the name of your USB Hdd ( /dev/sdXX)
As you can see my ubuntu partition is in /dev/sdc1
Now just type (if your bootable partition is sdc1)
Code:
mount /dev/sdc1 newroot/
exec switch_root /newroot/ /newroot/sbin/init
Sometimes exec switch_root don't start at the first time , just type the command again .. Wait a few seconds and you should see Ubuntu running
Keep in mind that there's no network working yet
PS4 Running Linux Ubuntu How to Run Ubuntu on a PS4 with 1 USB Stick
It's only been a few months since Sony's last update, and today in conjunction with PS4 Firmware 3.50 they have also released PS Vita System Software update 3.60 for PlayStation Vita handheld console owners.
Here's what to expect in PlayStation 3.50 System Software with a PS4 video demo below, to quote:
Our next major system software update for PS4, version 3.50 (codenamed MUSASHI), is out tomorrow! For those of you participating in the beta, we hope you are enjoying the new features and thank you for your ongoing feedback.
While we outlined some of the features last month before our beta program started, we wanted to give a more detailed look at the update and share some new info. With 3.50 it is now easier to play together with friends through new ways to connect, improvements to existing features and the user journey.
Appear Offline
On your Profile tab, Quick Menu and login screen, we’ve added a new option called ‘Online Status.’ From here, you can choose to ‘Appear Offline.’ This could be useful if, for example, you want to fully concentrate on your game or watch a movie without interruption. You will remain ‘offline’ until you chose to change your...