Half-Life 2 & Portal

Native ARM64 port of Valve's Source Engine developed by nillerusr. Executes complete PC campaigns of Half-Life 2 and Portal natively on Android with OpenGL ES 3, dynamic lighting, physics simulation, full gamepad input, and customizable touch buttons.

Status Verified playable Tested on real hardware Game files Your PC copy Steam, GOG or retail PC files
Device Snapdragon 700 series / 800 series Android 8+, ARM64 only
Controls Touch + controller Gyro aiming supported

What you need

  1. Requires copying hl2 and portal game files from legal Steam PC installations.

    • hl2/
    • portal/
    Verify Your Files (Client-Side) 100% In-Browser
    Privacy guarantee: Files never leave your device. File names, headers, and checksums are checked locally in your browser.

    Drag & drop file(s) here or browse from your device

    Matches your files against this port's requirements and calculates SHA-256 hashes.

    File Requirements Checklist (2 required):

    • hl2/ (Folder requirement)
    • portal/ (Folder requirement)

    Copying large folders from PC? A 256GB Dual USB-C Drive plugs straight into your phone over USB-C for faster transfers.

    Affiliate links: DroidPorts may earn a commission. Details

  2. Target hardware: Snapdragon 700 series / 800 series or equivalent (64-bit ARM64, Android 8+).

  3. Controls ready out of the box

    On-screen touch controls work immediately. Physical Bluetooth and USB-C controllers work too, so a gamepad is optional if you want real buttons. USB mouse and keyboard are also supported via a USB-C OTG hub.

    Affiliate links: DroidPorts may earn a commission. Details

Native Source Engine Execution on Android (srceng-android)

While NVIDIA originally ported Half-Life 2 and Portal to 32-bit Android exclusively for Tegra 4 and Tegra K1 Shield devices in 2014, those legacy builds stopped working on modern 64-bit-only phones and lacked support for non-Tegra GPUs. srceng-android (maintained by nillerusr) is a modern, native 64-bit aarch64 C++ port of Valve’s Source Engine that runs directly on Qualcomm Adreno, ARM Mali, and Samsung Xclipse GPUs via OpenGL ES 3.0+ and SDL2.

The engine compiles the full client (libclient.so), server (libserver.so), Havok/VPhysics rigid-body simulation (libvphysics.so), and studio model renderer (libstudiorender.so) natively for Android. In addition to the base Half-Life 2 campaign, modular game launcher APKs support Half-Life 2: Episode One, Half-Life 2: Episode Two, Portal, Half-Life: Source, Counter-Strike: Source, and Day of Defeat: Source.

Preparing Your Steam .vpk Game Files

  1. Locate Your Steam Installation on PC: In your desktop Steam client, right-click Half-Life 2 (or Portal), choose Manage > Browse local files, and locate the root installation directory (steamapps/common/Half-Life 2/).
  2. Create Your Source Engine Folder on Android: On your phone or handheld, create a dedicated folder such as /sdcard/srceng/.
  3. Copy the Required Subdirectories:
    • For Half-Life 2: Copy the entire hl2/ folder and platform/ folder into /sdcard/srceng/ (verify that hl2_misc_dir.vpk, hl2_textures_dir.vpk, hl2_sound_misc_dir.vpk, hl2_sound_vo_english_dir.vpk, and maps/ are present inside hl2/).
    • For Episode One & Episode Two: Also copy the episodic/ and ep2/ folders into /sdcard/srceng/.
    • For Portal: Copy both the portal/ folder and the base hl2/ folder from your Portal Steam directory into /sdcard/srceng/ (Portal shares base Source textures and physics sounds from hl2/).
  4. Configure the Launcher APK: Install both the base Source Engine APK and the specific game launcher APK (e.g., Half-Life 2 Launcher or Portal Launcher). Open the launcher, set Game Path to /sdcard/srceng, and tap Launch.

Graphics Settings, Console Commands & Portal Recursion

  • Portal Stencil Rendering: In Portal, rendering recursive views through linked blue and orange portals uses OpenGL stencil buffer passes. On Tier 2 devices or Mali GPUs, keep Portal Render Depth set to 1 or 2 in Options > Video > Advanced to prevent frame-rate dips when looking directly through stacked portals.
  • High Refresh Rate & FOV (-console): Adding -console to the Launcher’s Command Line Arguments box opens the Source developer console (~). You can unlock frame rates on 90Hz/120Hz displays with fps_max 120, display telemetry with cl_showfps 1, and widen your field of view with fov_desired 90.

Gyro Aiming, Gamepad & Touch Customization

The launcher includes a full on-screen button editor for Gravity Gun switches, crouch-jumping, and weapon wheels. Physical Bluetooth and USB-C controllers map natively through SDL2, and enabling Gyroscope in the launcher settings provides responsive 1:1 motion aiming whenever your weapon is drawn.

Compatibility

Hardware and drivers

Android version
8 or newer
Architecture
ARM64 only
Recommended chip
Snapdragon 700 series / 800 series
Turnip driver
Not needed

Controls and input

On-screen touch
Supported
Bluetooth or USB gamepad
Supported
Gyro aiming
Supported
Mouse and keyboard
Supported

Played it on your device? Tell us how it ran and we'll add it.

Report a device test

Gameplay Tests & Video Guides

1 Video
Setup Guide AYN Odin 2

How To Play Half-Life 2 On AYN Odin 2 (Or Any Other Android Device)