Repository navigation
Releases
Scale Toggle 1.2.0
Scale Toggle switches the Titan 2 Elite between phone mode and tablet mode. Bind it to a long press of the side button.
Setup guide: https://jasonlok000.github.io/titan2-nightkeys/scale-toggle.html
Defaults and settings: https://github.com/jasonlok000/titan2-nightkeys/blob/main/docs/SCALE-TOGGLE.md
What's new since 1.0.4
- Phone mode is 300 DPI by default: about 574 dp wide, a phone layout with a little more on screen. (Before, it was 500 dp / 344 DPI.)
- Tablet mode is 286 DPI by default: about 602 dp wide, clearly past the 600 dp where many apps switch to two panes. (287 DPI read as 599 dp in Developer options and some apps.)
- Optional settings. Long-press the Scale Toggle icon and tap Settings, or open App info and tap the gear. Each mode can stay on Default or use a Custom DPI (120–640, tablet lower than phone), with a live preview. Changes apply on your next switch; Restore defaults puts both back.
- Tapping the app or long-pressing the side button still switches instantly, with no screen.
- A phone left in an older version's phone or tablet mode is recognized, so the next press does what you expect.
- On a regular Titan 2 (1440 × 1440, untested): set Phone mode to 460 and Tablet mode to 384.
Same signing key: install straight over 1.0.2 or later; don't uninstall first.
Verify
- File:
ScaleToggle-1.2.0.apk, version 1.2.0 (code 8), packagedev.everyonesniche.scaletoggle - SHA-256:
5b0ca878e9d0f4cecedb7a39bff296a4262c224e0d155e4a6be1593650b32b66 - Signing certificate SHA-256:
4060aaece81427fb1bf94469296f7a28aa9b8101b645dacf4a2a6f64b26e60b0
Checked with 221 local tests. The settings screen and the 300 DPI phone mode haven't been tried on a phone yet.
Scale Toggle 1.0.4
Scale Toggle switches the Titan 2 Elite between phone mode and tablet mode with one press. Bind it to a long press of the side button.
Setup guide: https://jasonlok000.github.io/titan2-nightkeys/scale-toggle.html
What's new in 1.0.4
- The message after switching now says just
Phone modeorTablet mode. - Tablet mode is still exactly 287 DPI. Phone mode, Shizuku use and the package are unchanged.
- Same signing key as 1.0.3: install straight over 1.0.2 or 1.0.3, don't uninstall first.
Verify
- File:
ScaleToggle-1.0.4.apk, version 1.0.4 (code 5), packagedev.everyonesniche.scaletoggle - SHA-256:
0877b844d1979cfaac994ee67cad58371e521ac2dc4e22e2cfa9ad9d4c3b26df - Signing certificate SHA-256:
4060aaece81427fb1bf94469296f7a28aa9b8101b645dacf4a2a6f64b26e60b0
Requires Android 11 or newer and Shizuku. No Internet permission. Built and checked with local tests; not yet tested on a physical phone.
Hold Symbols 0.3.1
Hold Symbols lets you hold a letter on the Titan 2 Elite's keyboard to type the symbol printed on it. Tap S for s, hold it for 4. You keep SwiftKey, and Shift and Alt work like before.
Setup guide: https://jasonlok000.github.io/titan2-nightkeys/hold-symbols.html
What's new in 0.3.1
- The symbol now shows up the moment you've held the key long enough, while you're still holding it. 0.3.0 waited until you let go, which felt backwards.
- If the phone is busy and a quick tap reaches the app late, it's still judged by how long you actually held the key, so it won't turn into a symbol by mistake.
- Same signing key as 0.3.0: install straight over it. Still have a 0.2 test build? Uninstall that first.
Verify
- File:
TitanHoldSymbols-0.3.1.apk, version 0.3.1 (code 5), packagecom.jasonlok.titanhold - SHA-256:
899bba0073540ce5abf870a302c7468a8c5dcbf88481761a377f37a23062f794 - Signing certificate SHA-256 (the NightKeys key):
bb769da3c4aa70bf9e50604df662153998ce64baf410ee0cd3e7579afafa9420
Requires Android 13 or newer, Shizuku and the accessibility permission. No Internet permission. 0.3.0 is working on the maintainer's Titan 2 Elite with SwiftKey in English. 0.3.1 passes the host tests, but the emulator run for this exact build is still to do. Cantonese input hasn't been checked yet.
Scale Toggle 1.1.0 (test build)
Test build. The website still offers 1.0.4.
Nothing changes for normal use. Tapping Scale Toggle, or long-pressing the side button it's bound to, still switches instantly with no screen. Defaults are the same as 1.0.5: phone mode 500 dp wide, tablet mode 286 DPI (about 602 dp on the Titan 2 Elite).
New: optional DPI settings for advanced users. Long-press the Scale Toggle icon and choose Settings, or open App info and tap the gear.
- Phone mode and tablet mode can each stay on Default or use a Custom DPI (120–640, tablet lower than phone).
- A live preview shows how wide the screen will be in dp, and whether that's usually a phone or tablet layout (many apps switch at 600 dp).
- Changes apply on your next switch. Restore defaults puts both back.
- On the regular Titan 2 (1440 × 1440), a tablet DPI of 384 gives exactly 600 dp.
Same signing key: install straight over 1.0.2–1.0.5; don't uninstall first. Setup guide: https://jasonlok000.github.io/titan2-nightkeys/scale-toggle.html
Verify
- File:
ScaleToggle-1.1.0.apk, version 1.1.0 (code 7), packagedev.everyonesniche.scaletoggle - SHA-256:
0964f2847f556a0fb269f8f0e5fb4a9871c8a484b4170e907bb78aff2831d373 - Signing certificate SHA-256:
4060aaece81427fb1bf94469296f7a28aa9b8101b645dacf4a2a6f64b26e60b0
Checked with local tests only; the settings screen hasn't been tested on a phone yet.
Scale Toggle 1.0.5 (test build)
Test build. The website still offers 1.0.4.
What changed: tablet mode now sets 286 DPI instead of 287. On the Titan 2 Elite (1076 × 1200) that's about 602 dp, clearly over the 600 dp line where apps switch to their tablet layout. 287 DPI was 599.9 dp: Android rounds that up to 600, but Developer options and some apps see 599 and stay in phone layout.
- Phone mode is unchanged.
- If your phone is in 1.0.4's tablet mode when you update, the next press goes to phone mode as usual.
- Same signing key: install straight over 1.0.2, 1.0.3 or 1.0.4; don't uninstall first.
- Bind it to a long press of the side button. Setup guide: https://jasonlok000.github.io/titan2-nightkeys/scale-toggle.html
Verify
- File:
ScaleToggle-1.0.5.apk, version 1.0.5 (code 6), packagedev.everyonesniche.scaletoggle - SHA-256:
700de667311d802c92ced27494d0a542079ccb042364f4111637b16adad8ca61 - Signing certificate SHA-256:
4060aaece81427fb1bf94469296f7a28aa9b8101b645dacf4a2a6f64b26e60b0
Checked with local tests only; not yet tested on a phone.
NightKeys 1.0.0-beta.3
NightKeys 1.0.0-beta.3
⚠️ Reinstall once: new signing key
The signing key used for beta.1 and beta.2 was lost, so this version is signed with a
new key. Android will not install it over the old app. Do this once:
- Open your current NightKeys and tap Stop & restore.
- Uninstall NightKeys.
- Install NightKeys-1.0.0-beta.3.apk below and do the one-time setup again.
Shizuku stays paired, so it's quick.
Updates after beta.3 will install normally. The new certificate's SHA-256 is
bb769da3c4aa70bf9e50604df662153998ce64baf410ee0cd3e7579afafa9420
(also in signing-certificate.sha256).
A simpler main screen
- One top card shows the status, the live room light and the How dark is dark enough?
slider together. - One-time setup sits above Enable NightKeys: Get Shizuku → Start Shizuku →
Allow NightKeys. Finished steps get a tick, and one big button always shows the next
step. The card hides once setup is done and comes back if Shizuku stops (e.g. after
a restart). - Plain-language hints replace the technical Shizuku/agui_common status lines.
- The keyboard-brightness shortcut is gone. NightKeys still uses whatever brightness
you set in the phone's own settings. - Help, battery settings, support report and licences are folded into
Advanced settings.
The lighting itself is unchanged: on below 10 lux, off at 15 lux, off with the screen,
and your original keyboard timeout is restored on Stop & restore.
Limitations
Titan 2 Elite, Android 16, main user; baseline owner-tested on V02.00.04. If the app
or Shizuku is killed unexpectedly, the keyboard timeout can stay changed. There is no
independent watchdog. Always tap Stop & restore before uninstalling, clearing data or
stopping Shizuku. Emulator tests cannot measure the physical keyboard LEDs.
NightKeys 1.0.0-beta.2
NightKeys 1.0.0-beta.2
Three-step setup
- Install Shizuku if it is not already installed (automatically detected).
- Start Shizuku, return to NightKeys, and connect/authorize.
- Enable NightKeys. Android may ask for notification permission.
No 90-second check, saved hardware-confirmation checklist, or brightness capture.
The working lighting algorithm remains unchanged: default 10/15 lux, immediate dark
activation, 250 ms bright debounce, explicit OFF on screen-off and exact original
timeout restoration. Your stock brightness remains untouched. The installer still
refuses unsupported hardware, unavailable transport, and unresolved recovery.
The Titan Tools page now has a proportion-matched Titan 2 Elite illustration and
physical keyboard layout, retaining the interactive dark/bright/sleep demonstration.
Install/update
For community beta.1: Stop & restore, then install the APK as a normal update; the
permanent certificate is unchanged. For 0.9.x trials: restore first and uninstall
once because those trial signing keys differ. There is no need to repeat setup
verification because that prerequisite no longer exists.
Limitations
Titan 2 Elite, Android 16, owner profile; baseline owner-tested on V02.00.04.
Unexpected app/Shizuku termination can leave the persistent timeout changed. No
independent watchdog. Always Stop & restore before removal, clearing data or stopping
Shizuku. APK readback and emulator tests cannot measure the physical LEDs.
NightKeys 1.0.0-beta.1
NightKeys 1.0.0-beta.1
The first open-source community beta for the Unihertz Titan 2 Elite.
Download and setup
Download NightKeys-1.0.0-beta.1.apk from the assets below. Do not download the source ZIP to install the app. No GitHub account is required.
Every-step setup guide in the repository · Visual setup website · Report a problem
The Pages site may require its one-time owner activation; the repository guide always remains available.
What changed
- Focused onboarding and an Enable NightKeys / Stop & restore action.
- Manual hold, force-off and diagnostic monitor controls removed from the shipped app. Read-only, opt-in support report retained.
- The working 0.9.7 timing is preserved: dark activation from a fresh sample, 250 ms bright debounce, explicit screen-off shutdown. Stock keyboard brightness is untouched.
- Normal Gradle source build with permanent release signing, source archive, checksums and public signing certificate.
- Developer docs, contribution forms, privacy/safety notes and Titan Tools website with a visual light demo.
Compatibility and test scope
Requires Titan 2 Elite, Android 16, main owner profile and running authorized Shizuku. Working baseline confirmed by the maintainer on V02.00.04; the newly signed community build must still pass the physical check on your phone. Regular Titan 2 and other models are not supported by this release.
Automated gates before signing: JVM policy/recovery tests, Android debug/release build and lint, real non-root Shizuku (shell UID 2000) tests on an Android 16 emulator, and desktop/mobile website interaction checks. An emulator does not contain the Unihertz keyboard service or LEDs.
Important limits
The ON timeout is still a persistent, very large value. This beta has no independent watchdog. If NightKeys or Shizuku is killed, the setting may remain changed, including light while the display is off on the tested firmware. Always use Stop & restore before uninstalling, clearing data or stopping Shizuku. Keep app data until restoration succeeds.
After a phone reboot, start Shizuku again and open NightKeys. Avoid the stock keyboard-light Quick Settings tile and other backlight controllers while NightKeys is active. Read Safety and recovery.
The 90-second setup check is temporary. Save the successful check, wait for restoration, then tap Enable NightKeys for everyday use.
Updating from 0.9.x trials
Stop & restore the old trial and confirm no pending hardware changes, then uninstall it once. The new permanent community signing certificate differs from the disposable trial keys. Future community releases must retain this new key so ordinary updates work.
MIT licensed, with complete dependency/research notices in the APK and source. Independent community software, not affiliated with Unihertz or Shizuku.