Editing Remarry Bluray Drive on Linux
Jump to navigation
Jump to search
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: | ||
=Introduction= | =Introduction= | ||
Line 6: | Line 6: | ||
* After i have written P-Block, S-Block and a new HRL, i could play my BD movies again :) | * After i have written P-Block, S-Block and a new HRL, i could play my BD movies again :) | ||
* Hope this guide can help someone too. | * Hope this guide can help someone too. | ||
=EID2= | =EID2= | ||
* You will need decrypted EID2 data. | * You will need decrypted EID2 data. | ||
* How to get it on Linux is described here: http://www. | * How to get it on Linux is described here: http://www.ps3devwiki.com/wiki/Spuisofs#Dumping_EID2_Key_with_spuisofs | ||
* EID2 contains encrypted P-Block and S-Block. | * EID2 contains encrypted P-Block and S-Block. | ||
* To get decrypted S-Block and P-Block first you have to decrypt EID2 with EID2 key and IV and then decrypt the blocks with DES-CBC. | * To get decrypted S-Block and P-Block first you have to decrypt EID2 with EID2 key and IV and then decrypt the blocks with DES-CBC. | ||
Line 22: | Line 20: | ||
key: 6C CA B3 54 05 FA 56 2C | key: 6C CA B3 54 05 FA 56 2C | ||
</pre> | </pre> | ||
=Tools= | =Tools= | ||
* ps3vuart-tools: http://www.ps3devwiki.com/wiki/Ps3vuart-tools | * ps3vuart-tools: http://www.ps3devwiki.com/wiki/Ps3vuart-tools | ||
* | * bd_enable_buffer_write.c: http://www.multiupload.nl/0GD1CQV9UX | ||
* bd_read_buffer.c: http://www.multiupload.nl/OQCDJLA1EM | |||
* bd_write_buffer.c: http://www.multiupload.nl/AK5JSAK9N3 | |||
* You could also use my PS3 Debian LiveCD which has ps3vuart-tools preinstalled and GCC compiler which you can use to compile all necessary BD tools. See http://www.ps3devwiki.com/wiki/Debian_LiveCD. | * You could also use my PS3 Debian LiveCD which has ps3vuart-tools preinstalled and GCC compiler which you can use to compile all necessary BD tools. See http://www.ps3devwiki.com/wiki/Debian_LiveCD. | ||
=Steps= | =Steps= | ||
* The order is important. You cannot e.g. write HRL before writing P-Block or S-Block. | * The order is important. You cannot e.g. write HRL before writing P-Block or S-Block. | ||
1. Write P-Block | 1. Write P-Block | ||
2. | 2. Write S-Block | ||
3 | 3. Write HRL | ||
=Writing P-Block= | =Writing P-Block= | ||
Line 89: | Line 45: | ||
* P-Block is in decrypted EID2 at offset 0x20 and of size 0x80. | * P-Block is in decrypted EID2 at offset 0x20 and of size 0x80. | ||
* Not all P-Block data is sent to BD drive. Only data starting at offset 0x10 and of size 0x60 bytes is written to BD drive buffer 2. | * Not all P-Block data is sent to BD drive. Only data starting at offset 0x10 and of size 0x60 bytes is written to BD drive buffer 2. | ||
==Test== | ==Test== | ||
Line 123: | Line 64: | ||
# Authenticate the BD drive | # Authenticate the BD drive | ||
sudo ps3dm -v sm drive_auth 0x29 # It should not fail !!! | sudo ps3dm -v sm drive_auth 0x29 # It should not fail !!! | ||
Line 135: | Line 74: | ||
* BD buffer 3 is of size 0x670 bytes. | * BD buffer 3 is of size 0x670 bytes. | ||
* S-Block is in decryoted EID2 at offset 0xa0 and of size 0x690. | * S-Block is in decryoted EID2 at offset 0xa0 and of size 0x690. | ||
* Not all S-Block data is sent to BD drive. Only data starting at offset 0x10 and of size 0x670 bytes is written to BD drive buffer 3. | * Not all S-Block data is sent to BD drive. Only data starting at offset 0x10 and of size 0x670 bytes is written to BD drive buffer 3. | ||
==Test== | ==Test== | ||
Line 151: | Line 88: | ||
sudo ./bd_enable_buffer_write -b 3 | sudo ./bd_enable_buffer_write -b 3 | ||
# Write | # Write P-Block to BD buffer 3 | ||
sudo ./bd_write_buffer -b 3 -i sblock.bin | sudo ./bd_write_buffer -b 3 -i sblock.bin | ||
Line 160: | Line 97: | ||
* HRL is stored in BD buffer 4. | * HRL is stored in BD buffer 4. | ||
* BD buffer 4 is of size 0x8000 bytes. | * BD buffer 4 is of size 0x8000 bytes. | ||
<pre> | <pre> | ||
Line 181: | Line 116: | ||
* You cannot just write a new HRL to BD drive buffer 4. You can actually but it will corrupt your current BD HRL. | * You cannot just write a new HRL to BD drive buffer 4. You can actually but it will corrupt your current BD HRL. | ||
* If you corrupt your HRL then nothing bad will happen but you won't be able to play BD movies. | * If you corrupt your HRL then nothing bad will happen but you won't be able to play BD movies. | ||
* First you have to send P-Block to BD drive, after that authenticate the BD drive and then write a new HRL. Only in this order will it work | * First you have to send P-Block to BD drive, after that authenticate the BD drive and then write a new HRL. Only in this order will it work. | ||
<pre> | <pre> | ||
Line 209: | Line 143: | ||
00008000 | 00008000 | ||
</pre> | </pre> | ||