Here's a PS4 Linux on Slim installation guide from ecHs, to quote: Hi everyone,
i have successfully started linux on my CUH-2016B slim.
here is what i have done so far (and the problem that remains: video output):
1. compile a ps4pro compatible kernel
2. update initramfs to include static networking and a reverse shell
In theory this should work on all models that had problems before (12xx / 20xx / 70xx) but i only have a CUH-2016B Slim with 4.05.
I will try to boot the modified fedora image and see if i can do anything about the video output. maybe an usb DisplayLink adapter will work for now.
Also the loader did not work 1/3 of the time, but you can see if it did by checking the power LED. once linux is loaded it should be blue with white pulses every 2 seconds.
Usage
includes kernel image and initramfs for 192.168.0.X / 192.168.1.X / 192.168.2.X / 10.0.0.X networks
lspci
Spoiler
cpuinfo
Spoiler
dmesg
Spoiler
i have successfully started linux on my CUH-2016B slim.
here is what i have done so far (and the problem that remains: video output):
1. compile a ps4pro compatible kernel
- there has been a bug on newer linux/gcc versions but other then that it was straightforward
Code:
# we only need latest commit from the pro branch
$ git clone fail0verflow + ps4-linux.git --branch=ps4pro --single-branch --depth=1
[*]
# apply fix for ilog2 bug (see git:kernel:org pub + scm + linux + kernel + git + torvalds + linux.git + commit + ?id=474c90156c8dcc2fa815e6716cc9394d7930cb9c), needed to build on newer linux versions
# just apply the attached patch
# copy old kernel config over
# linux + master + scripts + extract-ikconfig
$ extract-ikconfig bzImage > .config
# check config and build
$ make menuconfig
$ make
- sets eth0 to a static IP address and for the sake of simplicity i just generated some initramfs for common IPs.
- The PS4 IP will always be .245 (e.g. for 192.168.0 it will be 192.168.0.245)
- on your Host you have to open Port 1337 and the IP has to be .244 (you can change that inside the initframfs if you know how)
In theory this should work on all models that had problems before (12xx / 20xx / 70xx) but i only have a CUH-2016B Slim with 4.05.
I will try to boot the modified fedora image and see if i can do anything about the video output. maybe an usb DisplayLink adapter will work for now.
Also the loader did not work 1/3 of the time, but you can see if it did by checking the power LED. once linux is loaded it should be blue with white pulses every 2 seconds.
Usage
- copy bzImage and a initramfs.cpio.gz file that matches your network (or setup your Host accordingly), (make sure to rename initramfs.cpio.gz)
- use normal PS4 Linux Loader payload (as an exploit i used IDC)
- open Port 1337 with netcat
Code:
nc -l -p 1337 </dev/stdin
- once PS4 linux has started you should see a shell prompt in your terminal!
includes kernel image and initramfs for 192.168.0.X / 192.168.1.X / 192.168.2.X / 10.0.0.X networks
- ps4-linux-pro.zip (13.9 MB)
- MD5 af5f285287a2c19bef16c3c9e614bb4f
- SHA256 169d12a5a2f4a9e5cc263522c4dd2717fd5774c47c03356f5c03eb99a3f4118b
- bzImage (5.4 MB)
- MD5 9d7cf3c18e7807a679291ffd363dc7df
- SHA256 dd6ca032ac079c605b9d9c40fe73d8b03023028195155a5cc37d3381269a1d94
lspci
Spoiler
cpuinfo
Spoiler
dmesg
Spoiler