Editing Index.dat

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
Encrypted form of version.txt. Contains info about firmware version/build/date etc.
[[Category:Software]]
 
= Location =
= Location =
Location: /dev_flash/vsh/etc/index.dat


== PS3 ==
== Unpacking ==
 
contains content similar to version.txt about firmware version/build/date etc. and can be unpacked with undat (you´ll need the dat keys for it) - it is used in MFW Builder 0.2 in the spoofer task.
/dev_flash/vsh/etc/index.dat
 
== PS Vita ==
 
vs0:vsh/etc/index.dat
 
== PS4 ==
 
/priv/etc/index.dat
 
= Decryption =
 
Index.dat is aligned to 0x10 bytes, digested with SHA-1 (PS3), SHA-256 (PS Vita, PS4) then encrypted with AES128CBC (PS3), AES256CBC (PS Vita, PS4).
 
Reciprocally, index.dat is decrypted with AES128CBC (PS3), AES256CBC (PS Vita, PS4), digest is verified then version.txt is stored as null-terminated string and is displayed as is or parsed.
 
= Tools =
 
See [https://psdevwiki.com/vita/index.php?title=Tools#index.dat_decryption_tools]
 
= Alternative Readout =
 
== PS3 ==
 
This info can also be read with [[More System Information]].
 
== PSVita ==


This info can also be read with [https://psdevwiki.com/vita/index.php?title=Hidden_Modes#More_System_Information More System Information]
The keys are public known in aes example papersheets :  
* "The Laws of Cryptography: Test Runs of the AES Algorithm" 2002
* "Applied cryptography and network security" 2003
and alot others


= PS3 Example =
== Alternative Readout ==
This info can also be read with [[More System Information]]


== Example ==
'''Note:''' You can find [[Talk:Index.dat|more samples per version on the talk page]]
'''Note:''' You can find [[Talk:Index.dat|more samples per version on the talk page]]
=== 3.55 RETAIL/CEX ===
=== 3.55 RETAIL/CEX ===
Line 113: Line 91:


== Correlation to PUP version ==
== Correlation to PUP version ==
=== PUP Image version - versus Build number in index.dat/version.txt ===
=== PUP Image version - versus Build number in index.dat/version.txt ===
PUP Image version is located at offset 0x10-0x17
PUP Image version is located at offset 0x10-0x17
example OFW 3.15 CEX:  
example OFW 3.15 CEX:  
Line 124: Line 100:
      
      
   ''hex:948F (PUP image version) = dec:38031 (<span title="build:38031,20091206:[email protected]">index.dat/version.txt</span>)''
   ''hex:948F (PUP image version) = dec:38031 (<span title="build:38031,20091206:[email protected]">index.dat/version.txt</span>)''
On official firmwares the value is the same, but they are used in different stages. PUP image version is used by ps3swu.self (updater) when installing firmwares in normal and recovery mode. Index.dat/version.txt is not looked at when installing (hence, why you can have a 3.15 firmware with Image version correlating to 3.15 OFW and spoofed to look like a 4.11 firmware).
On official firmwares the value is the same, but they are used in different stages. PUP image version is used by ps3swu.self (updater) when installing firmwares in normal and recovery mode. Index.dat/version.txt is not looked at when installing (hence, why you can have a 3.15 firmware with Image version correlating to 3.15 OFW and spoofed to look like a 4.11 firmware).


For MFW's/MFW Builder, the Image version is increased by +1, which is why you need to use Recovery mode to install a same version firmware.
For MFW's/MFW Builder, the Image version is increased by +1, which is why you need to use Recovery mode to install a same version firmware.


= Breakdown of elements =
== Breakdown of elements ==
 
== PSP / PS3 ==
 
=== release ===
=== release ===
notes version
notes version
=== build ===
=== build ===
notes build number,reverse date:owner<br />
notes build number,reverse date:owner<br />
ximai-linux / tetsu@tetsu-linux?(.rd.scei.sony.co.jp): Server that the firmware was built on (using Scientific Linux (RHEL 3/4 based) with [http://en.wikipedia.org/wiki/Xen Xen] on IA64 <!-- the same setup as used for scedev.net hosting -->)
ximai-linux / tetsu@tetsu-linux?(.rd.scei.sony.co.jp): Server that the firmware was built on (using Scientific Linux (RHEL 3/4 based) with [http://en.wikipedia.org/wiki/Xen| Xen] on IA64 <!-- the same setup as used for scedev.net hosting -->)
 
Build number in index.dat/version.txt to PUP Image version relationship
 
PUP Image version is located at offset 0x10-0x17
example OFW 3.15 CEX:
  Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
  &nbsp;
  00000000  53 43 45 55 46 00 00 00 00 00 00 00 00 00 00 01  SCEUF...........
  00000010  00 00 00 00 00 00 94 8F 00 00 00 00 00 00 00 07  ......”.........
  &nbsp;
  ''hex:948F (PUP image version) = dec:38031 (<span title="build:38031,20091206:[email protected]">index.dat/version.txt</span>)''
On official firmwares the value is the same, but they are used in different stages. PUP image version is used by ps3swu.self (updater) when installing firmwares in normal and recovery mode. Index.dat/version.txt is not looked at when installing (hence, why you can have a 3.15 firmware with Image version correlating to 3.15 OFW and spoofed to look like a 4.11 firmware).
 
For MFW's/MFW Builder, the Image version is increased by +1, which is why you need to use Recovery mode to install a same version firmware.


=== target ===
=== target ===
notes intended [[Product Code]]
notes intended [[Target ID]]
 
=== security ===
=== security ===
=== system ===
=== system ===
=== x3 ===
=== x3 ===
?ANSI C standard? (X3.159-1989 and ISO/IEC 9899:1990)
?ANSI C standard? (X3.159-1989 and ISO/IEC 9899:1990)
Or... it could be the codename for "XMB version 3" ? (the first XMB interface implementation in a PlayStation was the PSX, second was the PSP, and third was the PS3)
=== paf ===
=== paf ===
?parseArgumentsFile?. Name inherited from psp firmware.
?parseArgumentsFile?  
 
==== PAF related modules in PSP ====
vsh/module/paf.prx
vsh/module/pafmini.prx
 
==== PAF related modules in PS3 ====
vsh/module/paf.sprx      (from firmware 1.00 up to 2.17)
vsh/module/paf_ext.sprx  (from firmware 1.90 up to {{latestPS3}})
vsh/module/paf_psjs.sprx  (from firmware 2.70 up to {{latestPS3}})
vsh/module/paf_web.sprx  (from firmware 1.90 up to {{latestPS3}})
 
=== vsh ===
=== vsh ===
relates to [[VSH]]
relates to [[VSH]]
=== sys_jp ===
=== sys_jp ===
?seems related to [http://en.wikipedia.org/wiki/Japanese_input_methods Japanese input method] I/O ?
?seems related to [http://en.wikipedia.org/wiki/Japanese_input_methods Japanese input method] I/O ?
Line 179: Line 146:
=== ps1emu ===
=== ps1emu ===
relates to [[Emulation#ps1emu]]
relates to [[Emulation#ps1emu]]
=== ps1netemu ===
=== ps1netemu ===
relates to [[Emulation#ps1emu]]
relates to [[Emulation#ps1emu]]
=== ps1newemu ===
=== ps1newemu ===
relates to [[Emulation#ps1emu]]
relates to [[Emulation#ps1emu]]
=== ps2emu===
=== ps2emu===
relates to [[Emulation#ps2emu]]
relates to [[Emulation#ps2emu]]
=== ps2gxemu ===
=== ps2gxemu ===
relates to [[Emulation#ps2emu]]
relates to [[Emulation#ps2emu]]
=== ps2softemu ===
=== ps2softemu ===
relates to [[Emulation#ps2emu]]
relates to [[Emulation#ps2emu]]
=== pspemu ===
=== pspemu ===
relates to [[Emulation#pspemu]]
relates to [[Emulation#pspemu]]
=== emerald ===
=== emerald ===
?AV-player? / NA on DEX/DECH/DECR since 0.95
?AV-player? / NA on DEX/DECH/DECR since 0.95
=== bdp ===
=== bdp ===
Bluray Disc Player. N/A on DEX/DECH/DECR since 0.95.
Bluerayvideo / NA on DEX/DECH/DECR since 0.95
 
=== patch ===
=== patch ===
=== auth ===
=== auth ===
== PSVita ==
<pre>
sys-revision
vsh-revision
security-revision
sys-repository-path
vsh-repository-path
security-repository-path
sdk-internal-build-number
vsh-build-number
</pre>
{{Custom Firmware}}<noinclude>[[Category:Main]]</noinclude>
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)