A small companion app that makes updating Plezy on Google TV and Android TV easier. It finds the latest stable release, chooses the correct Android architecture, downloads and extracts the release archive, and opens Android's installer.
- Remote-friendly interface with D-pad and OK navigation.
- Automatic release check when opened, plus a manual Check for updates button.
- Clear feedback when no new updates are available.
- Automatic selection of
armeabi-v7a,arm64-v8a, orx86_64, depending on the architectures supported by Android and the assets available in the release. - English and Norwegian Bokmål, selected automatically from Android's language settings. English is the fallback for other languages.
- Download size and SHA-256 verification against GitHub's release metadata.
- Package name, installed-app signature, and version-code checks before installation.
- No account, ads, analytics, third-party runtime libraries, or root requirement.
Requires Android 6.0 or newer for the updater. Plezy's own Android requirements still apply.
- Download
plezy-updater-1.0.0.apkfrom the latest release. - Transfer it to your TV using your preferred sideloading method, such as USB or a file-transfer app.
- Open the APK on the TV and approve installation. Android may ask you to allow installation from the file manager you use.
- Open Plezy Updater from the TV's app list.
- When an update is available, select Download and install.
- The first time, allow installation from Plezy Updater in Android Settings, then return to the app.
- Confirm Update in Android's installation dialog.
An ordinary in-place Plezy update preserves its app data and settings. The updater can also install Plezy if it is not installed yet.
Keep the updater open while it downloads and extracts the release. It keeps the screen awake during this work. If you cancel the installation dialog, select Install downloaded update to try again without downloading again.
If ADB is already enabled and your computer is authorized:
adb -s TV_ADDRESS:PORT install -r plezy-updater-1.0.0.apkReplace TV_ADDRESS:PORT with your TV's connected ADB address.
The app reads the latest stable release from:
https://api.github.com/repos/edde746/plezy/releases/latest
It uses Android's Build.SUPPORTED_ABIS in priority order and selects the matching plezy-android-<ABI>.tar.gz asset. A 32-bit Android installation selects armeabi-v7a even if the physical processor is capable of running 64-bit software. No Plezy release version is hardcoded.
Before downloading, the app compares the release tag with the installed version name. After extraction, it checks the APK's numeric version code to prevent downgrades. It verifies that the package is com.edde746.plezy and, when Plezy is already installed, that the APK's signature matches it. Android performs the final signature and compatibility checks.
The extractor accepts exactly one regular APK, writes it to a fixed path in private cache, and limits archive size and entry count. Archive paths are never used as destination paths. The installer receives a read-only content:// URI with temporary read permission.
The downloaded archive is deleted after processing, including on handled errors. The extracted APK is deleted when the updater detects that installation has completed. Cancelling installation retains that APK for retry; the app does not keep a history of old versions.
If Android kills the process during the operation, temporary files can remain in the updater's cache until the next download or until the cache is cleared. You can safely clear Plezy Updater's cache in Android Settings without affecting Plezy's data. The original updater APK you transferred to your TV is separate and can be deleted from your downloads or transfer folder after installation.
- Checks run when the app is opened or when you select Check for updates. There is no periodic background checking service.
- Android asks you to approve installation. The updater does not silently install apps.
- GitHub may rate-limit unauthenticated requests. Wait and retry if the app reports a limit.
- Prereleases are excluded. Missing checksums, unsupported version formats, unavailable architectures, and unexpected archive formats stop the update with an error.
- SHA-256 metadata and the archive come from the same GitHub source; the checksum detects corruption, not a compromise of that source.
- A first-time installation has no existing Plezy signature to compare against. A future legitimate signing-key rotation may require changes to the updater's conservative signature check.
- Vendor-specific permission settings may differ. The updater tries the dedicated install-source settings, security settings, and general settings in that order.
Requirements:
- JDK 17 or 21.
- Android SDK Platform 35 and Build Tools 35.0.0, with SDK licenses accepted.
- A POSIX shell,
keytool, andshasumfor the build script.
Gradle Wrapper 8.13 is included. The build uses Android Gradle Plugin 8.9.1.
Set ANDROID_HOME, or create an untracked local.properties file:
sdk.dir=/path/to/Android/sdkThen run:
./build.shThe script builds the signed release APK, runs Android Lint, and writes the APK and SHA256SUMS to dist/.
The signing key is stored locally in signing/updater.jks and is excluded from Git. The build script creates a local key if one does not exist. Its default password is plezy-local-build; set PLEZY_KEY_PASSWORD when creating and subsequently using a key with a different password.
Keep your key safe if you want to install future builds over your existing build. A newly generated key cannot update an installation signed with another key. The key used for the published APK is not included in this repository. Self-built APKs use your own key and cannot update the published app in place.
./tests/run.sh
# Optionally test extraction of a real, downloaded Plezy archive:
./tests/run.sh /path/to/plezy-android-armeabi-v7a.tar.gzTests cover ABI priority and fallback, 32-bit Android selection, version ordering, normal extraction, unsafe archive paths, missing or multiple APKs, invalid TAR checksums, and truncated TAR/gzip files.
The app was tested by updating official Plezy 2.25.0 to 2.26.0 in an Android 15 arm64 emulator, including installer cancellation and retry. Both language layouts were checked. A user also reported successful installation and testing on their TV. See validation details and limitations.
Original updater code is licensed under the MIT License. See third-party notices for the bundled Gradle Wrapper.
This is an independent companion app, not an official Plezy project. It downloads original releases from edde746/plezy and does not modify or redistribute the Plezy APK in this repository.
