| App Name Spectra |
Versionv1.0.0 (100) · Stable |
Package IDapp.spectra.tweaker |
Design System Material 3 Expressive |
Min / Target SDK Android 12 (31) / 16 (36) |
License GPL-3.0-or-later |
Origin & Fork Note: Spectra is a fork of Everlasting Android Tweaks, completely rebuilt and redesigned in Material 3 Expressive (M3E) UI with Jetpack Compose, Petal M3E components, Shizuku-powered system utilities, and an integrated Hail App Freezer.
Spectra brings the complete Petal Material 3 Expressive visual language to Android system customization — built from the ground up with Jetpack Compose, spring physics, and adaptive dynamic theming:
- Animated App Icon + Quantum Launch: Android 12+
animated-vectorSpectra Prism splash (ic_splash_spectra_animated) that dissolves seamlessly into the proceduralSpectraQuantumSplashScreentoolkit glyph stream and spring emblem reveal. - Bloom Morphing Background: Animated
androidx.graphics.shapes.Morphcanvas background (PetalPageBackground) paired with smooth spring motion (PetalSpring) and opt-out Reduce Motion compliance. - Petal Containment UI (Home Pattern): Every screen follows
SpectraScaffold→LazyColumn(horizontal = 16.dp,vertical = 14.dp,spacedBy(18.dp)) → optionalPetalStatusHeroCard→PetalSettingsSection(title)→PetalRowGroup/PetalGroupRowrows with positional shapes (TOP/MIDDLE/BOTTOM/SINGLEviapetalGroupPositionFor, spaced3.dpapart with noHorizontalDividers). - Consistent Icons, Controls & Semantic Colours: Every row uses
Icons.Rounded.*insidePetalGroupIconBadge,PetalSwitch/IconSwitchfor toggles,PetalSliderfor sliders,PetalButton/PetalTonalButton/PetalOutlinedButton/PetalSplitButtonfor actions,PetalBottomSheet&PetalDialogfor transient surfaces,SpectraPullToRefreshBoxfor refreshable lists,ExpressivePillShapefor status pills, andMaterialTheme.colorScheme/ColorScheme.statusColorswith zero hardcoded hex colours outsideSpectraTheme.kt(and the themed Terminal exception). Guarded in CI byscripts/check_m3e_ui.shandscripts/check_wiring.py. - Expressive Controls & Typography: Animated
PetalSwitch&IconSwitch, physics-drivenPetalSlidertracks,ExpressiveButtonGroupsegmented controls, variable fonts (Google Sans Flex&NunitoviaVariableFontFactory), and custom color style seeds + AMOLED pure-black mode. - Predictive Back Gestures: Native Android 14+ back gesture progress via
SpectraPredictiveBackContainerandandroid:enableOnBackInvokedCallback="true".
Spectra packs 40 native Android screens & utilities organized across focused Material 3 Expressive categories:
|
|
flowchart TB
App["SpectraApp / HailApp"] --> Theme["SpectraExpressiveTheme<br/>Monet Dynamic Color · AMOLED · Google Sans Flex"]
Theme --> Nav["SpectraNavHost<br/>Predictive Back · PetalMotion Springs"]
Nav --> Home["HomeScreen<br/>Search · Category Chips · PetalGroups"]
Home --> Screens["43 Feature Items & Settings"]
Screens --> Services["Background Services<br/>SpectraAccessibilityService · SpectraForegroundService · ScreensaverService"]
Screens --> Bridge["System Privileges<br/>Shizuku · Dhizuku · Root · Hail Freeze Engine"]
Screens --> Data["AppPreferences (DataStore) & SharedPreferences Sync"]
Package Structure Map
app/src/main/kotlin/
├── app/spectra/tweaker/
│ ├── SpectraApp.kt # Application initialization & notification channels
│ ├── data/ # DataStore preferences & state persistence
│ ├── features/ # 40+ native hardware/system tweak engines & QS tiles
│ ├── services/ # Foreground & SpectraAccessibilityService
│ ├── ui/
│ │ ├── MainActivity.kt # Edge-to-edge host, splash & M3E theme root
│ │ ├── m3e/ # Petal M3 Expressive containment, shapes, fonts, Bloom & controls
│ │ ├── navigation/ # SpectraNavHost & PredictiveBackHandler transitions
│ │ └── screens/ # Home, Settings, Equalizer, Upscaler, Terminal & feature UIs
│ └── utils/ # PermissionManager, Shizuku & Root helpers
└── com/aistra/hail/ # App Freezer subsystem synced with Spectra's theme
| Permission / Privilege | Purpose in Spectra | Required? |
|---|---|---|
| Accessibility Service | Double power press, screen-off button actions, tap haptics | Feature-specific |
| Display Over Other Apps | Custom nav bar pill, music leveler, charging animations, volume styles | Feature-specific |
| Modify System Settings | Brightness, sound mode, stay awake & system-level quick toggles | Feature-specific |
| Notification / DND Access | Flip to DND, charge limit alarms, foreground service status | Feature-specific |
| Shizuku / Root (Optional) | App Freezer, Cache Cleaner, Task Manager & privileged shell commands | Optional |
| ADB / Shizuku-Granted | WRITE_SECURE_SETTINGS, FORCE_STOP_PACKAGES, CHANGE_COMPONENT_ENABLED_STATE, MANAGE_APP_OPS_MODES (granted via Shizuku/ADB, not normal runtime prompts) |
Optional |
| Layer | Technology |
|---|---|
| Language & Runtime | Kotlin 2.4.21, Coroutines, AndroidX Lifecycle |
| UI Toolkit | Jetpack Compose BOM 2026.09.00, Material 3 1.5.0-alpha22, androidx.graphics.shapes 1.1.0 |
| Typography | Variable Fonts (Google Sans Flex, Nunito) via VariableFontFactory |
| Build & CI | Gradle 9.9.1, AGP 9.5.1, GitHub Actions Release APK Pipeline |
# Build signed release APK with local keystore properties
./gradlew :app:assembleRelease --build-cache --parallelEvery push to main triggers android_build.yml, which verifies M3E UI guardrails & wiring, builds and signs Spectra-v1.0.0-release.apk with Gradle build caching enabled, and uploads the APK artifact.
Released under the GNU General Public License v3.0 or later. Copyright © 2026 Spectra (shreyagarwal72). See THIRD_PARTY.md for third-party attributions and licenses.