ylih icon

ylih APK

ylih - your life in headphones

by Davide Palma · Multimedia

Track how many hours each pair of headphones lasts. Offline, forever, private

Download APK v1.4.3 · 5.2 MB
ylih screenshot 1ylih screenshot 2ylih screenshot 3ylih screenshot 4ylih screenshot 5ylih screenshot 6

About ylih

Headphones die. Before they do, ylih answers the only question that really matters about a pair: how many hours did you get out of them?

Every time your headphones connect, ylih writes down when. Every time they disconnect, it writes down when. That is the whole idea — and because a connection is just two timestamps, the app does not need to run in the background to do it.

WHAT IT TRACKS

  • Lifetime hours per physical pair. When a pair dies, retire it — the total freezes, and the next pair of the same model starts again at zero as generation 2. Your old numbers are never mixed in with the new ones.
  • Every session, kept permanently: connected at, disconnected at, and why it ended.
  • Playback time (optional): how much of that connected time was actually playing audio, so "worn around my neck" doesn't count as listening.
  • Cost per hour, if you enter what you paid. It is a satisfying number to watch fall.

TWO TRACKING MODES

Bluetooth only — the default. Nothing of the app runs, nothing sits in your notification shade, and there is no battery cost, because Android delivers connection events to the app even while it is closed.

Detailed tracking — optional. Adds wired and USB headphones, and measures playback versus connected time. It needs one silent, minimum-priority notification, because Android only reports wired plug events to an app that is already running. That, and nothing else, is why the notification exists.

Bluetooth is tracked either way.

NUMBERS YOU CAN TRUST YEARS LATER

Long-term totals are worthless if a crash or a reboot quietly adds twelve hours. So:

  • A session left open by a reboot or a crash is closed at its last known heartbeat, never later than the moment the phone booted. Time the phone spent switched off is never counted.
  • If your headphones are still connected after a reboot, a fresh session starts rather than the old one being stretched across the gap.
  • Sessions are heartbeated while open, so the damage from a missed disconnect is bounded.

PRIVATE BY CONSTRUCTION

ylih has no internet permission. There are no accounts, no analytics, no ads, and no tracking. Everything lives in a database on your phone — the only thing that can copy it off the device is Android's own backup, if you have that switched on.

Settings → Export writes your whole history as readable JSON, and Import restores it, so moving to a new phone never costs you your numbers.

PERMISSIONS

  • Nearby devices (Bluetooth): required to receive connection events and read a headset's name. Without it, Bluetooth tracking cannot work at all.
  • Notifications: only for the detailed-tracking notification.
  • Run at startup: to close sessions the shutdown never reported.

Open source under the MIT licence.

What's new in version 1.4.3

  • More reliable Bluetooth tracking, with no more empty sessions
  • Battery level is no longer missed when headphones connect
  • Two unneeded permissions removed

APK file information

Package nameit.eldavo.ylih
Version1.4.3 (code 10)
Minimum AndroidAndroid 8.0 · targets API 37
Architecturesarm64-v8a, armeabi-v7a, x86, x86_64
SHA-2566020f76725c60b9dfb85faaa563674811997576c36c20c089cf124bce5b676fe
Signatureba4f1511f0d1e49d468387ab6fac6b2df748b887e7018f8ebe4fccd207cf417a
LicenceMIT — permissive free licence: the source code is public and reusable
Source codegithub.com/ElDavoo/ylih

Permissions

  • Run in the background
  • Bluetooth
  • Connect via Bluetooth
  • Show notifications
  • Start at boot

Older versions

How to install ylih APK

  1. Tap Download APK above, then open the file once the download has finished.
  2. If Android asks, allow your browser to install unknown apps.
  3. Tap Install. ylih then appears with your other apps.

Having trouble? Read our guides how to install an APK on Android and "App not installed": how to fix it.

Frequently asked questions

Is ylih free?

Yes. ylih is distributed under the MIT licence: free, no subscription, and its source code is public.

Is this APK file safe?

The file is the one built and published by the F-Droid repository from the public source code. Its SHA-256 fingerprint is shown above, so you can compare it after downloading. How to check an APK.

Will ylih work on my phone?

You need at least Android 8.0. The app also works without Google services, so it runs on recent Huawei phones too.

Similar apps