Skip to content

Releases

EyeBlink 0.3.1

Choose a tag to compare

@github-actions github-actions released this 19 Oct 00:18
ff62a30

A small release on top of 0.3.0, for one thing that was missing: a way to pause the apps that show no media session.

TikTok, Instagram Reels and YouTube Shorts - the apps EyeBlink was made for - mostly publish no media session, so the ways that read a player (media session, Shizuku, root) have nothing to read, and root does not change that. EyeBlink has three other ways, which cannot read the player but can still stop the sound: asking Android for the audio focus (players that listen pause themselves and carry on when it is given back), a media key (like a headset button), and a tap gesture (one tap in the middle of the screen through the accessibility service, the way a finger pauses a feed video). They were built and tested, and switched off by a setting that nothing in the app could change. In 0.3.1 you can:

  • Switch them on one by one under Rhythm → Fine-tune everything → Your video → Other ways to pause.
  • See them where you will look for them: the card of an app that shows no media session (or whose pausing failed) now says where they are.
  • Test them per app: Apps → the app → Test compatibility with a video playing and the sound on. A way is used in real breaks only in an app where its own test passed (video paused, sound stopped, both came back), and it switches itself off after three failures in a row.

What they cannot do, said plainly: they see only whether sound is playing, not what the video is doing, so a muted video or another app's music can fool them; the media key goes to whichever app played last; and the tap would start a video that was already paused if sound happened to be playing - which is why they are experimental, off by default, and gated by a test. None of the three has been run on a phone yet. If you try them, the report (More → Diagnostics → Copy report, taken right after a break in that app) says what happened: for each app what is decided and remembered, and how the week's breaks met the player.

Everything else is 0.3.0: the camera fix, the blink engine, the pausing diagnostics, the licence. The notes of 0.3.0 say what changed and what is and is not verified; that part of them still holds. The files are the same as in 0.3.0 (the arm64 APK is the one for nearly every phone, the module is optional, the mapping is for developers) and are signed with the same key.


Türkçe özet

0.3.0'ın üstüne küçük bir sürüm; tek bir eksik için: medya oturumu göstermeyen uygulamaları (TikTok, Instagram Reels, YouTube Shorts) duraklatabilmek.

Bu uygulamalar çoğunlukla medya oturumu yayınlamıyor; oturumu okuyan yollar (medya oturumu, Shizuku, root) okuyacak bir şey bulamıyor - root bunu değiştirmiyor. EyeBlink'in oynatıcıyı okuyamayan ama sesi kesebilen üç yolu daha vardı: ses odağı isteme, medya tuşu ve dokunma hareketi. Hazırdılar ama uygulamadan değiştirilemeyen bir ayarla kapalıydılar. 0.3.1'de:

  • Ritim → Her şeyi ince ayarla → Videon → Duraklatmanın öbür yolları altında tek tek açılıyorlar.
  • Medya oturumu göstermeyen (ya da duraklatması başarısız olan) bir uygulamanın kartı artık bunların nerede olduğunu söylüyor.
  • Uygulama başına test ediliyorlar: Uygulamalar → uygulama → Uyumluluğu test et (video açık, ses açık). Bir yol, gerçek molalarda yalnızca kendi testini geçtiği uygulamada kullanılır; üst üste üç başarısızlıkta kendini kapatır.

Dürüst sınırlar: yalnızca sesin çalıp çalmadığını görürler, videonun ne yaptığını değil; sessiz bir video ya da başka bir uygulamanın müziği onları şaşırtabilir; medya tuşu en son çalan uygulamaya gider. Bu yüzden deneysel, varsayılan olarak kapalı ve testle kapılıdır. Üçü de henüz bir telefonda çalıştırılmadı. Denerseniz "Raporu kopyala" (Diğer → Tanılama), o uygulamada bir moladan hemen sonra alındığında ne olduğunu söyler.

Gerisi 0.3.0 ile aynı; dosyalar aynı, aynı anahtarla imzalı.


Signed with the certificate whose SHA-256 is 308e57a0444ba4f5019f844882b87a0b8ec5965f8014c4526162dc199368ac69. The checksum of every file is in SHA256SUMS.txt.

EyeBlink 0.3.0

Choose a tag to compare

@github-actions github-actions released this 18 Oct 23:55
464d1af

The first tagged release. Until now every push was a build you could fetch from GitHub Actions, and all of them called themselves 0.2.0. This is that app with a real version number, a signature, checksums and a mapping file. It is a 0.x release: it works as far as its tests and an emulator can show, and it has had a real phone only in the author's hands (see what is and is not verified).

What changed

The camera

  • Fixed "The camera could not start - a camera frame could not be analysed (Can't call getPixel() on a recycled bitmap)", seen on Android 17. The face model was closing the very picture the app still needed. It now gets its own copy, and one bad picture no longer stops the camera: five in a row do, and then the reason is shown.
  • Calibration and tracking work on the release build too (R8 keep rules for MediaPipe and its logger), and the tracker no longer closes the calibration camera under it.
  • When the camera cannot start, the screen says what CameraX reported instead of doing nothing.

Blink detection, for every kind of eye

  • Every eye is judged against its own open level (a rolling baseline per eye), not against a fixed number - so narrow, heavy-lidded and partly-open eyes can pass the blink on purpose step and be counted afterwards. The step eases its bar in four stages instead of failing you.
  • A noise gate keeps jitter out of the count, a shut eye is recognised from a 1.2 s median window rather than one frame, a quick deliberate blink counts, and a lowered gaze is not mistaken for a rest.
  • Calibration: How long it takes sliders for the three steps, a Discard that really discards, an empty result is dropped however the page is left, and the page says when you hold your eyes shut (that does not count).
  • A Blink test page shows live what the camera engine sees of your eyes, with an eye sensitivity setting.
  • Camera bursts: how long each look lasts and how often it comes are sliders, the Rhythm page has the camera's battery controls (the level below which it rests, resting while the phone's own saver is on, backing off when the phone is hot), and learning keeps going in Bursts mode.
  • 631 unit tests in :core, among them fuzz tests and simulated eyes of many shapes. The tests were mutation-checked (break the code on purpose, see whether a test notices) and the engine went through five independent reviews.

Pausing video

  • Root: no hand-run test is needed any more, the app no longer forgets that root is ready, and a slow phone is not mistaken for a broken one.
  • A break moves on to the next pausing way when one cannot see the player or cannot deliver its command, and it will not press a media key while another app is playing and it cannot tell who would get it.
  • The dumpsys media_session reader is tested against the whole dump of Android 14 and 15, and against one dump from a real phone on Android 17.
  • A new version of EyeBlink gives pausing another chance: what an earlier build wrote off (a failed test, a run of failed breaks) is forgotten once, what worked is kept. Before, a way switched off by a mistake of an older build stayed off for good.
  • Copy report now says why a video was not paused: how the week's breaks met the player (paused, not playing, no session, unreadable, no way left to try), what is decided and remembered for each app you chose (numbered, not named), and which sessions in the media-session outline are those apps'.

Night mode and the rest

  • Night mode puts back what it changed - also after an emergency stop or a restart - and steps back for a while when you change Night Light or brightness yourself.
  • The eyelid overlay follows a rotation of the screen; the face model is released when Android is short of memory.
  • The reasons the Power and Diagnostics pages give when something does not work ("Shizuku is not running", "permission not granted") and the name of the overlay in use are in Turkish too; a few Turkish sentences were mended.
  • EyeBlink is now licensed under the PolyForm Noncommercial License 1.0.0: free to use, change and share, not to sell.
  • CI starts the app on an emulator (debug and R8-minified builds) and fails if it dies; it also checks that no APK, the module's included, asks for the network.

Which file?

File What it is
EyeBlink-0.3.0-arm64-v8a.apk Start here. Nearly every phone.
EyeBlink-0.3.0-armeabi-v7a.apk Old 32-bit phones.
EyeBlink-0.3.0-x86_64.apk Emulators and Chromebooks.
EyeBlink-LSPosed-module-0.3.0.apk Optional. Only for the LSPosed hook strategy; it must be signed with the same key as the app, which it is.
EyeBlink-0.3.0-r8-mapping.txt For developers: turns a crash log from this release back into readable names.
SHA256SUMS.txt A checksum of every file above.

Open the APK on your phone and allow installs from your browser or file manager when Android asks. These builds are signed with the same key as the release builds from GitHub Actions, so this should install over one; if Android refuses an update, uninstall the old build first (that clears its settings). On first start, onboarding explains each permission; only Accessibility (or Display over other apps) is required. docs/DEVICE_TEST.md is a step-by-step first test.

What is and is not verified

  • Verified by CI: :core (631 tests), lint, the build of the app and the module, no network permission in any APK, and a walkthrough of the app on an Android 15 emulator.
  • Verified on one real phone only by its owner: that the app starts and runs. That phone is how the start-up crash, the calibration camera, the video that did not pause and the recycled-bitmap error above were found; the last two fixes have not been confirmed there yet.
  • Not run on a phone: the blink engine on real faces (it was built and tested on simulated eyes), MediaPipe on real faces, the overlay on top of real apps, Shizuku and root commands on real output, the LSPosed hooks, battery numbers.
  • Known limits: many short-video apps publish no usable media session, so no rootless way can be verified for them and your chosen fallback applies. A person whose lids close by less than about half when they shut their eyes cannot be told from someone looking down by the lids alone; their rests count as staring.

Türkçe özet

İlk etiketli sürüm. Şimdiye kadar her gönderi GitHub Actions'tan indirilen bir derlemeydi ve hepsi 0.2.0 diyordu. Bu, aynı uygulama; gerçek bir sürüm numarası, imza, sağlama toplamları ve R8 eşleme dosyasıyla.

  • Kamera: "Can't call getPixel() on a recycled bitmap" hatası (Android 17'de görüldü) giderildi. Yüz modeli artık kendi kopyasını alıyor; tek bozuk kare kamerayı durdurmuyor (üst üste beş kare durduruyor ve nedeni gösteriliyor).
  • Göz kırpma algısı: her göz kendi açık düzeyine göre ölçülüyor; dar, ağır göz kapaklı ve tam açılmayan gözler de "bilerek kırp" adımını geçebiliyor. Kalibrasyonda süre ayarları, çalışan "Vazgeç", canlı "Kırpma testi" sayfası, kamera patlamaları için süre/aralık ayarları var. :core içinde 631 birim testi çalışıyor.
  • Video durdurma: root ile durdurma düzeltildi; bir yol çalışmazsa mola bir sonrakini deniyor. Eski bir sürümün "olmuyor" diye kapattığı yollar yeni sürümde bir kez daha deneniyor. "Raporu kopyala" artık videonun neden durdurulmadığını söylüyor (oynamıyordu, oturum yoktu, okunamadı, denenecek yol kalmadı).
  • Gece modu: değiştirdiği her şeyi geri koyuyor (acil durdurma ve yeniden başlatma sonrasında da); siz Gece Işığı'nı ya da parlaklığı değiştirirseniz bir süre geri çekiliyor.
  • Lisans: PolyForm Noncommercial 1.0.0 - ücretsiz kullanın, değiştirin, paylaşın; satılamaz.
  • Dürüst durum: testler ve emülatör yürüyüşü CI'da geçiyor; uygulama şimdilik yalnızca yazarın telefonunda çalıştırıldı. Son iki düzeltme (kamera hatası, video durdurma) orada henüz doğrulanmadı. Göz kırpma algısı gerçek yüzlerde değil, benzetilmiş gözlerde sınandı.
  • Hangi dosya? Hemen her telefon için arm64-v8a APK'sı. LSPosed modülü isteğe bağlıdır.

Signed with the certificate whose SHA-256 is 308e57a0444ba4f5019f844882b87a0b8ec5965f8014c4526162dc199368ac69. The checksum of every file is in SHA256SUMS.txt.