Coder Social home page Coder Social logo

👋 Hi, I’m @whitehax0r a.k.a (razr2312) on Twitter

  • 👀 I’m interested to share my little knowledge to this greatest community, my native language is Spanish but also speak English as well.
  • 🌱 I’m currently learning cybersecurity as part of the Red Team those are more focused to attack and break the matrix xD.
  • 💞️ I’m looking to collaborate on PS4 linux community and other interest stuff.
  • 📫 How to reach me at the end of this file.

First Github project, proudly made by a Latino catracho 🤠

ArchLinux-PS4

This is a compiled and updated Arch linux with some minor personal changes more related to GUI to look better and included emulators.

neofetch

lscpi

glxinfo

desktop2

Features

  • Parallel Downloads enabled.
  • PS4 repository enabled.
  • LightDM with autologin enabled window manager.
  • Neofetch - Show general information about this system.
  • Latest PS4 Drivers from oficial repo.
  • XFCE - Desktop Environment.
  • Steam - The ultimate destination for playing, discussing, and creating games.
  • ExFat file system support.
  • Bluez - For bluetooth pairing PS4 controller.
  • Blueberry - GUI compatible with XFCE/GTK.
  • Duckstation - Best PSX emulator.
  • Flatpak - Next generation technology for building and distributing desktop application on Linux.
  • Dolphin emulator - Nintengo Wii and Gamecube emulator.
  • Nano - Text editor.
  • Chromium - Web browser.
  • Powerlevel10k - ZSH terminal.
  • PCSX2 - Playstation 2 emulator with vulkan support.
  • Yabaouze - Sega Dreamcast emulator.
  • Hacknerdfonts - For icons inside ZSH and customized fonts for terminal.
  • RetroArch - Multiplatform emulator.
  • Minecraft Java - Because is fun. ⛏️
  • LSD - Powered LS bassically.
  • BAT - Powered CAT bassically.
  • VLC - Video player.
  • Spotify - Music player.
  • Yay - Yet another yogurt. Pacman wrapper and AUR helper written in go.
  • Zip - Compress files to zip files.
  • Unzip - Uncompress zip files.
  • P7zip - Commandline 7zip support for Linux.
  • Htop - See process and other stuff.

Mandatory requirements

  • A brain xD and a lot of patience.
  • USB|HDD|SDD 3.0
  • USB hub for connect more usb devices. (optional)
  • USB or Bluetooth Mouse and keyboard.

My PS4 Hardware

  • PS4 Slim
  • Firmware 9.00
  • Model CUH-2115B.
  • SouthBridge Baikal.

⚠️ If you have a PS4 Fat or PS4 Pro version check in the little FAQ for more details. This OS is compatible with those PS4s. Read the complete guide please. ⚠️

If you have same PS4 hardware as me you can use these files from below:

Preparing your PS4 system.

  • Make sure you are on firmware 9.00.
  • Go to Settings>Sound and Screen>Video output Settings>
  • Resolution set to >1080p
  • RGB range se to >Full
  • HDR set to >Off
  • Deep color output set to >Off
  • Then go to Setting>System>
  • Uncheck the box "Enable HDMI Device Link"
  • Uncheck the box "Enable HDCP"

Preparing your USB|HDD|SDD 3.0 Device for ArchLinux-PS4

⚠️ Highly recommeded to use a USE A >=16GB USB 3.0 Device ⚠️

  • Format the USB 3.0 Device to Fat32 filesystem. You can use this software.
  • Copy and paste the bzImage, the initramfs.cpio.gz, bootargs.txt and arch.tar.xz files to the root of the USB 3.0 Device.
  • ⚠️ If you use the same initramfs.cpio.gz from my Github, this one is created by Nazky, the name of this OS should be arch.tar.xz ⚠️
  • ⚠️ If you use the initramfs.cpio.gz from psxita team, you should rename this file arch.tar.xz to psxitarch.tar.xz ⚠️
  • The total of 4 files should be on the root of your USB 3.0 Device bzImage, the initramfs.cpio.gz, bootargs.txt and arch.tar.xz or psxitarch.tar.xz.
  • Open the PS4 web browser and first jailbreak your PS4 with Al-Azif host follow the instructions on the website.
  • Then connect your USB 3.0 Device with all the needed files on your PS4, make sure to connect to the USB slot that is near from your PS4 Blue-ray Disc Drive.
  • Launch the 1GB Linux payload using the one of your trust host but I recommend to you to use this one from Sleirsgoevy because this one detects the bootargs.txt file to avoid black screen issues. I tried with other host but did not detect the bootargs.txt file.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

First Linux installation

  • When you are on the rescueshell type the following commands:

exec install-psxitarch.sh

  • ⚠️ If you use the initramfs.cpio.gz from Nazky type the following commands: ⚠️

exec install-arch.sh

  • When the installation is done ArchLinux-PS4 is going to boot automatically, if not type the following command:

exec start-psxitarch.sh

  • ⚠️ If you use the initramfs.cpio.gz from Nazky type the following commands: ⚠️

exec start-arch.sh

If you got an error like this one: "mount -o ro /newroot failed" just type the following commands:

mount -o ro /newroot

  • then:

exec start-arch.sh ⚠️If your are using Nazky initramfs.cpio.gz file ⚠️

  • exec start-psxitarch.sh ⚠️If you are using other initramsfs.cpio.gz file ⚠️

  • and should boot now to ArchLinux :)

Changing the System Date and Time

The first time you boot to ArchLinux-PS4 you have to fix the time and date. ⚠️Connect your PS4 to the internet by WiFi or Ethernet port. ⚠️

Check first the list of time zones available typing the following command on the terminal:

timedatectl list-timezones

For example mine is: America/Tegucigalpa

To set your time zone:

sudo timedatectl set-timezone Zone/SubZone

For example in my case is: __sudo timedatectl set-timezone America/Tegucigalpa

Then we will create a symbolic link to do this permanently:

sudo ln -sf /usr/share/zoneinfo/Zone/SubZone /etc/localtime

For example in my case is: sudo ln -sf /usr/share/zoneinfo/America/Tegucigalpa /etc/localtime

Now we will be enable NTP just type this on the terminal:

sudo timedatectl set-ntp true

Now just wait about 25 seconds and you will see your date and time will change automatically to your zone.

Then you can Shutdown your PS4 from Linux

  • ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Post installation steps

  • Connect your USB|HDD|SDD 3.0 to a computer and copy again the bootargs.txt file in the root of the fat32 partition.
  • Jailbreak again your PS4 with Al-Azif host or this.
  • Select the 3 GB Linux payload from Sleirsgoevy host.
  • You will be again in the rescueshell, just type:

exec start-psxitarch.sh

  • ⚠️ If you use the initramfs.cpio.gz from Nazky type the following commands: ⚠️

exec start-arch.sh

If you got an error like this one: "mount -o ro /newroot failed" just type the following commands:

mount -o ro /newroot

  • then:

exec start-arch.sh ⚠️If your are using Nazky initramfs.cpio.gz file ⚠️

  • exec start-psxitarch.sh ⚠️If you are using other initramsfs.cpio.gz file ⚠️

  • and should boot now :)

TODO List

  • RPCS3 emulator - PS3 emulator. (You can try with the AppImage in their website.)
  • ProtonDB play windows games on linux.
  • Nothing more, you tell me.

Know Issues

Not sure why but every time you boot in to linux, you have to unpair and pair again your PS4 controller.

Some FAQs

What is the password for user Sony and root?

You can find that on the Desktop, you will see a text fille called Important.txt

Got black screen

Make sure your display is compatible with the 1080p resolution, if you still have a black screen try a others monitor or TV.

I want to uninstall this OS from my USB 3.0 Device

Just format your device.

How to update ArchLinux-PS4?

Just type the following command:

sudo pacman -Syyu

  • and type "Yes" if there are packages with updates.

Can I use my DS4 controller as mouse?

Yes!, you can use the touchpad of your DS4 controller.

I have difficulties to connect my DS4 controller, what can I do?

I will upload a video later.

I'm not sure about my PS4 Hardware?

You can search here or here.

Where I can find those PS4 kernels and initramfs.cpio.gz for other PS4's hardware Fat and Pro version?

Well you can download those files from Hakkuraifu Github.

Social Media

esta es una imagen

Credits

Many thanks to:

  • @theflow0
  • @notzecoxao
  • @fail0verflow
  • @_AlAzif
  • @Znullptr
  • @SpecterDev
  • @sleirsgoevy
  • @ps4_hacking
  • @frwololo
  • @ChendoChap
  • @Ps3ita_Team
  • @NazkyYT
  • @GBAtemp

whitehax0r's Projects

mesa-git icon mesa-git

Mesa-git 22.2.0_devel.152721.dd24ab86cc2e with Playstation 4 linux patches.

ps4-linux-baikal icon ps4-linux-baikal

This is a modified LTS Linux kernel 5.4.213 for PlayStation 4. Contains patches for SouthBridges baikal consoles.

ps4linux-kernel icon ps4linux-kernel

PS4 Kernel Sources 5.3.7 - In short, i have updated the newest PS4 Gentoo Kernel sources with the new Bikal chip patches.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.