Difference between revisions of "Fixing DRL and CRL Hashes"

From PS3 Developer wiki
Jump to: navigation, search
(Created page with "=Introduction= =DRL and CRL Hashes= <pre> sudo ./ps3dm -l 0x0 -p 0x1070000034000001 vtrm retrieve 0 | xxd -c 16 -p </pre>")
 
(DRL and CRL Hashes)
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
=Introduction=
 
=Introduction=
 +
 +
* It's a small and easy guide how to fix your DRL/CRL issues on GameOS with PS3 Linux.
 +
 +
=Tools=
 +
 +
* You need my latest ps3dm tool with VTRM commands retrieve and store_with_update.
 +
 +
ps3vuart-tools: http://gitorious.ps3dev.net/ps3linux/ps3vuart-tools
  
 
=DRL and CRL Hashes=
 
=DRL and CRL Hashes=
 +
 +
* DRL and CRL SHA1 hashes are stored on VTRM FLASH region.
 +
* First 20 bytes are SHA1 hash of DRL. Then following 20 bytes SHA1 hash of CRL.
 +
* If you are using a FW without SS patch then use '''0x1070000039000001''' as parameter to option '''-p'''.
 +
 +
 +
 +
Read current DRL and CRL SHA1 hashes from FLASH using VTRM service:
  
 
<pre>
 
<pre>
 
sudo ./ps3dm -l 0x0 -p 0x1070000034000001 vtrm retrieve 0 | xxd -c 16 -p
 
sudo ./ps3dm -l 0x0 -p 0x1070000034000001 vtrm retrieve 0 | xxd -c 16 -p
 +
8f0652bc6162a240362f90f1b2e5405b
 +
b82ee50296791f41f9a76f4d895dd582
 +
0db108ec03d192500000000000000000
 +
00000000000000000000000000000000
 +
</pre>
 +
 +
Write current DRL and CRL SHA1 hashes to FLASH using VTRM service:
 +
 +
<pre>
 +
sudo ./ps3dm -l 0x0 -p 0x1070000034000001 vtrm store_with_update \
 +
    8f0652bc6162a240362f90f1b2e5405bb82ee50296791f41f9a76f4d895dd5820db108ec03d19250
 
</pre>
 
</pre>
 +
 +
If you write '''wrong''' hashes '''intentionally''' then you won't be able to play BD movies and you will get the following message:
 +
<pre>
 +
Playback of BDs is prohibited on this system.
 +
Contact technical support for assistance.
 +
</pre>
 +
 +
How to get correct DRL and CRL hashes:
 +
 +
<pre>
 +
sudo mount /dev/ps3flashe /mnt
 +
 +
sha1sum /mnt/data-revoke/drl/DRL1
 +
8f0652bc6162a240362f90f1b2e5405bb82ee502  /mnt/data-revoke/drl/DRL1
 +
 +
sha1sum /mnt/data-revoke/crl/CRL1
 +
96791f41f9a76f4d895dd5820db108ec03d19250  /mnt/data-revoke/crl/CRL1
 +
</pre>
 +
 +
=Test=
 +
 +
* I intentionally wrote wrong DRL and CRL hashes with VTRM service store_with_update.
 +
* After that i couldn't play my BD movies on GameOS.
 +
* Then i wrote correct hashes again and BD playback is working again :)

Revision as of 20:21, 4 September 2012

Introduction

  • It's a small and easy guide how to fix your DRL/CRL issues on GameOS with PS3 Linux.

Tools

  • You need my latest ps3dm tool with VTRM commands retrieve and store_with_update.

ps3vuart-tools: http://gitorious.ps3dev.net/ps3linux/ps3vuart-tools

DRL and CRL Hashes

  • DRL and CRL SHA1 hashes are stored on VTRM FLASH region.
  • First 20 bytes are SHA1 hash of DRL. Then following 20 bytes SHA1 hash of CRL.
  • If you are using a FW without SS patch then use 0x1070000039000001 as parameter to option -p.


Read current DRL and CRL SHA1 hashes from FLASH using VTRM service:

sudo ./ps3dm -l 0x0 -p 0x1070000034000001 vtrm retrieve 0 | xxd -c 16 -p
8f0652bc6162a240362f90f1b2e5405b
b82ee50296791f41f9a76f4d895dd582
0db108ec03d192500000000000000000
00000000000000000000000000000000

Write current DRL and CRL SHA1 hashes to FLASH using VTRM service:

sudo ./ps3dm -l 0x0 -p 0x1070000034000001 vtrm store_with_update \
    8f0652bc6162a240362f90f1b2e5405bb82ee50296791f41f9a76f4d895dd5820db108ec03d19250

If you write wrong hashes intentionally then you won't be able to play BD movies and you will get the following message:

Playback of BDs is prohibited on this system.
Contact technical support for assistance.

How to get correct DRL and CRL hashes:

sudo mount /dev/ps3flashe /mnt

sha1sum /mnt/data-revoke/drl/DRL1
8f0652bc6162a240362f90f1b2e5405bb82ee502  /mnt/data-revoke/drl/DRL1

sha1sum /mnt/data-revoke/crl/CRL1
96791f41f9a76f4d895dd5820db108ec03d19250  /mnt/data-revoke/crl/CRL1

Test

  • I intentionally wrote wrong DRL and CRL hashes with VTRM service store_with_update.
  • After that i couldn't play my BD movies on GameOS.
  • Then i wrote correct hashes again and BD playback is working again :)