Volver a proyectosOpen Source

DozeForge — Auditor de batería y CPU por ADB

App de escritorio (Tauri 2 + Rust + SvelteKit 5) que audita el consumo de batería y CPU de Android 12+ por ADB sin root. Traza el culpable real detrás del proxy de Google Play Services, aplica restricciones progresivas con primitivas públicas (appops, standby-bucket, pm disable-user) y permite rollback atómico o exportar las reglas como script de shell.

Tauri 2RustSvelteKitAndroid / ADB
Rol
Autor · Full-stack
Año
2025
Backend
Rust 1.79 · Tauri 2
Frontend
SvelteKit 2 · Svelte 5
Licencia
MIT
DozeForge — Auditor de batería y CPU por ADB

0

Root requerido

12+

Android (API 31–35)

100%

Rollback atómico

DozeForge es un auditor quirúrgico de energía para Android 12+. En lugar de adivinar a partir de una lista negra, lee la telemetría real del dispositivo por ADB, traza al culpable auténtico y te deja actuar — todo sin root.

El problema que resuelve

  • Bloatware de fábrica que sobrevive a cada reinicio e ignora Doze (Samsung Health, MIUI Cleaner, Xiaomi GetApps…).
  • Apps que pasan por Google Play Services (FCM, JobScheduler), de modo que el síntoma aparece como com.google.android.gms mientras el culpable real queda oculto.
  • El phantom-process killer (API 31+) que mata herramientas legítimas en segundo plano (Termux, Tasker) mientras los servicios del fabricante siguen corriendo.

Arquitectura

  • Backend (Rust): cliente ADB asíncrono con soporte multi-dispositivo, parsers de dumpsys conscientes de la versión con fixtures por nivel de API, heurísticas de riesgo, muestreo continuo de CPU (p50/p95) y detección del proxy de GMS.
  • Optimizador: standby buckets, revocación de AppOps, am kill selectivo y pm disable-user reversible para el bloatware.
  • Seguridad: snapshots diferenciales con almacenamiento direccionado por contenido y rollback atómico tolerante a huella, más un exportador de scripts de shell (checksum SHA-256) para que las reglas sobrevivan sin el PC.
  • Frontend (SvelteKit 5 + Svelte 5 runes): panel, telemetría, doze/sueño, batería, almacenamiento, red y DNS, gestor de apps y diagnósticos — con paleta de comandos Ctrl+K e i18n ES/EN.

DozeForge is a surgical power-management auditor for Android 12+. Instead of guessing from a blocklist, it reads the device's real telemetry over ADB, traces the actual culprit and lets you act — all without root.

The problem it solves

  • OEM bloatware that survives every reboot and ignores Doze.
  • Apps proxying through Google Play Services, so the symptom shows up as com.google.android.gms while the real culprit stays hidden.
  • The phantom-process killer (API 31+) that nukes legit background tools while OEM services keep running.

Architecture

  • Backend (Rust): async ADB client with multi-device support, version-aware dumpsys parsers with per-API fixtures, risk heuristics, continuous CPU sampling (p50/p95) and GMS proxy detection.
  • Optimizer: standby buckets, AppOps revocation, selective am kill and reversible pm disable-user for bloatware.
  • Safety: content-addressed differential snapshots with fingerprint-tolerant atomic rollback, plus a shell-script exporter (SHA-256 checksum) so the rules survive without the PC.
  • Frontend (SvelteKit 5 + Svelte 5 runes): dashboard, telemetry, doze/sleep, battery, storage, network & DNS, app manager and diagnostics — with a Ctrl+K command palette and ES/EN i18n.