Files on the PS4

From PS4 Developer wiki
Jump to navigation Jump to search

Partitions

PS4 500GB HDD as seen with "GPT Protective Partition" in Windows XP/embedded/2003 32bit/x86

PS4 partitions as seen in Windows 7/8/Vista/2008 and 64-bit version of Windows XP/2003
Part device file Z5K500
size
ST500LM012
size
in bytes type remarks
1 10 /dev/sdc17 1 GiB 1 GiB 1,073,741,824 80dd49e3-a985-4887-81de-1daca47aed90
2 15 /dev/sdc31 16 GiB 16 GiB 17,179,869,184 3ef7290a-de81-4887-a11f-46fba765c71c
3 13 /dev/sdc27 420.12 GiB 420.120117188 GiB 451,100,540,928 c638477a-e002-4b57-a454-a27fb63a33a8
4 9 /dev/sdc13 8 GiB 8 GiB 8,589,934,592 76a9a5b4-44b0-472a-bde3-3107472adee2
5 5 /dev/sdc9 1 GiB 1 GiB 1,073,741,824 757a614b-6179-5361-6b61-6b6968617261
6 6 /dev/sdc10 1 GiB 1 GiB 1,073,741,824 757a614b-6179-5361-6b61-6b6968617261
7 7 /dev/sdc11 1 GiB 1 GiB 1,073,741,824 dc85025f-a694-4109-be44-fa0c063e8b81
8 8 /dev/sdc12 1 GiB 1 GiB 1,073,741,824 dc85025f-a694-4109-be44-fa0c063e8b81
9 11 /dev/sdc19 8 GiB 8 GiB 8,589,934,592 a71ff62d-1421-4dd9-935d-25dabd81bec5
A 1 /dev/sdc1 512 MiB 512 MiB 536,870,912 17800f17-b9e1-425d-b937-0119a0813172
B 2 /dev/sdc3 1 GiB 1 GiB 1,073,741,824 ccb52e94-ebef-48c4-a195-9e2da5b0292c
C 3 /dev/sdc5 16 MiB 16 MiB 16,777,216 145268bf-63ad-47c1-9378-9aacd9beed7c
D 4 /dev/sdc7 128 MiB 128 MiB 134,217,728 6e0c5310-8445-4066-b571-9b65fdb75935
E 14 /dev/sdc29 1 GiB 1 GiB 1,073,741,824 21e4dfb4-0040-4934-a037-ea9dc058eea6
F 12 /dev/sdc25 6 GiB 6 GiB 6,442,450,944 fdb5ede1-73c3-4c43-8c5b-2d3dcfcddff8

Note: A raw dump of a harddrive from a never booted PS4 will take 500,1 GiB (500,107,861,504 bytes), which will 7z compress nicely to around 1,2 GB (1,168,407,328 bytes)

Mountpoints

Hostdevices
  • APP_HOME (DATA)
  • APP_HOME (HOST)

SceSysCore nmount / nmount_ufs

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

SceSysCore scheduler device

module scheduler source destination
SceSysCore GEOM I/O scheduler is da0 / da0.sched
SceSysCore BD scheduler bd_sched cd0 / cd0.sched

BD content

[PS4VOLUME]

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

Package Files

UP2102-CUSA00042_00-BLACKLIGHT2ORBIS-A0101-V0102.pkg

USB Mass Storage

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

a maximum of 8 devices can be mounted (/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

Can be deleted if wanted, but this is how the PS4's external HDD structure looks like

├───*:\Root On External HDD
├───PS4
│    ├───SAVEDATA                 (Save Games)
│    │      └───0000000000000000  (default folder)
│    │               └───CUSA00001  (Save Game Folder)
│    │	                    └───savedata
│    │	                    └───savedata.bin
│    └───UPDATE                   (PS4UPDATE.PUP System Firmware file)
├───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
│	   ├───mage.jpg
│	   └───music.mp3 *?
└───[MUSIC/PICTURE/VIDEO] *?