Recently Written · git

ink-dim

Ink Dim: tap to set the frontlight of a Viwoods AiPaper reader below the lowest system level. Tap again to go back.

git clone https://github.com/equwal/ink-dim

Log | Files | Refs


commit 25dc1c2c07dbdb4ed33d39a22e604a016dcc00b9
equwal <13551856+equwal@users.noreply.github.com>
2026-10-04 02:20:01 -0700

Declare ShizukuProvider, add icon.png, say in the description that the toggle may need su

 app/src/main/AndroidManifest.xml                     |   9 +++++++++
 fastlane/metadata/android/en-US/full_description.txt |   7 +++++--
 fastlane/metadata/android/en-US/images/icon.png      | Bin 0 -> 19040 bytes
 3 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index b2a5647..3625019 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -62,6 +62,15 @@
             </intent-filter>
         </service>
 
+        <!-- Shizuku delivers its binder to the app through this provider. -->
+        <provider
+            android:name="rikka.shizuku.ShizukuProvider"
+            android:authorities="${applicationId}.shizuku"
+            android:enabled="true"
+            android:exported="true"
+            android:multiprocess="false"
+            android:permission="android.permission.INTERACT_ACROSS_USERS_FULL" />
+
     </application>
 
 </manifest>
diff --git a/fastlane/metadata/android/en-US/full_description.txt b/fastlane/metadata/android/en-US/full_description.txt
index e20b7d5..5940d6e 100644
--- a/fastlane/metadata/android/en-US/full_description.txt
+++ b/fastlane/metadata/android/en-US/full_description.txt
@@ -9,8 +9,11 @@ until the system brightness is next set.
 The system will not set the frontlight below its own floor, so Ink Dim writes
 the light of the panel straight. That file belongs to the system, so the app
 needs a shell. Shizuku gives it one. Shizuku is a separate free app that you
-start from the device through wireless debugging. There is no computer and no
-root.
+start from the device through wireless debugging. There is no computer.
+
+On a normal phone the shell may not write the light, and the toggle then does
+nothing. The app writes it with `su 0` as a fallback. That works on userdebug
+builds, where the shell user may use `su`, such as the Viwoods readers.
 
 There is a quick settings tile, "Extra dim". There are three intent actions, so
 a key remapper can put the toggle on a hardware button:
diff --git a/fastlane/metadata/android/en-US/images/icon.png b/fastlane/metadata/android/en-US/images/icon.png
new file mode 100644
index 0000000..4f3cef5
Binary files /dev/null and b/fastlane/metadata/android/en-US/images/icon.png differ