RFM-Radio

Introduction: Real FM radio for Android.
More: Author   ReportBugs   OfficialWebsite   
Tags:
Off-

Real FM hardware radio app for rooted Android devices (Qualcomm Snapdragon and Samsung Exynos S610).

IzzyRepo

Requirements

  • Android 6.0+ (SDK 23+).
  • Root access is required, especially on AOSP-based ROMs.

Features

  • Live FM playback using supported hardware backend.
  • RDS metadata: PS, RT, RT+, PTY, TP, ECC.
  • Recording to .wav, .mp3 (128 or 192 kbps stereo), and .opus (96 kbps stereo VBR) with embedded RDS, signal telemetry, and waveform metadata.
  • Built-in recordings browser, player (live RDS/signal replay, waveform scrubbing), lossless trimmer, and MP4 video export.
  • Favorites (presets) with multiple custom lists stored in SQLite, plus JSON/ZIP import & export.
  • Homescreen widgets (4×1 and 2×1) and Material 3 Light/Dark/System themes.
Main screen

Favorites UX

  • Main screen: tune quickly, reorder presets, switch active favorite list.
  • Favorite Lists screen: manage lists (create, rename, remove, import, export).

Settings highlights

Tuner

Enable RDS

RDS is a radio data system. When this option is enabled, the application will display data transmitted from the radio station, such as the Program Service and Radio Text.

Antenna

Select an antenna. In most cases: 0 - default, headphones; 1 - internal (bad quality).

Notch filter (EMI suppression)

Controls the Qualcomm hardware RF notch filter (Auto, Low, High) to suppress narrowband interference from the display, CPU, or PMIC clock lines on affected frequencies.

Application

Autostart

If enabled, audio from the radio will be immediately turned on after starting the application.

Notifications

Show PS in title

If the option is enabled, then with the "Enable RDS" option enabled, the Program Service and Radio Text will be displayed in the notification header.

Screenshots

Scanning stations Recordings player Recording trimmer Settings screen
Scanning stations Recordings player Recording trimmer Settings

Building

Clone the repository with submodules:

git clone --recursive https://github.com/vladislav805/RFM-Radio.git

For an existing checkout:

git submodule update --init --recursive
./gradlew :app:assembleDebug

make build-debug produces one universal ARM debug APK. make build-release produces two standalone APKs with the same application ID, version and version code:

Android ABI Release APK
arm64-v8a (64-bit) app/build/outputs/apk/arm64/release/*-arm64-v8a.apk
armeabi-v7a (32-bit) app/build/outputs/apk/armv7/release/*-armeabi-v7a.apk

Each release APK includes the MP3 and Opus encoders and FM executable for its ABI. Use adb shell getprop ro.product.cpu.abilist to see the ABIs supported by the device. make deploy-release chooses the APK for the connected device and uses jq to read its filename from Gradle’s output metadata.

Gradle builds the native MP3 and Opus encoders and FM backend assets automatically. For native/FM backend-related work you also need Android NDK headers and device-specific tooling.

The MP3 encoder uses LAME 4.0 from the enzo1982/lame SVN mirror, pinned as a Git submodule to commit 5a2d347159f9e6e441ee436407949e122ae802dc (tag RELEASE__4_0). The encoder sources and headers match the official 4.0 release archive. CMake builds the checked-out sources without downloading dependencies. Ogg Opus recording uses the libopus 1.6.1 and libopusenc 0.3 submodules. Both are linked into a single JNI library for each ABI, including support for 44.1 kHz capture on Android 7.

Run Java unit tests with make test-java and native host tests with make test-native.

GitHub Actions

Pull requests and pushes to master run native host tests, build a debug APK, and run Android unit tests. APKs and unit test reports are available as workflow artifacts.

Pushing a vMAJOR.MINOR.PATCH tag or manually running Android Build with a version builds both ARM release APKs. The workflow verifies the requested version and the architecture of both encoders and fmbin in each APK, then attaches both files to the draft GitHub release.

Release signing uses the repository secrets ANDROID_RELEASE_KEYSTORE_BASE64, ANDROID_RELEASE_STORE_PASSWORD, ANDROID_RELEASE_KEY_ALIAS, and ANDROID_RELEASE_KEY_PASSWORD. Without signing credentials, both release APKs are unsigned. The keystore is removed after the build.

Dependabot checks GitHub Actions updates monthly.

Inspired by

Spirit1 and Spirit2 by Mike Reid.

R.I.P. 2016

Disclaimer

The project is based on hard-to-piece collected documentation around Tavarua, Iris, I2C, V4L2.

Contributors

Star History

Star History Chart
Apps
About Me
GitHub: Trinea
Facebook: Dev Tools
AI Daily Digest