Files on the PS4: Difference between revisions

From PS4 Developer wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
== BD content ==


== Partitions ==
<div style="float:right">[[File:PS4 500GB HDD as seen in Windows XP.png|200px|thumb|left|PS4 500GB HDD as seen with "GPT Protective Partition" in Windows XP/embedded/2003 32bit/x86]]<br />[[File:Partitions.png|200px|thumb|left|[http://pastie.org/9300133 PS4 partitions as seen in Windows 7/8/Vista/2008] and 64-bit version of Windows XP/2003]]</div>
{| class="wikitable sortable"
|-
! {{numero}} !! <abbr title="Windows partition number">Part</abbr> !! device file !! <!--// nikitis //-->[[Z5K500]]<br />size !! <!--// euss //-->[[ST500LM012]]<br />size !! in bytes !! type !! remarks
|-
| {{sort|01|1}} || {{sort|10|10}} || {{sort|17|/dev/sdc17}} || align=right | 1 GiB || align=right | {{nobreak|1 GiB}} || align=right | {{nobreak|{{nts|1073741824}}}} || <code>80dd49e3-a985-4887-81de-1daca47aed90</code> ||
|-
| {{sort|02|2}} || {{sort|15|15}} || {{sort|31|/dev/sdc31}} || align=right | 16 GiB || align=right | {{nobreak|16 GiB}} || align=right | {{nobreak|{{nts|17179869184}}}} || <code>3ef7290a-de81-4887-a11f-46fba765c71c</code> ||
|-
| {{sort|03|3}} || {{sort|13|13}} || {{sort|27|/dev/sdc27}} || align=right | 420.12 GiB || align=right | {{nobreak|420.120117188 GiB}} || align=right | {{nobreak|{{nts|451100540928}}}} || <code>c638477a-e002-4b57-a454-a27fb63a33a8</code> || user
|-
| {{sort|04|4}} || {{sort|09|9}} || {{sort|13|/dev/sdc13}} || align=right | 8 GiB || align=right | {{nobreak|8 GiB}} || align=right | {{nobreak|{{nts|8589934592}}}} || <code>76a9a5b4-44b0-472a-bde3-3107472adee2</code> ||
|-
| {{sort|05|5}} || {{sort|05|5}} || {{sort|09|/dev/sdc9}} || align=right | 1 GiB || align=right | {{nobreak|1 GiB}} || align=right | {{nobreak|{{nts|1073741824}}}} || <code>757a614b-6179-5361-6b61-6b6968617261</code> ||
|-
| {{sort|06|6}} || {{sort|06|6}} || {{sort|10|/dev/sdc10}} || align=right | 1 GiB || align=right | {{nobreak|1 GiB}} || align=right | {{nobreak|{{nts|1073741824}}}} || <code>757a614b-6179-5361-6b61-6b6968617261</code> ||
|-
| {{sort|07|7}} || {{sort|07|7}} || {{sort|11|/dev/sdc11}} || align=right | 1 GiB || align=right | {{nobreak|1 GiB}} || align=right | {{nobreak|{{nts|1073741824}}}} || <code>dc85025f-a694-4109-be44-fa0c063e8b81</code> ||
|-
| {{sort|08|8}} || {{sort|08|8}} || {{sort|12|/dev/sdc12}} || align=right | 1 GiB || align=right | {{nobreak|1 GiB}} || align=right | {{nobreak|{{nts|1073741824}}}} || <code>dc85025f-a694-4109-be44-fa0c063e8b81</code> ||
|-
| {{sort|09|9}} || {{sort|11|11}} || {{sort|19|/dev/sdc19}} || align=right | 8 GiB || align=right | {{nobreak|8 GiB}} || align=right | {{nobreak|{{nts|8589934592}}}} || <code>a71ff62d-1421-4dd9-935d-25dabd81bec5</code> ||
|-
| {{sort|10|A}} || {{sort|01|1}} || {{sort|01|/dev/sdc1}} || align=right | 512 MiB || align=right | {{nobreak|512 MiB}} || align=right | {{nobreak|{{nts|536870912}}}} || <code>17800f17-b9e1-425d-b937-0119a0813172</code> ||
|-
| {{sort|11|B}} || {{sort|02|2}} || {{sort|03|/dev/sdc3}} || align=right | 1 GiB || align=right | {{nobreak|1 GiB}} || align=right | {{nobreak|{{nts|1073741824}}}} || <code>ccb52e94-ebef-48c4-a195-9e2da5b0292c</code> ||
|-
| {{sort|12|C}} || {{sort|03|3}} || {{sort|05|/dev/sdc5}} || align=right | 16 MiB || align=right | {{nobreak|16 MiB}} || align=right | {{nobreak|{{nts|16777216}}}} || <code>145268bf-63ad-47c1-9378-9aacd9beed7c</code> ||
|-
| {{sort|13|D}} || {{sort|04|4}} || {{sort|07|/dev/sdc7}} || align=right | 128 MiB || align=right | {{nobreak|128 MiB}} || align=right | {{nobreak|{{nts|134217728}}}} || <code>6e0c5310-8445-4066-b571-9b65fdb75935</code> || eap_vsh
|-
| {{sort|14|E}} || {{sort|14|14}} || {{sort|29|/dev/sdc29}} || align=right | 1 GiB || align=right | {{nobreak|1 GiB}} || align=right | {{nobreak|{{nts|1073741824}}}} || <code>21e4dfb4-0040-4934-a037-ea9dc058eea6</code> ||
|-
| {{sort|15|F}} || {{sort|12|12}} || {{sort|25|/dev/sdc25}} || align=right | 6 GiB || align=right | {{nobreak|6 GiB}} || align=right | {{nobreak|{{nts|6442450944}}}} || <code>fdb5ede1-73c3-4c43-8c5b-2d3dcfcddff8</code> || update
|-
|}
'''Note:''' A raw dump of a harddrive from a never booted PS4 will take 500,1 GiB ({{nts|500107861504}} bytes), which will 7z compress nicely to around 1,2 GB ({{nts|1168407328}} bytes)
== Mountpoints ==
;Hostdevices:
* APP_HOME (DATA)
* APP_HOME (HOST)
=== SceSysCore nmount / nmount_ufs ===
{| class="wikitable sortable"
|-
! module !! type !! source !! destination
|-
| SceSysCore mini || nmount || /dev/da0x4.crypt || /system
|-
| SceSysCore mini || nmount || /dev/da0x5.crypt || /system_ex
|-
| SceSysCore mini || nmount_ufs || /dev/da0x9.crypt || /system_data
|-
| SceSysCore mini || nmount_ufs || /dev/da0x13.crypt || /user
|-
| SceSysCore mini || nmount_ufs || /dev/da0x14.crypt || /eap_user
|-
| SceSysCore mini || mount || /dev/da0x12.crypt || /update
|-
| SceSysCore mini || nmount || /dev/da0x0.crypt || /preinst
|-
| SceSysCore mini || nmount || /dev/da0x1.crypt || /preinst2
|-
| SceSysCore || nmount || /data || /user/data
|-
|  ||  || /dev/da1s1 || /mnt/usb0
|-
|}
=== SceSysCore scheduler device ===
{| class="wikitable sortable"
|-
! module !! scheduler !! source !! destination
|-
| SceSysCore || GEOM I/O scheduler || is || da0 / da0.sched
|-
| SceSysCore || BD scheduler || bd_sched || cd0 / cd0.sched (/mnt/disc0)
|-
|}
== BD content ==
[PS4VOLUME]
[PS4VOLUME]
  ├─ PS4  
  ├─ PS4  
Line 98: Line 16:
     └─ [[rif]]
     └─ [[rif]]


== Package Files ==
== USB Mass Storage ==
[http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00042_00/5/f_9f37c55c84889f6557ffc7d340dda32c0f4073c3741d0824911a8baaa2214f3c/f/UP2102-CUSA00042_00-BLACKLIGHT2ORBIS-A0101-V0102.pkg UP2102-CUSA00042_00-BLACKLIGHT2ORBIS-A0101-V0102.pkg]


== USB Mass Storage ==
support USB Mass Storage formatted as either FAT32 (4GiB filesize limit) or exFAT.
support USB Mass Storage formatted as either FAT32 (4GiB filesize limit) or exFAT


a maximum of 8 devices can be mounted (/usb0 - /usb7)
A maximum of 8 devices can be mounted simultaneously (/usb0 - /usb7)


=== File/Folder reservation for External MASS Storage Devices ===
=== File/Folder reservation for External MASS Storage Devices ===
  \*.pkg                            (Installable packages)                  [[SKU Models Nonretail|devkit/testkit]] only
  \*.pkg                            (Installable packages)                  [[SKU Models Nonretail|devkit/testkit]] only
  \ps4_activation.afv                ([[Activation Key]] file)                            "
  \ps4_activation.afv                ([[Activation Key]] file)                            "
Line 161: Line 78:
  │        └───music.3gp            - Playlist: .m3u, m3u8                                                                                    )
  │        └───music.3gp            - Playlist: .m3u, m3u8                                                                                    )
  └───[MUSIC/PICTURE/VIDEO] *?
  └───[MUSIC/PICTURE/VIDEO] *?
== Package Files ==
[http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00042_00/5/f_9f37c55c84889f6557ffc7d340dda32c0f4073c3741d0824911a8baaa2214f3c/f/UP2102-CUSA00042_00-BLACKLIGHT2ORBIS-A0101-V0102.pkg UP2102-CUSA00042_00-BLACKLIGHT2ORBIS-A0101-V0102.pkg]




{{Reverse Engineering}}
{{Reverse Engineering}}
<noinclude>[[Category:Main]]</noinclude>
<noinclude>[[Category:Main]]</noinclude>

Revision as of 13:03, 20 August 2020

BD content

[PS4VOLUME]

├─ PS4 
│   └─ UPDATE
│       └─ PS4UPDATE.PUP
│          
├─ app 
│   └─ Productcode
│           └─ app.pkg 
│          
├─ bd 
│   └─ param.sfo 
│       
└─ license 
    └─ rif

USB Mass Storage

support USB Mass Storage formatted as either FAT32 (4GiB filesize limit) or exFAT.

A maximum of 8 devices can be mounted simultaneously (/usb0 - /usb7)

File/Folder reservation for External MASS Storage Devices

\*.pkg                             (Installable packages)                  devkit/testkit only
\ps4_activation.afv                (Activation Key file)                            "
\PS4DISC.ISO                       (BD emulation file)                              "
├───ORBIS                                                                           "
│     └───UPDATE                   (ORBISUPDATE.PUP System Firmware file)           "
├───PS4
│     ├───SAVEDATA                 (Save Games)
│     │      └───0000000000000000  (default folder)                                 "
│     └───UPDATE                   (PS4UPDATE.PUP System Firmware file)
├───PS4SHARE                       (Share recorded Exports)                         "
├───SHARE                          (Share recorded Exports)
└───[MUSIC/PICTURE/VIDEO] *?
 
     *? PS3 folders like MUSIC, PICTURE, VIDEO

This is how the PS4's external HDD structure looks like

├───*:\Root On Mass Storage
├───PS4
│    ├───SAVEDATA                 (Save Games)
│    │      └───0000000000000000  (default folder)
│    │               └───CUSA00001  (Save Game Folder)
│    │	                    └───savedata
│    │	                    └───savedata.bin
│    └───UPDATE  (PS4UPDATE.PUP System Firmware file)
│    │	                  
│    └───EXPORT
│             └───BACKUP 
│                   └───201504261757_00    (The folder with the backup chunks of the HDD, contains the date, the time and the backup number)
│                                ├───archive.dat  (4,194,240 KB)
│                                ├───archive0001.dat (4,194,240 KB)
│                                ├───archive0002.dat (4,194,240 KB)
│                                ├───archive0003.dat (4,194,240 KB)
│                                ├───archive0004.dat (4,194,240 KB)
│                                └───archive0005.dat (4,194,240 KB)
├───SHARE (Share recorded Exports)
│    ├───Screenshots
│    │     └───(Name Of Game)
│    │	          └───nameofgame.jpg
│    │	    └───Other
│    └────Video Clips
│         └───(Name Of Game)
│    	         └───nameofgame.mp4  
├───SHAREFACTORY                    (PS4 Movie Making Application)
│         └───MUSIC
├───(NAMEOFGAME)                  (Similar to SHAREFACTORY's folder)        
│         ├───image.png
│         ├───image.jpg
│         └───music.mp3 *?
├───Music
│         ├───music.mp3           ( Audio media can be played from a USB stick device, if these files are placed into a folder called "music"
│         ├───music.mp4             - Supported codec : AAC (2channel) and MP3 (2 channel)
│         ├───music.m4a             - Sampling Frequency: 22.05kHz、24kHz; 32kHz、44.1kHz、48kHz; 96kHz
│         └───music.3gp             - Playlist: .m3u, m3u8                                                                                     )
└───[MUSIC/PICTURE/VIDEO] *?

Package Files

UP2102-CUSA00042_00-BLACKLIGHT2ORBIS-A0101-V0102.pkg