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 27: | Line 25: | ||
* You can decrypt P- and S-Blocks with openssl e.g. | * You can decrypt P- and S-Blocks with openssl e.g. | ||
<pre> | |||
# eid2.bin is your EID2 from NOR/NAND flash | # eid2.bin is your EID2 from NOR/NAND flash | ||
Line 46: | Line 44: | ||
openssl enc -d -aes-256-cbc -iv <your EID2 IV> -K <your EID2 key> > sblock_des.bin | openssl enc -d -aes-256-cbc -iv <your EID2 IV> -K <your EID2 key> > sblock_des.bin | ||
# First 16 bytes in pblock_des.bin and sblock_des.bin should be equal to: | # First 16 bytes in pblock_des.bin and sblock_des.bin should be equal to: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ||
# create pblock.bin | # create pblock.bin | ||
Line 60: | Line 57: | ||
# First 16 bytes in pblock.bin and sblock.bin should be equal | # First 16 bytes in pblock.bin and sblock.bin should be equal | ||
</pre> | |||
</ | |||
=Tools= | =Tools= | ||
Line 151: | Line 146: | ||
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 161: | Line 156: | ||
* BD buffer 4 is of size 0x8000 bytes. | * BD buffer 4 is of size 0x8000 bytes. | ||
* If you dump HRL buffer after you have written P- and S-blocks but before you have written a new HRL then you wont't see a valid HRL but some junk. That's OK. | * If you dump HRL buffer after you have written P- and S-blocks but before you have written a new HRL then you wont't see a valid HRL but some junk. That's OK. | ||
<pre> | <pre> | ||
Line 209: | Line 203: | ||
00008000 | 00008000 | ||
</pre> | </pre> | ||