darvelo / Bixlight

Remap the Bixby button on the S8/S8+ to toggle the torch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bixlight

Build Status

This application allows you to remap the Bixby button on the Galaxy S8/S8+ to toggle the torch.

Download the APK from the releases tab (link for the lazy: https://github.com/Shingyx/Bixlight/releases)

How does it work?

You can probably figure it out by looking at the code - there's not much of it. It runs an accessibility service in the background which listens for window changes until the active window is from the package com.samsung.android.app.spage. If this condition is met, it simulates pressing the back button and toggles the torch's state. This means that Bixby will probably flash open before closing again, but this is currently the best approach to remap the button on an unrooted phone without hindering performance, especially after Samsung removed the ability to see the button's key event.

In my testing, Bixlight is the best compromise in terms of how fast Bixby closes and how it affects the system's overall performance when compared to other Bixby button remappers on the Play Store (I only tested those with no ads). However, Bixlight's only feature is turning the torch on and off, because that's all I wanted on my personal phone.

Why "Bixlight"?

Combination of Bixby and light... ¯\_(ツ)_/¯

Why are you releasing it on GitHub instead of the Play Store?

Because I'm a strong believer of open source software and it lets me reassure users that I'm not violating anyone's privacy by collecting personal information. This thing doesn't even ask for internet access!

Actually, it's just because I'm too cheap to pay the registration fee for the Play Store.

See my other project to find out how I set up Travis to create signed APKs as GitHub releases: https://github.com/Shingyx/travis-signed-apk-release-example

Thanks

  • Thanks to Dantee296 for providing the fix for the AQG5 update.
  • Thanks to jcrisp for fixing the flickering torch issue when the phone is under load.

About

Remap the Bixby button on the S8/S8+ to toggle the torch

License:GNU General Public License v3.0


Languages

Language:Java 100.0%