Skip to content
forked from cyb3rko/flashdim

Modern flashlight app with dim functionality on Android 13+

License

Notifications You must be signed in to change notification settings

exadeci/flashdim

 
 

Repository files navigation

FlashDim

API release fdroid license last commit Codacy Badge

FOSSA Status

flashdim


Detailed App Review by 'Explaining Android'

Featured on Sam Beckman: Top 20 Android Apps 2023 Featured on Sam Beckman: The Best Free and Open Source Apps in 2023 Featured on HowToMen: Top 20 Best Android Apps 2023! Featured on HowToMen: Best Android Apps - December 2022

Read Medium article


About this project

Starting with Android 13, it's possible to control multiple brightness levels of the flashlight.
To be able to use this new feature I've developed this app.

Inspired by polodarb/Flashlight-Tiramisu 💛
Custom SeekBar built with code from massoudss/waveformSeekBar 💛

Features

  • 🔦 dimming your flashlight level by level
  • 🎚 shortcut buttons for different brightness levels
  • 🆘 SOS flash button
  • 📫 morse code flash mode
  • ⏲️ Interval / BPM mode
  • ⚡ quick settings tile for fast access
  • 🔒 private, no ads, no internet connection
  • 💯 modern Material You (M3) design elements
  • 🎨 app colors adapt to device's system colors

Download

Get it on Google Play Get it on F-Droid

Verification

The APK files can be verified using apksigner.

apksigner verify --print-certs -v example.apk

Google Play Store
The output should look like this:

Verifies
Verified using v1 scheme (JAR signing): false
Verified using v2 scheme (APK Signature Scheme v2): false
Verified using v3 scheme (APK Signature Scheme v3): true

The certificate content and digests should look like this:

DN: CN=Android, OU=Android, O=Google Inc., L=Mountain View, ST=California, C=US
Certificate Digests:
  SHA-256: 4b:05:58:fa:9d:2e:32:b0:1c:d0:00:7b:13:66:35:b5:ac:67:b5:ca:63:ff:c2:ef:e2:58:9a:80:20:e8:ca:4f
  SHA-1:   47:2d:b2:9e:57:df:be:48:09:55:3b:f9:c1:d8:15:a5:e3:ed:27:82
  MD5:     14:cc:12:d7:6b:29:9a:79:64:ac:36:c8:56:ec:a5:78

F-Droid and GitHub (signed using the same key)
The output should look like this:

Verifies
Verified using v1 scheme (JAR signing): false
Verified using v2 scheme (APK Signature Scheme v2): true

The certificate content and digests should look like this:

DN: OU=FlashDim, O=Cyb3rKo OpenSource, L=GitHub / F-Droid, C=DE
Certificate Digests:
  SHA-256: ea:78:69:1c:ba:41:86:00:a4:56:32:89:b1:33:f9:d0:0d:3d:0c:24:a5:f5:4c:5c:59:ee:1c:95:2b:b0:e1:1d
  SHA-1:   28:cf:15:ea:1c:93:1a:04:67:2d:8e:b0:2f:01:77:9b:03:90:f8:dd
  MD5:     09:05:c3:62:fa:94:a0:2e:c4:9c:d0:4e:b8:a3:cc:99

Supported Devices

The full functionalizy of this app is ONLY AVAILABLE for devices which support the dim functionality of the flashlight (hardware limited).
Here's a list of devices I know of which do work FOR SURE. If you've used a device that works too please let me know so I can add it here.

  • Google Pixel 6 series
  • Google Pixel 7 series
  • nearly every Samsung phone with Android 13
  • many other phones from different manufacturers

Exluded devices (Play Store) / Unsupported devices

The following list shows phones, which were manually excluded by myself in the Google Play Store, because of unsupported flashlight dimming functionality.
If the list contains any phone which does has a dimmable flashlight, please let me know.

  • Google Pixel 4 (google flame)
  • Google Pixel 4 XL (google coral)
  • Google Pixel 4a (5G) (google bramble)
  • Google Pixel 5 (google redfin)
  • Google Pixel 5a 5G (google barbet)
  • OnePlus Nord CE 2 Lite 5G (OnePlus OP535DL1)
  • Oppo CPH2293 (OPPO OP52E1L1)
  • Oppo CPH2461 (OPPO OP533FL1)
  • Oppo Reno6 Z 5G (OPPO OP4FA7L1)
  • realme 真我GT 2 (realme RE58B2L1)

Screenshots

Contribute

Of course I'm happy about any kind of contribution.

For creating issues there's no real guideline you should follow. If you create pull requests please try to use the syntax I use. Using a unified code format makes it much easier for me and for everyone else.

Used Icons

💛
Github icons created by Laisa Islam Ani - Flaticon
Information icons created by Freepik - Flaticon
Morse code icons created by Freepik - Flaticon
Restart icons created by AlternativeStd - Flaticon
Settings icons created by Freepik - Flaticon
Start button icons created by Freepik - Flaticon
Vibrate icons created by Bombasticon Studio - Flaticon
Volume icons created by Freepik - Flaticon

License

Copyright 2023, Cyb3rKo

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http:https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Modern flashlight app with dim functionality on Android 13+

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 95.9%
  • HTML 4.1%