Skip to content

xerpi/vita-libbaremetal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PSVita bare-metal payload sample

What's this?

This is a bare-metal payload sample that performs some hardware initialization, such as turning on the OLED display or HDMI controller, setting up a framebuffer, and reading the control buttons, among other things.

All the code in this project has been implemented by reverse engineering the PSVita OS and mimicking it to perform the required steps to carry out hardware initialization.

Simultaneously, I have also been updating and documenting wiki.henkaku.xyz with the findings obtained by reverse engineering the PSVita OS (such as register bits and initialization sequences).

Instructions

Compilation:

Installation:

  1. Copy baremetal-sample.bin to your PSVita
  2. Run vita-baremetal-loader

Memory card authentication:

For the Memory card authentication to work, you will have to place the key used by rmauth_sm's command 0x2 in the msif.c file.

Check this for more information.

Credits

Thanks to everybody who contributes to wiki.henkaku.xyz and helps reverse engineering the PSVita OS.

Specially the Team Molecule (formed by Davee, Proxima, xyz, and YifanLu), TheFloW, motoharu, and everybody at the HENkaku Discord channel.