Wiki & Documentazione ApkUp

Tutte le 12 guide ufficiali in un unico posto ricercabile — cambia capitolo a sinistra o cerca qualsiasi argomento qui sotto.

Nota: Gli articoli completi di riferimento qui sotto sono sincronizzati dalla Wiki GitHub in inglese. I riepiloghi dei capitoli, i passaggi rapidi e le tabelle sono tradotti nella tua lingua.

Start ~3 min di lettura

Panoramica & Avvio rapido

ApkUp è un aggiornatore Android locale multisorgente per Android 10–17 (API 29+). Verifica e installa aggiornamenti su 7 ecosistemi senza telemetria.

Consenso prima

Zero chiamate di rete prima della scelta sorgenti

Al primo avvio ApkUp mostra una finestra di scelta delle sorgenti. Solo quelle attivate vengono interrogate via HTTPS.

3 schede principali

App, Aggiornamenti & Impostazioni

Gestisci app e lista di controllo in App, avvia gli aggiornamenti in Aggiornamenti e configura sorgenti e backup in Impostazioni.

apksig v2/v3

Protezione crittografica firma & ABI

Ogni APK o bundle .apkm scaricato viene verificato rispetto al certificato installato, minSdk e CPU ABI.

Android 10–17 & 9 lingue

Requisiti, lingue & automazione

Funziona da Android 10.0 (API 29+) in 9 lingue. Installazione standard o silenziosa con Shizuku / Root (su).

Avvio rapido in 3 passaggi

  1. Scegli le sorgenti attive

    Attiva F-Droid/IzzyOnDroid, GitHub, GitLab, Codeberg, APKMirror o Google Play Store nella schermata iniziale.

  2. Ordina priorità & fissa app

    Trascina l'ordine delle sorgenti nelle Impostazioni o fissa singole app nella scheda App.

  3. Scansiona & aggiorna

    Scorri per aggiornare in Aggiornamenti, controlla le note o salva APK nei Dettagli e installa.

Complete Reference Guide (Full English GitHub Wiki)

Welcome to the central knowledge base for ApkUp — an open-source, privacy-first Android app updater built with Kotlin, Jetpack Compose, and Material 3 Expressive.

  • 🟢 User Guides & FAQs: Every feature guide is written in plain language for everyday users, followed by practical Frequently Asked Questions (FAQ).
  • 💻 Technical Overview: A dedicated, comprehensive category for architecture, protocols, cryptography, CI/CD, testing, and Android internals.

User Guides & FAQs

1. 🌐 Update Sources, Repository Linking & Signature Protection
2. ⚡ Shizuku & Silent Background Installations
  • Main Guide: Shizuku & Silent Background Installations — Why Android normally prompts for every update, how Shizuku enables one-tap batch updates and silent background installs without Root, and how the optional Root Installer (su) works.
  • Quick Setup: Setting up Shizuku — Step-by-step walkthrough for Wireless Debugging (Android 11+), USB ADB, Root, and OEM battery settings.
3. 🛠️ App Management, Filters, Background Checks & Backup
4. 🚨 Troubleshooting Source Errors & Error Codes
  • Main Guide: Troubleshooting Source Errors & Error Codes — Direct self-help for DNS/connection timeouts, HTTP 401/403/429 rate limits, APKMirror 404 & Cloudflare challenges, signature conflicts, and custom repository linking.
5. 📲 Installing Unknown Apps & ⚠️ Google’s 24h Lock
  • Sideloading: Installing Unknown Apps — Step-by-step instructions for Android’s “Allow from this source” permission.
  • Google’s 24h Lock: Google’s 24h Lock & Keep Android Open — How to permanently unlock “Apps from unverified developers” (Allow indefinitely) for the 2026/2027 Play Protect rollout.

Technical Overview

Comprehensive architectural and engineering documentation for developers, contributors, and security reviewers:

  1. 🌐 Update Sources, Networking & Parsing — Multi-source aggregation, gplayapi, F-Droid Index-V2 (RFC 7396), APKMirror .apkm & Cloudflare handling, GitHub GraphQL & token isolation.
  2. ⚡ Installation, Shizuku, Root & WorkManager — UpdateDownloadWorker, 24h cache, SessionInstaller (PackageInstaller), Shizuku Binder IPC, RootInstaller (su), and rollback backups.
  3. 🛡️ Security, Cryptography & Privacy — ApkIntegrityVerifier (v2/v3 signatures, SHA-256, downgrade guard), Google Tink AES-256-GCM, Zip-Slip/decompression-bomb limits, Tapjacking & AppJournal redaction.
  4. 🎨 UI, Accessibility & Website Architecture — Jetpack Compose Material 3 Expressive, a11yAccessibleUi, AccessibleTypography, SolarScheduleCalculator, Astro 9-language site & check-a11y.mjs.
  5. 🚀 CI/CD, Single-Artifact Releases & Checksums — SemVer 2.0.0 CI pipeline, PR checks, release.yml canonical APK, SHA256SUMS, Self-Updater & mirrors.
  6. 🏷️ Versioning Standard (Legacy vs. SemVer 2.0.0) — Centralized version.properties, automatic short Git hash, -build<N> asset naming, Self-Updater precedence & two-stage Major rule.
  7. 💾 Data Storage, Prefs, Backups, Logs & Widget — SecurePrefsStore allowlist, CachedUpdateSnapshot, ApkUpBackupConfig schema, AppJournal, and UpdatesWidgetProvider (RemoteViews Preview).
  8. 🧪 Build System, R8 & Automated Tests — Gradle configuration, Debug vs. Release (R8), PrefsTest, ChangelogBottomSheetTest, AccessibilityAuditTest, and lintDebug.
  9. 🌍 Localization, Weblate & Asset Pipeline — 9-locale strings.xml & website/src/i18n/*.json parity, Hosted Weblate, changelog asset parser, Fastlane & adaptive SVGs.

Core ~6 min di lettura

Sorgenti, collegamenti repository & protezione firma

Come ApkUp interroga ogni sorgente, come funzionano i collegamenti personalizzati e perché Android blocca i cambi di firma.

Priorità & Fissaggio

Ordine globale con fallback automatico

ApkUp valuta le sorgenti attive secondo la tua priorità. Fissare un'app dà priorità a quella sorgente con fallback.

Collegamento 3 vie

Link personalizzati GitHub, GitLab & Codeberg

Collega qualsiasi app a owner/repo, sottogruppi GitLab (group/sub/project) o istanze self-hosted.

Filtro asset

Corrispondenza ABI, varianti FOSS & Regex

Seleziona automaticamente arm64-v8a / armeabi-v7a / x86_64 prima degli universali, preferisce FOSS e supporta Regex.

Protezione firma

Perché Android blocca cambi di certificato

F-Droid ufficiale usa la propria chiave, mentre GitHub/Play/IzzyOnDroid usano quella dello sviluppatore. ApkUp avvisa prima.

Sorgente Protocollo & Autenticazione Capacità speciali
GitHub REST + GraphQL in batch (con PAT opzionale) Mappature FOSS integrate, owner/repo perso, auto-aggiornamento SHA256SUMS
GitLab API REST v4 (gitlab.com & self-hosted + PAT) Supporta percorsi sottogruppi annidati (group/sub/project)
Codeberg / Forgejo API Releases Gitea/Forgejo (codeberg.org & propri) Risoluzione diretta asset con filtri ABI & Regex
F-Droid & IzzyOnDroid Index V2 firmato (entry.jar) + fallback Index V1 Diff RFC 7396, pinning X.509 TOFU, confronto 100% locale
APKMirror API/Feed HTTPS + fallback WebView Cloudflare Estrazione diretta .apk & split .apkm con attesa 10 min per app
Google Play Store Token anonimo Aurora Dispenser (senza account) Profilo dispositivo minimo & recupero HTTP 429
Complete Reference Guide (Full English GitHub Wiki)

# 🌐 Update Sources, Repository Linking & Signature Protection in ApkUp

This guide explains how ApkUp's update sources work together, how Source Priority & Per-App Pinning choose the best download, how Pre-Release Channels and Signature Verification protect your device, and how to link custom GitHub, GitLab, or Codeberg/Forgejo repositories.

Looking for a specific error message (HTTP 403, HTTP 429, DNS, Cloudflare, or INSTALL_FAILED_UPDATE_INCOMPATIBLE)? Jump straight to Troubleshooting Source Errors.


User Guide

ApkUp unites six independent update channels in a single interface. You can enable or disable each source individually in Setup:

SourceBest ForKey Highlight in ApkUp
Google Play StoreEveryday mainstream appsWorks completely anonymously without signing into a personal Google account.
APKMirrorFast rollouts before Play Store stages reach youVerifies architecture, Android version, and signatures automatically with per-app Cloudflare cooldowns.
F-Droid & IzzyOnDroidFree & Open-Source Software (FOSS)Unified bottom sheet with Index V2 (entry.jar / index-v1.jar) verification, pre-pinned presets, and TOFU pinning for custom repos.
GitHubOpen-source apps straight from developersBuilt-in catalog + custom repo bindings, optional regex asset filter, GraphQL batching, and token testing.
GitLabProjects hosted on GitLab (Aurora Store, VLC, Briar)Supports gitlab.com, self-hosted instances, and nested subgroups.
Codeberg / ForgejoCommunity FOSS apps (e.g., Gadgetbridge)Supports codeberg.org, self-hosted Forgejo instances, and optional access tokens.

Back to Table of Contents


1.2 Direct In-App Downloads from APKMirror

When Direct APKMirror Downloads is enabled under Setup ➔ APKMirror, ApkUp resolves the download link in the background, downloads the APK or .apkm bundle directly inside the app, and installs it without forcing you through ad-heavy browser pages.

  • If Cloudflare triggers an interactive check, ApkUp opens a compact in-app WebView first and only falls back to your system browser if needed.

Back to Table of Contents


1.3 What is an "App Signature" and why does it matter?

Every Android app carries an invisible cryptographic seal from its developer — its digital signature.

  • Android only allows an update if the new APK has the exact same signature as the installed app.
  • How ApkUp protects you: ApkUp checks signatures during update discovery and again before installation (minSdk, ABI, and signing certificate), blocking tampered or mismatched updates before Android fails on them.

Back to Table of Contents


1.4 Multi-Source Priority & Per-App Pinning

When an app offers updates on multiple sources simultaneously, ApkUp keeps your Updates list clean by showing each app once:

  • Global Source Priority: Open Setup ➔ Source Priority and reorder sources via drag-and-drop or arrow buttons to choose your preferred default order.
  • Per-App Source Pinning: In Apps or Updates, pin an individual app to a specific source (e.g., always prefer GitHub over Play Store). If the pinned source currently has no update, ApkUp automatically falls back to your global order.
  • Alternative Sources: Tap any update card to view all other sources offering that update and switch with one tap.

Back to Table of Contents


1.5 Guide: Linking a Custom GitHub, GitLab, or Codeberg Project

  1. Open the Apps tab and tap the desired app.
  2. Select Link Repository (GitHub / GitLab / Codeberg).
  3. Paste the full repository URL or shorthand (owner/repo for GitHub/Codeberg, group/subgroup/project for GitLab, plus custom host if self-hosted).
  4. Optionally add an APK Asset Regex (with live test preview) if the release ships multiple APK variants, then tap Save.

Back to Table of Contents


Frequently Asked Questions (FAQ)

3.1 Why does ApkUp show a warning icon for a "Signature Conflict"?

Apps compiled by F-Droid use F-Droid's signing key, whereas GitHub or Play Store builds use the developer's or Google's key. Android forbids overwriting an app across different signing keys. Pick the matching source under Alternative Sources, or uninstall the existing app first if you want to switch signers.

3.2 Do I need a Google account for Play Store updates?

No. ApkUp uses anonymous guest sessions and never asks for your personal Google credentials.

3.3 Why does APKMirror sometimes open an in-app WebView or my browser?

APKMirror uses Cloudflare bot protection. When Cloudflare requires human verification, ApkUp opens an in-app WebView first (or falls back to your browser if running in the background) so you can still complete the download.

3.4 What are .apkm files and can ApkUp install them directly?

Yes! .apkm files are split APK bundles (base app + language/ABI/density splits). ApkUp extracts and installs all matching splits automatically.

3.5 How do I manage Alpha / Beta pre-releases (for apps and ApkUp itself)?
  • For Tracked Apps: Open Setup ➔ Include Pre-Releases to enable individual channels (Beta, RC, Alpha, Nightly) globally, or override pre-release behavior per app inside its details sheet. By default, pre-releases are disabled.
  • For ApkUp Itself (Self-Updater): Open Setup ➔ About ➔ Receive beta updates (disabled by default) to opt into ApkUp pre-release builds. Turning it off automatically returns you to the stable track with the next regular release.
3.6 Does ApkUp support self-hosted GitLab and Forgejo servers?

Yes! Both self-hosted GitLab (including nested subgroups) and self-hosted Forgejo instances over https:// are supported when linking repositories.


Back to Table of Contents


💻 Looking for architectural internals, protocols, or security proofs? Explore the Technical Overview section.

Index V2 ~4 min di lettura

Repository F-Droid & Index V2

ApkUp integra un motore nativo F-Droid Index V2 con diff incrementali RFC 7396, verifica crittografica JAR e preset rapidi.

Diff RFC 7396

Fino al 95% di traffico in meno

Invece di scaricare oltre 50 MB ogni volta, ApkUp verifica entry.jar e applica solo il piccolo diff JSON.

Pinning X.509 TOFU

Verifica crittografica impronta

Le firme JAR vengono verificate rispetto all'impronta SHA-256 X.509 a 64 caratteri fissata.

Preset repository URL ufficiale indice Impronta certificato SHA-256
F-Droid Official https://f-droid.org/repo 43238D512C1E5EB2D6569F4A3AFBF5523418B82E0A3ED1552770ABB9A9C9CCAB
IzzyOnDroid https://apt.izzysoft.de/fdroid/repo 3BF0D6ABFEAE2F401707B6D966BE743BF0EEE49C2561B9BA39073711F628937A
Guardian Project https://guardianproject.info/fdroid/repo B7C2EEFD8DAC7806AF67DFCD92EB18126BC08312A7F2D6F3862E46013C7A6135
MicroG F-Droid Repo https://microg.org/fdroid/repo 9BD06727E62796C0130EB6DAB39B73157451582CBD138E86C468ACC395D14165
NewPipe Repo https://archive.newpipe.net/fdroid/repo E2402C78F9B97C6C89E97DB914A2751FDA1D02FE2039CC0897A462BDB57E7501
Come aggiungere un repository F-Droid HTTPS personalizzato

Apri Impostazioni → Sorgenti → IzzyOnDroid / F-Droid → Aggiungi repository. Incolla un link con ?fingerprint=<64-hex> o lascia vuoto al primo avvio per il pinning TOFU.

Complete Reference Guide (Full English GitHub Wiki)

← Back to Wiki Home · Troubleshooting Source Errors

Starting with v1.40.0+, ApkUp upgrades its F-Droid and community repository processing to the modern F-Droid Index V2 specification (index-v2.json). This brings dramatic improvements in network efficiency, memory usage, and update accuracy.


1. What is F-Droid Index V2?

The F-Droid Index V2 format is the next-generation metadata catalog for Android open-source repositories. Instead of relying on monolithic, memory-intensive XML archives, Index V2 distributes repository manifests formatted as streamlined JSON objects (index-v2.json), partitioned by application packages and cryptographic release signatures.


2. Why the Upgrade from Index V1 (index.xml)?

Prior to v1.40, repository metadata was parsed from legacy index.jar / index.xml feeds. This came with significant disadvantages on mobile devices:

  • ⚠️ High RAM & CPU Consumption: Parsing a 30+ MB uncompressed XML file required tens of megabytes of heap allocation and could cause stutter on mid-range devices.
  • ⚠️ Slow Cold Checks: Reading XML tags sequentially slowed down background checks.
  • ⚠️ Bandwidth Waste: Entire catalogues had to be parsed even if only a few packages changed.

The Index V2 Advantages in ApkUp:

  • ⚡ Streaming JSON Parser: ApkUp streams index-v2.json directly from the network without allocating huge string buffers into RAM.
  • ⚡ Incremental Index-V2 Diffs & Caching: Uses ETag, Last-Modified, and signed F-Droid Index-V2 diffs (RFC 7396 JSON Merge Patch with mandatory SHA-256 verification) to download only lightweight incremental changes when your local cache is up to date, automatically falling back to the full index-v2.json when needed.
  • ⚡ Instant Package Matching: Direct hashmap lookup matching your device's installed package names in milliseconds.

3. Supported Community Repositories

ApkUp connects natively with major verified repositories inside a single unified repository manager:

  1. IzzyOnDroid (apt.izzysoft.de): The premier curated repository for open-source applications built directly from developer repositories with original developer signatures.
  2. Official F-Droid Repository (f-droid.org): The global repository for free and open-source software built from source on F-Droid build servers.
  3. Built-in Verified Presets: Ready-to-enable profiles for NewPipe Repo (archive.newpipe.net), microG Repo (microg.org), and Guardian Project (guardianproject.info) with pre-pinned SHA-256 signing fingerprints.
  4. Custom Third-Party HTTPS Repositories: Any repository implementing the F-Droid Index V2 (entry.jar / index-v2.json) or Index V1 (index-v1.jar) standard.

4. Managing Built-in & Custom F-Droid Repositories (v1.43.1+)

Starting with v1.43.1, all built-in and custom F-Droid repositories are managed in one unified bottom sheet in the Setup tab (alongside automatic detection during Obtainium imports):

  1. In ApkUp, navigate to Setup ➔ Update Sources ➔ F-Droid / IzzyOnDroid.
  2. Toggle the source on and tap the row to open the unified F-Droid Repositories bottom sheet (FDroidReposBottomSheet).
  3. Toggle any of the Built-in Repositories (IzzyOnDroid, Official F-Droid, microG Repo, Guardian Project, or NewPipe Repo) or add your own custom HTTPS repository:
  • Display Name: Label shown inside ApkUp
  • Repository URL: https://... endpoint (supports /repo, /archive, /fdroid/archive, or fdroidrepo:// links with ?fingerprint=…)
  • SHA-256 Fingerprint (Optional): 64-character hex signing fingerprint of the repository index certificate
  1. Tap Add Repository. ApkUp validates the https:// host and includes the repository in your next update scan.

5. Security, Signing Keys & Fingerprint Verification

Cryptographic JAR Verification & Optional TOFU Pinning

When fetching entry.jar (Index V2) or index-v1.jar (Index V1 fallback), ApkUp cryptographically verifies the JAR signature (META-INF/*) and enforces anti-rollback timestamp checks:

  • Explicitly Pinned Repositories: Built-in presets and custom repositories with a 64-character SHA-256 fingerprint strictly enforce that exact X.509 signing certificate (fail-closed).
  • Trust-on-First-Use (TOFU) Pinning: If you add a custom HTTPS repository without specifying a SHA-256 fingerprint, ApkUp verifies the signed entry.jar / index-v1.jar on the first successful sync, automatically pins its X.509 certificate fingerprint for all future checks, and displays a TOFU-Pinned badge in the repository sheet.

Package Signature Isolation

F-Droid builds packages with its own official signing keys, while developers signing their own releases (or packages from IzzyOnDroid / GitHub) use developer private keys. ApkUp enforces cryptographic signature matching before recommending or installing any update to ensure that Android does not reject the package with an INSTALL_FAILED_UPDATE_INCOMPATIBLE error.


← Back to Wiki Home | Related: Update Sources, Repository Linking & Signature Protection · Troubleshooting Source Errors

API / PAT ~5 min di lettura

Configurare token PAT GitHub, GitLab & Codeberg

I repository pubblici funzionano senza token, ma un token in sola lettura elimina i limiti API (60 → 5.000 ric./h su GitHub).

5.000 ric./h + GraphQL

Token Fine-Grained GitHub (Sola lettura)

Crea un token su github.com/settings/personal-access-tokens per Public Repositories (read-only). ApkUp verifica il token e mostra la quota.

Ambito read_api

Token GitLab & Codeberg / Forgejo

Su GitLab crea un token con ambito read_api. Su Codeberg/Forgejo genera un token in sola lettura in Impostazioni → Applicazioni.

AES-256-GCM

Crittografia hardware & protezione redirect

I token sono cifrati via Google Tink (AES-256-GCM) in Android Keystore e rimossi sui reindirizzamenti verso CDN.

Test in 1 tocco

Verifica integrata del token

Tocca Verifica token in Impostazioni → Sorgenti → GitHub / GitLab per controllare validità e quota residua.

Complete Reference Guide (Full English GitHub Wiki)

← Back to Wiki Home · Troubleshooting Rate Limits & Auth

By default, ApkUp accesses public developer repositories on GitHub, GitLab, and Codeberg / Forgejo anonymously. However, for active users, private repositories, or hosts with strict rate limits, adding your own Personal Access Token (PAT) provides maximum reliability.


1. Why Do I Need an Access Token?

GitHub Rate Limits: 60 vs. 5,000 Requests/Hour

GitHub strictly restricts anonymous API requests to 60 requests per hour per public IP address.

  • If you track 15–20 apps hosted on GitHub, checking for updates twice quickly exhausts this quota.
  • If you use a VPN or public Wi-Fi, other users sharing that IP also consume your quota, leading to immediate HTTP 403 API rate limit exceeded errors.
  • Adding a free GitHub Personal Access Token raises your limit immediately to 5,000 requests per hour and enables batched GitHub GraphQL queries (checking up to 20 repositories in a single API call instead of one REST request per app).

GitLab: Private Repositories & Subgroups

While public GitLab projects can often be browsed anonymously, many developers and organizations host repositories under multi-level subgroups or private team workspaces. A GitLab token ensures ApkUp can query release tags and asset URLs reliably.


2. How to Generate a GitHub Personal Access Token

You can generate a free token in less than 2 minutes:

  1. Sign in to your account at github.com.
  2. Click your profile avatar in the top right corner and open Settings.
  3. In the left sidebar, scroll to the bottom and click Developer settings.
  4. Select Personal access tokens ➔ Tokens (classic) (or Fine-grained tokens).
  5. Click Generate new token (classic):
  • Note: Enter a recognizable name (e.g., ApkUp-Updater).
  • Expiration: Select No expiration (or 90/365 days if preferred).
  • Scopes: For public repositories, no scopes are required (leave all checkboxes unchecked). If you want to track your own private repositories, check repo.
  1. Click Generate token at the bottom of the page.
  2. Important: Copy the generated token string (ghp_xxxxxxxxxxxxxxxxxxxx) immediately. GitHub will never display it again.

3. How to Generate a GitLab Personal Access Token

  1. Sign in to your account at gitlab.com (or your self-hosted GitLab instance).
  2. Click your avatar in the left sidebar and select Edit profile.
  3. In the left navigation, select Access Tokens.
  4. Click Add new token:
  • Token name: ApkUp-Updater
  • Expiration date: Choose an expiration date.
  • Select scopes: Check read_api (grants read-only access to repository releases and package assets).
  1. Click Create personal access token and copy the token (glpat-xxxxxxxxxxxxxxxxxxxx).

4. How to Generate a Codeberg / Forgejo Access Token

Starting with v1.43.0+, ApkUp supports Codeberg (codeberg.org) and self-hosted Forgejo instances via the v1 Releases REST API:

  1. Sign in to your account at codeberg.org (or open Create token on Codeberg directly from ApkUp's Codeberg bottom sheet).
  2. Navigate to Settings ➔ Applications (https://codeberg.org/user/settings/applications).
  3. Under Generate New Token, enter a name (e.g., ApkUp-Updater).
  4. Select minimal read permissions (read:repository for private repos; public repos require no extra scopes).
  5. Click Generate Token and copy the resulting string into ApkUp.

5. Adding and Testing Tokens in ApkUp

ApkUp includes a built-in token validator in unified Setup bottom sheets:

  1. Open ApkUp on your device and go to the Setup tab.
  2. Enable GitHub, GitLab, or Codeberg and tap the row to open its bottom sheet.
  3. Paste your personal access token into the input field.
  4. Tap Test Token to verify connectivity and inspect remaining API quotas directly before saving.
  5. Tap Save. Your token is active immediately for both manual and background checks.

6. Multi-Level GitLab Subgroups (group/subgroup/project)

Starting in ApkUp v1.40.1+, the GitLab repository resolver supports arbitrary nested subgroup paths.

When linking an app to a GitLab project, you can now enter:

  • Standard project: developer/app-name
  • Subgroup project: organization/category/app-name
  • Multi-level hierarchy: enterprise/division/team/mobile/app-name

ApkUp automatically URL-encodes nested subgroup slugs (enterprise%2Fdivision%2Fteam%2Fmobile%2Fapp-name) when querying GitLab REST API v4 endpoints, ensuring releases are fetched accurately without manual configuration.


7. Privacy & Security FAQ

Where are my tokens stored?

Your tokens are stored exclusively on your device in Android's private, sandbox-isolated application storage encrypted at rest via Google Tink (AES-256-GCM) backed by the Android Keystore (SecurePrefsStore), with cloud backup disabled (allowBackup="false").

Does ApkUp transmit my tokens to any third-party server?

Never. ApkUp enforces strict host isolation: your GitHub token is sent exclusively to api.github.com, your GitLab token exclusively to gitlab.com, and your Codeberg token exclusively to codeberg.org / *.codeberg.org over HTTPS (tokens are stripped automatically on cross-host redirects and are never sent to third-party custom domains). There are no intermediate telemetry, analytics, or proxy servers.

Can a token be revoked?

Yes, at any time. Simply visit your GitHub, GitLab, or Codeberg token management settings and click Revoke or Delete.


← Back to Wiki Home | Related: Update Sources, Repository Linking & Signature Protection · Troubleshooting Source Errors

Shizuku ~3 min di lettura

Configurare Shizuku (Guida rapida)

Shizuku è opzionale. Abbinarlo abilita aggiornamenti silenziosi in background su Android 11+ senza Root.

Configurazione via Debug wireless (Android 11+ — senza PC né Root)

  1. Installa Shizuku & attiva Opzioni sviluppatore

    Installa l'app ufficiale Shizuku e tocca 7 volte Numero build in Impostazioni → Info telefono.

  2. Abbina Shizuku con Debug wireless

    Connettiti al Wi-Fi, tocca Abbina in Shizuku, apri Debug wireless → Abbina dispositivo con codice e inserisci le 6 cifre.

  3. Avvia Shizuku & autorizza ApkUp

    Tocca Avvia in Shizuku, poi in ApkUp → Impostazioni → Installazione e automazione attiva Shizuku.

Alternativa: Avviare Shizuku da PC (ADB) o Root

Su Android 10 esegui "adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh" da PC. Su dispositivi con Root usa l'opzione Root diretta.

Complete Reference Guide (Full English GitHub Wiki)

Shizuku lets ApkUp install updates silently in the background without Root — no more tapping "Install" and "Update" on 20 consecutive popups.

This page is the quick setup checklist. For the technical architecture, dual-path pipeline, and detailed FAQs, see the full Shizuku & Background Installation Guide.


1. Why Use Shizuku with ApkUp?

  • ✅ One-Tap Batch Updates: Update all apps with a single tap on Update All.
  • ✅ Silent Background Installs: Scheduled background checks can install updates automatically while your screen is off.
  • ✅ Seamless .apkm / Split Bundles: Multi-part app bundles install cleanly in one session.
  • ✅ Play Store Attribution: Preserves Play Store installer metadata (com.android.vending) so Play Protect and app checks work normally.

2. Method A: Wireless Debugging (Android 11+, No PC)

  1. Install Shizuku from Google Play, F-Droid, or GitHub Releases.
  2. Enable Developer Options: Android Settings ➔ About Phone ➔ tap Build Number 7 times.
  3. Connect your phone to Wi-Fi.
  4. Open Shizuku:
  • Under Start via Wireless Debugging, tap Pairing.
  • Tap Developer Options in the prompt.
  • Enable Wireless Debugging, tap its title to open its submenu, and tap Pair device with pairing code.
  • Enter the 6-digit code in the Shizuku notification prompt.
  1. Return to Shizuku and tap Start.

Tip: You only pair once. After a phone reboot, simply open Shizuku and tap Start (takes ~3 seconds).


3. Method B: PC / Mac (USB ADB)

For Android 10 or if Wireless Debugging is unavailable:

  1. Enable USB Debugging in Developer Options and connect via USB.
  2. Run the command shown inside Shizuku:

```bash

adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh

```


4. Method C: Rooted Devices

If your device uses Magisk, KernelSU, or APatch:

  1. Open Shizuku ➔ tap Start (for rooted devices) and grant superuser permission.

(Alternatively, ApkUp also supports its own optional Root Installer (su) under Setup ➔ Installation & Automation — see Section 3.10.)


5. Connecting Shizuku in ApkUp

  1. Open ApkUp ➔ Setup ➔ Installation & Automation.
  2. Enable Use Shizuku for background installations.
  3. Tap Allow all the time in the Shizuku permission prompt.
  4. In Setup ➔ System & Permissions, set Battery Optimization for both ApkUp and Shizuku to Unrestricted so background updates aren't killed. (When all system permissions are granted, the permissions card collapses automatically to "All granted" — tap it anytime to inspect.)

6. Device-Specific Battery & OEM Quirks

  • Xiaomi / Redmi / POCO (MIUI & HyperOS):
  • Enable both USB Debugging and USB Debugging (Security Settings) in Developer Options.
  • If the Shizuku pairing code input doesn't expand in the notification, switch Notification shade style from MIUI to Android temporarily.
  • Samsung (One UI):
  • Set Battery to Unrestricted for both Shizuku and ApkUp under Settings ➔ Apps.
  • OnePlus / OPPO / Realme (ColorOS / OxygenOS):
  • Disable Auto-freeze / Background execution limits for both Shizuku and ApkUp.
Shizuku + su ~10 min di lettura

Shizuku & Installazione in background

Dettagli su sessioni privilegiate, fallback Root (su), regole Wi-Fi/ricarica, fasce orarie e backup rollback.

Pipeline IPC

Sessione PackageInstaller elevata via Binder

Superati i controlli apksig v2/v3 e ABI, ApkUp trasmette APK o split .apkm tramite Shizuku Binder IPC o su.

Auto-aggiornamento sicuro

Auto-aggiornamento posticipato a fine batch

Se il batch include ApkUp stesso, installa prima tutte le altre app e il proprio aggiornamento per ultimo.

Fasce orarie

Ore attive, silenzio & recupero automatico

Limita gli aggiornamenti a una fascia oraria (es. 02:00–06:00 in carica su Wi-Fi) con recupero automatico.

Archivio 2 GB

Backup automatici & rollback in 1 tocco

Archivia APK base + split installati (fino a 2 GB LRU) prima dell'aggiornamento per il ripristino rapido.

Rollback diretto Root (-r -d) vs. guidato senza Root

Con Root (su), ApkUp esegue un downgrade diretto mantenendo i dati. Senza Root ti guida in due passaggi: disinstallazione e reinstallazione del backup.

Complete Reference Guide (Full English GitHub Wiki)

← Back to Wiki Home · Beginner Walkthrough: Setting up Shizuku

This document explains how to set up and how Shizuku and the background installation service work in ApkUp — explained in plain, everyday language in Part 1, followed by a deep-dive technical reference for power users and developers in Part 2.


<a name="-table-of-contents"></a>

User Guide

<a name="11-why-does-android-normally-ask-for-confirmation-on-every-update"></a>

1.1 Why does Android normally ask for confirmation on every update?

For security reasons, Android does not allow regular apps to silently install other apps in the background. If you start 10 updates in an app without special system permissions, Android pops up a confirmation dialog 10 times in a row ("Do you want to update this app? [Cancel] [Update]"). You have to tap every single dialog manually.

Back to Table of Contents


<a name="12-what-is-shizuku-and-how-does-it-benefit-me"></a>

1.2 What is Shizuku and how does it benefit me?

Shizuku is a free, open-source companion app for Android. It uses an official built-in Android system feature (Wireless Debugging) to grant trusted apps like ApkUp the exact same installation privileges that normally only the pre-installed Google Play Store has.

Your benefits with Shizuku in ApkUp:

  • ⚡ One tap on "Update All" is enough: All available updates are downloaded and installed completely automatically in the background, without you having to tap a single confirmation popup!
  • 🛡️ No Root required: Your smartphone stays completely unmodified.

Back to Table of Contents


<a name="13-step-by-step-guide-setting-up-shizuku-without-root"></a>

1.3 Step-by-Step Guide: Setting up Shizuku without Root

💡 New to Shizuku? For a dedicated, screenshot-friendly beginner walkthrough, see Setting up Shizuku.

On Android 11 and newer, you can set up Shizuku directly on your phone without a PC (see also the official Shizuku user guide):

  1. Step 1 – Download Shizuku:

Install the official Shizuku app for free from the Google Play Store or via GitHub.

  1. Step 2 – Enable Developer Options:

Open Android Settings ➔ About phone. Tap the "Build number" at the bottom 7 times quickly in a row until you see the message: "You are now a developer!".

  1. Step 3 – Pair Wireless Debugging (one-time setup):
  • Connect your phone to a Wi-Fi network.
  • Open the Shizuku app and tap "Pairing" under "Start via Wireless debugging".
  • Tap the "Developer options" button.
  • Scroll down to "Wireless debugging", toggle it on, and tap directly on the text "Wireless debugging" to open its sub-menu.
  • Select "Pair device with pairing code" and enter the displayed 6-digit code into the Shizuku notification at the top of your screen.
  1. Step 4 – Start Shizuku:

Go back to the Shizuku app and tap "Start". After 2–3 seconds, Shizuku will show "Shizuku is running" at the top. (After that, you can even turn Wi-Fi off again — Shizuku will keep running!)

Back to Table of Contents


<a name="14-enabling-shizuku-in-apkup-the-3-point-status-check"></a>

1.4 Enabling Shizuku in ApkUp (The 3-Point Status Check)

Open ApkUp and navigate to Setup ➔ Installation & Automation. There you will see a clear status indicator with three checkpoints:

Status CheckpointMeaningWhat to do if inactive?
1. Shizuku installedChecks whether the Shizuku app is installed on your phone.Install Shizuku from the Google Play Store.
2. Service running (Binder)Checks whether Shizuku has been started in the background.Open the Shizuku app and tap "Start".
3. Permission grantedChecks whether ApkUp is allowed to access Shizuku.Toggle the switch in ApkUp and tap "Allow all the time" in the popup.

Once all three checkpoints light up green, all installations in ApkUp run completely silently and automatically!

Back to Table of Contents


<a name="15-what-happens-if-my-screen-turns-off-or-i-leave-the-app"></a>

1.5 What happens if my screen turns off or I leave the app?

Since version v1.32, ApkUp includes a dedicated background download service (Foreground Download Service):

  • When you start a large update or tap "Update All", you can immediately minimize ApkUp, use other apps, or lock your screen.
  • In your notification shade, you can always see which app is currently downloading, complete with a percentage progress bar and a "Cancel" button.
  • With Shizuku: Apps finish installing silently even while your screen is turned off.
  • Without Shizuku: As soon as the background download finishes, ApkUp sends you a notification ("Ready to install") that you simply tap once to confirm.

Back to Table of Contents


<a name="-part-2-technical-documentation-for-experts--power-users"></a>

Frequently Asked Questions (FAQ)

<a name="31-do-i-need-root-access-on-my-phone-to-use-shizuku"></a>

3.1 Do I need Root access on my phone to use Shizuku?

No! Starting with Android 11, Shizuku works completely without Root using Android's built-in Wireless Debugging feature. However, if your device is rooted (e.g., via Magisk, KernelSU, or APatch), Shizuku can optionally be started directly via Root — which is even faster and requires no pairing code.


<a name="32-will-shizuku-void-my-warranty-or-break-banking-apps"></a>

3.2 Will Shizuku void my warranty or break banking apps?

No, your warranty remains 100% intact and all banking apps continue to work normally. Because Shizuku neither unlocks the bootloader nor modifies system partitions (Root), Google's security checks (Play Integrity / SafetyNet) and Samsung Knox remain completely untouched.


<a name="33-why-do-i-have-to-restart-shizuku-after-rebooting-my-phone"></a>

3.3 Why do I have to restart Shizuku after rebooting my phone?

If your phone is not rooted, Android terminates all debugging services whenever the device is completely powered off or restarted for security reasons.

  • You do not have to repeat the 6-digit pairing process!
  • After rebooting your phone, simply open the Shizuku app and tap "Start" once (takes about 3 seconds).

<a name="34-issue-wireless-debugging-is-grayed-out-and-cannot-be-turned-on"></a>

3.4 Issue: "Wireless debugging" is grayed out and cannot be turned on!

Cause: Android only allows enabling Wireless debugging while your smartphone is connected to a Wi-Fi network.

  • Solution: Connect your phone briefly to your home Wi-Fi (or a mobile hotspot) and start Shizuku. As soon as Shizuku says "Shizuku is running", you can turn Wi-Fi off again — the service will stay active!

<a name="35-issue-shizuku-searches-endlessly-for-the-pairing-service-or-the-code-input-never-appears"></a>

3.5 Issue: Shizuku searches endlessly for the pairing service or the code input never appears!

This behavior occurs most frequently on smartphones from Xiaomi (MIUI / HyperOS), Oppo/Realme, and Samsung:

  1. Notification Style (Xiaomi): Go to Android Settings ➔ Notifications & Control center ➔ Notification shade and switch it from "MIUI" to "Android" (Classic). Otherwise, the text box for entering the pairing code inside the notification cannot be expanded.
  2. USB Debugging (Security settings): On Xiaomi devices, open Developer options and enable "USB debugging (Security settings)" in addition to standard USB debugging.
  3. Notification Permission: Make sure you have granted the Shizuku app permission to display notifications.

<a name="36-issue-shizuku-stops-by-itself-in-the-background-after-a-while-xiaomi-samsung-oneplus"></a>

3.6 Issue: Shizuku stops by itself in the background after a while (Xiaomi, Samsung, OnePlus)!

If Shizuku stops after a few hours on its own, this is caused by aggressive OEM battery-saving policies or Android 12/13's Phantom Process Killer:

  • Solution 1 (Battery Optimization): Long-press the Shizuku app icon ➔ App info ➔ Battery and select "Unrestricted".
  • Solution 2 (Developer Options on Android 13+): In Developer options, enable the toggle "Disable child process restrictions".
  • You can also find manufacturer-specific instructions on DontKillMyApp.com.

<a name="37-what-happens-if-shizuku-stops-while-apkup-is-downloading-an-update"></a>

3.7 What happens if Shizuku stops while ApkUp is downloading an update?

ApkUp will not crash and your downloaded update will not be lost! If ApkUp detects that the Shizuku service is unresponsive at the moment of installation, the app automatically and seamlessly falls back to the standard Android package installer and shows the regular Android confirmation prompt.


<a name="38-does-update-all-also-work-without-shizuku"></a>

3.8 Does "Update All" also work without Shizuku?

Yes, of course. Even without Shizuku, tapping "Update All" downloads all updates in the background. The only difference is that without Shizuku, you briefly tap "Update" in the Android system dialog for each downloaded app.


<a name="39-why-does-my-phone-recognize-apps-installed-via-shizuku-as-installed-from-google-play-store"></a>

3.9 Why does my phone recognize apps installed via Shizuku as "Installed from Google Play Store"?

This is an intentional feature of ApkUp! When ApkUp installs an app via Shizuku, it passes the parameter -i com.android.vending (the official package identifier of the Google Play Store) to Android. Some apps otherwise refuse to run or display warnings if they detect they were updated outside the Play Store. Thanks to this attribution, all updated apps behave as if they came directly from the official store.


3.10 How does the optional Root Installer (su) work alongside Shizuku?

Starting with v1.43.0+, rooted devices (Magisk, KernelSU, or APatch) can optionally enable Root Installer (su) under Setup ➔ Installation & Automation:

  • Smart Fallback or Standalone: When both Shizuku and Root are enabled, ApkUp uses Shizuku first and seamlessly falls back to su if Shizuku was not restarted after a reboot. If Shizuku is disabled, ApkUp uses su directly for silent foreground and autonomous background updates (while excluding uninstalled Watchlist apps from unattended background installs).
  • Pre-Install Integrity Verification & Origin Preservation: Before opening a pm install-create session, RootInstaller verifies all staged base and split APKs via ApkIntegrityVerifier (fail-closed) and preserves the existing installer package origin (-i).
  • Interactive Root Check Bottom Sheet: Tapping the Root Installer (su) row opens the dedicated RootSetupBottomSheet where you can verify superuser availability live at any time. For security, importing a configuration backup resets useRootInstaller to false until you re-enable it on the device.
  • Completely Optional: On non-rooted phones, keep this option turned off and continue using Shizuku or the normal Android installer.

Back to Table of Contents


<a name="-part-4-official-links--further-resources"></a>

Back to Table of Contents


← Back to Wiki Home | Related: Setting up Shizuku · App Management, Filters, Background Checks & Backup


💻 Looking for architectural internals, protocols, or security proofs? Explore the Technical Overview section.

JSON Sync ~3 min di lettura

Guida migrazione & sync Obtainium

Importa configurazioni Obtainium, repository F-Droid e liste di controllo in ApkUp, o esporta in JSON Obtainium.

Migrare da Obtainium in 3 passaggi

  1. Esporta il tuo JSON in Obtainium

    In Obtainium apri Importa/Esporta → Esporta Obtainium per salvare il file JSON.

  2. Apri l'anteprima interattiva in ApkUp

    In ApkUp vai su Impostazioni → Impostazioni avanzate → Backup ed esportazione → Importa Obtainium.

  3. Controlla collegamenti, repo F-Droid & lista di controllo

    ApkUp mostra in anteprima i repository rilevati (sottogruppi GitLab e Codeberg inclusi), repo F-Droid e app non installate.

Complete Reference Guide (Full English GitHub Wiki)

ApkUp features native integration with Obtainium JSON exports so you can migrate your tracked apps, custom repository bindings, regex asset filters, and F-Droid repositories in seconds.


1. Why Migrate from Obtainium to ApkUp?

FeatureObtainiumApkUp
Multi-Source AggregationScrapes a single configured URLCombines Google Play, APKMirror, IzzyOnDroid, F-Droid, GitHub, GitLab & Codeberg
Source Priority & FallbackManual link per appGlobal Source Priority order + per-app Source Pinning with automatic fallback
Cryptographic Signature DefenseBasic checksStrict SHA-1 / SHA-256 certificate matching blocks mismatched updates
Direct APKMirror DownloadsBrowser-dependentIn-app resolver with Cloudflare WebView & .apkm split bundle extraction
Silent Background UpdatesNotification-drivenNative Shizuku IPC + optional Root (su), quiet hours time window & WorkManager
Native UIFlutter100% native Kotlin / Jetpack Compose Material 3 Expressive

2. How to Export from Obtainium

  1. Open Obtainium on your Android device.
  2. Tap Settings ➔ Import / Export.
  3. Tap Export Apps to JSON File and save obtainium_export.json (e.g. to Downloads).

3. How to Import into ApkUp (Interactive Preview)

  1. Open ApkUp ➔ Setup ➔ Backup & Restore ➔ Obtainium Import.
  2. Select your obtainium_export.json file in Android's file picker.
  3. Review everything in the Interactive Preview Sheet before applying:
  • Repo Links for Installed Apps: Matches installed package IDs to GitHub, GitLab, Codeberg/Forgejo, and apkFilterRegEx rules.
  • Third-Party F-Droid Repositories: Detects custom HTTPS /repo or /archive URLs (including 64-character ?fingerprint= pins) and imports them into ApkUp's unified F-Droid manager.
  • Watch Uninstalled Apps (Opt-In): Lists uninstalled apps from the export (unchecked by default so you only add what you explicitly select to your Watchlist).
  1. Tap Import selected, then pull to refresh on the Updates tab!

4. Supported Source Types & Mapping

  • GitHub Repositories: Mapped to ApkUp's GitHub resolver (standard releases, pre-releases, and asset regex matching).
  • GitLab Projects: Mapped to ApkUp's GitLab resolver (including multi-level subgroups and self-hosted hosts).
  • Codeberg & Forgejo Repositories: Mapped to ApkUp's Codeberg/Forgejo v1 resolver (codeberg.org and self-hosted Forgejo).
  • F-Droid & IzzyOnDroid Links: Mapped to ApkUp's Index V2 streaming engine and F-Droid repository list.
  • APK Filter Regex (apkFilterRegEx): Automatically preserved from Obtainium entries.

5. Signature Security & Overwrite Protection

Even when a custom repository offers a higher versionCode, ApkUp extracts the signing certificate from the downloaded APK and verifies it against the currently installed app before installation. Mismatches are flagged immediately to prevent INSTALL_FAILED_UPDATE_INCOMPATIBLE errors.


6. ApkUp Settings Backup & Restore

To back up or transfer your ApkUp configuration (including custom repo links, ignored apps, source priority, and preferences) to another phone via Android's Storage Access Framework (SAF), follow the full guide:

👉 Guide: Backing up settings and restoring them on a new phone

(Note: Personal Access Tokens are stored encrypted on-device via Google Tink AES-256-GCM and are never exported in plaintext JSON backups.)

Setup ~7 min di lettura

Gestione app, lista di controllo, filtri & backup

Padroneggia gli strumenti quotidiani: lista di controllo, canali pre-release, cache 24h, esportazione SAF e backup JSON.

Lista + App Watcher

Segui le release prima di installare

Tocca + in App per seguire qualsiasi app GitHub, GitLab, Codeberg, F-Droid o APKMirror o importare da App Watcher.

Canali pre-release

Supporto selettivo Beta, RC, Alpha & Nightly

Resta su versioni stabili di default e attiva Beta, RC, Alpha o Nightly globalmente o per singola app.

Cache 24h + Salva APK

Riprova istantanea & esportazione SAF

I download verificati restano 24h in cache. Usa Salva APK per esportare .apk o .apks in qualsiasi cartella.

Backup JSON completo

Impostazioni portatili & log puliti

Esporta priorità, app fissate, repo e orari in JSON (senza token) e log diagnostici .txt anonimizzati.

Complete Reference Guide (Full English GitHub Wiki)

This guide explains how to skip faulty updates, ignore apps, track uninstalled apps via your Watchlist, export APKs, schedule background update windows, use rollback backups, opt into ApkUp beta updates, and transfer your configuration between devices.


User Guide

1.1 "Skip this version" vs. "Ignore app permanently"

FeatureWhat happens?When will you be notified again?How to undo?
⏭️ Skip this versionHides only that specific build (e.g. 2.4.1).Automatically as soon as a newer version (2.4.2) is released.Setup ➔ Manage skipped versions
🙈 Ignore app permanentlyExcludes the app from all future update checks.Never — until you unhide it.Setup ➔ Manage ignored apps or Apps ➔ Ignored chip

Back to Table of Contents


1.2 Search, Sorting, Watchlist & App Watcher Import

  • Instant Search & Sorting: Both Updates and Apps offer live search and flexible sorting (Name A–Z / Z–A, Source, Newest Release Date in Updates, Recently Updated in Apps) with automatic scroll-to-top.
  • Unified Multi-Select & In-App Browser (Chrome Custom Tabs): Selecting multiple items in Updates or Apps switches to a unified TopAppBar selection bar for batch actions. External links (repositories, release notes, and clickable changelog links) open in matching native apps first or fall back seamlessly to Chrome Custom Tabs.
  • Watchlist (Uninstalled Apps): Tap + in the Apps top bar to follow an uninstalled app by package ID (and optional GitHub/GitLab/Codeberg URL). Tracked entries appear under the Watched chip and surface new releases in Updates with a Watched · New badge and a direct Install button.
  • Import from App Watcher: Open Setup ➔ Import & Export ➔ Import from App Watcher to import uninstalled apps (including their last-seen version) straight into your Watchlist.

Back to Table of Contents


1.3 Saving APKs, Batch ETA & Offline Diagnostic Logs

  • Save APK without Installing: Tap Save APK inside any update card to export standalone .apk files or .apks split archives into Download/ApkUp/ (or a custom SAF folder via Setup ➔ Saved APK folder). File/archive/SHA-256 integrity is verified even if the installed app has a different signing certificate.
  • Overall Batch Progress & ETA: Batch updates and exports display combined progress percentage, speed, and estimated time remaining.
  • Offline Diagnostic & Update Log: Under Setup ➔ Advanced Settings ➔ Diagnostic & Update Log, export (.txt) or share a sanitized report. Optional process logcat is disabled by default (opt-in) and all tokens/credentials (Bearer, ghp_, glpat-, PRIVATE-TOKEN, Aurora Auth=/aas_et/) are redacted automatically.

Back to Table of Contents


1.4 Background Checks, Time Window, Pre-Releases & Rollbacks

  • Background Check Interval: Under Setup ➔ Automatic Checks & Schedule, choose 6 hours, 12 hours, 24 hours (recommended), 48 hours, or 7 days.
  • Background Update Time Window: Enable Background Update Time Window to either pause checks & auto-updates during quiet hours (e.g. 22:00 – 07:00) or restrict them to an active window. Any run that falls outside the window automatically schedules a one-time catch-up at the next window start.
  • Pre-Release Channels (Apps): Open Setup ➔ Include Pre-Releases to enable Beta, RC, Alpha, or Nightly channels globally, or override pre-releases per app.
  • ApkUp Self-Updater Beta Opt-In: Under Setup ➔ About ➔ Receive beta updates (disabled by default), you can opt into pre-release builds of ApkUp itself. Pre-releases show a Beta / Pre-Release badge in the update dialog and enforce identical SHA-256 and certificate checks; turning it off automatically returns you to stable with the next regular release.
  • Configurable Rollback Backups & Update History (v1.46.0+): Keep safety copies of previous APKs in private storage before updating so you can roll back anytime from Update History (in-place via Root -r -d, or guided two-step rollback without Root). Under Setup ➔ Rollback Backups, configure the Storage Limit (256 MB, 512 MB, 1 GB default, or 2 GB), Retention Period / TTL (7, 14 default, 30 days, or Never), inspect live storage usage, or clear all stored backups manually with Delete Rollback Backups. Automatic LRU and TTL cleanup runs on startup, before updates, and in background workers.

Back to Table of Contents


1.5 Showing or Hiding System Apps

ApkUp hides pre-installed system apps by default so your list stays clean. To include system components (such as Android System WebView), enable Setup ➔ Include System Apps.

Back to Table of Contents


1.6 Guide: Backing up settings and restoring them on a new phone

  • 📤 Export Configuration: ApkUp ➔ Setup ➔ Backup & Restore ➔ Export Configuration ➔ save apkup-backup.json to Downloads or cloud storage.
  • 📥 Import Configuration: ApkUp ➔ Setup ➔ Backup & Restore ➔ Import Configuration ➔ select your .json file. All sources, custom source priority, pinned apps, filters, pre-release settings, and repo links are restored immediately.

Back to Table of Contents


Frequently Asked Questions (FAQ)

3.1 When should I use "Skip this version" vs. "Ignore app permanently"?

Use Skip this version for one buggy release you want to jump past; use Ignore app permanently when you intentionally want to stay on an older or customized build forever.

3.2 Why should I be careful with System Apps?

OEM system apps (Phone, Camera, Gallery, Launcher) are often tied to specific device models and firmware. Updating them from generic mirror builds can cause crashes.

3.3 Do background update checks drain the battery?

No. WorkManager runs brief 3–5 second checks inside existing OS network wakeups.

3.4 Why am I not receiving background notifications?
  1. Check Android Settings ➔ Apps ➔ ApkUp ➔ Notifications (Android 13+ permission).
  2. Set Android Settings ➔ Apps ➔ ApkUp ➔ Battery to Unrestricted (especially on Xiaomi, Samsung, and OnePlus).
3.5 Why does a skipped version reappear after a hotfix?

"Skip this version" tracks the internal versionCode. If the developer ships a hotfix with the same display name (e.g. 2.1.0) but a higher versionCode, ApkUp rightly surfaces the newer build.

3.6 Does the JSON backup include APK files or tokens, and can I edit it?

No — the .json file is only a few KB of settings (no APKs, no secret tokens). You can edit it safely in any text editor; just avoid trailing commas (,) before } or ].


Back to Table of Contents


💻 Looking for architectural internals, protocols, or security proofs? Explore the Technical Overview section.

Help ~6 min di lettura

Risoluzione errori delle sorgenti

Tabella rapida per codici HTTP, limiti API, sfide Cloudflare ed errori di installazione.

Errore / Sintomo Causa Soluzione in ApkUp
GitHub HTTP 403 / 429 Limite IP GitHub non autenticato (60 ric./ora) raggiunto Aggiungi un token GitHub di sola lettura nelle Impostazioni (sale a 5.000/h + GraphQL)
APKMirror Cloudflare / 403 Protezione anti-bot o attesa di 10 min attiva su APKMirror Completa la verifica automatica nella WebView integrata o controlla lo stato sorgenti
Google Play HTTP 429 Limite temporaneo di Aurora Dispenser anonimo ApkUp attende automaticamente e richiede un nuovo token di sessione
GitHub HTTP 401 Token di accesso scaduto, revocato o non valido Apri Impostazioni → Sorgenti → GitHub → Verifica token e aggiornalo o cancellalo
GitLab HTTP 404 (Sottogruppi) Percorso sottogruppo incompleto o repository privato senza token Inserisci il percorso completo group/subgroup/project (e token read_api se privato)
F-Droid Fingerprint Mismatch Il certificato JAR dell'indice non corrisponde all'impronta SHA-256 fissata Controlla l'URL ufficiale e ?fingerprint= prima di rifissare nelle Impostazioni
Signature Mismatch Blocked L'aggiornamento è firmato con una chiave diversa dall'app installata Fissa l'app alla sorgente originale o usa Salva APK per reinstallare da zero
Incompatible ABI / minSdk La release richiede un Android più recente o diversa architettura CPU ApkUp blocca automaticamente i file incompatibili per evitare errori ripetuti
Shizuku Disconnected Il servizio Shizuku si è arrestato dopo un riavvio Riavvia Shizuku tramite Debug wireless o attiva l'avvio automatico in Shizuku
Complete Reference Guide (Full English GitHub Wiki)

When checking for updates or downloading packages, ApkUp communicates with multiple independent providers (Google Play Store, APKMirror, F-Droid / IzzyOnDroid, GitHub, GitLab, and Codeberg / Forgejo). If a source check or installation fails, ApkUp links directly to the matching section below.


1. Understanding the Error Types

  1. Network & Source Check Failures: The remote server was unreachable, rate-limited the request, or returned an HTTP error.
  2. Package & Installation Failures: The download completed, but Android's PackageManager, ApkUp's pre-install compatibility check (minSdk / ABI), or cryptographic signature verification rejected the package.

2. Network & Connectivity (DNS & Timeout)

DNS Resolution Failed (UnknownHostException)

  • Symptom: UnknownHostException, dns lookup failed, or Unable to resolve host.
  • Cause: Your device could not resolve the server hostname (e.g., api.github.com, gitlab.com, codeberg.org, or apt.izzysoft.de). Common culprits are Private DNS (DoH/DoT), VPN ad-blockers (AdGuard, NextDNS, Pi-hole), or switching networks.
  • Solution:
  1. Confirm general internet connectivity in your browser.
  2. Temporarily set Android Settings ➔ Network & Internet ➔ Private DNS to Automatic.
  3. Allowlist repository domains in any ad-blocking VPN (github.com, gitlab.com, codeberg.org, apkmirror.com, apt.izzysoft.de, f-droid.org).

Connection Timeout (SocketTimeoutException)

  • Symptom: SocketTimeoutException or Read timed out.
  • Cause: The remote server took too long to respond (peak traffic or high-latency mobile connection).
  • Solution:
  1. Pull down on the Updates tab to retry.
  2. If one specific source times out repeatedly, open Setup ➔ Source Health & Cooldowns to inspect cooldowns, or temporarily toggle that source off in Setup.

3. Authentication & Rate Limits (HTTP 401, 403, 429)

GitHub Rate Limit Exceeded (HTTP 403)

  • Symptom: HTTP 403: API rate limit exceeded.
  • Cause: GitHub limits unauthenticated requests to 60 requests per hour per IP. Tracking many GitHub apps or sharing a VPN/public Wi-Fi IP exhausts this quickly.
  • Solution:
  • Add a free GitHub Personal Access Token (raises the limit to 5,000 requests/hour and enables batched GraphQL queries).
  • Follow the Token Setup Guide, then paste it under Setup ➔ GitHub ➔ Test Token.

Google Play Store Rate Limit (HTTP 429)

  • Symptom: HTTP 429: Too Many Requests or Play Store download failure.
  • Cause: Anonymous Play Store guest sessions (gplayapi 4.0.0) are temporarily rate-limited by Google, or the app is a paid/region-locked app requiring a personal license.
  • Solution:
  1. Wait 5–10 minutes — ApkUp automatically rotates anonymous sessions with synchronized cooldown protection.
  2. Open the update card and switch to APKMirror, F-Droid, or GitHub/GitLab under Alternative Sources if available.

GitLab / Codeberg Authentication Error (HTTP 401 / 403)

  • Symptom: HTTP 401 Unauthorized or HTTP 403 Forbidden.
  • Cause: The linked project is private, belongs to an internal group, or your stored Personal Access Token expired/lacks scope (read_api for GitLab, read:repository for Codeberg/Forgejo).
  • Solution:
  • Open Setup ➔ GitLab (or Codeberg), update your token, and tap Test Token.

4. Server & Availability Errors (HTTP 404, 5xx)

APKMirror 404 Not Found

  • Symptom: ApkUp detects a new APKMirror version, but downloading fails with HTTP 404.
  • Cause: APKMirror's RSS/API feed occasionally publishes a release before all architecture variants finish propagating across CDN nodes.
  • Solution:
  • Wait 15–30 minutes and retry.
  • Tap the app card and choose Open in Browser to inspect the variant page directly.

Upstream Server Errors (HTTP 500, 502, 503, 504)

  • Symptom: 502 Bad Gateway, 503 Service Unavailable, or 504 Gateway Timeout.
  • Cause: Temporary outage or maintenance at the upstream provider.
  • Solution: No action needed — ApkUp's Source Health tracker handles temporary outages automatically and retries on your next check.

5. APKMirror Cloudflare Challenges & Browser Fallback

  • Symptom: APKMirror prompts for verification or opens your browser.
  • Cause: Cloudflare bot protection flagged automated traffic or your VPN/proxy IP.
  • Solution:
  1. When Cloudflare triggers a challenge during a foreground download, ApkUp opens an in-app WebView so you can complete the check without leaving the app.
  2. If it runs in the background or still fails, ApkUp automatically opens your device browser as a seamless fallback and enforces a 10-minute per-app cooldown to prevent repeated blocks.

6. Installation & Signature Conflicts (INSTALL_FAILED_UPDATE_INCOMPATIBLE)

  • Symptom: Android rejects installation with INSTALL_FAILED_UPDATE_INCOMPATIBLE, or ApkUp flags a Signature Mismatch warning.
  • Cause: Every Android app update must be signed with the exact same private cryptographic key as the installed app. Cross-updating between different signers (e.g., Google Play vs. F-Droid build servers vs. developer GitHub release) is blocked by Android and ApkUp's pre-install verifier.
  • How to Resolve:
  1. Open the update card and pick a matching source under Alternative Sources (or pin the app to its original source).
  2. If you intentionally want to switch signers (e.g., Play Store ➔ GitHub), uninstall the existing app first (back up its data beforehand!) and install the new build cleanly.
  3. Exporting APKs (Save APK): Saving an .apk locally still works even if the installed app uses a different signature — ApkUp verifies file/archive/SHA-256 integrity without blocking local export.

7. Custom Repository Linking & Asset Matching

  • Symptom: "No matching release asset found" or repository lookup error.
  • Cause: The release only contains source archives (.zip / .tar.gz), desktop binaries, an incompatible CPU architecture (ABI) / minSdk, or a custom asset filename that doesn't match your filter.
  • Solution:
  1. Verify on the repository's Releases page that a compiled Android .apk exists.
  2. Check your repository slug format in Apps ➔ Link Repository:
  • GitHub: owner/repository
  • GitLab: group/project or nested group/subgroup/project
  • Codeberg / Forgejo: owner/repository (plus custom host if self-hosted)
  1. If the release ships multiple APK variants (e.g., FOSS vs. Play or architecture splits), add an optional APK Asset Regex and test it live in the repository sheet.

8. F-Droid / IzzyOnDroid & Codeberg / Forgejo Issues

  • F-Droid / IzzyOnDroid: If a custom repository fails certificate verification (TOFU or fingerprint mismatch), open Setup ➔ F-Droid / IzzyOnDroid, verify the HTTPS URL and 64-character SHA-256 fingerprint, and see the F-Droid & Index V2 Guide.
  • Codeberg / Forgejo: Self-hosted Forgejo instances must use https:// and expose the standard /api/v1/repos/.../releases endpoint. See Token Configuration for private repos.

9. Quick Diagnostic Checklist

  1. Pull to Refresh on the Updates tab.
  2. Check Setup ➔ Source Health & Cooldowns to see if a source is temporarily cooled down.
  3. Temporarily test without VPN / Private DNS if DNS or Cloudflare errors persist.
  4. Add a free GitHub / GitLab / Codeberg Token for heavy repo lists.
  5. Need help? Export a sanitized report via Setup ➔ Diagnostics ➔ Export / Share and attach it to a GitHub Issue.
SHA-256 ~2 min di lettura

Checksum SHA-256 & verifica firma APK

Cosa sono i checksum SHA-256, perché proteggono dai file alterati e come verificare gli APK su Windows, macOS, Linux e Android.

Impronta

Cos'è SHA-256?

Un'impronta crittografica di 64 caratteri di un file APK. Modificare anche 1 byte cambia l'intero hash.

Automatico

Firma APK v2/v3

In ApkUp, il certificato di firma di ogni aggiornamento viene verificato automaticamente rispetto all'app installata.

Complete Reference Guide (Full English GitHub Wiki)

Every APK you download from GitHub Releases or a mirror can be verified in seconds before you install it. This guide explains what SHA-256 and APK signing certificates are, why they protect you, and how to check them step by step.


What is a SHA-256 Checksum?

A SHA-256 checksum (also called a hash or digest) is a unique 64-character digital fingerprint calculated from the exact bytes of an APK file.

  • Tamper detection: Changing even a single bit inside an APK produces a completely different 64-character hash.
  • Download integrity: If a download is corrupted, incomplete, or modified by a third-party mirror, the SHA-256 hash will not match the official SHA256SUMS published by ApkUp's GitHub Actions release pipeline.
  • Single-Artifact Principle: All official ApkUp releases are built and signed once by GitHub Actions (release.yml), so the SHA-256 hash is identical everywhere.

Local Verification (Step-by-Step)

You can verify the downloaded .apk file on your PC or Mac in 10 seconds before transferring or installing it:

Windows (PowerShell)

  1. Open PowerShell in your Downloads folder (or cd $HOME\Downloads).
  2. Run:
Get-FileHash .\ApkUp-*.apk -Algorithm SHA256
  1. Compare the printed Hash (case-insensitive) with the Live SHA-256 Checksum shown on ApkUp Downloads or in SHA256SUMS on GitHub Releases.

Linux

  1. Download both the .apk and SHA256SUMS from GitHub Releases into the same folder.
  2. Run:
sha256sum -c SHA256SUMS
  1. Look for ApkUp-v....apk: OK.

macOS

  1. Open Terminal in your Downloads folder (cd ~/Downloads).
  2. Run:
shasum -a 256 ApkUp-*.apk
  1. Compare the output hash with the official hash on ApkUp Downloads.

Automatic Protection Inside ApkUp (APK Signature v2/v3)

You do not have to run manual checks when updating apps inside ApkUp:

  • Signing Certificate Pinning: Before installing any app update, ApkUp cryptographically verifies the APK's v2/v3 signing certificate against the currently installed app. Even if a mirror served a modified APK, Android and ApkUp reject it.
  • SHA-256 & F-Droid Index Verification: ApkUp validates SHA-256 digests and signed F-Droid Index V2 metadata automatically during downloads.
  • Downgrade & ABI Guards: Version downgrades and incompatible ABIs/minSdk builds are blocked before installation.
Sideload ~1 min di lettura

Installare app sconosciute su Android

Istruzioni passo-passo per il permesso classico «Installa app sconosciute» più installazione avanzata con Shizuku, ADB e Root.

30 sec.

Sideloading Android classico

Tocca l'APK scaricato, apri Impostazioni alla richiesta, attiva «Consenti da questa fonte» e installa.

Avanzato

Shizuku, ADB & Root (su)

Usa Shizuku (Debug wireless), adb install -r o Root (su) per installazioni in background.

Complete Reference Guide (Full English GitHub Wiki)

Android allows installing apps outside the Google Play Store (sideloading). This guide covers Android's classic "Install unknown apps" permission as well as power-user installation via Shizuku, ADB, and Root (su).

Looking for help with Google's 2026/2027 24-hour Developer Options cooldown? See Google's 24h Lock & Keep Android Open or the dedicated 24h Lock Page.


1. Standard Android Installation ("Install Unknown Apps")

On standard Android 10–17 devices:

  1. Download the latest signed APK from ApkUp Downloads or GitHub Releases.
  2. Tap the downloaded APK file in your browser or file manager.
  3. If Android shows "For your security, your phone currently isn't allowed to install unknown apps from this source":
  • Tap Settings in the prompt.
  • Toggle Allow from this source ON.
  • Return and tap Install.
  1. Once ApkUp is installed: The first time you update an app inside ApkUp (without Shizuku/Root), Android will ask you once to grant Install unknown apps to ApkUp itself.

2. Power-User Installation: Shizuku, ADB, or Root (su)

Because ADB and elevated installer sessions operate through Android's developer package installer pipeline, power users can streamline or automate installations:

  • Shizuku inside ApkUp (No Root, Android 11+): When Shizuku is running via Wireless Debugging and enabled in ApkUp Setup, ApkUp executes package installations through an elevated PackageInstaller session in the background.
  • Direct ADB from PC:

```bash

adb install -r ApkUp.apk

```

  • Root (su): Devices with Magisk, KernelSU, or APatch install updates directly via root package manager calls without consumer installer prompts.
24h Lock ~2 min di lettura

Blocco 24h di Google & Keep Android Open

Come sbloccare permanentemente l'attesa di 24 ore di Google (2026/2027) nelle Opzioni sviluppatore e la campagna Keep Android Open.

Blocco 24h

Opzioni sviluppatore (2026/2027)

Attiva Opzioni sviluppatore (7× Numero build) → App da sviluppatori non verificati → Riavvia → Dopo 24h scegli «Consenti sempre».

Keep Android Open

FOSS, F-Droid & keepandroidopen.org

F-Droid compila APK open source riproducibili senza costringere gli sviluppatori anonimi a inviare documenti a Google.

Complete Reference Guide (Full English GitHub Wiki)

Starting with Google's regional enforcement on September 30, 2026 (including Brazil, Indonesia, Singapore, and Thailand) and its global rollout in January 2027, certified Android devices introduce mandatory developer identity verification via Google Play Protect. This page explains what changes for everyday users, how to permanently unlock independent apps in Developer Options, and why ApkUp supports Keep Android Open.


1. What Changed — And When?

Under Google's Android Developer Verification policy (enforced via Google Play Services and Google Play Protect):

  • September 30, 2026 (Pilot Regions): Google Play Protect began blocking APKs from unregistered developers by default in pilot markets.
  • January 2027 (Global Rollout): Enforcement expands worldwide to certified Android devices — even for apps never distributed through Google Play.
  • Mandatory ID & Key Binding: Developers are required to submit government-issued ID, pay a registration fee, and link their package IDs and signing keys to a Google identity.

2. Step-by-Step: Unlock "Apps from Unverified Developers" (24h Flow)

If Play Protect blocks an independent APK with an "Unverified developer" notice, Google places the override inside Developer Options behind a one-time 24-hour cooldown:

  1. Enable Developer Options:
  • Open Settings → About Phone (on Samsung: Software information).
  • Scroll to Build Number and tap it 7 times until "You are now a developer!" appears.
  1. Open the Unverified Developers Setting:
  • Go to Settings → System → Developer Options (or search for Developer Options in Settings).
  • Tap Apps from unverified developers → Allow apps from unverified developers.
  1. Confirm Lock Screen & Restart:
  • Enter your PIN/password/biometrics and restart your phone when prompted.
  1. Wait the 24-Hour Cooldown:
  • Android starts a mandatory 24-hour waiting period after reboot.
  1. Choose "Allow Indefinitely" (Avoid the 7-Day Trap!):
  • After 24 hours, return to Developer Options → Apps from unverified developers.
  • Select Allow indefinitely (do not pick the 7-day temporary window, or Android will turn the setting back off after 7 days and force another 24-hour wait!).

3. What This Means for You & Open Escape Hatches

Without unlocking Developer Options, tapping direct APKs from GitHub, GitLab, Codeberg, or independent sites can be blocked by Play Protect. Once you choose Allow indefinitely — or install via Android's developer pipeline — ApkUp continues working seamlessly:

  • Direct ADB from PC (no 24h wait): adb install -r ApkUp.apk
  • Shizuku (Android 11+, no root): Uses Wireless Debugging & elevated PackageInstaller sessions inside ApkUp.
  • Root (su): Installs updates directly via Magisk, KernelSU, or APatch.
WCAG 2.2 ~2 min di lettura

Accessibility & Accessible Mode

How to enable Accessible Mode, configure the high-contrast solar Auto / Light / Dark theme, and use TalkBack or one-tap controls.

Complete Reference Guide (Full English GitHub Wiki)

ApkUp is designed to be comfortable and usable with TalkBack, Voice Access, Switch Access, large display/font scaling, and high-contrast preferences — both in the Android app and on the ApkUp Website.


User Guide

1.1 Turning on Accessible Mode

You can enable Accessible Mode in two places:

  • During First Launch (Onboarding): Choose Accessible instead of Standard on the appearance step.
  • Anytime in Setup: Open Setup → Appearance & Layout → Accessible UI (Barrierefreie Oberfläche) to turn it on or off immediately.

1.2 What Accessible Mode Changes

  • Fixed, Non-Overlapping Navigation Bar: On phones, the bottom navigation bar stays anchored cleanly below content instead of floating over list items, with notification badges placed clearly beside the icon.
  • Single-Column Lists & Larger Tap Targets: Both Apps and Updates switch to clean single-column lists with minimum 48 dp touch targets, multi-line filter chips, and labeled scroll-to-top/bottom buttons.
  • One-Tap Batch Selection: Every update card shows an explicit Select button so you never have to rely on long-press gestures to select updates.
  • Separated Action Buttons: Instead of combined split buttons, Update all and More actions are shown as two separate, clearly labeled buttons.
  • Calm Status Updates & Clean Sheets: Screen readers announce scan/download status politely without interrupting you, confirmation dialogs stack action buttons vertically, and sheets (Hidden Apps, Skipped Updates, In-App Changelog) remove tiny text, dark gradients, and drag-only handles.
  • No Motion Distractions: Animations are disabled while gentle haptic feedback remains intact.

1.3 High-Contrast Solar Theme (Auto / Light / Dark)

Under Setup → Appearance & Layout → Theme, selecting Accessibility unlocks a dedicated high-contrast palette:

  • Auto: Automatically switches between high-contrast Light and Dark based on sunrise/sunset. Use the -15 min / +15 min quick buttons or the time picker to customize solar transition times.
  • Light / Dark: Locks the high-contrast theme permanently to Light or Dark.
  • Dynamic Color is automatically paused when Accessible UI is active so guaranteed contrast ratios are never overridden by wallpaper colors.

Frequently Asked Questions (FAQ)

  • Can I use the High-Contrast Theme without changing list layouts?

Yes! Select Accessibility under Theme while keeping Accessible UI turned off if you only want the high-contrast colors.

  • Where can I report an accessibility barrier?

Please open an issue on GitHub Issues or share feedback in GitHub Discussions — every report helps make ApkUp better for everyone.


💻 Looking for Compose tokens, WCAG AAA contrast internals, or check-a11y.mjs details? See Technical Overview: UI, Accessibility & Website Architecture.

Tech ~3 min di lettura

Tech: Update Sources, Networking & Parsing

Technical overview of multi-source aggregation, gplayapi, F-Droid Index-V2 (RFC 7396), APKMirror .apkm & Cloudflare handling, and Git forges.

Complete Reference Guide (Full English GitHub Wiki)

This page documents ApkUp's multi-source update engine, HTTP transport, rate-limit resilience, and repository parsing architecture.


1. Parallel Multi-Source Aggregation & Priority

  • Concurrent Source Queries: Update checks run concurrently across enabled sources (Google Play, APKMirror, F-Droid / IzzyOnDroid / custom F-Droid feeds, GitHub, GitLab, Codeberg / Forgejo) and aggregate candidate AppUpdate models per packageName.
  • Source Priority & Per-App Pinning: Global source ordering is configurable in Setup and stored in Prefs. Per-app pinning locks an app to a preferred source when an update is available from that source, with automatic fallback if the pinned source returns no newer build.
  • Alternative Variants (alternativeUpdates): When multiple sources provide a newer versionCode, ApkUp retains alternative variants inside AppUpdate.alternativeUpdates so users can inspect and switch sources inside UpdateDetailsSheet.
  • Pre-Release Filtering: Global and per-app pre-release channels (Beta, RC, Alpha, Nightly) filter tag/version strings before candidate selection.

2. Google Play Store (gplayapi)

  • On-Device Session & Delta Queries: Uses gplayapi directly on-device without relying on an external dispenser server, minimizing third-party exposure.
  • HTTP 429 Recovery & Profiles: Automatically recovers from Google Play rate limits (HTTP 429) and uses privacy-minimized device compatibility profiles.
  • Split-APK & Missing Pre-Download Hash: Play Store responses do not always supply a pre-download SHA-256 digest in Link.Url.expectedSha256. When expectedSha256 is absent, ApkUp displays MissingPreDownloadHashBadge next to the target version and relies on Android's APK Signature Scheme v2/v3 verification against the installed package before installation.

3. F-Droid, IzzyOnDroid & Custom F-Droid Repositories

  • Index-V2 & Index-V1 Support: Supports official F-Droid, IzzyOnDroid, and custom HTTPS repositories (?fingerprint=...) via IzzyOnDroidRepository.
  • Cryptographic Index Verification:
  • index-v1.jar / entry.jar signatures are verified against pinned 64-hex SHA-256 X.509 certificate fingerprints (including Trust-On-First-Use pinning for custom presets).
  • Incremental Index-V2 diffs (RFC 7396) validate per-diff SHA-256 checksums (ApkIntegrityVerifier.verifyFileSha256) before applying state updates.
  • Per-APK Checksums: Every F-Droid / IzzyOnDroid package download includes expectedSha256 for mandatory pre-install SHA-256 verification.

4. APKMirror Engine & Cloudflare Resilience

  • In-App Download & .apkm Split Bundles: Resolves APKMirror release/variant pages, downloads single APKs or .apkm split-bundle archives, and extracts split parts in private internal storage with strict Zip-Slip and decompression-bomb limits.
  • Cooldown & Concurrency Throttling: SourceHealthTracker enforces a per-app cooldown and intelligent concurrency throttling to avoid HTTP 429 / 403 bursts.
  • Cloudflare WebView & Browser Fallback: When anti-bot challenges block headless HTTP requests, ApkUp automatically routes resolution through an in-app Cloudflare-capable WebView or offers a seamless browser fallback (isBrowserOnlyUpdate).

5. GitHub, GitLab & Codeberg / Forgejo

  • 3-Tier Repository Binding: Supports built-in mappings for popular FOSS apps, owner/repo bindings, and self-hosted GitLab/Forgejo instances (including multi-level subgroup paths).
  • Batched GraphQL & Token Isolation: When a GitHub Personal Access Token is configured, ApkUp batches release lookups via GraphQL to raise limits from 60 to 5,000 requests/hour. Tokens are stored per-host and stripped on cross-host redirects.
  • Asset Filtering & Digests: Supports optional asset regex filtering, FOSS flavor preference, and expectedSha256 extraction from release digests when provided (e.g. CodebergRepository, GitHubRepository).

📖 User-friendly guide: Update Sources, Repository Linking & Signature Protection

Tech ~2 min di lettura

Tech: Installation, Shizuku, Root & WorkManager

Technical overview of UpdateDownloadWorker, 24h cache, SessionInstaller (PackageInstaller), Shizuku Binder IPC, RootInstaller, and rollback backups.

Complete Reference Guide (Full English GitHub Wiki)

This page covers ApkUp's download orchestration, background scheduling, multi-path installation pipeline (PackageInstaller, Shizuku, su), and rollback architecture.


1. Download Orchestration (WorkManager & DownloadCoordinator)

  • User-Initiated Data Transfer (UpdateDownloadWorker): Interactive single updates, multi-select batch updates, and Install All runs execute through AndroidX WorkManager with live progress (DownloadTaskState), smoothed transfer speed, and batch ETA calculation.
  • 24-Hour Private Cache: Verified APK/split files reside in private internal app storage (cacheDir) so cached updates (readyUpdateIds) can be installed immediately without re-downloading.
  • Save APK / .apks Export: Exports verified single .apk files or .apks split bundles to Download/ApkUp/ or a user-configured Storage Access Framework (SAF) directory.

2. Dual/Triple-Path Installation Pipeline

Before any installer backend is invoked, ApkIntegrityVerifier validates SHA-256 checksums (when expectedSha256 is supplied) and verifies APK Signature Scheme v2/v3 certificates against the installed app, blocking mismatches and unintended version downgrades.

  1. Standard SessionInstaller (PackageInstaller):
  • Stages single or split APKs into PackageInstaller.Session (createSession → openWrite → fsync → commit), prompting the Android system confirmation sheet.
  • Handles Android 14+ Background Activity Launch (BAL) restrictions gracefully with explicit user prompt fallbacks.
  1. Shizuku Binder IPC (ShizukuAutoUpdateWorker):
  • Uses Shizuku's scoped ADB binder privileges to execute pm install-create / install-write / install-commit without Root, enabling silent batch updates and unattended background installs.
  • Checks live Shizuku availability and permission state on resume and before background execution.
  1. Optional Root Installer (RootInstaller via su):
  • Performs explicit pre-checks on staged package paths and executes pm install via su when Root mode is enabled.
  • Supports in-place downgrade (-r -d) for rollback restoration when Root is available.

3. Background Checks & Rollback Backups

  • Scheduled Background Checks (UpdatesWorker): Respects user-configured Wi-Fi only, While charging, and active Time Window constraints with catch-up scheduling when a window opens.
  • Consolidated Summary Notifications: Groups discovered or installed updates cleanly without notification spam, and triggers UpdatesWidgetProvider.notifyWidgetDataChanged to keep the home screen widget synchronized.
  • Configurable Rollback Backups: Before updating, ApkUp can archive installed base + split APKs within user-defined storage caps (up to 2 GB) and retention limits (7–30 days or unlimited), exposing one-tap cleanup and live storage usage in Setup.

📖 User-friendly guide: Shizuku & Silent Background Installations

Tech ~1 min di lettura

Tech: Security, Cryptography & Privacy

Technical overview of ApkIntegrityVerifier (v2/v3 signatures, SHA-256, downgrade guard), Google Tink AES-256-GCM, Zip-Slip protection, and AppJournal redaction.

Complete Reference Guide (Full English GitHub Wiki)

This page documents ApkUp's defense-in-depth security model, cryptographic verification layers, archive hardening, and zero-telemetry guarantees.


1. Pre-Install APK Integrity & Signature Verification

  • ApkIntegrityVerifier:
  • Signing Certificate Match: Extracts APK Signature Scheme v2/v3 certificates from downloaded APKs (and split bases) and compares them against the currently installed app's signing certificate before passing files to PackageInstaller, Shizuku, or Root (su).
  • Downgrade Guard: Blocks accidental versionCode downgrades during normal update flows.
  • SHA-256 Digest Validation (verifyFileSha256): Validates normalized 64-char hex SHA-256 digests whenever expectedSha256 is supplied by the source (mandatory for F-Droid/IzzyOnDroid, supported for GitHub/Codeberg releases and Self-Updater SHA256SUMS).

2. Encrypted Storage & Network Hardening

  • Google Tink (AES-256-GCM) + Android Keystore: TinkSecurePrefsBackend and SecurePrefsStore encrypt preferences and optional GitHub/GitLab/Codeberg Personal Access Tokens at rest using hardware-backed Android Keystore keys.
  • Allowlist Enforcement: SecurePrefsStore enforces an explicit key allowlist to prevent unexpected or malformed preference injection during backup imports.
  • HTTPS-Only Transport: Cleartext HTTP is strictly disabled (cleartextTrafficPermitted="false").
  • Host-Isolated Credentials: Personal Access Tokens are scoped to their configured host and stripped automatically across cross-host HTTP redirects.
  • Zero Cloud Backups & Zero Telemetry: android:allowBackup="false" prevents cloud/ADB extraction of encrypted prefs; ApkUp contains zero analytics SDKs or developer tracking servers, and first-launch onboarding ensures zero external network calls occur before source consent.

3. Archive, UI & Process Hardening

  • .apkm Split-Bundle Hardening: Archive extraction validates canonical entry paths to block Zip-Slip directory traversal and enforces hard per-entry and total decompression-bomb byte limits inside private internal storage.
  • Tapjacking Protection: Sensitive confirmation controls filter obscured touches (filterTouchesWhenObscured).
  • Credential-Scrubbed Logs (AppJournal): Diagnostic log exports automatically redact tokens, authorization headers, and sensitive query parameters before saving.

🛡️ Official Policy: SECURITY.md • Privacy Policy: PRIVACY.md

Tech ~2 min di lettura

Tech: UI, Accessibility & Website Architecture

Technical overview of Material 3 Expressive Compose UI, a11yAccessibleUi, AccessibleTypography, SolarScheduleCalculator, Astro 9-language site, and check-a11y.mjs.

Complete Reference Guide (Full English GitHub Wiki)

This page documents ApkUp's Jetpack Compose Material 3 Expressive architecture, WCAG 2.2 AA/AAA Accessible Mode (a11yAccessibleUi), and the Astro website pipeline.


1. Material 3 Expressive & Adaptive Navigation

  • Theme Tokens (ApkUpTheme): Unified Brand-Amber palette with soft off-white light mode, optional Android 12+ Dynamic Color (Material You), dark/light/system themes, and Themer state flows.
  • Adaptive Chrome: Floating capsule bottom dock on compact screens with automatic NavigationRail on wider/tablet layouts (screenWidthDp >= 840), collapsible scroll headers, wavy progress indicators, and CustomTabsIntent routing (preferring native installed apps first).
  • Single Permanent Update Card Layout: Update cards use the full-detail layout (UpdateCard) with TrustShieldBadge (animated flip on verification) and MissingPreDownloadHashBadge (TooltipBox + PlainTooltip when expectedSha256 is absent).

2. WCAG 2.2 Accessible Mode (a11yAccessibleUi & THEME_ACCESSIBILITY)

  • Accessible UI Mode (ApkUpTheme.isAccessibleUi):
  • Replaces the floating capsule dock with a fixed, non-overlapping AccessibleDockedBottomBar on phones, placing notification badges cleanly beside the icon.
  • Activates AccessibleTypography (minimum 13 sp for informational text) and disables decorative animations (ApkUpTheme.isReducedMotion) while preserving haptic feedback.
  • Enforces single-column lists in Apps and Updates, FlowRow multi-line filter chips (48.dp min touch target), labeled scroll-to-top/bottom controls, explicit one-tap Select buttons on update cards, and separated Update all + More actions buttons.
  • Uses LiveRegionMode.Polite for status summaries, heading() semantics on section titles, vertically stacked confirmation dialog actions, and drag-handle-free accessible bottom sheets (HiddenAppsBottomSheet, IgnoredVersionsBottomSheet, ChangelogBottomSheet).
  • High-Contrast Solar Theme (THEME_ACCESSIBILITY & SolarScheduleCalculator):
  • Supports Auto (sunrise/sunset), Light, and Dark sub-modes with -15 min / +15 min quick steppers and TimePickerDialog customization.
  • Automatically pauses Dynamic Color when a11yAccessibleUi is enabled so guaranteed high-contrast ratios cannot be overridden by wallpaper colors.

3. Astro Website (website/) & check-a11y.mjs

  • 9-Language Static Site (docs/): Built with Astro across en, de, es, fr, it, ja, pt, ru, and zh-rCN, including the dedicated /accessibility/ statement page.
  • 3-Way WCAG AAA Solar Switcher: Supports Auto / Light / Dark with >= 7:1 AAA contrast tokens, ARIA landmark/dialog semantics, and 320 px responsive reflow.
  • Automated Gate (website/scripts/check-a11y.mjs): Audits all 90 built HTML pages for AA/AAA contrast tokens, ARIA attributes, heading hierarchy, and semantic integrity.

📖 User-friendly guide: Accessibility & Accessible Mode • Full Statement: ACCESSIBILITY.md

Tech ~2 min di lettura

Tech: CI/CD, Single-Artifact Releases & Checksums

Technical overview of semantic versioning, PR CI gates, release.yml canonical APK signing, SHA256SUMS, Self-Updater, and mirror distribution.

Complete Reference Guide (Full English GitHub Wiki)

This page documents ApkUp's GitHub Actions CI/CD workflows, versioning rules, signing & checksum verification, and mirror distribution.


1. Strict Semantic Versioning 2.0.0 (version.properties)

  • Single Source of Truth (version.properties): Centrally defines VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, VERSION_PRE_RELEASE, and strictly monotonic VERSION_CODE (versionCode).
  • Git Tags & Release Titles: Pure SemVer tags (vMAJOR.MINOR.PATCH or vMAJOR.MINOR.PATCH-beta.N, e.g. v1.47.0 / v1.47.0-beta.1); GitHub and GitLab release titles use vMAJOR.MINOR.PATCH (VERSION_CODE) (e.g. v1.47.0 (238)). Legacy tags up to v1.46.0 remain unchanged.
  • Android versionName: MAJOR.MINOR.PATCH[-beta.N]+VERSION_CODE.SHORT_GIT_HASH (e.g. 1.47.0+238.74a9f8d, with nogit fallback outside Git).
  • Precedence & Two-Stage Major Rule (VERSIONING.md): Build metadata after + is ignored during SemVer comparison; pre-releases follow alpha < beta < rc < stable. PATCH covers fixes/docs/chores, MINOR covers backwards-compatible features, and MAJOR follows the two-stage rule (mandatory on breaking changes, or user-approved Milestone Major — always evaluated independently of pre-edited documentation version numbers via scripts/suggest-version.ps1).
  • Multi-Digit Support: SelfUpdateRepository.kt, SettingsScreen.kt (including Tap-to-Copy), and ChangelogBottomSheet.kt support multi-digit segments and full SemVer strings cleanly.

2. Pull Request & CI Gates (Android CI)

  • Branch & PR Flow: Features and fixes develop on dedicated local branches off main (never merging or modifying main from experimental experiment/* branches), are pushed to GitHub (DurchEins/apkup), and merge via Pull Request (Squash and merge) after all CI checks pass.
  • Automated Checks: Every PR runs lintDebug, testDebugUnitTest, and assembleDebug (plus website/scripts/check-a11y.mjs for website changes).
  • Debug Parallelism: Debug builds use applicationIdSuffix = ".debug" (com.apkup.debug / ApkUp Debug) so development builds can be tested side-by-side with the production com.apkup release.

3. Single-Artifact Release Pipeline (release.yml)

  • Canonical Binary: The signed APK built by GitHub Actions (release.yml) is the single canonical release artifact (ApkUp-v<Major>.<Minor>.<Patch>-build<versionCode>.apk or ApkUp-v<Major>.<Minor>.<Patch>-beta.<N>-build<versionCode>.apk, so -build<N> is never misparsed as a pre-release).
  • Signing Fingerprint Verification: Every official APK is signed with ApkUp's release key (8e9b512371ee965afc7cc91f23490d3a514623b90d483e638bba8a070a2170b4 SHA-256).
  • Checksums & Mirrors: SHA256SUMS digests are published alongside the binary on GitHub Releases and the ApkUp Website, ensuring identical SHA-256 and VirusTotal hashes across GitLab Releases, Zapstore, itch.io, APKPure, Appteka, and Komi Store.
  • In-App Self-Updater (SelfUpdateRepository): Checks GitHub Releases (stable-only by default, with an opt-in Beta channel toggle in Setup → About), verifies SHA256SUMS and signing certificate fingerprints before installing.

📦 Latest Releases: GitHub Releases • Versioning Details: Tech: Versioning Standard (Legacy vs. SemVer 2.0.0) • ProTip: Append .patch or .diff to any GitHub commit or PR URL for plaintext views.

Tech ~4 min di lettura

Tech: Versioning Standard (Legacy vs. SemVer 2.0.0)

Technical comparison of ApkUp's legacy versioning (up to v1.46.0) and SemVer 2.0.0 (v1.47.0+), version.properties, Self-Updater precedence, Major rules, and worktree isolation.

Complete Reference Guide (Full English GitHub Wiki)

This page documents ApkUp's transition from its legacy versioning scheme (up to v1.46.0) to strict Semantic Versioning 2.0.0 (SemVer) starting with v1.47.0, including artifact naming, self-updater precedence, release evaluation rules, and branch isolation.

All previously published Git tags and GitHub releases up to and including v1.46.0 remain completely untouched.


1. Legacy Standard (up to v1.46.0) vs. SemVer 2.0.0 (v1.47.0+)

AspectLegacy Standard (up to v1.46.0)SemVer 2.0.0 Standard (v1.47.0+)
Git Tag (Stable)v1.46.0vMAJOR.MINOR.PATCH (e.g. v1.47.0)
Git Tag (Pre-Release)v1.41.25-Beta / v1.45.0-beta.1vMAJOR.MINOR.PATCH-beta.N (e.g. v1.47.0-beta.1, v1.47.0-beta.2)
Release Title (GitHub / GitLab)v1.46.0vMAJOR.MINOR.PATCH (VERSION_CODE) / vMAJOR.MINOR.PATCH-beta.N (VERSION_CODE)
Android versionCodeMonotonic integer (1 .. 231)Strictly monotonic integer (238, 239, ...)
Android versionName1.46.0 (231) (or 1.47.0-238 in CI)MAJOR.MINOR.PATCH[-beta.N]+VERSION_CODE.SHORT_GIT_HASH (e.g. 1.47.0+238.74a9f8d)
Release APK FilenameApkUp-v1.46.0-231.apkApkUp-v1.47.0-build238.apk / ApkUp-v1.47.0-beta.1-build238.apk
Version Source of TruthHardcoded in app/build.gradle.ktsCentralized version.properties at repository root

2. Single Source of Truth (version.properties) & CI Asset Naming

  • Central Configuration (version.properties): Holds VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, VERSION_PRE_RELEASE, and VERSION_CODE in one place so neither app/build.gradle.kts nor .github/workflows/release.yml needs fragile regex parsing on Kotlin build scripts.
  • Automatic Git Commit Hash: Gradle (app/build.gradle.kts) reads git rev-parse --short HEAD via providers.exec (configuration-cache compatible) and falls back cleanly to nogit when built outside a Git repository. An optional BUILD_NUMBER environment variable can override VERSION_CODE in CI.
  • Why -build<versionCode> in APK Filenames:
  • A bare -238 suffix (as in ApkUp-v1.47.0-238.apk) can be misinterpreted by strict SemVer parsers as a pre-release identifier.
  • A +238 suffix (as in ApkUp-v1.47.0+238.apk) is rewritten by GitHub Release asset uploads into a dot (.).
  • Using -build<versionCode> (ApkUp-v1.47.0-build238.apk) avoids both issues and keeps filenames unambiguous across GitHub, GitLab, Obtainium, and shell scripts.

3. In-App Self-Updater, Precedence & Backward Compatibility

  • Strict SemVer 2.0.0 Precedence (SelfUpdateRepository.kt):
  • Pre-releases sort below stable releases: 1.47.0-alpha.1 < 1.47.0-beta.1 < 1.47.0-beta.2 < 1.47.0-rc.1 < 1.47.0 < 2.0.0.
  • Build metadata after + (such as +238.74a9f8d) is ignored when comparing version precedence.
  • Legacy parenthesized build tie-breakers (e.g. 1.39.3-Beta (148) vs. 1.39.3-Beta (149)) remain supported for older releases, while -build<N> in APK filenames is never misparsed as a pre-release.
  • Verified Backward Compatibility (v1.46.0 → v1.47.0+):
  • Installed v1.46.0 builds evaluate release.tag_name (v1.47.0 / v1.47.0-beta.1), not the APK filename, and select release assets solely by .apk extension (excluding -debug.apk and -unaligned.apk) from trusted GitHub hosts alongside asset.digest / .sha256 sidecars.
  • Existing v1.46.0 installations therefore discover, verify, and install ApkUp-v1.47.0-build238.apk without any migration gap.
  • UI & Changelog Support:
  • ChangelogBottomSheet.kt strips +... build metadata before resolving milestone asset prefixes (1.47) and release badges (Major Update, Feature Update, Patch & Fix).
  • SettingsScreen.kt renders compact ApkUp • v<Major>.<Minor>.<Patch> (<versionCode>) headers via AboutHeaderVersionRow & CopyableVersionBadge while preserving Tap-to-Copy for the full SemVer + build string (v<VERSION_NAME> (Build <VERSION_CODE>), matching Android System App Info).

4. Release Evaluation Rules (Conventional Commits & Two-Stage Major)

Before each release, commits since the previous Git tag (git log <last-tag>..HEAD) are evaluated objectively (supported by VERSIONING.md and scripts/suggest-version.ps1):

  1. PATCH (x.y.Z): Only fix:, security patches, localization updates, documentation, or maintenance chores.
  2. MINOR (x.Y.0): At least one backwards-compatible feat: commit. There is no automatic Major bump at .9 or .99.
  3. MAJOR (X.0.0) — Two-Stage Check:
  • Mandatory Major: Triggered immediately by feat!: / BREAKING CHANGE: commits or genuine breaking changes (incompatible backups/databases, removal of a core update source, significant minSdk bump, or incompatible signing/update path).
  • Milestone Major (Proposal Only): Proposed as an explicit option alongside Minor when a release introduces a complete UI/navigation redesign, a from-scratch rewrite of a core engine, or a deliberate product relaunch — never applied silently without maintainer sign-off.
  1. Independence from Draft Docs: Pre-edited version numbers in draft changelogs, README.md, SECURITY.md, or website metadata never constrain the version decision; if a Major bump is chosen, those documents are updated to match.

5. Developer Workflow: -Latest Artifacts & Worktrees

  • Canonical Release vs. -Latest Naming: Official releases follow the Single-Artifact Principle via release.yml. Local or mirror tracking builds use ApkUp-v<Major>.<Minor>.<Patch>-build<versionCode>-Latest.apk, renaming the previous -Latest file to ApkUp-v<Major>.<Minor>.<Patch>-(<versionCode>).apk to avoid ambiguity.
  • Branch & Worktree Isolation: Feature and fix branches are developed off main and merged via Pull Request after Android CI (lintDebug, testDebugUnitTest, assembleDebug) passes. Experimental side-project branches (experiment/*) stay isolated in dedicated worktrees: they may merge updates from main, but never modify or merge into main without explicit maintainer approval.

📖 Related: Tech: CI/CD, Single-Artifact Releases & Checksums • VERSIONING.md

Tech ~2 min di lettura

Tech: Data Storage, Prefs, Backups, Logs & Widget

Technical overview of SecurePrefsStore allowlist, CachedUpdateSnapshot, ApkUpBackupConfig JSON schema, AppJournal, and UpdatesWidgetProvider (Preview).

Complete Reference Guide (Full English GitHub Wiki)

This page documents ApkUp's encrypted preference storage, JSON backup schema, sanitized diagnostic logging, and the Home Screen Updates Widget (Preview).


1. Encrypted Preferences (Prefs.kt & SecurePrefsStore.kt)

  • Slot-Based Abstraction: Prefs.kt exposes typed PrefSlot<T> and StateFlow accessors backed by TinkSecurePrefsBackend (AES-256-GCM).
  • Strict Allowlist: SecurePrefsStore.kt maintains an explicit key allowlist so unknown keys cannot be persisted or restored from untrusted sources.
  • Snapshot Cache (CachedUpdateSnapshot): Stores the last discovered update list and timestampMillis locally so the Updates tab, notifications, and the home screen widget can render immediately without re-querying network sources.

2. Settings Backup & Restore (ApkUpBackupConfig)

  • Versioned JSON Schema (CURRENT_SCHEMA_VERSION): SettingsViewModel exports and imports ApkUpBackupConfig via Android's Storage Access Framework (SAF), preserving source toggles, source priority, pinned sources, ignored apps/versions (IgnoredVersionEntry deduplicated by id_packageName_versionCode), pre-release preferences, rollback backup limits, and theme/accessibility settings.
  • Sanitized Import: Imported values are clamped and validated (e.g. ignoredApps, ignoredVersions, numeric bounds) before writing to Prefs.

3. Diagnostic Logs (AppJournal) & Update History

  • Offline Diagnostic Export: Captures structured runtime events, source health states, and installer outcomes without network telemetry, automatically redacting API tokens and credentials prior to SAF export.
  • Persistent Update History: Tracks completed installations and exposes rollback links directly from the Update History sheet.

4. Home Screen Updates Widget (UpdatesWidgetProvider — Preview)

  • Preview Status: Marked with a Preview pill badge in widget_updates.xml (@string/widget_updates_preview_badge) and (Preview) across widget descriptions.
  • RemoteViews Constraints: Uses RemoteViews-compatible layouts (LinearLayout, FrameLayout, ImageView, TextView, ImageButton, ProgressBar) — avoiding unsupported views such as <View> (enforced by lintDebug RemoteViewLayout).
  • Live Sync & Quick Refresh: Reads CachedUpdateSnapshot + Prefs visibility rules (countVisibleWidgetUpdates), opens MainActivity on tap (UpdatesNotification.UpdateAction), and dispatches ACTION_REFRESH_WIDGET to trigger UpdatesWorker.launchImmediate(WorkManager).

📖 User-friendly guide: App Management, Filters, Background Checks & Backup

Tech ~2 min di lettura

Tech: Build System, R8 & Automated Tests

Technical overview of Gradle build variants, R8 shrinking/obfuscation, 413+ unit tests (PrefsTest, ChangelogBottomSheetTest, AccessibilityAuditTest), and lintDebug.

Complete Reference Guide (Full English GitHub Wiki)

This page documents ApkUp's Gradle build configuration, R8 shrinking, Android Lint checks, and automated unit test suites.


1. Gradle & Build Performance

  • Kotlin + Jetpack Compose + Koin: Built with Gradle (app/build.gradle.kts, reading SemVer fields and VERSION_CODE from version.properties), Kotlin incremental compilation (kotlin.incremental=true), configuration/build caching (org.gradle.caching=true), and parallel execution (org.gradle.parallel=true).
  • Build Variants:
  • debug: Fast iteration build without R8, using applicationIdSuffix = ".debug" (com.apkup.debug), versionNameSuffix = "-debug", and isolated Compose @Previews under app/src/debug/kotlin/ (AboutVersionBadgePreview.kt).
  • release: Full R8 code shrinking/obfuscation and resource shrinking, signed via release keystore (local.properties locally or CI secrets in release.yml), leaving debug-only previews excluded.

2. Automated Test Suite (testDebugUnitTest — 416+ Unit Tests)

  • SelfUpdateRepositoryTest & SelfUpdateTest: Verify SemVer 2.0.0 precedence (alpha < beta < rc < stable), ignoring + build metadata, legacy (...) tie-breakers, and -build<N> release APK asset matching.
  • PrefsTest: Verifies PrefSlot defaults, persistence across backend re-instantiation, and reactive StateFlow emissions.
  • ChangelogBottomSheetTest:
  • Parses monthly accordion sections (## Month Year), release headers (### Date | Version | Badge), pill types (Feature, Patch, Major), and mandatory > [Banner] blocks on .0 feature releases.
  • Enforces formatting rules on production assets (1.47_de.md, 1.47_en.md): no trailing colons on entry titles and no inline backticks in descriptions.
  • AccessibilityAuditTest: Audits localization completeness across all 9 locales for accessibility strings (theme_a11y, a11y_accessible_ui_, a11y_sun_, onboarding_mode_*, etc.).
  • Repository, Integrity & State Tests: Covers ApkIntegrityVerifier, UpdatesUiState, SolarScheduleCalculator, source parsers, and backup serialization.

3. Static Analysis (lintDebug) & Website Verification

  • lintDebug: Enforces Android resource/layout/API safety including UnusedResources (preventing dead strings across 9 locales) and RemoteViewLayout (ensuring widget XMLs only use RemoteViews-supported views).
  • website/scripts/check-a11y.mjs: Runs as part of website validation to check all 90 built HTML pages for AA/AAA contrast tokens and ARIA compliance.
Tech ~1 min di lettura

Tech: Localization, Weblate & Asset Pipeline

Technical overview of 9-locale strings.xml & website i18n parity, Hosted Weblate, changelog asset parser, Fastlane metadata, and adaptive SVGs.

Complete Reference Guide (Full English GitHub Wiki)

This page documents ApkUp's 9-language localization architecture, Weblate synchronization, in-app changelog asset structure, and vector/SVG assets.


1. 9-Language Localization (strings.xml & website/src/i18n/)

  • Supported Locales: English (values), German (values-de), Spanish (values-es), French (values-fr), Italian (values-it), Japanese (values-ja), Portuguese (values-pt), Russian (values-ru), and Simplified Chinese (values-zh-rCN).
  • Hosted Weblate Integration: Community translations sync via Hosted Weblate, while developer PRs keep all 9 strings.xml files and website/src/i18n/*.json synchronized.
  • Automated Parity Checks: AccessibilityAuditTest and lintDebug (UnusedResources / missing translations) verify string consistency across locales.

2. In-App Changelog Asset Pipeline (app/src/main/assets/changelog/)

  • Milestone Asset Pairs: Each minor milestone maintains <Major>.<Minor>_de.md and <Major>.<Minor>_en.md (e.g. 1.47_de.md and 1.47_en.md), removing superseded milestone files to keep APK assets clean.
  • Parser (ChangelogBottomSheet.kt):
  • Groups releases under collapsible month headers (## Month Year) derived from real Git release dates.
  • Parses release metadata (### Date | Version | Badge), optional visual highlight banners (> [Banner] Title | Badge), main bullets (- Title Description), and sub-bullets (- ↳ Title Description).
  • Strips accidental markdown artifacts (cleanInlineMarkdown) to keep UI text clean.

3. Metadata & Vector Assets

  • Fastlane Store Metadata (fastlane/metadata/android/): Maintains title.txt, short_description.txt, full_description.txt, changelogs, and screenshots for store/mirror publishing.
  • Adaptive Dark/Light SVGs (.github/assets/): README.md uses <picture> elements with prefers-color-scheme media queries for crisp dark/light header banners, dividers, and footer pills.