Echora
0.1.1 · GitHub
More about this app
Android audio dashcam that uses Shizuku to keep a rolling audio buffer and export recent audio as WAV. Root mode recommended.
Echora
Echora is an Android audio dashcam. It keeps a rolling buffer of recent audio on your phone. When you want to keep something you just heard, open Echora and save the last few minutes as a WAV.
Features
- Rolling audio buffer from 1 to 60 minutes, with a 10-minute default.
- WAV export to
Music/Echora/, with sharing through Android. - Optional capture of detected phone and VoIP calls. Turn off Call recording to pause capture during detected calls and resume afterward with the earlier buffer intact.
- Material You colors and automatic light and dark themes.
- Optional startup at boot when the privileged service is available.
Requirements
- Android 12 or later (API 31+).
- A running Shizuku-compatible service with permission to open the requested audio sources. Start Shizuku before opening Echora, then authorize Echora when prompted.
- Root is recommended for the privileged audio sources. Ambient capture and WAV export have been tested with Shizuku Next running as root on a Samsung Galaxy S23+ (SM-S916B, Android 17). Capture availability with Shizuku running as the ADB shell depends on the device.
Install
Download the preview APK from GitHub Releases. The downloadable build is a debug APK intended for testing.
To build from source, install JDK 17, Android SDK Platform 36, and Android Platform Tools. Build and install the app with these commands.
./gradlew :app:assembleDebug
adb install -r app/build/outputs/apk/debug/app-debug.apk
If you already have a build signed with another key, Android will reject an in-place update. Keep your existing installation if you need its settings or unsaved buffer.
Use Echora
- Start Shizuku or Shizuku Next and open Echora.
- Tap Grant Shizuku permission if Echora asks for access.
- Choose a duration and tap Save to WAV. Echora saves up to that much audio from the current buffer.
- Open Settings to change the buffer duration, call recording, or startup options. Tap Save changes to apply them.
The current app interface is in Italian. Look for Concedi il permesso Shizuku, Salva in WAV, Impostazioni, Registrazione chiamate, and Salva modifiche.
How capture works
Echora runs an audio recorder in a Shizuku user service and streams 16-bit mono PCM at 16 kHz into a file-backed circular buffer. The buffer is local to the app. Restarting capture starts a fresh buffer. Echora writes exported recordings to Music/Echora/ and lets you share them through Android.
- Ambient audio uses Android's privileged
HOTWORDsource. - Phone calls use
VOICE_CALLwhen the device supports it. Both directions depend on the device and audio route. - VoIP calls combine the microphone with eligible voice communication playback. The app shows when it can capture only one side. The VoIP path has been tested with a synthetic signal on the Samsung device. Audio quality in real phone and VoIP calls has yet to be verified.
Run the unit tests with ./gradlew :app:testDebugUnitTest.
Publish a preview
Update versionName and increment versionCode, then push a matching tag such as v0.1.2. The Android release workflow builds, tests, signs, and publishes the preview APK. To test signing against an existing tag without publishing, run the workflow manually.
Credits and license
Echora's source is licensed under the MIT License. The privileged capture design was inspired by Ambient Music Mod by Kieron Quinn.
How Shizuku is used
Can keep a rolling audio buffer and export recent audio including call audio via Shizuku privileged `AudioRecord` capture.
This is an AI-assisted analysis of Shizuku-related usages in the app's public source code. It is best effort, so it may not catch every single usage.
How this app uses Shizuku
Shizuku runs a privileged audio service that supplies continuous microphone and call audio for the rolling buffer and WAV export.
- Keep ambient buffer: continuously captures surrounding audio in the background through Shizuku so recent minutes can be saved as WAV.
- Record phone calls: switches the privileged capture to the phone call audio source during telephone calls so call audio is kept in the buffer.
- Capture VOIP calls: keeps the microphone plus a privileged playback loopback for voice chat audio during VOIP calls and mixes them together.
- Detect muted microphone: checks the system microphone mute state from the privileged service so the app can show when capture is blocked.
Android APIs or commands used
android.media.AudioRecordandroid.media.AudioAttributes.Builder.setInternalCapturePresetandroid.media.AudioFormatandroid.media.MediaRecorder.AudioSource.VOICE_CALLandroid.media.MediaRecorder.AudioSource.MICandroid.media.AudioManager.registerAudioPolicyandroid.media.AudioManager.unregisterAudioPolicyandroid.media.audiopolicy.AudioPolicy.createAudioRecordSinkandroid.media.audiopolicy.AudioMixwithROUTE_FLAG_LOOP_BACK_RENDERandroid.media.audiopolicy.AudioMixingRulewithRULE_MATCH_ATTRIBUTE_USAGEisSensorPrivacyEnabledid -u
Changelog
What's new for version 0.1.1
Full Changelog: https://github.com/ilbebino08/Echora/compare/v0.1.0...v0.1.1
Permissions
6 permissions requested