Hacking [Help] After playing and ISO/CSO, cannot boot.

jynxxander

New Member
OP
Newbie
Joined
Jun 8, 2011
Messages
2
Trophies
0
XP
11
Country
United States
Got my PSP 2000 working fine with the 5.50 GEN-D3 CFW, and got game to run just fine. My issue arises when I exit the game, then shut down my PSP. The next time I try to turn it on, it's bricked and I must run to my Pandora to put it back in a useful state. This issue only happens with ISO/CSO games and not physical UMDs. does anyone have a thought as to what's going on?
 

Rydian

Resident Furvert™
Member
Joined
Feb 4, 2010
Messages
27,880
Trophies
0
Age
36
Location
Cave Entrance, Watching Cyan Write Letters
Website
rydian.net
XP
9,111
Country
United States
A NAND backup is a backup of your entire PSP's internal memory. Not just the settings, but the firmwares and activation info too. It's what is done when you use a pandora to back up a PSP, it copies the NAND, and then when you restore it it re-writes the backup from the memory stick onto the PSP.

Unless you meant you were using pandora to install some CFW, in which case the upgrade might have gone bad... but going to OFW and then to PRO skipping any CFW updates is the way to go to be safe.
 

xist

ΚΑΤΑ ΤΟΝ ΔΑΙΜΟΝΑ ΕΑΥΤΟΥ
Member
Joined
Jul 14, 2008
Messages
5,859
Trophies
0
XP
984
Country
3r14nd's original (yes the ORIGINAL post before it got copied everywhere just like this) was on Maxconsole and was a great explanation of the NAND


<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->The NAND Dump AND NAND Basics

This tutorial is for people who do not understand what the NAND is or why it's so important. This tutorial should also let people know why it's so important not to use someone else's NAND dump. I have removed the advanced section of this tutorial being that I do not want to be responsible for people ruining their PSP.

I have made most of this from memory without looking things up. I may have mixed up some names and references. Please point out any mistakes I have made. With proof if possible.

When dealing with the NAND there are several things that you need to know. We are going to break them down in several sections.

01. Definition
02. Technical Breakdown
--- A. IPL
--- B. IDStorage
--- C. lflash
03. Dumping the NAND
04. Restoring the NAND
05. DOs and DON'Ts
06. Downloads

01. NAND Dump

What is it? Well a NAND dump is a physical back up of the chip inside your PSP that stores all the files that the PSP needs to start up. It contains the IPL, the IDStorage, and the lflash. A NAND dump if used properly can be used to quickly unbrick your PSP. This means that you cannot screw up the PSP unless something goes wrong hardware-wise.


02. Technical Breakdown

The contents of the NAND comprise 3 sections: The IPL, the IDStorage, and the lflash.

More **** To Read


--- A. The IPL

The IPL is the "Initial Program Loader".
When the PSP starts up the pre-IPL looks on the NAND for the IPL and loads it - if the inserted battery has a serial of 0xFFFFFFFF it is at this stage that the PSP loads the IPL from the memory stick rather than from the NAND - this is the first step in the booting process.
The IPL decrypts and unpacks itself, and starts loading everything else off of the lflash (the firmware)

There are as of this writing and as far as I know of 5 types of IPLs.

1.50 (1.00-1.52)
This will work on any PSP Classic from the 1.0 - 2.60 without modifying anything. If you modify the IDStorage and change "key 5" you will be able to load it on 1.50 - 3.52. Only the Classic PSP's with the TA-082+ motherboards needed to patch "key 5".

The older custom firmwares (2.71 SE to 3.52 M33) all used a 1.50 IPL to bootstrap the 2.xx/3.xx firmware with patches.

This is no longer the case with 3.71 M33 onwards, as the 1.50 IPL was removed to maintain functionality on the Slim PSP. However, there is a 1.50 kernel add-on for this and newer Custom Firmwares which can be used on the Classic PSP.

1.50 "Simple IPL"
This is an IPL patch that was made by Dark_Alex - it removes the check for IdStorage key 5 from the 1.50 IPL, which allows it to boot on all Classic PSPs. This IPL cannot be used on the Slim.

1.50 Multi-Boot
A person by the name of Booster made a multi-boot IPL that allowed you to use Pandora to boot to either your memory card or boot directly from the NAND. This IPL cannot be used on the Slim.

3.xx M33 custom IPL
This is an IPL that was made up entirely by Dark_AleX and the rest of Team M33. This was used for an add-on feature for Pandora to allow Pandora to run on the Slim because the 1.50 IPL does not work on the Slim. This IPL is also used in 3.XX M33, and DCv3/4.

3.xx
The encryption of the lflash changed during the 3.xx firmwares. In turn they also changed the IPL that loads up. The main reasons for doing this was first because the slim PSP was on the way out the door and second because they were trying to stop homebrew. Mainly it's because of the Slim PSP.


--- B. IDStorage

I will not get into this too much because most people will not need to know. However there are some things that you need to know about it.

IF YOU USE THE IDSTORAGE OF PSP THAT IS NOT YOURS OR DID NOT COME ON THE PSP WHEN IT WAS MADE, YOU WILL LOSE SEVERAL FEATURES OF YOUR PSP.

This is including but not limited to the following:

Ad-hoc
UMD and UMD video
Homebrew
MagicGate

Just remember that if you use someone elses IDStorage you CAN PERMANENTLY AND IRRECOVERABLY MESS UP YOUR PSP. DO NOT USE SOMEONE ELSE'S IDStorage.

What does IDStorage do?

IDStorage keeps several hundred keys with information about your PSP on each key.
These keys hold information like the following:

Serial Number
UMD drive serial number
WLAN MAC address
Some decryption keys
Video region information
WLAN region information
Unique keys and original firmware version
Battery power settings
LCD power settings

As you can see there are several things in your IDStorage that are specific to your PSP. If these things change to something that they are not supposed to be then you can brick your PSP.

Backing up your IDStorage is not hard. There are at serveral ways to do it. The first is a program called "Chilly Willy's Key Cleaner" this program will dump your keys for you in several .bin files for you. They can be restored using "Chilly Willy's IDStorage Manager". This is the preferred method of backing up your keys if you do not have Pandora. The next way is to use "cory149's Des Cem M8" this is a NAND dumping program that also has the ability to dump your keys. Pick one of these programs and use them. Finally, if you make a NAND dump in Despertar Cementerio, this contains a backup of the IdStorage.

You can use those same programs to restore your IDStorage once you have corrupted it. All 3 of those programs will work on DCv3/4 with jas0nuk's ELF menu.

Here is how:

KeyCleaner will make a backup of your IDStorage Keys. It does not matter what firmware you were on when you dumped them. As long as you have DC on a memory stick with the ELF menu and Des Cem M8 then you are set to go.

You can use Des Cem M8 to repartition the whole NAND and then use KeyCleaner from the ELF Menu and restore the IDStorage. At that point you can use DCvX to install your Firmware.

--- C. lFlash

The lflash is comprised of flash 0, 1, 2, and 3. They are all FAT12 partitions of the NAND. They are each separate partitions and each one of the can get corrupted all at once or each one by themselves. For instance you can have a corrupted flash2 or flash3 and never know it until you go to the PlayStation store and try to download something and next thing you know your PSP has bricked.

Flash0
Holds the actual firmware files. These files are encrypted and sig-checked. This means that when they were installed they were encrypted just for your PSP.

In other words you cannot use someone else's flash0 files on your PSP.

The only exception to this is if you are using a decompressed and decrypted RCO file that people use when customizing thier PSP.

Flash1
Holds all of your system settings. Things like your wallpaper of choice, your PSP user name, Network settings, Flash player and other settings. On here you will find a config.se which is the file that holds the settings for the "recovery" menu. If you delete this file then you will be resetting the settings for the recovery menu. You will also find the following folder on there:

flash1:/dic/atok10.dic
flash1:/gps
flash1:/net/http/auth.dat
flash1:/net/http/cookie.dat
flash1:/registry/system.dreg
flash1:/registry/system.ireg
flash1:/updater/u.log
flash1:/vsh/theme/custom_theme.dat
flash1:/vsh/theme/wallpaper.bmp

If you use DCv3/4 and your psp locks up in the xmb then you have created your DCv3/4 with a theme/wall paper installed and must use the format flash1 option in the recovery menu. Doing this will not recreate all of the aforementioned folders. Make sure they all exist.

Flash2
Holds cert.dat/act.dat DRM stuff for the PlayStation Network. This will only show up once you have connected your psp to a PS3 or a PC for the Playstation Network downloads. This also gets backed up by DCv4 when installing firmwares. The worst part about loosing this file is the fact you will have to redownload whatever it was you downloaded to begin with.

Flash3
3.60 it was used to store the tv usb1seg application "1SEG.PBP". This has since been moved to flash0 with all other programs. On the phat psp this is empty. Dark_AleX speculates that it will be used to store more "downloadable" content like "Go Messenger" but only on the Slim where the Classic will use the memory stick to download it.

Each "flash" area is a different partition on the NAND itself. These partitions have been known to get corrupted for various reasons. The most known reason is by using the usb option on 3.71 M33 to 3.71 M33-2. This has been fixed in 3.71 M33-4 I'm not sure. To fix this you can either use a proper working NAND dump or by using cory's NAND tool to repartition the areas and then reflash your firmware.

03. Dumping the NAND.

There are 4 programs out right now that will allow for dumping of your NAND. The first one that everyone knows is the original Pandora. The original Pandora does not run on the slim. The second is Despertar des Cementerio v3. The third is version 4. The last and greatest is cory's "Des Cem M8". Corys program is by far the best tool to use to work with your NAND by far.

When dumping your NAND it is normal to see bad blocks appear. Sony is allowed to ship out the PSP's whose NAND has a certain percentage of bad blocks. I have personally seen one brand new get shipped with 3 bad blocks. This is normal. They include a reasonable amount of extra blocks to use in this type of situation.

I personally make my dumps with whatever version of DCv3/4 I'm using. All of the programs dumps are universal. It does not matter which one you make the dump with however it does matter which one you restore it with technically.

04. Restoring the NAND dump

Despertar Des Cementerio version 3 and 4 will restore the dump physically. This means if you had a bad block when dumping then it will restore that bad block. The bad part about this is if you managed to get a new bad block since you made the dump you may not be able to properly restore your dump. The reason being is the DCv3/4 will restore good data to bad blocks because of the way it's restored.

Cory's Des Cem M8, and the old version of Pandora (only works on Classic PSP) will restore the dumps logically. This means it will check for bad blocks and will not restore good data to a bad block. It will in turn restore good data to the extra good blocks Sony included for this reason. Of course if there are too many bad blocks on the NAND then the restore will fail.

05. DOs and DON'Ts

"DOs"

Do make yourself a nand dump as soon as you have the opportunity. This can make or break your PSP.
Do make several backup copies of your NAND dump. Then zip it up and rename it to something you will understand. Mine are named:

3r14nd.v1.50.TA-079.Original.zip
3r14nd.v3.52.M33-4.TA-079.zip
3r14nd.v3.71.M33-4.TA-079.zip
3r14nd.v3.80.M33-4.TA-079.zip

I also carry them on my Pandora stick in the folder used for corys Des Cem M8.

"DONT's"

DON'T restore someone else's Flash0 files. They are encrypted for their PSP and not yours they will not work.
DON'T restore someone else's IDStorage. It will screw up your PSP.
DON'T restore someone else's NAND dump in to your PSP.

There are exactly 2 NAND dumps I know of that are fine to restore to any PSP. One of them is a NAND Dump of a Classic PSP that contains nothing but empty data and the correct partitions. The other is the exact same thing but for the Slim. These are still not good to restore unless you have a dump of your keys or a good dump of your IDStorage.

06. Downloads

Here are the links to Everything I have mentioned in this Tutorial

Download Chilly Willy's Key Cleaner
Download Chilly Willy's IDStorage
Download Corys's Open Source Nand Tool "Des Cem M8"
Download Team C+D's Prometheus Project Pandora's Battery
Download Dark Alex's Despertar del Cementerio
Download jas0nuk's Elf Menu

This tutorial was put together by 3r14nd. Contributions made by: cory149, jas0nuk, Dark_AleX, and Chilly Willy.

Edited By: jas0nuk

Thank yous are in order for all of the greatest devs of the PSP scene. You know who you are and there is no need to say names. I thank each and everyone of you who help this scene continue.

I hope this helps with keeps some of the noobs off of your PM box for a few.

If you know of anything that should be added to this tutorial, keep in mind it's for the noobz to get to know more about the NAND and not getting to know how to program for it, just PM me and I shall add it in.

Remember I have never stated that i'm a know it all when it comes to the NAND just someone who has payed attention. This means there may be mistakes in this TUT just point them out and I shall correct them.

Thank you.

3r14nd<!--QuoteEnd--></div><!--QuoteEEnd-->
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    @Sonic Angel Knight, Is that SAK I see. :ninja:
  • BigOnYa @ BigOnYa:
    What a weird game
  • K3Nv2 @ K3Nv2:
    Yeah I wanted to see shards of the titanic
  • BigOnYa @ BigOnYa:
    I kept thinking jaws was gonna come up and attack
  • K3Nv2 @ K3Nv2:
    Jaws is on a diet
  • K3Nv2 @ K3Nv2:
    Damn power went out
  • BigOnYa @ BigOnYa:
    Ok xdqwerty, your little bro prob tripped On the cord and unplugged you
  • K3Nv2 @ K3Nv2:
    Ya I'm afraid of the dark hug me
  • BigOnYa @ BigOnYa:
    Grab and hold close your AncientBoi doll.
  • K3Nv2 @ K3Nv2:
    Damn didn't charge my external battery either
  • BigOnYa @ BigOnYa:
    Take the batteries out of your SuperStabber3000... Or is it gas powered?
  • K3Nv2 @ K3Nv2:
    I stole batteries from your black mamba
    +1
  • K3Nv2 @ K3Nv2:
    My frozen food better hold up for an hour I know that
  • BigOnYa @ BigOnYa:
    Or else gonna be a big lunch and dinner tomorrow.
  • BigOnYa @ BigOnYa:
    Did you pay your power bill? Or give all yo money to my wife, again.
  • K3Nv2 @ K3Nv2:
    Oh good the estimated time is the same exact time they just said
    +1
  • BigOnYa @ BigOnYa:
    Load up your pc and monitor, and head to a McDonalds dining room, they have free WiFi
  • K3Nv2 @ K3Nv2:
    Sir please watch your porn in the bathroom
    +2
  • BigOnYa @ BigOnYa:
    No sir we can not sell you anymore apple pies, after what you did with the last one.
  • K3Nv2 @ K3Nv2:
    We ran out
  • HiradeGirl @ HiradeGirl:
    for your life
    +1
  • K3Nv2 @ K3Nv2:
    My life has no value my fat ass is staying right here
    K3Nv2 @ K3Nv2: My life has no value my fat ass is staying right here