Editing Harddrive

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 8: Line 8:
*GameOS partition
*GameOS partition
**Is an UFS2 256-bit file system with a sectorsize of 512 bytes (4096 bits).
**Is an UFS2 256-bit file system with a sectorsize of 512 bytes (4096 bits).
**Because it is per-console encrypted, it is not possible to read out the data on it with another console (it will just ask to reformat it, to set it to its own per-console encryption, hence emptying the drive)
**Because is perconsole encrypted, it is not possible to read out the data on it with another console (it will just ask to reformat it, to set it to its own perconsole encryption, hence emptying the drive)


To read/write data out in Linux, BSD, Windows, or Mac OS X, you'll need to use the specific per-console "ATA tweak" and "ATA data" keys. See [[Harddrive#Harddrive_encryption|Harddrive encryption]] and [[HDD_Encryption]]
To read/write data out in Linux, BSD, Windows, Mac OS X its needed to use the specific perconsole "ATA tweak" and "ATA data" keys. See [[Harddrive#Harddrive_encryption|Harddrive encryption]] and [[HDD_Encryption]]


*In some newer PS3 models (like [[CECH-40xx]]A 12GB) the internal harddrive has been replaced by a [[Flash_(Hardware)|Flash]]
*In some newer PS3 models (like [[CECH-40xx]]A 12GB) the internal harddrive has been replaced by a [[Flash_(Hardware)|Flash]]


=== Harddrive Model info ===
=== Harddrive Model info ===
The data in this table has been copied from manufacturer documents (datasheets or productsheets) available at support sites found at the links at bottom of the page
The data in this table has been copied from manufacturer documents (datasheets or productsheets) availables at his support webs. See links at bottom of the page


*A collection of productsheets/datasheets of the HDD models used in PS3, renamed by manufacturer/series: [[http://www.multiupload.nl/V3ISMS6Q80 Download]] (fujitsu series are missing)
*A collection of productsheets/datasheets of the HDD models used in PS3, renamed by manufacturer/series: [[http://www.multiupload.nl/V3ISMS6Q80 Download]] (fujitsu series are missing)
Line 644: Line 644:
'''About not-backuped files'''
'''About not-backuped files'''


Savegames in PS3 format and trophies are linked to the console/user by using their PARAM.SFO... if you look in this table [http://www.psdevwiki.com/ps3/PARAM.SFO#SFO_Requirements_for_HDD_contents|SFO Requirements for HDD contents] in their respective columns, the critical param_keys that needs to be taken in consideation when importing/exporting to another account or console are: ACCOUNTID, ACCOUNT_ID, PARAMS, and SAVEDATA_LIST_PARAM
Savegames in PS3 format and trophies are linked to the console/user by using his PARAM.SFO... if you look in this table [http://www.psdevwiki.com/ps3/PARAM.SFO#SFO_Requirements_for_HDD_contents|SFO Requirements for HDD contents] in his respective columns, the critical param_keys that needs to be taken in consideation when importing/exporting to another account or console are: ACCOUNTID, ACCOUNT_ID, PARAMS, and SAVEDATA_LIST_PARAM
There are several scenarios for importing exporting in the same or other console, between accounts, between registered and not registered PSN accounts, etc... One scenario that deserves a mention because the simplicity is when you replace the HDD, your account is not registered in PSN, and your PS3 uses a NOR flash
There are several scenarios for importing exporting in the same or other console, between accounts, between registered and not registered PSN accounts, etc... One scenario that deserves a mention because the simplicity is when you replace the HDD, your account is not registered in PSN, and your PS3 uses a NOR flash


PS3 accounts not registered in PSN use an account id filled with zeroes (that's normal, and is taken as a real number by the system), and trophies are only linked to ACCOUNTID !!!. If your source and target accounts are not registered in PSN you can simply paste the old trophy folders in the new account (dev_hdd0/home/<any_user_id_here>) in your new HDD and "rebuild database", that's all. You can use the same "trick" to transfer trophies between accounts in the same or other console if none of them are registered in PSN (yes, all the PS3 CFW users of the world not registered in PSN can share their trophies just by copy-pasting files)
PS3 accounts not registered in PSN uses an account id filled with zeroes (thats normal, and is taken as a real number by the system), and trophies are only linked to ACCOUNTID !!!. If your source and target accounts are not registered in PSN you can simply paste the old trophy folders in the new account (dev_hdd0/home/<any_user_id_here>) in your new HDD and "rebuild database", thats all. You can use the same "trick" to transfer trophies between accounts in the same or other console if none of them are registered in PSN (yes, all the PS3 CFW users of the world not registered in PSN can share his trophies just by copypasting files)


For gamesaves the ACCOUNT_ID is also used, but like explained above (because in this example the source and target accounts are not registered in PSN) this is not a problem, the problem here are the contents of PARAMS and SAVEDATA_LIST_PARAM
For gamesaves the ACCOUNT_ID is also used, but like explained above (because in this example the source and target accounts are not registered in PSN) this is not a problem, the problem here are the contents of PARAMS and SAVEDATA_LIST_PARAM
Line 653: Line 653:
Actually, are not a problem in all cases because chances are high that all values matches, but usually what changes is the "User ID" assigned to the account the first time it was created (you know... this 00000001 folder that was assiged to the first user you created inside dev_hdd0/home/<user_id_here>/), This number is a counter that always increases (even when you erase users it will not decrease) is stored inside xregistry.sys, and inside the gamesaves in the PARAMS
Actually, are not a problem in all cases because chances are high that all values matches, but usually what changes is the "User ID" assigned to the account the first time it was created (you know... this 00000001 folder that was assiged to the first user you created inside dev_hdd0/home/<user_id_here>/), This number is a counter that always increases (even when you erase users it will not decrease) is stored inside xregistry.sys, and inside the gamesaves in the PARAMS


Probably you need to change this number to match the new account, so after replacing the HDD and creating a new account, it's a good time to keep this account number 00000001 and modify all the saves to match the 00000001 inside their PARAM. The other known values inside PARAM doesn't need to be changed (because we are importing/exporting in the same console, so "PS3 console ID" is the same)... you only need to change this when moving the save to another console
Probably you need to change this number to match the new account, so after replacing the HDD and creating a new account is a good moment to keep this account number 00000001 and modify all the saves to match the 00000001 inside his PARAM. The other known values inside PARAM doesnt need to be changed (because we are importing/exporting in the same console, so "PS3 console ID" is the same)... only is needed to change this when moving the save to another console


All this tasks are simple edits in the PARAM.SFO file... you could even make it with a hex editor if you are used to .SFO format, to simplify it you can use some .SFO editor (one that allows to change this values) or one gamesave editor
All this tasks are simple edits in the PARAM.SFO file... you could even make it with a hexeditor if you are used to .SFO format, to simplify it you can use some .SFO editor (one that allows to change this values) or one gamesave editor


Trophies and PS3 saves are protected by .PFD files so in case you modified one of the .SFO, then you need to "update" the list of protected files inside the .PFD (because PARAM.SFO is always in the list). When you update the .PFD the new PARAM.SFO is added to the list and this makes the whole gamesave folder/files "valid" and ready to be copied in the PS3. You will also need to "rebuild database" at the end of the process
Trophies and PS3 saves are protected by .PFD files so in case you modifyed one of the .SFO then you need to "update" the list of protected files inside the .PFD (because PARAM.SFO is always in the list). When you update the .PFD the new PARAM.SFO is added to the list and this makes the whole gamesave folder/files "valid" and ready to be copyed in PS3. Is also needed to use the option "rebuild database" at the end of the process


The PFD "update" is one of the commands inside "flatz pfd tools", it returns some info about the protected files inside the table with an "OK" at the end of each line when everything is fine.
The PFD "update" is one of the commands inside "flatz pfd tools", it returns some info about the protected files inside the table with an "OK" at the end of each line when everything is fine.
Line 663: Line 663:


*Notes
*Notes
**Part of the contents of PARAMS and SAVEDATA_LIST_PARAM are still unknown, (it's awesome how some people that uses/codes savegame cheat apps are still ignoring this... and I'm not talking about flatz, his purpose was to break the .pfd security to unlocking/transfering protected user files between legit offline accounts and no cheating purposes) --[[User:Sandungas|Sandungas]] ([[User talk:Sandungas|talk]]) 02:40, 28 January 2014 (EST)
**Part of the contents of PARAMS and SAVEDATA_LIST_PARAM are still unknown, (is awesome how some people that uses/codes savegame cheat apps are still ignoring this... and im not talking about flatz, his purpose was to break the .pfd security to unlocking/transfering protected user files between legit offline accounts and no cheating purposes) --[[User:Sandungas|Sandungas]] ([[User talk:Sandungas|talk]]) 02:40, 28 January 2014 (EST)
**About NAND or NOR consoles... xregistry.sys contains "Account ID" and "User ID"
**About NAND or NOR consoles... xregistry.sys contains "Account ID" and "User ID"
***Is PS3's with NOR xregistry.sys is stored in "Virtual flash" (a partition in HDD)
***Is PS3's with NOR xregistry.sys is stored in "Virtual flash" (a partition in HDD)
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)