Category PS4 Guides and Tutorials       Thread starter mircohoooo       Start date Jan 17, 2020 at 12:03 PM       18,714       110            
After the recent PS4 Gentoo Kernel Sources 5.3.7 with Baikal Chip Patches, here is a guide by me (@mircohoooo) covering how to install Gentoo Linux on PlayStation 4 and turn your PS4 into an emulation station! 🐧

## How to Install Gentoo and Turn Your PS4 into an Emulation Station

## ✏ Intro:


If Your System Firmware is 5.05, you already know that you have the luck to use a Kernel Exploit which gives you the ability to run a Linux Distribution.

The principle is the same as Fedora for firmware 1.76, you need to copy the image file to a USB stick or hard drive. You can use the tools RUFUS (GUI) in Windows, Etcher for MacOSx or DD under Linux.

After installation, you can enlarge the Linux partition with Gparted in Gentoo, for example if you have installed it on an SSD or HDD on the USB 3.0 port.

My Models:
  • CUH-1006A and CUH-7016B
greez mircoho
have fun


Installing PS4 Gentoo Linux on PlayStation 4 Guide by Mircoho.jpg

Small video about Gentoo: (gentoo.mp4)

## Prerequisites
## How under Windows
  • Download Gentoo and Rufus
  • Open Rufus
  • Select the image of Gentoo and your target USB / HDD / SDD Device
  • Then click on Start Once done
  • Plug your prepared USB / HDD or SSD drive into the USB port of your PS4
  • Open this (PS4Gentoo.Github.io) on your PS4 Webbrowser
  • Inject the linux load from USB payload 5.05 and Wait ...
  • Autoboot doesnt work? replug the USB / HDD / SSD Drive and send this command ``` resume-boot ```
  • If you have a freeze or nothing that happens on the screen trying again some Models have random crashes ...
  • RESIZE the linux partition after installation VIDEO simplescreenrecorder-2020-01-17_14.31.15.mp4
  • Others? (PS4Gentoo.Github.io/issues)
## Info
  • Partition:1 FAT32 (initramfs/bzImage)
  • Partition:2 ext4 (ps4gentoo)

  • Username: ps4
  • Password: ps4

  • Username: root
  • Password: ps4 (change the password!!)

  • change portage mirror in /etc/portage/make.conf with root
Code:
nano /etc/portage/make.conf
  • Gentoo source mirrors
  • VirtualManger KVM you need to run libvirtd with root before you can use
    Code:
    systemctl start libvirtd
    or
    Code:
    systemctl enable libvirtd
  • VR User. Register the PSVR in SteamVR (after install SteamVR) command with user rights
    Code:
    /home/ps4/PSVR/SteamVR-OpenHMD/./register.sh
## What works / what doesn't?

CUH10XX & CUH11XX

  • Ethernet : works
  • Wi-Fi : works
  • Bluetooth : works
  • Internal HDD: works
  • Audio : works
  • GPU : works
  • GPU acceleration : works (via mesa), with Vulkan
  • Power button : works
  • BD Drive : works
  • USB : works
  • Power management / Suspend : suspend doesn't work shutdown and reboot : works
CUH12XX & CUH2XXX
  • Ethernet : works
  • Wi-Fi : works
  • Bluetooth : works
  • Internal HDD: works (only Baikal)
  • Audio : works
  • GPU : Works but Blackscreen problem with some Monitors / TVs
  • GPU acceleration : works (via mesa), with Vulkan
  • Power button : works
  • BD Drive : works
  • USB : works for some Model
  • Power management / Suspend : suspend doesn't work, shutdown and reboot : works
CUH70XX PS4 Pro
  • Ethernet : works
  • Wi-Fi : works
  • Bluetooth : works
  • Internal HDD: WIP
  • Audio : works
  • GPU : works but Blackscreen problem with some Monitors / TVs
  • GPU acceleration : works (via mesa), with Vulkan
  • Power button : works
  • USB : WIP
  • BD Drive : works
  • Power management / Suspend : suspend doesn't work, shutdown and reboot : works
## Changelog
  • System updates, u.v.m...
  • Emulationstation configuration for easy use!
## Installed Apps
  • Internet: Brave, Chrome (Browser), Telegram, Discord (Messenger), Filezilla (Ftp-Client)
  • Game & Emulation: Emulationstation (Front End -> Retroarch (AllinOne Emulator), Steam (Steam), Lutris (Play Games on Linux), Chiaki (PS4rViewer), ScumVM, pcsx, pcsx2, pcsx3 (PS1-3 Emulator), Dolphin (Gamecube Emulator)
  • Multimedia & Graphics: Kodi, Vlc, MakeMKV, Gimp, Gwenview, MuPDF, Spectacle, Simplescreenrecorder
  • System: Geany, Gkrellm, Ark, krfb, AntimicroX, Gparted, Spectacle, Ksysguard, Kinfocenter
### Bugs
  • Blackscreen problem for some Screens (Kernel)
  • USB Host Controller doesnt work 100% for PS4 Pro! (Kernel)
### ☎ for more Support Join us
### Gentoo-Sources
### Thanks To ❤❤
  • ❤ Masterzorag & EEEply ❤
  • qwertyoruiopz, flatz, Specter, xVortex, Stooged, OpenOrbis, 5u770n, KiiWii, LightningMods, RetroGamer74, CelesteBlue, AlAzif, c0d3m4st4, EdiTzZ, Zecoxao, Zer0xFF
  • eeply, valentino, rancido, astromatik, fabien, cedasill, shim and Team in telegram group
PS4 Jailbreak How To Install Gentoo Linux via seanp2500
PS4 Linux Gentoo DOOM Gameplay (Vulkan)
 

Comments

Damypincha

Member
Contributor
The same happens to me, the Wi-Fi and Bluetooth connection is turned off. Any solution. And someone can make a video like installing vulkan.
 

james40

Senior Member
Contributor
wifi only works and blue tooth when you turn the ps4 off for a while after you already was on linux for like a half hour maybe be less not sure why its like that but i wish some one fix this on all ps4 linux distros
 

bas1977

Member
Contributor
Verified
@james40 But when i shut wlan off bluetooth works fine, no problem, the problem is something in the wlan. Wlan works for a while and then it suddenly stops and makes the bluetooth funny.
 

Damypincha

Member
Contributor
If something goes wrong with the Bluetooth and Wi-Fi connection, it goes well for a while and then disconnects and cannot reconnect. Unless you turn off and turn on the play again.

I would like someone to do a step-by-step tutorial to play games like doom. With api vulkan and vram 3.
 

bas1977

Member
Contributor
Verified
I tried different stuff to keep the wlan alive, but it seems that the ethernet card is unfindable, at first when i give the rfkill list command, it is there together with the bluetooth, but when it crashes only bluetooth is there, don' t know if there is a way to get it visible again.

Just wanted to give a heads up. I appear to have found a way that the wlan keeps alive. After the start up i shut out wlan with the button, then i open a terminal, login as root:
  • su -
  • then give the password, by default ps4
  • then cd /etc/init.d
  • and give the command
  • NetworkManager restart
after this i switch the button on and wlan stays alive.

I'm a real noob with linux, so don't shoot me when my way is to stupid, i'm just glad it works.
 

xanadu247

Member
Contributor
Verified
I've managed to get this working but for the life of me I can't get Kodi to run. I try to open Kodi and it does nothing.

I investigated Kodi folder and its empty. I ran pacman -S xbmc from terminal but it gave error.

Any ideas ?

And has someone succeeded at getting an STB emulator to run on Kodi under ps4 environment? If so, how?
 

bas1977

Member
Contributor
Verified
@xXjay spartanXx i don't have a phat ps4, but if you mean preventing the breaking of wifi and bluetooth, try the things i wrote in reply #96.

i have still have some breakdowns, but it is occasionally, before it was always and after 2 minutes or so
 
Recent Articles
OrbisGl2 LibOrbis Graphic Backend Based on Raylib for PS4 Homebrew
Following the LibOrbisNfs PS4 Port earlier this year, PlayStation 4 scene developer BigBoss announced today that an OrbisGl2 LibOrbis Graphic Backend Library based on Raylib is now available...
Call of Duty: Modern Warfare 2 PS4 Campaign Remastered Arrives
Starting today the new Call of Duty: Modern Warfare 2 Campaign Remastered is available on PlayStation 4 allowing PS4 fans to relive the classic campaign and get the Underwater Demo Team Classic...
PS3 System Software 4.86 Update Live, Don't Update Your Firmware!
Proceeding their previous PS3 OFW revision and recent PS3 Partial Message Service Ending announcement, today Sony pushed live a new PS3 Firmware / System Software 4.86 Update for those who still...
Lapy's River Raid 1.0 PS4 PKG Homebrew Game by Lapy05575948
Following the River Raid PS4 PKG Preview and his recent Easy PKG Extractor, PlayStation 4 homebrew developer @Lapy released a River Raid 1.0 PS4 PKG today on Twitter for those with a Jailbroken...
Top