Editing Iso module

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:
= Explanation =
[[Category:Software]]
 
= Explaination =
Isolated modules are used for de-/encryption, rehashing etc.
Isolated modules are used for de-/encryption, rehashing etc.


Commonly found in [[CoreOS]], [[Talk:Files_on_the_PS3#dev_flash|dev_flash]], embedded sony selfs and service packages like [[Remarry Bluray Drive]].
Commonly found in [[Boot_Order#CoreOS_PKG_Filelisting|CoreOS]], [[#Flash_Device_Archives_.5B3.55_Retail.2FCEX.5D|dev_flash]], embedded sony selfs and service packages like [[Remarry Bluray Drive]].
 
They are SPU .self binaries which can be called whenever needed: e.g. decrypting and hashcheck [[Flash#EID0_-_Section_0|EID0]] for [[Product Code]] inside [[IDPS]] when called upon by lv1 (HyperVisor) to set up restrictions for Retail/CEX or Debug/DEX etc.


''Note: This page lists all isolated modules, except bootldr, metldr and other loaders from [[CoreOS]], see also [[Boot Order]]''
They are SPU .self binaries which can be called whenever needed: e.g. decrypting and hashcheck [[Flash#EID0_-_Section_0|EID0]] for [[Target ID]] inside [[IDPS]] when called upon by lv1 (HyperVisor) to set up restrictions for Retail/CEX or Debug/DEX etc.


== Known isolated modules ==
== Known isolated modules ==
{| class="wikitable"
{| class="wikitable"
|-
|-
! Module !! Usage !! Location !! Remarks
! Module !! Remarks
|-
| AacsModule.spu.isoself || [[Flash:Encrypted_Individual_Data_-_eEID#EID3|EID3]] and theoretically [[Flash#FF_Filled_with_OCRL0200_section|OCRL]] || /dev_flash/bdplayer ||
|-
| aim_spu_module.self  || [[Flash:Encrypted_Individual_Data_-_eEID#EID0|EID0]] (section 0x00 and 0x0A) || [[CoreOS]] ||
|-
| CprmModule.spu.isoself || [[Flash:Encrypted_Individual_Data_-_eEID#EID3|EID3]] || /dev_flash/bdplayer ||
|-
| CssModule.spu.isoself ||  || /dev_flash/bdplayer ||
|-
| fdm_spu_module || [[Flash:Encrypted_Individual_Data_-_eEID#EID2|EID2]], [[Remarry Bluray Drive]] || [[2.43_CEX|2.43 JIG PUP]] ||
|-
|-
| manu_info_spu_module.self ||  || [[CoreOS]] (since FW 3.50) ||
| aim_spu_module || [[Flash#EID0_-_Section_0|EID0]] (section 0x00 and 0x0A)
|-
|-
| mc_iso_spu_module.self || PS2 || [[CoreOS]] ||
| fdm_spu_module || [[Flash#EID2_-_Section_2|EID2]], [[Remarry Bluray Drive]]
|-
|-
| me_iso_for_ps2emu.self || PS2 || [[CoreOS]] (since FW 3.70) ||  
| manu_info_spu_module.self ||  
|-
|-
| me_iso_spu_module.self || PS2 || [[CoreOS]] ||
| mc_iso_spu_module || PS2
|-
|-
| SacModule.spu.isoself || [[Flash:Encrypted_Individual_Data_-_eEID#EID3|EID3]], SuperAudioCD || /dev_flash/vsh/module ||  
| me_iso_for_ps2emu.self || PS2
|-
|-
| sb_iso_spu_module.self || [[South Bridge]] || [[CoreOS]] ||  
| me_iso_spu_module || PS2
|-
|-
| sc_iso.self || [[Syscon Hardware|syscon]] || [[CoreOS]] ||  
| sb_iso_spu_module || southbridge
|-
|-
| sc_iso_factory.self || [[Syscon Hardware|syscon]] || [[2.43_CEX|2.43 JIG PUP]] ||
| sc_iso || syscon
|-
|-
| spu_handler.isoself || PSP Savegames || self inside /dev_flash/sys/internal/libchnnlsv.sprx ||  
| spu_pkg_rvk_verifier.self ||  
|-
|-
| spu_handler.isoself || PSP || self inside /dev_flash/pspemu/release/emulator_drm.sprx mself (since FW 3.15) ||  
| spu_token_processor.self || systemtokens, [[QA Flagging]]
|-
|-
| spu_mode_auth.self || || [[2.43_CEX|2.43 JIG PUP]] ||
| spu_utoken_processor.self || usertokens
|-
|-
| spu_pkg_rvk_verifier.self || || [[CoreOS]] ||
| sv_iso_for_ps2emu.self || PS2
|-
|-
| spu_token_processor.self || systemtokens, [[QA Flagging]] || [[CoreOS]] ||
| sv_iso_spu_module || [[Flash#EID4_-_Section_4|EID4]], PS2, bluray
|-
|-
| spu_utoken_processor.self || usertokens || [[CoreOS]] (since FW 2.40) ||
| AacsModule.spu.isoself || theoretically [[Flash#EID3_-_Section_3|EID3]]
|-
|-
| ss_sc_init.self || [[Syscon Hardware|syscon]] || [[2.43_CEX|2.43 JIG PUP]] ||
| CprmModule.spu.isoself || theoretically [[Flash#EID3_-_Section_3|EID3]]
|-
|-
| sv_iso_for_ps2emu.self || [[Flash:Encrypted_Individual_Data_-_eEID#EID4|EID4]], PS2 || [[CoreOS]] (since FW 3.70) ||  
| CssModule.spu.isoself ||
|-
|-
| sv_iso_spu_module.self || [[Flash:Encrypted_Individual_Data_-_eEID#EID0|EID0]], [[Flash:Encrypted_Individual_Data_-_eEID#EID4|EID4]], PS2, bluray || [[CoreOS]] ||  
| SacModule.spu.isoself ||
|-
|-
|}
|}


=== sc_iso.self ===
=== Stop Codes ===
 
sc_iso.self is used by the system to handle communications to/from syscon. Once debug printing is enabled after you load it, you can see some of the internal workings including error codes for when you are trying to use the module on your own.
 
==== Communicating w/ sc_iso.self ====
 
Look in the hv bible for more detailed info, but the gist is this:
 
1) Send the mbmsg start packet {1, 1, [sc_iso_cmd], [sc_iso_cmd_size]}. This is in response to the 0x80 mbox int.
<br />2) On 0x81 mbox int, receive the packet (same location you sent it from), do stuff, then write back new packets and then spu_in_mbox_write(problem, seqno++)
 
{| class="wikitable"
{| class="wikitable"
|-
|-
! Error Value !! Meaning
! Stop Code !! Module !! Remark
|-
| 0x80010283 || Bad hdr->seqno (in dma_get)
|-
| 0x80010284 || Bad hdr->mbmsg (in dma_get)
|-
| 0x80010285 || is_align_ok fail (in dma_get)
|-
| 0x81010101 || sc_iso command failed
|-
| 0x81010106 || Bad input command value
|-
| 0x81010607 || Bad parameter for Get SRH (0x4)
|-
| 0x81010801 || Init for VTRM (0x6) write mngblk failed
|-
| 0x81010807 || Bad parameters for Init for VTRM (0x6)
|-
| 0x81010907 || Bad parameters for get_region_data (0x7)
|-
| 0x81010A07 || Bad parameters for set_region_data (0x8)
|-
| 0x81010B01 || Read mngblk failed for Init For Updater (0xE)
|-
|-
| 0x81010B07 || Bad parameter for Init For Updater (0xE)
| - || - || -
|-
| 0x81011E07 || Bad parameter for encrypt (0x1) / decrypt (0x2)
|-
|-
|}
|}
== Iso module main arguments ==
{| class="wikitable"
|-
! Register !! Value
|-
| r3 || uint64_t iso_module_arg0
|-
| r4 || uint64_t iso_module_arg1
|-
| r5 || uint64_t iso_module_arg2
|-
| r6 || uint64_t iso_module_arg3
|-
| r7 || uint128_t indiv_data0_part0
|-
| r8 || uint128_t indiv_data0_part1
|-
| r9 || uint128_t indiv_data0_part2
|-
| r10 || uint128_t indiv_data0_part3
|-
| r11 || uint128_t indiv_data1_part0
|-
| r12 || uint128_t indiv_data1_part1
|-
| r13 || uint128_t indiv_data1_part2
|-
| r14 || uint128_t indiv_data1_part3
|-
| r15 || uint128_t indiv_data2_part0
|-
| r16 || uint128_t indiv_data2_part1
|-
| r17 || uint128_t indiv_data2_part2
|-
| r18 || uint128_t indiv_data2_part3
|-
| r19 || uint128_t indiv_data3_part0
|-
| r20 || uint128_t indiv_data3_part1 (EID0_KEY_first_part for sv_iso_module only)
|-
| r21 || uint128_t indiv_data3_part2 (EID0_KEY_second_part for sv_iso_module only)
|-
| r22 || uint128_t indiv_data3_part3 (EID0_IV for sv_iso_module only)
|-
| r23 || uint32_t entry_point
|-
| r24 || uint64_t forced_sdk_minver (passed from metldr)
|-
|}
{{Development}}<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)