May 10

PS4 exploring

Today I dumped my hole content of my PS4. (FTP)

As curious as I am started looking in to some files using good old text editor.

boot_stats.txt and Vshlog.0.txt where very funny to see for my ps4 because
I never used my PS4 that much and boot_stats gives a nice report of that.
Location: System_Data\priv\vshlog\

VshLog.0.txt gives a more detailed over look on the boot times.

Boot_stats.txt

SUM_TOTAL                                                      322
POWER_BUTTON                                            149
BOOTUP_AT_POWERON                              12
BLUETOOTH                                                      112
BG_DAILY_CHECK(EAP)                               11
POWER_BUTTON(EAP)                                  8
EJECT_BUTTON                                                15
MAIN_SOC                                                          12
DISC_LOADED                                                   2
CEC                                                                         1

Very nice stats

First time I Rebooted my ps4 by VshLog.0.txt

Tue,15 Dec 2015 16:34:26 +0100 [SceSystemStateMgr] shutdown for reboot
Build shows up.
Tue,22 Dec 2015 04:52:26 +0100 [SceSystemStateMgr] Boot up (build#612804, EAP, BG_DAILY_CHECK)
Last entry of my vshlog:
Fri, 10 May 2019 07:36:22 +0200 [SceSystemStateMgr] Boot up (build#1007501, POWER_BUTTON)

 

I find it strange there is no real information on the file structure of the ps4.

Maybe i remember it wrong but the wiki on ps3 got a lot of more info on that then ps4..

Found a short list on PsdevWiki but they only show the Partitions on the ps4 side.
And the decrypted folders:

Schermafbeelding 2019-05-10 om 08.51.03
Only on for the removable media they cover the file structure a bit.

been exploring the file structure of the PS4 and there are a lot interesting things to look at.

The title_workaround.xml file got my attention…. but no info about this file.
\\System\priv\workaround_ctl_ro\
there is also a title_workaround.env and there is also a little bit of info on this for ps4.

  • Z80: this .env files are known from cca 3.55? imho
  • no idea what is new in 4.70 because i don’t have code/dumps for that firmware, but each fw brings something new

psdevwiki Env File the title_workaround.env is encrypted
System_Data\priv\workaround_ctl\

The PS4 requests a number of .env files from Sony servers, they use some form of encryption so I am uncertain as to what they contain.

Apparently the ps4 holds a lot of these .env files.
So its not only a PsN feature and something tells me these contain some keys and of course SCEI DNAS Root 01

also the suspend_blacklist_ps4 suspend_ng_list.xml looks interesting…

to continue

Links to check:

https://blog.madnation.net/
https://www.psdevwiki.com
https://davidstancu.me/hacking/2016/12/30/ps4-mitm.html

 

Category: information, PS4 | Comments Off on PS4 exploring
May 4

PS4 And Linux.

Recently I jailbroken my PS4 and now we gonna run Linux on it.

Requirements

Lets start

INSTALLATION

The installation is identical to the previous version, DO NOT use other bzimage, initramfs or linux loader! Take only those linked on this page!

ATTENTION: the USB device that you will use for the installation will be completely formatted, all the data will be deleted!

IMPORTANT: for the moment the payload of the linux loader provided here is valid only for those on fw 5.05. Time permitting we will add those for the other fw.

Requirements

  • A USB device of at least 12GB (better if 3.0 and better still if ssd)
  • Keyboard.
  • Mouse (if you don’t have a mouse you can connect dualshock 4 and use the touchpad as a mouse but it’s not the maximum of comfort).
  • A USB hub.
  • initramfs.cpio.gz: Download! md5:  7c38ca9c4eaff335ef52cef398ab1278
  • bzImage md5: Download!  md5:  20fe8941f2238b35822ea61939f2393d
  • psxitarch.tar.xz Download! md5:  8058d928b9a3f9532d55535e166789f7
  1. Format the usb device in FAT32 (NOT EXFAT!), The usb device must have only one partition and the partition table must be mbr (MS-DOS (FAT32)), if the installer does not recognize the usb device use this program for format it: Download!
  2. If you have connected the PSVR disconnect it, also remove the processor unit (PU), keep only the PS4 connected to the TV.
  3. Go to the ps4 audio / video settings and set the resolution to 1080p.
  4. Go to the system settings and disable  Enable HDMI connection and  Enable HDCP
  5. Copy the bzImage, intramfs.cpio.gz and psxitarch.tar.xz files to the root of the usb device.
  6. Connect the usb device in the ps4.
  7. Connect mouse and keyboard
  8. Open the web browser and visit this page  https : //psxita.it/linux-loader to start the linux loader payload (the page can be kept in the cache if you want), for those who want to use the bin can take it from here: Download ! md5:  d5e698431b577bb83638a06cdc0eaf33
  9. After a few seconds the ps4 should reboot, wait until rescueshell appears
  10. Write  exec install-psxitarch.sh to start installing psxitarch linux
  11. Wait, you should see a long list of files that are copied to the usb, at the end (after about 25/30 minutes) the distro should start automatically. If it doesn’t start, type  exec start-psxitarch.sh
  12. Enjoy.

The distro does not require you to enter a username and password but you will need it if you would like to obtain root permissions:

username:  psxita
password:  changeit

CHANGE VRAM SIZE

The default payload you find on the https : //psxita.it/linux-loader page  sets the Vram to 2GB, if you want to set it to 3GB use this payload to start linux:  https : //psxita.it/linux-loader-vram3 , if instead you want to set it to 1GB:  https : //psxita.it/linux-loader-vram1
You can use the payload you prefer at any time but during the psxitarch installation NEVER use the vram3 payload.

NOTE: RAM and VRAM are a single block, so the more vrams assigned, the lower the RAM. Do your accounts.

KNOWN ISSUES AND POSSIBLE SOLUTIONS

  • The distro should be compatible with all ps4 models but some monitors and TVs with strange resolutions could give problems and not display anything on screen, if you have the chance try another tv.
  • Graphics acceleration on ps4 pro is not yet fully exploited.
  • The internal HD per hour is detected only on the CUH-10xxx and CUH-11xxx models.
  • Vulkan RADV drivers are not stable yet (it will surely improve with time) in certain emulators / games they could give problems or perform worse than opengl, while in other better ones (see dolphin-emu).
  • The wifi and the bluetooth could in some cases crash (disappear), in the case reboot the PS4, if it still does not work disable the network and launch linux using the cache. NOTE: despite the fix on some versions of ps4 the wifi and / or the bt may not work, unfortunately we have not yet found a valid solution for all consoles.
  • In rare cases, USB devices (mouse, keyboard, …) may not be detected, in case the console is restarted
  • It could happen that after installation some items in the menu are missing, to correct the problem go to “Jwm Config” and select “Refresh Menu”.

Acknowledgments

We want to thank the people who have and continue to contribute to the development of Linux on PS4 (hoping not to forget anyone)
Valentinbreiz , shuffle2 , flatz , CelesteBlue

The testers, who put up with us all these days, thanks for the patience guys;)
Shim , antonwantstosleep , glitch, Astromatik, Anekcahap

And all the guys on the discrete channel Official Playstation 4 Scene

THANK YOU!!

Information:
How to install linux and run Steam on Playstation 4

 

PSXItarch Information:

IMPORTANT!!
The USB device that you will use will be completely formatted, all the data will be deleted !!

  • Copy the initramfs, the bzImage, and the psxitarch.tar.xz file to the root of the USB device
  • Connect the USB device to the PS4, if you have connected other USB devices disconnect them (you must have only one USB device connected)
  • Start the exploit
  • Start the payload
  • Wait a few seconds, the screen should go black and then the rescushell screen will appear
  • Connect the keyboard, write:  exec install-psxitarch.sh (the keyboard layout is set to the US, to write the dash you have to use the key
  • Wait until the distro is installed (you should see a long list of files that are copied to the USB), the installation time varies from USB to USB (if you are crazy enough to install the distro on USB 2.0 it should take about 25 minutes)
  • After the installation, the distro should start by itself and show you the login screen, if you do not start to write
    exec start-psxitarch.sh
    (from the next restart the distro should start alone, you will not have to write anything)

On the login screen, enter your

username psxita
password changeit

Gentoo Information:

D5tGFWzXkAAOeg7D5tGlpvW4AM3boYD5tG7gxXoAAcETN  D5tHKyZWwAE2dAv (1)

Category: Download, Linux, PS4 | Comments Off on PS4 And Linux.