Turn Your PS4 Into An Awesome Gaming PC With Linux

Alex Seibz
Linux For Everyone
Published in
7 min readJan 18, 2021

Thousands of retro and PC games at your fingertips.

PS4 image by Norbert Levajsics on Unsplash

My original Wii, that “OG” Nintendo DS, my original PSP and my prior Xbox 360 were all given the same “homebrew” treatment in the past, so why not the PS4 I no longer use? The upside to the PS4 is that it has the guts of a PC compared to the custom chipsets of the past. Now, the adventure begins….

Note: for this guide I will be using the original 2013 CUH100C1 PS4 model on firmware 7.00, and I will be connected to the internet via a wired Ethernet cable. Your model may differ, but the guide should work the same. For PS4 Pro owners, follow the videos of this youtuber to stay up to date on jailbreaks.

New Beginnings

The first thing I did upon finding my old ps4, was get into settings and check out the firmware version. You can view this by going to Settings -> System -> System Information.

At the time of my writing this, only systems running 7.02 or earlier firmware are jailbreak-able. More jailbreaks seem to be in the works. Luckily, having not touched my machine in over a year or so, it is still on 7.00.

Next, we’ll want to head to our PC of choice, with a flash drive or external hard drive of 128gb minimum at the ready. I recommend 128gb minimum if you wish to install PC games from Steam on there going forward (64gb drives work just as well).

My daily driver is a Thinkpad P51 running Fedora Linux, but your operating system doesn’t really matter for this part. Go grab the PS4 Gentoo image (linked is the January 2020 update by Marcan) and then download Etcher. Etcher has had the highest success rate amongst those I’ve talked to over on Telegram and in YouTube comments thus far, so it’s a safe and easy choice.

Next, take that Gentoo Image and extract it with 7Zip or gunzip until you have just the file ending in the extension .img. Now, open Etcher, select your flash drive and then your .img file and flash away!

Once Etcher has completed flashing the image to the drive, close it. Now, eject the drive from your machine, and insert it into a free USB port on your PS4.

I also recommend having a USB 2.0 or 3.0 hub such as this cheapo one, so that you can have a mouse and keyboard plugged into one port with your drive plugged into the other. My PS4 only had two ports on the front.

Some Prep Work Before Exploit

Before we jump into the fun Linux-booting times, it is recommended to change some video settings for your PS4 so that the screen won’t turn black during boot-time. Head over to Settings, and go to Sound and Screen, then Video Output Settings. Then set Resolution to 1080p instead of Automatic or prior settings. Next, turn off HDR from the same menu. Then, back out to the Settings screen again and head to System and disable HDCP! You should be good to go from there.

Now, with the drive inserted, open your built-in Web Browser on the PS4. Close any pages currently loaded and open a new one. Navigate to the Hakku Raifu Exploit Host at this address. Going forward, I’ll be referring to this as HL to keep things simple. Once you’ve reached the page, you should find a menu such as the below image…

The HL exploit host

Once you are at this menu, select the available exploits for your firmware version. Since my firmware version is closest to 7.02, I’ll select that option. Note that if you don’t want to keep getting nagged by the PS4 trying to update, run the Disable-Updates exploit until it successfully finishes- there will be a pop-up letting you know when it does.

Booting Linux

For the Linux options in the 7.02 Exploit HL menu, I’ll select the Linux-3GBVRAM option, since I’ve had issues using the 1GBVRAM loader in the past. Note that newer consoles might not have issues using the 1GBVRAM exploit, however my console is apparently only able to load the Linux-3GBVRAM option. The good news here is that the GPU part of my PS4’s processor will gain more memory, allowing for smoother gameplay in Steam games and retro roms you load.

This is what you’ll see when the Linux exploit finishes

Note that you may need to leave the webpage open and let it re-run a few times, as it is common to get “not enough system memory” errors when running it. My suggestion here is to hit the Options button, go to Settings and “Clear Website Data” as well as “Delete Cookies” every other time you get an out of memory error. Deleting browsing history from the main Options menu can help as well. Eventually, you’ll see the above page and that slide-in notification will let you know the exploit has taken off.

Now, if you have retained that patience, we wait!

Eventually the screen will go black and your monitor or TV may complain of the lack of an input. This is totally normal! Just wait for a minute or two. Eventually you’ll be greeted by a screen with penguins at the top and various information scrolling vertically. After that, you should load into a screen that looks like the following…

Now you’re cooking with gas!

Hello, Gentoo!

Once you’ve got to this step, congratulations! You’ve successfully booted to the Linux image on the drive you’ve plugged in! Steam, Retroarch and various other programs have already been installed to this by Marcan, so we just need to login to Steam and we’re good to go!

If you want to know about the retro gaming side of things, Modded Warfare covers that in detail, but for this article, I’m mainly interested in some PC gaming on the PS4, so that’s what I’ll go over next.

Move your mouse down to the hidden dock at the bottom of the screen and click the PlayStation icon on the far left.

Type in “Gparted” in this menu and click the only result. If it asks for a password, the default password for this should be “ps4”. Click the drop down menu in the top right of this program and select your flash drive or hard drive you are booting from- in my case I’m booting from a 256gb flash drive, so I will choose that, as seen below.

Hello there, little flash drive!

After choosing the ext4 partition, you will want to extend it to fill the rest of the drive, so you have space to install games or download roms etc.

After clicking this, extend the partition to the right!

Make sure to drag the arrow to the end of the right side in the menu that follows.

After that, let’s open up Steam!

Gaming

Click the PlayStation icon in the bottom dock again and search “steam”.

Steam should come up, though it may need to update after getting clicked. Let it update, and then sign into your Steam account if you have one! I’ve been playing PC games via this marketplace for a few years, so I have a solid library I’ll get to testing soon.

Good ol Valve giving Linux gamers some love

As shown in the screenshot above, I recommend enabling the Proton compatibility layer before you start installing PC games. To do this, click Steam in the top left of the client, then Settings -> Steam Play -> Enable Steam Play For All Other Titles. You will likely have to restart Steam after clicking OK. That’s fine.

At the time of writing this, Proton Experimental should be available, so feel free to test out that option for more recent PC games, but I’m using proton 5.13 for my testing of Hades and Risk of Rain 2….although it seems Risk of Rain 2 may have some issues with the graphical hardware here as it barely runs…

But hey! I got Hades to run fine! Go ahead and play your Steam games to your heart’s content! ProtonDB can be a valuable resource for researching which other Steam games can run…though I highly recommend playing games that are a Platinum rating, as some Gold and lower ratings may require some tinkering.

Just remember, that if you update things and need to reboot the linux image, you’ll have to turn the PS4 off, turn it back on and re-run the linux exploit from HL.

Enjoy!

I also have the longer, scatterbrained, story over here where I’m testing various games running on PS4 Gentoo; you’ll see a teaser of me getting Starcraft II setup below.

Happy gaming!

Wow Gentoo, looks like I needed some packages haha

Again, none of this would be possible without the reverse-engineering efforts of Marcan and the devs helping out at SCE Party.

--

--