|
1 | | -[](https://lexip.dev/hecate/play) |
| 1 | +# Adaptive Theme: Smart Dark Mode |
2 | 2 |
|
3 | | - |
| 3 | +Adaptive Theme intelligently automates your device's theme settings, switching between **Light and |
| 4 | +Dark mode** based on your environment's **ambient light** — not just the time of day. |
4 | 5 |
|
5 | | -## Adaptive Theme |
| 6 | +Get the readability of Light mode in bright daylight and the eye-comfort of Dark mode in low light. |
| 7 | +This allows for a true auto dark mode experience that native Android doesn't offer. |
6 | 8 |
|
7 | | -Adaptive Theme intelligently switches your device between Light and Dark mode based on your |
8 | | -environment. |
| 9 | +## Closed Beta |
9 | 10 |
|
10 | | -Get the readability of Light mode in bright daylight and the comfort of Dark mode in low light — |
11 | | -going easy on your eyes and your battery. |
| 11 | +Join this [Google Group](https://groups.google.com/g/apphive-testers) before clicking on |
| 12 | +this [Google Play](https://play.google.com/apps/testing/dev.lexip.hecate) link to install the beta. |
| 13 | + |
| 14 | + |
| 15 | +--- |
| 16 | + |
| 17 | +## 📋 Table of Contents |
| 18 | + |
| 19 | +- [💡 Why use Adaptive Theme?](#-why-use-adaptive-theme) |
| 20 | +- [✨ Key Highlights](#-key-highlights) |
| 21 | +- [🛠️ One-Time Setup](#%EF%B8%8F-one-time-setup) |
| 22 | +- [⚙️ How it Works](#%EF%B8%8F-how-it-works) |
| 23 | +- [✅ Safety](#-safety) |
| 24 | +- [❓ FAQ](#-faq) |
| 25 | +- [❤️ Support the Project](#%EF%B8%8F-support-the-project) |
| 26 | +- [📱 Screenshots](#-screenshots) |
| 27 | + |
| 28 | +--- |
| 29 | + |
| 30 | +## 💡 Why use Adaptive Theme? |
| 31 | + |
| 32 | +Most Android phones only switch themes at sunset or based on a fixed schedule. Adaptive Theme uses |
| 33 | +your **light sensor** to switch intelligently, optimizing both **eye comfort** and **battery life**. |
| 34 | + |
| 35 | +## ✨ Key Highlights |
| 36 | + |
| 37 | +* 🌤️ **Smart Ambient Detection:** Uses your device's physical light sensor to toggle the system |
| 38 | + theme. |
| 39 | +* ⚙️ **Full Customization:** Set your specific lux threshold (brightness level) and use the Quick |
| 40 | + Settings tile to quickly pause/resume the service. |
| 41 | +* 🚀 **Modern & Native:** Built with **Jetpack Compose** and **Material You** for a smooth, |
| 42 | + crash-free experience. |
| 43 | +* 🔋 **Battery Friendly:** The app is passive. It only checks the sensor when you turn the screen |
| 44 | + on — zero battery drain in the background. |
| 45 | +* 🔒 **Privacy First:** Open Source, completely free, and no ads at all. |
| 46 | +* 🗝️ **No Root Required:** Root access is not required (but is supported as an alternative setup |
| 47 | + method). |
| 48 | +* 🐱 **Optional Shizuku Support:** One of multiple setup options is |
| 49 | + using [Shizuku](https://github.com/RikkaApps/Shizuku). |
12 | 50 |
|
13 | 51 | --- |
14 | 52 |
|
15 | | -### Highlights |
| 53 | +## 🛠️ One-Time Setup |
| 54 | + |
| 55 | +Android restricts apps from changing system themes by default. To unlock this feature, a specific |
| 56 | +permission (`WRITE_SECURE_SETTINGS`) is needed. After installing the app, you can choose any of the |
| 57 | +following methods: |
| 58 | + |
| 59 | +#### Method 1: Web Tool (Recommended) |
| 60 | + |
| 61 | +Use our browser-based setup tool on a secondary device (Computer, Tablet, or Phone). No code or ADB |
| 62 | +installation required (WebADB). |
| 63 | +👉 **[lexip.dev/setup](https://lexip.dev/setup)** |
| 64 | + |
| 65 | +#### Method 2: Shizuku (No PC) |
16 | 66 |
|
17 | | -🌤️ **Smart Detection**: Uses your ambient light sensor to switch themes automatically. |
| 67 | +If you have **Shizuku** installed and configured (via Wireless Debugging or Root), you can grant the |
| 68 | +permission directly within the Adaptive Theme app. |
18 | 69 |
|
19 | | -⚙️ **Full Control**: Fully customizable brightness threshold and a Quick Settings tile to |
20 | | -pause/resume the service. |
| 70 | +#### Method 3: Root |
21 | 71 |
|
22 | | -🔒 **Free & Open**: Free to use, no ads and open source. |
| 72 | +If your device is rooted, you can grant the permission with one click inside the app. |
23 | 73 |
|
24 | | -🚀 **Native Design**: Modern architecture, built with Jetpack Compose and Material You for a seamless |
25 | | -Android experience. |
| 74 | +#### Method 4: Manual ADB |
26 | 75 |
|
27 | | -🚫 **No Flickering**: The theme only changes when you turn on screen and the device is uncovered. |
| 76 | +If you have ADB installed on your computer, you can run the ADB grant command manually via your |
| 77 | +terminal. |
28 | 78 |
|
29 | 79 | --- |
30 | 80 |
|
31 | | -### One-Time Setup |
| 81 | +## ⚙️ How it Works |
| 82 | + |
| 83 | +**Why didn't the theme change immediately?** |
| 84 | + |
| 85 | +To prevent unnecessary battery drain and screen flickering, Adaptive Theme obeys the following |
| 86 | +rules: |
| 87 | + |
| 88 | +1. It checks the light sensor only **immediately after the screen turns on**. |
| 89 | +2. It verifies that the light sensor is **not covered**. |
| 90 | +3. It switches the theme **instantly** before you start interacting with the UI. |
| 91 | + |
| 92 | +--- |
| 93 | + |
| 94 | +## ✅ Safety |
| 95 | + |
| 96 | +The required permission does **not** grant root access or read any user data. It only allows the app |
| 97 | +to change settings such as "Dark Mode" in the system settings. This is absolutely safe and |
| 98 | +completely reversible by uninstalling the app. |
| 99 | + |
| 100 | +--- |
| 101 | + |
| 102 | +## ❓ FAQ |
| 103 | + |
| 104 | +**1. Does this require Root?** |
| 105 | +No. It works on stock devices. However, if you have Root, it can optionally be used to set up the |
| 106 | +service faster. |
| 107 | + |
| 108 | +**2. Does it work with custom skins (MIUI, OneUI)?** |
| 109 | +In most cases, yes. It works with any system that respects the native Android Dark Mode |
| 110 | +implementation. |
| 111 | + |
| 112 | +**Support & Feedback:** If Adaptive Theme not work for you or if you have any questions, please |
| 113 | +create an Issue or send feedback via the app. |
| 114 | + |
| 115 | +--- |
| 116 | + |
| 117 | +## ❤️ Support the Project |
| 118 | + |
| 119 | +Adaptive Theme is **completely free**, **ad-free**, **open source**, and developed in my free time. |
| 120 | + |
| 121 | +If you enjoy using the app, there are three simple ways you can support the project: |
| 122 | + |
| 123 | +⭐ **Star on GitHub:** Give this repository a star to help others find it. |
| 124 | + |
| 125 | +🌟 **Rate on Google Play:** |
| 126 | +A [5-star rating](https://play.google.com/store/apps/details?id=dev.lexip.hecate) |
| 127 | +is the best way to boost the ranking. |
| 128 | + |
| 129 | +☕ **Buy me a Coffee:** If you are feeling generous, you can |
| 130 | +also [buy me a coffee](https://buymeacoffee.com/lexip). |
| 131 | + |
| 132 | +📣 **Spread the Word:** Share the app to help the project grow. |
| 133 | + |
| 134 | +--- |
32 | 135 |
|
33 | | -To toggle the system theme, Android requires the permission `WRITE_SECURE_SETTINGS`. This is safe, |
34 | | -transparent and fully reversible. The app will guide you through the setup process. |
| 136 | +**🇩🇪 Made in Germany** – Engineered with precision (and 🥨 🍺). |
35 | 137 |
|
36 | 138 | --- |
37 | 139 |
|
38 | | -That’s it! Set your preference, and never worry about your light/dark mode again. |
| 140 | +## 📱 Screenshots |
39 | 141 |
|
40 | | -🇩🇪 Made with 🥨 🍺 in Germany. |
| 142 | +[](https://ibb.co/gbjz4tjp) |
41 | 143 |
|
42 | | -[](https://sonarcloud.io/summary/new_code?id=xLexip_Hecate) |
| 144 | +#### [More Screenshots](https://play.google.com/store/apps/details?id=dev.lexip.hecate) |
0 commit comments