{"id":19797415,"url":"https://github.com/xerpi/vita-libbaremetal","last_synced_at":"2025-05-11T21:52:01.170Z","repository":{"id":51068829,"uuid":"97814797","full_name":"xerpi/vita-libbaremetal","owner":"xerpi","description":"PSVita bare-metal payload library and sample","archived":false,"fork":false,"pushed_at":"2024-09-22T06:19:28.000Z","size":944,"stargazers_count":58,"open_issues_count":0,"forks_count":5,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-31T21:51:56.606Z","etag":null,"topics":["assembly-language-programming","bare-metal","c-programming","low-level-programming","psvita","reverse-engineering"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xerpi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-20T09:08:39.000Z","updated_at":"2025-01-01T21:42:37.000Z","dependencies_parsed_at":"2024-01-17T00:07:35.389Z","dependency_job_id":"a5520143-e932-449b-aaf4-21b8946ef76f","html_url":"https://github.com/xerpi/vita-libbaremetal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xerpi%2Fvita-libbaremetal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xerpi%2Fvita-libbaremetal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xerpi%2Fvita-libbaremetal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xerpi%2Fvita-libbaremetal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xerpi","download_url":"https://codeload.github.com/xerpi/vita-libbaremetal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253639517,"owners_count":21940442,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["assembly-language-programming","bare-metal","c-programming","low-level-programming","psvita","reverse-engineering"],"created_at":"2024-11-12T07:25:15.235Z","updated_at":"2025-05-11T21:52:01.123Z","avatar_url":"https://github.com/xerpi.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PSVita bare-metal payload sample\n\n## What's this?\n\nThis 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.\n\nAll 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.\n\nSimultaneously, I have also been updating and documenting [wiki.henkaku.xyz](https://wiki.henkaku.xyz/) with the findings obtained by reverse engineering the PSVita OS (such as register bits and initialization sequences).\n\n## Instructions\n\n**Compilation**:\n\n* [vitasdk](https://vitasdk.org/) is needed.\n\n**Installation**:\n\n1. Copy `baremetal-sample.bin` to your PSVita\n2. Run [vita-baremetal-loader](https://github.com/xerpi/vita-baremetal-loader)\n\n**Memory card authentication**:\n\nFor the Memory card authentication to work, you will have to place the key used by [`rmauth_sm`'s command 0x2](https://wiki.henkaku.xyz/vita/Secure_Modules_Functions#rmauth_sm.self) in the `msif.c` file.\n\nCheck [this](https://wiki.henkaku.xyz/vita/Keys) for more information.\n\n## Credits\n\nThanks to everybody who contributes to [wiki.henkaku.xyz](https://wiki.henkaku.xyz/) and helps reverse engineering the PSVita OS.\n\nSpecially the [Team Molecule](https://twitter.com/teammolecule) (formed by [Davee](https://twitter.com/DaveeFTW), Proxima, [xyz](https://twitter.com/pomfpomfpomf3), and [YifanLu](https://twitter.com/yifanlu)), [TheFloW](https://twitter.com/theflow0), [motoharu](https://github.com/motoharu-gosuto), and everybody at the [HENkaku](https://discord.gg/m7MwpKA) Discord channel.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxerpi%2Fvita-libbaremetal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxerpi%2Fvita-libbaremetal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxerpi%2Fvita-libbaremetal/lists"}