Hacking [RELEASE] PS4 Gentoo by mircoho

mircoho

Well-Known Member
OP
Newcomer
Joined
Mar 23, 2018
Messages
78
Trophies
0
Age
37
Location
Switzerland
XP
407
Country
Switzerland
## How to Install Gentoo and Turn Your PS4 into a Console ;-)

## ✏️ Intro:
If Your System Firmware is <9.00, 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 (thx fail0verflow Team), you need to copy the image file to a USB stick or hard drive. You can use the tools
"RUFUS" (GUI) for Windows,
Etcher for MacOSx
DD for Linux,
After installation, you can enlarge the Linux partition with a preinstalled Partitions-tool under Gentoo.

My Models CUH-1006A(FW5.05) and CUH-7016B (FW5.05 & FW6.72)

;):yayps3::switch::psp::psp::yayswitch::yaypsp::wub::wub:




## Prerequisites
- A dedicated 20GB+ SSD Drive

- ps4gentooV2 image: || soon

- Rufus for Windows: (https://github.com/pbatard/rufus/releases/download/v3.20/rufus-3.20.exe)
- Etcher for Mac OSX: (https://www.balena.io/etcher/)

## How to under Windows

- Download ps4gentooV2 and Rufus
- Open Rufus
- Select the image of Gentoo and your target SSD Drive or your Slow USB Stick ...
- Then click on Start Once done,
- Plug your prepared USB / HDD or SSD drive into the USB port of your PS4
- Open this (https://ps4gentoo.github.io) on your PS4 Webbrowser
- Inject the Linux Payload.

Select your Linux Payload for your Model (thx @Prb for the Exploit Host)

Screenshot_20221102_153244.png


Screenshot_20221102_153314.png


## How to install the "Rescueshell" without a FAT32 Partition.
(works for all Models)

- Download bzImage and initramfs.cpio.gz
-
-
-









## Info

Partition:1 FAT32 (initramfs/bzImage)
Partition:2 ext4 (ps4gentoo)

- Username: ps4
- Password: ps4

- Username: root
- Password: ps4
change the password!!


- You can change portage mirror in /etc/portage/make.conf with root rights
Code:
nano /etc/portage/make.conf
https://www.gentoo.org/downloads/mirrors

-VirtualManger KVM you need to run libvirtd with root before you can use
Code:
systemctl start libvirtd
or
Code:
systemctl enable libvirtd


## What works / what doesn't?
CUH10XX & CUH11XX
- Ethernet
: works
- Wi-Fi : works
- Bluetooth : works
- Sata: works
- Audio: works
- GPU: works
- GPU acceleration : works
- Power button : works
- BD Drive : works
- USB : works
- Power management / Suspend : suspend doesnt work shutdown and reboot : works

CUH12XX & CUH2XXX (have not this Models for testing...)
- Ethernet: works ?? im not sure Wired doesnt not work for Baikal Models?
- Wi-Fi : works ?? im not sure
- Bluetooth : works
- Sata: works
- Audio : works
- GPU : Works
- GPU acceleration : works
- 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 (Belize Model)
- Ethernet :
works
- Wi-Fi : works
- Bluetooth : works
- Sata: WIP
- Audio : works
- GPU: works
- GPU acceleration: works
- Power button: works
- USB: works
- BD Drive: works
- Power management / Suspend: suspend doesn`t work, shutdown and reboot : works
```


## Changelog

Update coming soon.




## Installed Software


- Desktop / Window Manager:

- Browser:

Brave, Chrome (Browser), Telegram, Discord (Messenger), Filezilla (Ftp-Client)

- Emulators:
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,

- Systemtools:
Geany, Gkrellm, Ark, krfb, AntimicroX, Gparted, Spectacle, Ksysguard, Kinfocenter,



### Bugs (Linux without Bugs? maybe in the Year 2160...)
- Blackscreen problem for all newer Consoles as CUH12XX with some Screens, it looks we have this problem 4ever :)
(i dont have this problem with my CUH 10XX, every Screen works without any Issues,
but we can fix it with diffrent bootargs. (bootargs.txt) )



### ☎️ My Discord-Channel for Release (Kernel/Initramfs and other Howtos for using Linux on the PS4)...
[Discord] (https://discord.gg/2mqCVTAsX6)

(is just a release (bzimage/initramfs what i use) and info about ps4gentoo .
if you have Issues or something post it here, maybe you will help other guys too ... for this we have forums in the world wide web..)


### Gentoo-Sources
Linux Kernel Source: [Link](https://github.com/ps4gentoo/ps4-linux)

Linux Loader Source: [Link](https://github.com/ps4gentoo/PS4-Linux-Loader)

Linux PS4 Video Driver (libdrm, mesa, xf86-video-amdgpu): [Link](https://github.com/ps4gentoo/ps4-overlay) (thanks marcan)







### Thanks To ❤️&❤️ Credits.

❤️Masterzorag & EEEply (Linux) & @Leeful (Exploit Host Menü)❤️
- qwertyoruiopz, flatz, Specter, xVortex, Stooged, OpenOrbis, 5u770n, KiiWii, LightningMods, RetroGamer74, CelesteBlue, AlAzif, c0d3m4st4, EdiTzZ, Zecoxao, Zer0xFF
- eeply, valentino, rancido, astromatik, fabien, cedasill, shim and and and ..................


(ps4gentooV1)
## Prerequisites
- A dedicated 13GB+ SSD Drive
- The ps4gentooV1 image: || [G-DRIVE] https://cutt.ly/Yrc7RAK
- Rufus for Windows: (https://github.com/pbatard/rufus/releases/download/v3.20/rufus-3.20.exe)
- Etcher for Mac OSX: (https://www.balena.io/etcher/)
- PS4 Exploit Host (https://ps4gentoo.github.io) (thanks @Leeful for this Exploit Host.)

## How to under Windows
- Download [ps4gentoo Image] and [Rufus]
- Open Rufus
- Select the image of Gentoo and your target SSD Drive or your Slow USB Stick ...
- Then click on Start Once done,
- Plug your prepared USB / HDD or SSD drive into the USB port of your PS4
- Open this (https://ps4gentoo.github.io) on your PS4 Webbrowser
- Inject the linux load from USB payload 5.05 and Wait ...

!RESIZE the linux partition after installation under Gentoo !

VIDEO --->

https://mega.nz/embed#!1MlBBCIR!0ga5sVYVD9r8TcFzwkCIif6CsNicDFDWqr_Yy1mjSGc
 
Last edited by mircoho,

spotanjo3

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
11,145
Trophies
3
XP
6,185
Country
United States
Which is better... this one or Fedora 31 ? I have seen Fedora 31 on YouTube for PS4 and it is awesome linux for PS2 and Dolphin Emulator as well as Citra 3DS emulator.
 

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,800
Trophies
2
XP
7,773
Country
United Kingdom
Oh, didn't realise there was already a thread made here :P

Anyone tried installing this yet?
I'm trying now but having no luck
upload_2020-1-18_16-15-12.gif
My Ps4 is a Slim CUH-2016A.
I've written the image to my Usb hdd and loaded the Linux Loader as specified but after loading the loader I get a blackscreen. (no loss of signal just a blackscreen) I tried two different Monitors both the same :/
I tried both Linux Loaders:
Linux Gentoo++ = Just a blackscreen
Linux Gentoo = I get the Linux Penguin and a screen full of writing, then it goes black
upload_2020-1-18_16-15-12.gif

I've tried leaving it running and left it for 16mins or so still blackscreen.

If someone manages to install it can they record it? Does it install on first boot or does is it supposed to boot to Gentoo straight away?

Thanks
upload_2020-1-18_16-15-12.gif
 

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,800
Trophies
2
XP
7,773
Country
United Kingdom
...found a solution.
Downloaded and replaced this bzImage on my USB drive and Gentoo is booting fine.
Did you swap the initramfs.cpio.gz file too? I tried swapping the bzimage you linked but i'm still getting a blackscreen :/

EDIT: tried swapping the initramfs.cpio.gz also... still same :(
 
Last edited by ploggy,

ango

Active Member
Newcomer
Joined
Feb 5, 2012
Messages
34
Trophies
1
XP
108
Country
Germany
Doesnt boot on my PS4 Pro CUH-7116b with Baikal Chip !
Do you have a fixed bzImage and initramfs.cpio.gz like the one for the psxitarch distro?
Did you swap the initramfs.cpio.gz file too? I tried swapping the bzimage you linked but i'm still getting a blackscreen :/

EDIT: tried swapping the initramfs.cpio.gz also... still same :(

Swapped only the bzImage file.
If I change initramfs.cpio.gz too I got on boot an error:
"mounting label=psxitarch on /newroot failed --- no such file or directory"
BTW I got this error too if I only swap bzImage but booting goes on and Gentoo is firing up

I´m using MUXI505Pro exploit menu and the integrated payload "Linux Loader 2GB Vram" to boot Linux.
 
Last edited by ango,
  • Like
Reactions: ploggy
D

Deleted User

Guest
...found a solution.
Downloaded and replaced this bzImage on my USB drive and Gentoo is booting fine.

thanks for posting that thought it was only me

also not sure why my pictures look different when i got to that site but i should be using the linux load usb payload not the gentoo or gentoo ++? it a bit confusing....

so gentoo ++ was the trick for me! Not sure if changing my bzimage helped. But once I used gentoo ++ I am in!
 
Last edited by ,

spotanjo3

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
11,145
Trophies
3
XP
6,185
Country
United States
Swapped only the bzImage file.
If I change initramfs.cpio.gz too I got on boot an error:
"mounting label=psxitarch on /newroot failed --- no such file or directory"
BTW I got this error too if I only swap bzImage but booting goes on and Gentoo is firing up

I´m using MUXI505Pro exploit menu and the integrated payload "Linux Loader 2GB Vram" to boot Linux.

How do you use MUXI505Pro ?

There is no site for me to type on internet browser. I don't know how to use USB if that's what I am supposed to. How ?
 

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,800
Trophies
2
XP
7,773
Country
United Kingdom

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,800
Trophies
2
XP
7,773
Country
United Kingdom
Did you try this link I mentioned ? Use it... but I understand that you are using PRO ?

Mine isn't PRO and its MODEL CUH-1216A.
That's the link I've been using since yesterday :P No My PS4 is a Slim CUH-2016A dunno why my PS4 is so dodgy with this, PSXita installs fine :/
 
Last edited by ploggy,

spotanjo3

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
11,145
Trophies
3
XP
6,185
Country
United States
That's the link I've been using since yesterday :P No My PS4 is a Slim CUH-2016A dunno why my PS4 is so dodgy with this PSXita installs fine :/

Try clean again and follow above very very carefully. I am saying that this host work fine for me because I want to test hosts to make sure they works before I can try it out but I didn't try this Linux, thought.. I am tempting to try it this week.
 
  • Like
Reactions: KiiWii and ploggy

ango

Active Member
Newcomer
Joined
Feb 5, 2012
Messages
34
Trophies
1
XP
108
Country
Germany
How do you use MUXI505Pro ?

There is no site for me to type on internet browser. I don't know how to use USB if that's what I am supposed to. How ?

...used this manual found here (used the android install) think its a normal payload linux loader ...
I have tested a lot the last hours.
Mostly my screen is black if I load the payload .(a known problem with some PS4, Gentoo is loading in the background, blue led on PS4 and external drive led are blinking) so I tried the "Linux Loader NoEdid" . This Payload is working fine for me

PS4 Pro CUH-7116b
 
Last edited by ango,

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,800
Trophies
2
XP
7,773
Country
United Kingdom

Holy shit I got it booting :P What worked for me was a combo of bzImage and initramfs.cpio.gz from the PS4Kernel.zip from here: https://www.psxhax.com/threads/ps4-...-3-7-with-baikal-chip-patches-via-iguy0.7263/
and the v4.14 kernel Linux++ Payload. (I may have got away with just loading the v4.14 Kernel Linux++ payload i'm not sure, honestly now that it's booting I don't want to mess with it) :P
Thanks mate for your video mate it really helped me figure out where I could have been going wrong :)
 
D

Deleted User

Guest
Holy shit I got it booting :P What worked for me was a combo of bzImage and initramfs.cpio.gz from the PS4Kernel.zip from here: https://www.psxhax.com/threads/ps4-...-3-7-with-baikal-chip-patches-via-iguy0.7263/
and the v4.14 kernel Linux++ Payload. (I may have got away with just loading the v4.14 Kernel Linux++ payload i'm not sure, honestly now that it's booting I don't want to mess with it) :P
Thanks mate for your video mate it really helped me figure out where I could have been going wrong :)

cool what it turns out is going on is different models have to load different payloads. Very confusing. There is a thread on another forum that breaks it down. Since I guess it is against the rules to link to there I am going to post it here:

Bootmenü:

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

source is Mircoho aka op.

So basically way I see it you have a couple of different things to check like type of usb the slot you are in what payload and what files are on the fat 32 partition once you burn the image. He doesn't seem to happy about how complicated it is. All we gotta do is share our knowledge. This is much better than where we were at before. This truly does bring linux to all ps4 consoles not just some. Thing is it takes trial and error.
 
Last edited by ,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Sicklyboy @ Sicklyboy: *teleports behind you* "Nothing personnel, kiddo" +1