Skip to content

USB Debug Guard v0.1.1

Choose a tag to compare

@Nongfsq Nongfsq released this 04 Jun 07:51
· 13 commits to master since this release

USB Debug Guard v0.1.1

Branding refresh release.

Highlights

  • Replaces the launcher and documentation logo with the new USB-C port mark.
  • Synchronizes the Android adaptive icon and notification icon with the new geometry.
  • Updates README and Chinese README wording to describe the new visual identity.
  • Keeps the same root-only behavior and compatibility model as v0.1.0.

Build And Compatibility

  • App version: 0.1.1 (versionCode 2)
  • Package: io.github.nongfsq.usbdebugguard
  • Built with: Android Gradle Plugin 9.2.1, Kotlin 2.4.0, Compose BOM 2026.05.01
  • Android SDK: compileSdk 36, targetSdk 36, minSdk 26
  • Verified device: OnePlus CPH2723, Android 15/API 35, arm64, Linux 6.6 Android kernel

The APK remains a universal Android package. It is not split by CPU architecture or Android kernel version. Compatibility still depends mostly on the rooted Android environment: su, settings, input, USB/ADB reporting, SELinux policy, and OEM lock-screen behavior.

Install

Download the APK from this release and install with:

adb install -r usb-debug-guard-v0.1.1.apk

If you installed a local debug build before, Android may reject this release APK as an update because debug and release builds use different signing keys. In that case, uninstall the debug build first or keep using tools/install.ps1 for local debug builds.

Verification

  • Debug and release Gradle builds pass.
  • APK signature verification passes.
  • Android badging shows versionName=0.1.1, versionCode=2, minSdk=26, targetSdk=36.
  • Privacy scan confirms no local paths, personal identifiers, credentials, signing keys, or old package names are committed.

USB 调试守护 v0.1.1

品牌视觉更新版本。

重点

  • 将启动图标和文档 logo 替换为新的 USB-C 端口标识。
  • Android 自适应图标和通知图标同步到新的几何系统。
  • 更新英文 README 和中文 README 中的视觉说明。
  • Root-only 行为和兼容性模型与 v0.1.0 保持一致。

构建与兼容性

  • App 版本:0.1.1 (versionCode 2)
  • 包名:io.github.nongfsq.usbdebugguard
  • 构建工具:Android Gradle Plugin 9.2.1,Kotlin 2.4.0,Compose BOM 2026.05.01
  • Android SDK:compileSdk 36,targetSdk 36,minSdk 26
  • 已验证设备:OnePlus CPH2723,Android 15/API 35,arm64,Linux 6.6 Android 内核

APK 仍然按通用 Android 包发布,不按 CPU 架构或 Android 内核版本拆分。兼容性仍主要取决于已 root 的 Android 环境:su、settings、input、USB/ADB 状态上报、SELinux 策略和 OEM 锁屏行为。

安装

下载本 release 的 APK 后运行:

adb install -r usb-debug-guard-v0.1.1.apk

如果设备上之前安装过本地 debug 构建,Android 可能会因为 debug 和 release 签名不同而拒绝覆盖安装。遇到这种情况请先卸载 debug 版本,或者继续使用 tools/install.ps1 安装本地 debug 构建。

验证

  • Gradle debug 和 release 构建通过。
  • APK 签名验证通过。
  • Android badging 显示 versionName=0.1.1、versionCode=2、minSdk=26、targetSdk=36。
  • 隐私扫描确认没有提交本机路径、个人标识、凭据、签名密钥或旧包名。