This document summarizes the essential commands for building, installing, and managing the T-UI Linux CLI Launcher fork.
To perform a clean build of the F-Droid version (includes SMS permissions):
# Ensure gradlew is executable
chmod +x gradlew
# Build the F-Droid Debug APK
./gradlew assembleFdroidDebugOutput Path: app/build/outputs/apk/fdroid/debug/app-fdroid-debug.apk
To install the APK on your Pixel 9 Pro emulator (or any physical device connected via USB):
# 1. Start the emulator (if not already running)
emulator -avd Pixel_9_Pro -gpu host -accel on &
# 2. Wait for the device and install (overwriting existing)
adb wait-for-device
adb install -r app/build/outputs/apk/fdroid/debug/app-fdroid-debug.apkThe weather command requires a personal API key from OpenWeatherMap for manual updates.
- Register for a free account on the OpenWeatherMap website.
- Generate an API key in your account settings.
- In the T-UI terminal, type:
weather -set_key [YOUR_API_KEY]
- Enable weather updates:
(If it shows a location error, ensure Location permission is granted in Android settings)
weather -enable
# View real-time logs (filtered for T-UI)
adb logcat | grep ohi.andre
# Uninstall the launcher via ADB
adb uninstall ohi.andre.consolelauncher
# Push a file to the launcher's internal storage
adb push local_file.txt /data/user/0/ohi.andre.consolelauncher/files/