09-04-2007, 08:09 PM

Chilly Willy Wrote:
Here's the v1.1 of my IdStorage Manager application for the PSP. This app lets you dump, view, and verify the IdStorage Keys on your PSP. v1.1 is now in HEN (homebrew enabler) format so that it is easier for stock PSPs to run (no more devhook + 1.50 needed).
For people who never read readme's
make a directory like ms0:\PSP\GAME\idstoragemgr (or GAME150 for people with custom firmware)
copy EBOOT.PBP, idstorage.prx, and the empty keys directory there (you don't HAVE to copy the empty keys directory... you could also create it there as well)
Activate HEN (on stock systems... not needed for custom firmware) and run IdStorage Manager like any other homebrew.
Note: you MUST have a keys directory in the same directory as this app if you wish to dump the keys. The current version doesn't create it. To verify keys, you would put the files representing the keys into this keys directory.
EDIT: 2007/09/03 v1.2 release. New features are ability to create and delete keys, and the colors are inverted to make it easier on the eyes.
For people who never read readme's
make a directory like ms0:\PSP\GAME\idstoragemgr (or GAME150 for people with custom firmware)
copy EBOOT.PBP, idstorage.prx, and the empty keys directory there (you don't HAVE to copy the empty keys directory... you could also create it there as well)
Activate HEN (on stock systems... not needed for custom firmware) and run IdStorage Manager like any other homebrew.
Note: you MUST have a keys directory in the same directory as this app if you wish to dump the keys. The current version doesn't create it. To verify keys, you would put the files representing the keys into this keys directory.
EDIT: 2007/09/03 v1.2 release. New features are ability to create and delete keys, and the colors are inverted to make it easier on the eyes.
Readme
Spoiler:
IdStorage Manager v1.2 by Chilly Willy
======================================
This is my latest attempt to make dealing with the idstorage keys
easier, as well as provide extra features. Currently, this app will
dump all existing keys, verify the keys against files on the memory
stick, and display individual keys in hex or ascii.
Installation
============
To install IdStorage Manager on a PSP with custom firmware, make a
directory in the GAME (or GAME150 for custom firmwares) directory
called idstoragemgr (actually, this name doesn't matter at all) and
copy EBOOT.PBP, idstorage.prx, and the empty keys directory into it.
Usage
=====
To use Id Storage Manager, put any key files you wish to verify or write
into the idstoragemgr/keys directory. These files must have a file name
of the form 0x0041.bin, where the "0041" is the key number in hexadecimal.
If you dump the keys on the PSP, the files will be dumped to that same
directory in the format described. If you don't understand what I mean,
just dump the keys and look at the resulting filenames.
Run IdStorage Manager from the XMB like any other homebrew. You'll see
a title screen for a few seconds, then be taken to the status screen.
Note that the status screen hasn't been done yet.
From the status screen, you can perform the other IdStorage Manager
functions by pressing the appropriate button. Button mappings are
printed at the top of the display. Press the Circle button to exit back
to the XMB.Press the Square button to dump the keys to your memstick.
Press the Triangle button to view individual keys. Finally, press the
Cross button to verify and fix the keys using files on the memstick.
While viewing the individual keys, press the Triangle button to switch
the view between hexadecimal and ASCII. Press the Circle button to return
to the status screen. Press Right/Up/RTrigger to advance 1/16/256 keys,
and Left/Down/LTrigger to go back 1/16/256 keys. Pressing Cross to edit
yields another input prompt: you are asked if you wish to cancel, edit
a byte, delete the current key, or create a key at the current index
(the created key will be cleared initially). Note that edit a byte
currently does nothing. The main difference in this version compared
to the previous is the ability to delete and create keys.
While verifying keys, it will print which key is being checked and whether
it passes or fails the comparison against the file on the memstick. If it
fails, it asks you to press the Circle button to skip over this key (hence
leaving it alone), or to press the Cross button to write the contents of
the file to the IdStorage key. Once it is done verifying, it will return
to the status screen. If you used this to fix keys, you can press the Cross
button again to verify the keys, ensuring the fixed keys were written and
pass the verification this time.
Let's say you wished to restore a PSP back to stock. You would run this
app on a stock PSP and dump the keys. You would then run this app on the
PSP you wish to restore using the keys from the stock PSP. Any keys that
are different will ask you to correct them. If you did something like this,
you had better be sure you have a firmware installed that will work with
the stock keys! For example, if you have a TA-082 with 1.50 (and maybe
the 3.xx custom firmware) and you restored the keys back to stock, the
1.50 firmware would fail to load on a restart. You have been warned!
Note: if you alter one or more keys and have a UMD in the PSP when you
exit the program, you may get a warning "The disc cannot be read."
Warning
=======
Although I've tried to make this program bug-free and safe to use, it has
the possibility of bricking your PSP if you don't use it correctly. Viewing
and dumping keys should never cause a problem, but verifying/fixing keys
can brick the PSP easily if you don't know what you are doing. Even then,
there is a remote possibility the PSP could be bricked by fixing keys.
Nothing is 100% safe. One thing I've done here is not check the battery
level... it takes less than a minute to write keys, so I don't think it's
really needed. However, if you run on batteries, you need to make sure they
are charged to a decent level before fixing keys! You have been warned again!
I might add a battery check into later versions... I'll have to see what
people have to say about this issue. Any other operation by IdStorage Manager
should be safe regardless of the battery level. If your battery goes dead
while dumping keys, the worst that happens is you get one corrupted file on
the memstick.
Acknowledgements
================
This program was made possible by the efforts of many people. I'd like to
thank Stapol, Mathieulh, harleyg, Jas0nuk, and Dark_AleX. If anyone else
thinks they deserve some credit, let me know.
======================================
This is my latest attempt to make dealing with the idstorage keys
easier, as well as provide extra features. Currently, this app will
dump all existing keys, verify the keys against files on the memory
stick, and display individual keys in hex or ascii.
Installation
============
To install IdStorage Manager on a PSP with custom firmware, make a
directory in the GAME (or GAME150 for custom firmwares) directory
called idstoragemgr (actually, this name doesn't matter at all) and
copy EBOOT.PBP, idstorage.prx, and the empty keys directory into it.
Usage
=====
To use Id Storage Manager, put any key files you wish to verify or write
into the idstoragemgr/keys directory. These files must have a file name
of the form 0x0041.bin, where the "0041" is the key number in hexadecimal.
If you dump the keys on the PSP, the files will be dumped to that same
directory in the format described. If you don't understand what I mean,
just dump the keys and look at the resulting filenames.
Run IdStorage Manager from the XMB like any other homebrew. You'll see
a title screen for a few seconds, then be taken to the status screen.
Note that the status screen hasn't been done yet.
From the status screen, you can perform the other IdStorage Manager
functions by pressing the appropriate button. Button mappings are
printed at the top of the display. Press the Circle button to exit back
to the XMB.Press the Square button to dump the keys to your memstick.
Press the Triangle button to view individual keys. Finally, press the
Cross button to verify and fix the keys using files on the memstick.
While viewing the individual keys, press the Triangle button to switch
the view between hexadecimal and ASCII. Press the Circle button to return
to the status screen. Press Right/Up/RTrigger to advance 1/16/256 keys,
and Left/Down/LTrigger to go back 1/16/256 keys. Pressing Cross to edit
yields another input prompt: you are asked if you wish to cancel, edit
a byte, delete the current key, or create a key at the current index
(the created key will be cleared initially). Note that edit a byte
currently does nothing. The main difference in this version compared
to the previous is the ability to delete and create keys.
While verifying keys, it will print which key is being checked and whether
it passes or fails the comparison against the file on the memstick. If it
fails, it asks you to press the Circle button to skip over this key (hence
leaving it alone), or to press the Cross button to write the contents of
the file to the IdStorage key. Once it is done verifying, it will return
to the status screen. If you used this to fix keys, you can press the Cross
button again to verify the keys, ensuring the fixed keys were written and
pass the verification this time.
Let's say you wished to restore a PSP back to stock. You would run this
app on a stock PSP and dump the keys. You would then run this app on the
PSP you wish to restore using the keys from the stock PSP. Any keys that
are different will ask you to correct them. If you did something like this,
you had better be sure you have a firmware installed that will work with
the stock keys! For example, if you have a TA-082 with 1.50 (and maybe
the 3.xx custom firmware) and you restored the keys back to stock, the
1.50 firmware would fail to load on a restart. You have been warned!
Note: if you alter one or more keys and have a UMD in the PSP when you
exit the program, you may get a warning "The disc cannot be read."
Warning
=======
Although I've tried to make this program bug-free and safe to use, it has
the possibility of bricking your PSP if you don't use it correctly. Viewing
and dumping keys should never cause a problem, but verifying/fixing keys
can brick the PSP easily if you don't know what you are doing. Even then,
there is a remote possibility the PSP could be bricked by fixing keys.
Nothing is 100% safe. One thing I've done here is not check the battery
level... it takes less than a minute to write keys, so I don't think it's
really needed. However, if you run on batteries, you need to make sure they
are charged to a decent level before fixing keys! You have been warned again!
I might add a battery check into later versions... I'll have to see what
people have to say about this issue. Any other operation by IdStorage Manager
should be safe regardless of the battery level. If your battery goes dead
while dumping keys, the worst that happens is you get one corrupted file on
the memstick.
Acknowledgements
================
This program was made possible by the efforts of many people. I'd like to
thank Stapol, Mathieulh, harleyg, Jas0nuk, and Dark_AleX. If anyone else
thinks they deserve some credit, let me know.
