Category PS4 Guides and Tutorials       Thread starter mircohoooo       Start date Jan 17, 2020 at 12:03 PM       14,342       96            
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

ecffg2010

Senior Member
Contributor
Verified
Tried it yesterday and might as well leave my feedback.

I have a CUH1001A and the option worked with Gentoo++ from the provided github link (PSwoor exploit menu or whatever). No problem with blackscreens (except maybe first time start) and no overscan issues.

Kodi and VLC work great on Wayland session manager and even x265 seems to have worked (need more testing). Not sure if default is XSession or Plasma, but you need to log out and select Wayland in lower left corner.

Thanks to @mircohoooo for helping out yesterday!

P.S. I advise you to join the Telegram group that's linked in the thread. Great fellows in there.
 

seanp2500

Senior Member
Contributor
Verified
@ecffg2010 THANKS SO MUCH I tried soooo many linux payloads and began to thing it was my usb drive. I never thought to try gentoo ++ but that did in fact do the trick! The way the above is worded i would think the linux usb payload which was definitely the wrong answer!

for the life of me i do not understand:

change portage mirror in /etc/portage/make.conf with root
Code:
nano /etc/portage/make.conf
I have terminal open and issued command but i am so lost? Can someone make a video or explain por favor? much appreciated.
 

mircohoooo

Developer
Member
Contributor
:arrow: PS4Gentoo.Github.io

Bootmenu:

Linux USB
- For this payload you need a USB Stick for Boot into Rescue / Shell
load the initramfs.cpio.gz & bzimage (kernel) from the FAT32 USB / HDD Partition

v5.3.7
- Loads the initramfs.cpio.gz & bzImage (kernel) from the PS4 Webbrowser Cache with Kernel 5.3.7
CUH 10XX & CUH 11XX works 100%
all others maybe blackscreen use 4.14 Kernel

v5.3.7++
- Loads the initramfs.cpio.gz & bzImage (kernel) from the PS4 Webbrowser Cache with Kernel v5.3.7 with a prepared initramfs.cpio.gz for my PC Monitors)
CUH 10XX & CUH 11XX works 100%
all others maybe blackscreen use 4.14 Kernel

v4.14
- Loads the initramfs.cpio.gz & bzImage (kernel) from the PS4 Webbrowser Cache with Kernel 4.14 from the psxitarch v2
WORKS FOR ALL CONSOLES WITHOUT PROBLEMS!!

v4.14++
- Loads the initramfs.cpio.gz & bzImage (kernel) from the PS4 Webbrowser Cache with Kernel v4.14 from the psxiarch v2 and with a prepared initramfs.cpio.gz for my PC Monitors
WORKS FOR ALL CONSOLES WITHOUT PROBLEMS!! FIX if you have problem and blackscreen on rescue

@seanp2500
thanks for the Video :)

ps: use a SSD or HDD for more performance on gentoo ;)
 

seanp2500

Senior Member
Contributor
Verified
@mircohoooo question any idea how i could install OSS? I play this game called mugen and everything is working well i just have no sound did some reading and looks like i need to use oss any ideas?
 

mircohoooo

Developer
Member
Contributor
higher then 4.14 kernel many have problems with Blackscreen .. i have this blackscreen since psxita v2 .. but i can fix with the initramfsfix (++) now with newer kernel then 4.14, the other guys have blackscreen problem and me not ... so we need still to wait (i m waiting more as a year for more support on ps4pro internal hdd support and blackscreen fix for rescue)

if you have a TV/Monitor and have in the Setting for Switching the HDMI Mode from AV to PC .. then you can maybe fix the Blackscreen problem with the Monitor self, for running the 5.3.7 kernel if not you ned to run the "old" psxita kernel with gentoo... (v4.14 payload)

for baikal users i add in next time a payload too .. bad that we need for every console a other kernel :(
 

DaRKeN58

Senior Member
Contributor
Verified
As @mircohoooo commented, when using 4.14 the OS started. PS4 PR0 CUH-7015B

I would have liked to use a more current Kernel, I do not know how many changes would involve using the "old" 4.14 as far as performance is concerned.

Thank you. Greetings.
 
Recent Articles
ThemeDumperFTP: PS4 Retail Theme PKG Dumper via FTP by OfficialAhmed
Following his ProfileIt PS4 Tool release, the PS4 Theme Dumping Guide and countless PS4 Theme PKGs currently accessible PlayStation 4 developer OfficialAhmed made available ThemeDumperFTP which is...
PS4 Offline Account Activator GUI by Charlyzard (Barthen)
Earlier this month PlayStation 4 scene developer charlyzard released a PS4OfflineAccountActivator and now he's made available via Twitter a PS4 Offline Account Activator GUI for those like me who...
Biofeedback May Be Utilized in DualShock 5 to Modify User Experience
Since last month's rumors of a DS5 Built-in Microphone, according to a recently discovered Sony Interactive Entertainment patent the DualShock 5 (DS5) Controller may utilize biofeedback to modify...
Mega Man Zero / ZX Legacy Collection Joins New PS4 Games Next Week
Named one of PlayStation's Most-Wanted PS4 Games of early 2020, next week Capcom's Mega Man Zero / ZX Legacy Collection joins the latest PS4 game releases! 🤩 Mega Man Zero/ZX Legacy Collection...
Top