Editing DeviceID

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:
On PS Vita, the Device ID is a unique 20-bytes hexadecimal sequence. It is simply the SHA1 hash of the OpenPSID. It is stored inside several files such as [[id.dat]] or calendar.db in order to check that the inserted memory card was not previously in another PS Vita, else a database refresh is performed.
[[Category:Software]]<noinclude>[[Category:Main]]</noinclude>


Why did SCE not simply use the OpenPSID?
== Description ==
 
It is a unique 20 bytes (0x14) hexsequence inside your PSVita / PSTV. It is simply the SHA1 hash of [[openPSID]]. It is stored inside several files such as [[id.dat]] or calendar.db in order to check that the inserted memory card was not previously in another PSVita, else a database refresh is performed.
 
Why did SCE not simply use openPSID?


On PSP, OpenPSID was almost never used except for savedata.
On PSP, OpenPSID was almost never used except for savedata.
Line 7: Line 11:
On PS3, OpenPSID was used for act.dat checks, savedata / trophies when no PSN account bounded.
On PS3, OpenPSID was used for act.dat checks, savedata / trophies when no PSN account bounded.


On PS Vita, OpenPSID is used the same way as on PS3 but SCE secured still more its console by using the hash of OpenPSID and not OpenPSID itself.
On PSVita, OpenPSID is used the same way as on PS3 but SCE secured still more its console by using the hash of OpenPSID and not OpenPSID itself.


This way, it is harder for people to know their openPSID. But since we have tm0: partition read access with exploits, we can simply read 0x10 Bytes at offset 0x850 of tm0:npdrm/act.dat to get openPSID.
This way, it is harder for people to know their openPSID. But since we have tm0: partition read access with exploits, we can simply read 0x10 Bytes at offset 0x850 of tm0:npdrm/act.dat to get openPSID.
Line 25: Line 29:
| id.dat || DID=297C4C0FA1F5A6E374FE4FE65535E03DC1643F2C
| id.dat || DID=297C4C0FA1F5A6E374FE4FE65535E03DC1643F2C
|-
|-
| calendar.db || tbl_app_authentication_info >> column open_psid >> 297C4C0FA1F5A6E374FE4FE65535E03DC1643F2C || The value is stored as an ASCII text.
| calendar.db || tbl_app_authentication_info >> column open_psid >> 297C4C0FA1F5A6E374FE4FE65535E03DC1643F2C || The value of the Hexsequence is stored as a Text value
|}
|}


Line 41: Line 45:
| DID || 20 bytes (0x14) || 297C4C0FA1F5A6E374FE4FE65535E03DC1643F2C
| DID || 20 bytes (0x14) || 297C4C0FA1F5A6E374FE4FE65535E03DC1643F2C
|}
|}
[[Category:Software]]<noinclude>[[Category:Main]]</noinclude>
Please note that all contributions to Vita Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see Vita 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)