
       ************************************** X-Flash V9i By Art ************************************
       ******************** For Sony Playstation Portable (Firmware Version 1.50) *******************

Hi Guys,
X-Flash is a firmware modification program written primarily for my own use. I wanted a way to quickly apply
newly discovered firmware hacks, and to automate the process of customising any new 1.50 PSP units that
I might purchase in the future. Not all of the firmware modifications performed by this program are my own,
but I use all of these modifications permanently on my own PSP units. The X-Flash program has followed a
logical progression, and now features some firmware tools that I did not consider when I started the program.
At the time of the V9f update (21/05/06), I decided to finish development of this program in favour of
beginning work on another. A little over a month later (24/06/06), I updated this program soon after stumbling
onto a forum thread discussing a firmware modification to remove the PSP logo from the gameboot screen.


       ********************************* Grant Of Software License **********************************

The X-Flash Program is free to use, but I retain ownership of my software, and grant of license to use
it is under identical terms of GPS Trackmaker license agreement (reproduced in part with permission),
that pertain to preservation of protected ecosystems. View the entire agreement for GPS Trackmaker:
http://www.gpstm.com/downloadscontract.php

"LICENSE GRANT

The author grants a non-exclusive license to use the program, free of charge, if the user:
Does not use the program for illegal purposes;
does not practice activities that destroy or degrades the environment;
does not practice polluting activities;
does not throw trash on the ground or through the car’s windows;
when going to the beach and creeks takes his trash back until finding a trash collector;
does not practice any activities that hurts animals, like hunting, out-of-season fishing, pigeon shooting,
dog fight, etc.;
does not buy wild animals that, by law, may not be created out of their natural environment;
has ecological conscience and protects nature.
People that for any reason do not fit the conditions above, are expressly forbidden to use the program."

In addition to the above agreement, grant of Lisence to use X-Flash Version 9h or above, also requires
adhesion to the following terms:

When the user visits a Beach or other body of water, National Park or other protected environment,
he or she leaves no damage to live vegetation, leaves no unnatural polluting material, or litter,
and removes non-combustible material from fireplaces, or litter that may have been left by other people
if it is reasonable to do so.


       ***********************************************************************************************


I have personaly tested every function of this biuld of this program, on one of my own 1.50 PSP units.
All firmware modifications performed by this program are working well on my own PSP units.
(X-Flash V9i All functions Tested with 1.50 firmware PSP unit on 29/06/06).

To Install the X-Flash program, copy the XFlash program folders in the usual GAME folder of a 1.50 PSP.
Now you should be able to launch the program from the Game menu.

After program launch, the user must agree to a disclaimer screen prior to entering the menu.
The absence of the power adapter (mains cable) will also trigger a prompt to plug it in before continuing,
just like the official Sony Eboot updates, and PSPset program (Placasoft).
Once in the menu, any option can be selected by moving up and down with the joypad.
The screen footer offers a brief description of the currently selected option.

As a general rule the user presses 'X' to commit the selected modification to firmware, or presses 'O' to
reverse the selected modification. The program does not maintain checking for the power cable after startup,
so it can be tricked by pulling it out once the menu is loaded. Do so at your own risk if you do not have a UPS,
and prefer to rely on battery operation. There is an override code to bypass the screen requesting the cable
be plugged in. When the screen says "INSERT POWER CABLE TO CONTINUE", Press Joystick Right, and wait for about
30 seconds until asked to press joystick Left, Then the program will continue to enter the menu.
You can skip this screen much faster withy the play button on the headphone remote control unit.

Resistry Backup and Restore Tool-
The operation of the Resistry Backup and Restore Tool is as follows:
move up and down to navigate menu to option 10, Press 'X' to restore a previously saved PSP 1.5 firmware
registry from memory stick, or press 'O' to Backup your current registry to memory stick.
The Resistry Backup and Restore Tool prevents the user from ever having to enter network settings and
other user data/ preferences in the event of a PSP system crash that causes the flash1 folder to be rewritten
by Sony PSP internal software.
The Memory Stick containing X-Flash can also be used to setup the user data (including network configurations)
on another PSP unit that you borrow from a friend, so you can restore his registry prior to returning
your friend's PSP unit.
If you try to restore a PSP system registry before you have saved one, an error message will be shown on screen
to tell the user that no registry files exist.
It is said to be completely safe to write to flash1 (where the system registry is stored), and I would agree,
but I do not guarantee this, so this option is not available without clicking on the front end Disclaimer.

Firmware Dump Tool-
When this option is selected, the entire firmware will be dumped from flash to the XFlash/Xflash/Dump directory.
I previously used a homebrew program called "File Assistant" for dumping firmware.

Custom Font Option-
A couple of PSP Updates members have noticed that game save problems have occured while using large custom
fonts like the one installed by previous versions of this program. A new "Digital" font has been used in this
version in an attempt at solving this problem. Use the circle button to restore original Sony font if you have
experienced this problem, or are having any other problems with ISO loaders.
While I have not tested yet, fonts that may have caused these sort of problems should not be an issue while using
the new version of Devhook.

All Version Changer-
The All version Changer allows the user to select any of what I will call "Legal firmware versions" to be
applied as firmware version spoof. Select Option 9 from the menu with joypad up & down. Change version with
joypad left & right, or high speed selection with left & right trigger (shoulder buttons).
Firmware version spoofs for below version 1.00 are brickers under simulation, and are therefore locked.
Press 'X' to apply the version spoof, or 'O' to remove version spoof (applies standard 1.50 file).
I have tested several firmware versions including 1.00, 5.69, 6.66, 9.99, and 7.77.
Tip: For ultra fast selection of version number hold one of the shoulder buttons, and analogue stick in the
same direction.

Special Version 13.37 Spoofer-
This option is a version spoofer that patches the sysconf_plugin.rco file with a '1' at the end of the
version string that appears in the System Information screen. Next it applies a normal version spoof to
version 3.37. With those two modifications, the System information screen reports "Version 13.37".
As of X-Flash V7d, Both flash writes are verified when using this option, and the system_plugin_bg.rco
file is patched for this option to work with the PSP set to English, French, or German languages.

Custom Sound Options-
Menu option 2 allows modifications to two of the sounds your PSP makes during normal operation.
Scroll sidways with option 2 selected to view these options when X-Flash is running.
Alternate Eound Effect 5 writes a vag file called "Coldboot.vag" from folder PSP/XFlash/Xflash/Modified to 
flash for use as the coldboot opening sound. Alternate Sound Effect 3 applies an echo effect to the same
file prior to writing to flash. This can be used to enhance the sound of your own voice.

To create your own vag files (sound files used for XMB menu and opening sounds), download MFAudio:
http://www.zophar.net/utilities/download/MFAudiov11.zip
If the above link dies, you can search PSPupdates for a program called Menuedit by Loco.
The distribution package for Menuedit includes MFAudio.

MFAudio is easy to use. It converts a wav file (16 bit mono, 44100Hz) to a vag file you can use with X-Flash.
It is suggested that you name the source wav file "Coldboot.wav", so that the result Coldboot.vag file has
the correct name in it's header. The header is not changed if you simply rename the vag file afterwards.

The good news is, if you make a mess of it your sound won't work but you won't brick your PSP with this
feature, as you could if you replaced the font file in this package with an invalid or incompatable font.
I could be wrong here, so I accept no responsibility.

Pressing the circle button with Menu option 2 selected will restore both the XMB error sound,
and the coldboot opening sound to original.

Custom Gameboot Movie-
The gameboot movie (gameboot.pmf) is a short movie that is played prior to anything launching through the
game menu, or from UMD. As stock, this movie is a colourful animated splash screen displayed against a white
background. You can choose to delete this movie, replace the original, or replace the movie with your own
compatible PMF file found in XFLASH/Xflash/Modified/gameboot.pmf. The size of the file you can use is
deliberately limited by X-Flash for safety, but I have since found that much larger files are safe to use.

The custom gameboot movie included with this package is a plain black movie that I thought was suited to
black PSP units that may be also using plain black backgrounds. When this movie is used, there is no white
background displayed during the launch of any game. I also posted this gameboot file on PSPupdates forums.
Thi splain black movie can be used with the debranded gameboot screen option to provide smooth transition
when launching a game or program from the game menu.

Credits Screen-
Press Square to toggle the Credits screen.
The Credits screen shows what information I know about the origin of all modifications made by this software.
Some of this information is likely to be incomplete, or incorrect.
My apologies in advance if this is the case. Many firmware modifications are my own discoveries.

Secret Locked Option-
The locked feature of X-Flash that copied an mp3 song to flash has been removed from this version.
It was a novelty feature only.

Cheers, Art.
http://www.freewebs.com/defxev/
(www.austech.info)

       **********************************************************************************************

NOTE:
Users of old (file swap) X-Flash versions should Restore original settings before using this version.

WARNING:
This program (through software or hardware malfunction), has the potential to render subject PSP units
permanently inoperative. Use this software, and/or modification to PSP firmware files at your own risk.

X-Flash may not be able to reverse firmware modifications performed by any other program,
since other programs might use different method to achieve some of the same, or similar results.
X-Flash is intended only for use on PSP units that have original firmware 1.50 files.

The X-Flash program title has no association with the Microsoft X-Box, any X-Box software, or Sony-X-Team.
X-Flash is not endorsed by Sony, it is written in C using free tools provided by ps2dev.org,
and the free PSP version of Mikmod Sound Library is used for sound and music in X-Flash.

ASCII art stored within, and displayed by this program, and any future versions is copyright,
and may not be reproduced outside of duplicate X-Flash program distribution packages.

Last minute Greetings to innercy. I found your cool background with Google :)
http://www.deviantart.com/deviation/32546128/


       **********************************************************************************************

VERSION HISTORY:

V9i (29/06/06):
false verify warning bug found not to be fixed, found the real problem and fixed. Bug fix update only.

V9h (25/06/06):
Change to 'Disable Network Update Icon', and 'Disable XMB Menu Wave' routines to correct false verify
warnings after continued use.
Small programming optimisations to conserve RAM.

V9g (24/06/06):
Added new "Debranded Gameboot Intro Screen" feature that removes PSP logo from game boot screen.
Sample "Digital" font included with recent X-Flash versions is replaced with the sample font
that came with early X-Flash versions (I guess must have decided I liked it better).
Removed the Biult in "Holy Shit" opening sound, "Toilet Flush" and "Doh" Error Sounds to conserve RAM, 
Programming optimisation to conserve RAM, and allow for possible program expansion.

V9f (Package B) (06/06/06):
Added Black gameboot.pmf file as default in XFLASH/Xflash/Modified folder.
Press Triangle to apply the black gameboot movie.

V9f (21/05/06):
Optimisations to save RAM for program stability, and aid of adding features that may be discovered later.
Removed loced feature that saved and retrieved a song to flash memory.
Removed WLAN Libraries from code. Program no longer checks Nicknames, or MAC addresses.

V9e (07/05/06):
Checking of gameboot.pmf file size. Program won't start if gameboot.pmf is larger than 1191936 bytes
unless gameboot.pmf is a zero byte file as it is in the X-Flash distribution package.
Checking of background.bmp file size. Warning is given if background.bmp is larger than 6176 bytes (60x34).
Program does not start if background.bmp is larger than 391734 bytes (480x272).
External files gameboot.pmf and background.bmp headers are checked to verify correct file type.
All version spoofer version 6.66 is unlocked. The program no longer checks the PSP's MAC address.
(I think this remained exclisive to Kos for long enough).
Removed visualisation of verify for all version spoofer.
Included a new example background.bmp file. It is a low resolution abstract by me :)
Code optimization, some of which is invisible to the user.
Added novelty support of headphone remote control unit.
Press play to quickly bypass the "INSERT POWER CABLE" screen.
Press forward and reverse in the menu to select an option.

V9d (02/05/06):
Fixed false (Verify Error) message (hopefully).
Verify works properly for deleted Gameboot Movie (zero byte gameboot.pmf existance is verify pass).
Re-tested all functions for this release.
Included secret function unlock procedure in this document.

V9c (01/05/06):
Removed Music checksum which was to be later used for checksumming firmware.

V9b (01/05/06):
Increased dead zone for analogue joystick to prevent false triggering on some PSP units.

V9 (01/05/06):
Added sideways menu selection of individual monthly wallpaper pictures to replace with Wallpaper.bmp
Flash write verification for all operations except when writing external files from the Xflash/Modified folder.
Implemented real time ASCII graphics screen that allows animation.
User Visualisation of startup file checking (most of which was present in prior versions invisible to the user).

V8c (26/04/06):
Added sound support for X-Flash application using Mikmod Sound library,
and produced custom sound samples for the menu, and button confirmation, etc.
Fixed theme selection to work sideways.
Added support for analogue joystick.
Cosmetic interface improvements.

V8b (23/04/06):
Exception handling in the event of verify fail after flash write operation.
X-Flash V8b will try to write the file three times and then exit the program if there is still a verify error.
Option to write Coldboot.vag (user supplied vag file) to flash to use as opening sound.
Selectable four colour menu theme (can be saved).

V8(20/04/06):
Flash write verification for most features.
Wave effect for cold boot opening is removed when the XMB wave effect is removed,
and restored when the XMB wave effect is restored.
Debranding intro screen is carried out seperately and independently of intro sound or wave effect.
Flash write verification for debranded intro option, and restore branded intro.
Change opening sound options with echo effect locked to one sound at the moment.
Selectable menu colour (can be saved).

V7e (16/04/06):
Fixed startup file checking.
Added sideways scrolling to select one of three alternate error sounds.
There are "expansion slots" for new sounds that will write the original sound.
Flash writes for menu option 2 are verified.
Added colour selector (colour preference isn't saved yet).

V7d (16/04/06):
Fixed version 13.37 spoofer to work with three languages (English, French, and German).
Menu option for "Disable Wave Effect" is now called "Toggle Wave Effect".
Menu option for "Disable Network Update" is now "Toggle Network Update Capability".
For the two options above, X_Flash detects your PSP's current setting,
and performs the opposite action each time the option is applied.
Flash writes for these features are now verified.
The "Custom XMB Menu Label" feature now only changes the label of the 'Game' folder,
although the routine can be expanded to change other labels.
The option to disable network update automaticaly labels the icon "Disabled".
Flash writes for the "Custom XMB Menu Label" feature are now verified.
There are nine selections for replacement Game icon labels (scroll sideways).
New basic checking for invalid background file types, invalid font file types,
and other error conditions at startup.
Last minute menu fix.
(debugging information for secret function was being printed outside the debug screen area).

V7c:
Added verify function to Version 13.37 Firmware Spoofer.

V7b:
Added screen flashing effect whenever flash is written.
Added verify function to All Version Firmware Spoofer.
Unlocked Version 13.37 Firmware Version Spoofer.
Proper internal debug screen implemented.
All version spoofer checks if 13.37 spoofer is applied, and prompts for removal.
Changed artwork for icon & picture. Added to Credits.
Fixed right side of ASCII fanfold paper graphic.

V7:
Added "All Version Changer" feature. User selects their own legal firmware version.
Added basic check for 1.50 firmware at startup that is not fooled by X-Flash version spoof.
This is to prevent the program being used with incorrect firmware versions.
Changed access to credits screen to Square button.
Removed recognition of Kos's PSP unit, 6.66 firmware version tricker is still disabled.
Support for 13.37 version tricker is implemented, but locked for this release.
Program has begun to modify and replace firmware originaly obtained from subject PSP unit.

V6 (01/04/06):
Added override code to bypass "PLEASE INSERT POWER CABLE TO CONTINUE" screen,
(battery level is not checked).
Added footer notes to describe every function performed by the program in menu.
Added firmware dump feature.
Added Secret Locked Feature.

V5:
Locked Feature opened only by running on Kos's PSP exclusively (as promised).
When the feature is unlocked, Option 11 is changed from "Program Exit"
to "Special Feature Unlocked" The program must be exited with the Home
button when the special feature is unlocked.
The second last line of the Credits screen will provide confirmation that the
program is running on Kos's PSP unit. Let me know if there is any trouble with this.
The special feature should be applied before any other options as your PSP may not
be recognised by this program after certain other options have been applied.
A future version may provide another way to unlock this feature ;)

V4:
Optimisation of menu and program code, most not visible to the end user,
This will provide for easier transition to an XMB style of menu for future version :)
Re-added Program Exit option from internal menu.
Added Registry Backup and Restore Tool.
Added checking for power adapter at startup.
Added Credits screen.
Renamed folders to remove corrupt icon.

V3 (27/03/06):
Added 2.00 Version Spoof (Version trick).
Program must now be exit with Home button.
Minor fixes to menu code, and to reduce overall size of .zip package
Added end user disclaimer screen.
Fixed restored coldboot intro to include original sound.
Tested to Perform all menu functions without bricking 1.50 PSP (Friday 27/3/06)

V2a:
Re-released with fix to KXploit folder

V2:
Able to reverse the firmware Modifications

V1 (23/03/06):
One dimension of XMB style menu system working
Tested to Perform all functions without bricking 1.50 PSP


       **********************************************************************************************

