Agent skill · software engineering · aradotso

lsfg-android-frame-generation

Skill for building, configuring, and extending LSFG-Android — a Vulkan frame-generation overlay for Android using lsfg-vk via MediaProjection capture.

Why this skill is useful

Adds a complete build and configuration workflow for a specialized Vulkan frame-generation overlay on Android, including executable scripts and specific integration patterns not commonly found in public documentation.

What it needs

Requires android studio, cmake, jdk, ndk installed locally. About 7k tokens when loaded. Last updated 2026-07-09. 70 stars on the source repository.

What this skill does

LSFG-Android Frame Generation Skill Skill by ara.so — Daily 2026 Skills collection. LSFG-Android ports the lsfg-vk Vulkan frame-generation pipeline to Android. Because Android 12+ blocks external code injection into non-debuggable processes, the app captures the screen via MediaProjection, runs LSFG interpolation on-GPU using AHardwareBuffer sharing, and composites generated frames into a SYSTEMALERTWINDOW or TYPEACCESSIBILITYOVERLAY sitting above the target game. --- Repository Layout Both folders must be siblings on disk — the CMake path ../../../../../lsfg-vk-android from inside the JNI sources is hard-coded. --- Prerequisites Tool Version ------ --------- Android Studio Ladybug or newer NDK 27.0.12077973 CMake 3.22.1 JDK 17 C++ standard C++20 minSdk 29 (Android 10) targetSdk 35 (Android 15) ABIs arm64-v8a (production), x8664 (emulator) --- Build & Install The native lsfg-vk-android library is compiled automatically by CMake as part of the Gradle build — no separate .so to ship. --- First-Run Setup 1. Grant overlay permission (SYSTEMALERTWINDOW) via Settings → Apps → Special App Access. 2. Enable LsfgAccessibilityService (for touch-passthrough on strict OEMs). 3. Load shaders: pick your legitimately purchased Lossless.dll via the Storage Access Framework picker. Shaders are extracted to private storage; the DLL copy is deleted immediately after. 4. Select target apps: the overlay arms automatically when a target app comes to the foreground. --- Key Configuration Parameters All parameters are exposed in the live settings drawer. Most trigger a native context re-init; bypass/pacing/Shizuku timing have hot-apply paths. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aradotso/lsfg-android-frame-generation

View the source on GitHub

Browse the @skills marketplace