Skip to content
ZiZc3Public

About

Run Android games natively on PS5.

Topics

Resources

Stars

49 stars

Watchers

1 watching

Forks

Latest commit

 

History

42 Commits

Folders and files

Repository files navigation

Hydroid

Hydroid

Android games on PS5.

platform license


About

Hydroid loads a game's own arm64 libraries, translates its ARM code to x86-64 as it runs, and answers every call the game makes to Android itself: the C library, the Linux kernel, the graphics drivers, sound, input and the Java framework. There is no Android image underneath. Each piece is written one function at a time, as games ask for it.

The source and The engine, its build and the tools to turn almost any Android game into its own PS5 app. See Building and Porting a game.

Made for the PS5. The same code can also run on Linux or Windows.

Only 64-bit games. Hydroid runs 64-bit (arm64) Android games only: the game's APK must have lib/arm64-v8a. Games that ship only 32-bit code don't run.

More engines can be added. Unity, Cocos2d-x, Godot, Unreal, Halfbrick's Mortar and native games work today. Each engine is a small host in src/, so developers can add new ones: see Adding an engine.

Games

Game App Version tested State
Subway Surfers Subway Surfers PPSA26370 3.70.3 Playable
Geometry Dash Lite Geometry Dash Lite PPSA26371 2.2.148 Playable
Crossy Road Crossy Road PPSA26372 7.14.0 Playable (stutters in menus)
Sonic Dash Sonic Dash PPSA26375 10.5.1 Playable (stutters a little)
Sonic Boom Sonic Boom PPSA26376 3.26.0 Playable
Shadow Fight 2 Shadow Fight 2 PPSA26377 2.46.0 Playable
Jetpack Joyride Jetpack Joyride PPSA26378 1.104.1 Playable
Temple Run 2 Temple Run 2 PPSA26379 1.137.0 Playable
Fruit Ninja Fruit Ninja PPSA26380 2.8.9 Playable (stutters in menus)
Cut the Rope Cut the Rope PPSA26385 4.2.2 Playable
Infinity Blade I-III Infinity Blade PPSA26383 1.4.3 Playable

Every game plays with the DualSense: its own controller support where it has one, otherwise the buttons are set up for its touch controls.

Portrait games stay portrait. Games made for a phone held upright (Sonic Dash, Sonic Boom, Temple Run 2) play in a phone-shaped screen in the middle of the TV. They can't be made widescreen: the game itself doesn't support it, and forcing it stretches or cuts its menus and buttons.

Installing

  1. Download the game's app from Releases and unzip it.
  2. Copy its folder to the PS5 homebrew folder: /data/homebrew/
  3. Put a copy of the game (.apk, .xapk, .apks or .apkm) in the app's game folder: /data/homebrew/<app>/game
  4. Start the game.

The apps don't include the games. use the tested versions for best compatibility. Only the 64-bit version of a game runs: if a store offers both, pick the arm64 one.

Built on

dynarmic (ARM JIT) · FalsoJNI (JNI) · Mesa (OpenGL, RADV Vulkan) · ANGLE (OpenGL ES on Vulkan) · astc-encoder · FFmpeg (video) · Mbed TLS (HTTPS) · Boost · stb · Android NDK ·

Fonts: Outfit and Noto Sans CJK (SIL Open Font License) · icons: Hugeicons (MIT) · root certificates: Mozilla's, as curl ships them (MPL-2.0) · menu sound: Romain Raynal's Modern UI Vol.1 (CC0). Each one's license is in its folder or at its link.

Disclaimer

GPL-3.0. See LICENSE.

The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

Hydroid runs games you own on hardware you own. It contains no game files and no Sony or Google code. Not affiliated with Sony, Google or any game publisher.

About

Run Android games natively on PS5.

Topics

Resources

Stars

49 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages