PlayStation Portable homebrew
History of homebrew
Soon after the PSP was released, hackers began to discover exploits in the PSP that could be used to run unsigned code on the device. Sony released version 1.51 of the PSP firmware in May 2005 to plug the holes that hackers were using to gain access to the device. On 15 June 2005 the hackers distributed the cracked code of the PSP on the internet. Hackers refused to apply updates which would render their hacks unusable so Sony attempted to convince users that there was a benefit to upgrading by including new features in the firmware updates, such as a web browser, and not just security patches to plug the vulnerabilities. BusinessWeek dubbed this the "carrot-and-stick" approach.
In August 2005 Sony released version 2.0 of the firmware which included the web browser, file compatibility updates and other features. Hackers and other homebrew enthusiasts then encountered the first trojan for the PSP. Symantec called this trojan "Trojan.PSPBrick". Users attempting to downgrade their PSP using this software instead found that it was rendered inoperable as this software deleted mandatory/important system files. Over the course of 2005 Sony released six different versions of the firmware and hackers typically responded to it by downgrading to avoid the new security updates.
In Mid-2006, after several months of problems in defeating the PSP's firmware a file was posted online which allowed new PSPs running firmware version 2.6 to downgrade to 1.5 so they could then be hacked using older methods. This reportedly caused more buzz in the community than any recent official offerings for the device.
Dark AleX (aka Dark_AleX, Dax) is a Spanish programmer who writes homebrew applications for the PlayStation Portable. Dark AleX, as well as other variations of the name, is a pseudonym under which he works. One of the drawbacks of downgrading the PSP is that new official media may require the presence of a new firmware edition. Dark_Alex had released a Custom Firmware called "Dark Alex's Open Edition firmware" or "Custom Firmware (CFW)" which opens the firmware but allows users to use the existing feature set of the current edition. Sony quickly patched the firmware again, continuing the cat-and-mouse game with the hackers and users. In 2006 Sony released six updates to the system firmware and in 2007 they released another six updates. In July 2007 Dark_AleX officially stopped his work on the PSP, citing perceived problems with Sony as one of the reasons for his departure. Some people even suggested that Dark_AleX was paid by Sony not to release any more custom firmware, but Sony denied this.
Custom Firmware allows the running of unsigned code such as homebrew applications and UMD backups, emulators for other consoles, as well as PlayStation games when the disc images are converted into PSP format.
Half Byte Loader
Half Byte Loader (also known as HBL) is an open source software project that aims at loading homebrew for PlayStation Portable handheld console through user-mode exploits. It does not provide any mechanism for loading official games or ISO images. HBL was built from scratch to be easily portable to any user-mode exploit. The project was created and started by m0skit0 and ab5000.  It is currently maintained by wololo.
HBL was created initially for the Medal of Honor Heroes exploit. An alpha version was released as open source by m0skit0 and ab5000 on November 2009, which ran very simple homebrews. When the Patapon 2 demo exploit was found and leaked, wololo joined the project and proposed to port HBL to this new exploit. The AdvancedPSP forums, which hosted the project, were shut down by the hosting and the project moved to wololo/talk forums. wololo also created a new public SVN repository for HBL at Google Code. Other PSP hackers such as Davee and neur0n joined in to help the development of this port. HBL for Patapon 2 passed to beta version, and can be considered the first useful HBL version, released on March 2010. HBL was subsequently ported to several other user-mode exploits, and also served as base for other projects, like the PRO CFW project.
HBL was also ported to run on Sony PlayStation Vita's PSP emulator with very little modifications. This project was named Vita HBL (VHBL) and was uploaded to HBL's public repository by wololo on March 2012.
Motivation for homebrew
Hackers have stated that the motivation for unlocking the PSP has nothing to do with piracy, but allowing individuals full access to the products they've purchased and the freedom to do what they want with the item as well as the interest in exploring something unknown. Fanjita, a member of the hacker group "N00bz!", stated,
"Everyone has the right to do what they want with their own hardware. Piracy does upset me, and because what we are doing opens the way to piracy it's harder to justify it morally. But our stance on piracy is clear, and we hope to be role models. Sony have never been in touch with me, so I am confident that what we are doing is legal."
Additional features added including the ability to emulate and play the ROMs of other consoles, play homebrew games, share music, print photos, watch videos from streaming sites such as YouTube, and run additional video formats originally unsupported by the device.
Sony has told the media that any issues resulting from running modified code on the device would void the warranty. They have also stated that the problem is not with homebrew but piracy. However their constant firmware updates have been seen as attempts to hamper homebrew development. According to Phillip Torrone from Make magazine, this hampering could be due to the attempts to curb piracy and may cause more harm than good.
"I think the really smart companies should release their products to the alpha geeks for six months and let the alpha geeks play around with them. It seems to me they'd save a lot of money on R&D, and they'd come out with much more solid products."
However, Sony has also said that, when questioned about homebrew game support, Jack Tretton replied with,
"I think that is something that is in the works. We certainly see some of the stuff that has been done via homebrew, and it's incredibly creative. And I think we'd like to try and tap into that a little bit more."
- "Sony battles hackers over hijacked games". Reuters. 2005-07-06. Retrieved 2008-12-02.
- Kenji Hall (2005-12-01). "Attack of the Playstation Hackers". BusinessWeek. Retrieved 2008-07-21.
- "Playstation.com - Support - System Updates - psp".
- Robert McMillan (2005-10-08). "Trojan Trashes Playstation Portable". PC World. Retrieved 2008-07-22.
- Mike Musgrove (2006-06-06). "Routine Upgrades Are the Bane of 'Homebrew' Enthusiasts". The Washington Post. Retrieved 2008-07-28.
- Rubens, Paul (2007-02-26). "Three hacker teams unlock the PSP". BBC News. Retrieved 2008-02-17.
- Paul Rubens (2007-02-26). "Three hacker teams unlock the PSP". BBC. Retrieved 2008-07-21.
- Patel, Nilay. "PSP modder extraordinare Dark_AleX calls it quits". engadget. Retrieved 2008-08-05.
- Totilo, Stephen. "Sony Exec Talks New PSP's Upgrades, GPS Attachment, NYC Appeal And More". MTV. Retrieved 2008-08-05.
- Swann, Graham. "Investigating the PSP's PSone emulator". Eurogamer. Retrieved 2008-08-05.
- Wololo (2009-11-29). "MOHH exploit – m0skit0's eLoader alpha release (Devs only)". Wololo.net. Retrieved 2012-09-26.
- "LICENSE - valentine-hbl - Half Byte Loader - Google Project Hosting". Code.google.com. Retrieved 2013-06-21.
- "valentine-hbl - Half Byte Loader - Google Project Hosting". Code.google.com. Retrieved 2013-06-21.
- "(devs only) Valentine: Half-Byte Loader port to the Patapon2 demo exploit ·". Wololo.net. 2010-03-29. Retrieved 2013-06-21.
- "wololo.net/talk • View forum - Half Byte Loader Development". Wololo.net. Retrieved 2013-06-21.
- "VHBL: source uploaded to the svn, and new forum ·". Wololo.net. 2012-03-03. Retrieved 2013-06-21.
- Callaham, John. "Neowin - Where unprofessional journalism looks better". Neogamr.net. Retrieved 2013-06-21.
- Mike Musgrove (2005-07-12). "Tapping into Tinkering". The Washington Post. Retrieved 2008-07-22.
- Gregory A. Quirk (2007-11-20). "Under the Hood: Sony Playstation Portable slims down". EETimes. Retrieved 2008-07-22.
- Greg Miller (2007-07-23). "Mailbag for 23 July 2007 - The Small Fish". IGN. Retrieved 2008-12-24.