1. mircoho

    OP mircoho Member
    Newcomer

    Joined:
    Mar 23, 2018
    Messages:
    21
    Country:
    Switzerland
    ## How to Install Gentoo and Turn Your PS4 into a 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 ;):yayps3::switch::psp::psp::yayswitch::yaypsp::wub::wub:


    [​IMG]

    small video about gentoo (https://mega.nz/#!VRUC1QCJ!98DfDKPPToQzAPEzLDwbWUE2d9xmLmWs6XnfH_iFbaM)


    ## Prerequisites
    - A dedicated 12GB+ Usb Stick better a HDD / SSD for more Speed

    - PS4Gentoo image: [Mega-Link](https://mega.nz/#!NUFjVIqY!qHKN1yJvi-cLZMClVpJ55kuIEc6TByovoiFDkiZXlp4) ||| [G-DRIVE] https://cutt.ly/Yrc7RAK (Update: 17.01.2020)
    - Rufus for Windows: (https://github.com/pbatard/rufus/releases/download/v3.8/rufus-3.8.exe)
    - Etcher for Mac OSX: (https://www.balena.io/etcher/)

    - PS4 Exploit Host (https://ps4gentoo.github.io) (thanks @Leeful for this nice Design)


    ## 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 (https://ps4gentoo.github.io) on your PS4 Webbrowser
    - Inject the linux load from USB payload 5.05 and Wait ...
    [​IMG]
    - 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 ---> https://mega.nz/embed#!1MlBBCIR!0ga5sVYVD9r8TcFzwkCIif6CsNicDFDWqr_Yy1mjSGc

    - others? --> (https://github.com/ps4gentoo/ps4gentoo.github.io/issues)



    ## Info


    -change portage mirror in /etc/portage/make.conf with root
    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
    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?


    ## 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,

    **coming in next release



    ### Bugs


    - Blackscreen problem for some Screens (Kernel)
    - USB Host Controller doesnt work 100% for PS4 Pro! (Kernel)

    ### ☎️ for more Support Join us

    [Telegram](https://t.me/ps4linux4homebrews)
    | [Twitter](https://twitter.com/mircoho)


    ### Gentoo-Sources

    Linux Kernel: [Link](https://github.com/ps4gentoo/ps4-linux)
    Linux Loader: [Link](https://github.com/ps4gentoo/PS4-Linux-Loader)
    Linux Video Driver for gentoo: [Link](https://github.com/ps4gentoo/ps4-overlay) (thanks marcan)


    ### Thanks To ❤️❤️

    ❤️Masterzorag (we love you) & 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 Team in telegram group



    Edit: 10.02.20 - New Exploit Host Linux Loader # Thanks to @Leeful
     
    Last edited: Feb 10, 2020
    ry755, ShroomKing, Garcimak and 9 others like this.
  2. Flame

    Flame Me > You
    Moderator

    Joined:
    Jul 15, 2008
    Messages:
    5,046
    amazing project. this is what the homebrew scene is all about.
     
    Orangy57 and rommy667 like this.
  3. ango

    ango Member
    Newcomer

    Joined:
    Feb 5, 2012
    Messages:
    22
    Country:
    Germany
    Doesnt boot on my PS4 Pro CUH-7116b with Baikal Chip !
    Do you have a fixed bzImage/initramfs.cpio.gz like the one for the psxitarch distro?
     
    Last edited: Jan 18, 2020
  4. azoreseuropa

    azoreseuropa GBAtemp Guru
    Member

    Joined:
    Nov 6, 2002
    Messages:
    9,092
    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.
     
  5. ploggy

    ploggy WAKA! WAKA!
    Member

    Joined:
    Aug 29, 2007
    Messages:
    3,476
    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
     
  6. ango

    ango Member
    Newcomer

    Joined:
    Feb 5, 2012
    Messages:
    22
    Country:
    Germany
    ...found a solution.
    Downloaded and replaced this bzImage on my USB drive and Gentoo is booting fine.
     
    Last edited: Jan 18, 2020
    mircoho likes this.
  7. ploggy

    ploggy WAKA! WAKA!
    Member

    Joined:
    Aug 29, 2007
    Messages:
    3,476
    Country:
    United Kingdom
    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: Jan 18, 2020
  8. ango

    ango Member
    Newcomer

    Joined:
    Feb 5, 2012
    Messages:
    22
    Country:
    Germany
    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: Jan 19, 2020
    ploggy likes this.
  9. seanp2500

    seanp2500 GBAtemp Advanced Fan
    Member

    Joined:
    Jun 2, 2010
    Messages:
    916
    Country:
    United States
    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: Jan 19, 2020
  10. azoreseuropa

    azoreseuropa GBAtemp Guru
    Member

    Joined:
    Nov 6, 2002
    Messages:
    9,092
    Country:
    United States
    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 ?
     
  11. seanp2500

    seanp2500 GBAtemp Advanced Fan
    Member

    Joined:
    Jun 2, 2010
    Messages:
    916
    Country:
    United States
    I actually learned how to use it as part of this. Way I did was flashing the esp firmware. But it is totally not necessary to boot linux. I used the https://ps4gentoo.github.io/ site and gentoo ++ payload.
     
  12. azoreseuropa

    azoreseuropa GBAtemp Guru
    Member

    Joined:
    Nov 6, 2002
    Messages:
    9,092
    Country:
    United States
    Yeah. I type on my PS4 internet browser for ps4gentoo and it works fine.

    It is much easier. :)
     
  13. ploggy

    ploggy WAKA! WAKA!
    Member

    Joined:
    Aug 29, 2007
    Messages:
    3,476
    Country:
    United Kingdom
    What PS4 versions have you guys got?
     
  14. azoreseuropa

    azoreseuropa GBAtemp Guru
    Member

    Joined:
    Nov 6, 2002
    Messages:
    9,092
    Country:
    United States
    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.
     
    ploggy likes this.
  15. ploggy

    ploggy WAKA! WAKA!
    Member

    Joined:
    Aug 29, 2007
    Messages:
    3,476
    Country:
    United Kingdom
    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: Jan 19, 2020
    KiiWii and azoreseuropa like this.
  16. azoreseuropa

    azoreseuropa GBAtemp Guru
    Member

    Joined:
    Nov 6, 2002
    Messages:
    9,092
    Country:
    United States
    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.
     
    KiiWii and ploggy like this.
  17. ango

    ango Member
    Newcomer

    Joined:
    Feb 5, 2012
    Messages:
    22
    Country:
    Germany
    ...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: Jan 19, 2020
  18. seanp2500

    seanp2500 GBAtemp Advanced Fan
    Member

    Joined:
    Jun 2, 2010
    Messages:
    916
    Country:
    United States


     
    Last edited: Jan 19, 2020
    ango, ploggy and azoreseuropa like this.
  19. ploggy

    ploggy WAKA! WAKA!
    Member

    Joined:
    Aug 29, 2007
    Messages:
    3,476
    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 :)
     
    azoreseuropa and KiiWii like this.
  20. seanp2500

    seanp2500 GBAtemp Advanced Fan
    Member

    Joined:
    Jun 2, 2010
    Messages:
    916
    Country:
    United States
    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: Jan 20, 2020
    mircoho, KiiWii, ango and 1 other person like this.
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - [RELEASE], mircoho, Gentoo