Run optimized Arm AI Portal image upscaling models on Android
Introduction
Set up the Android command-line tools for Photo Upscale
Connect an Arm-based Android phone and run Photo Upscale
Import and run Arm AI Portal upscaling models on Android
Understand the Photo Upscale Android application
Next Steps
Run optimized Arm AI Portal image upscaling models on Android
Who is this for?
Android and machine learning developers who want to upscale saved photos locally on an Arm-based Android device using optimized models from the Arm AI Portal.
What will you learn?
After completing this Learning Path, you'll be able to perform the following tasks:
- Prepare the Android command-line tools and connect an Arm-based Android phone.
- Download and run supported upscaling models from the Arm AI Portal.
- Recognize how the supplied adapter prepares image tiles, runs ExecuTorch, and combines the upscaled output.
Prerequisites
Before starting, you'll need the following prerequisites:
- A macOS, Linux, or Windows development machine
- An Arm-based Android phone with Android 9 or later, and the
arm64-v8aApplication Binary Interface (ABI) - Enough storage on the phone for the application and model files
- Basic familiarity with terminal commands and Android applications
- Git installed on the development machine
- Python 3.10 or later with the
venvandpipmodules on the machine - Java Development Kit (JDK) 17 on the machine, available on your
PATH - A tool for downloading files, and a tool for extracting ZIP archives on the machine
- A data-capable USB cable
- Network access for the first Gradle build and model downloads
Summary
This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
You’ll build Photo Upscale for an Arm-based Android phone and import an Arm AI Portal model. You’ll use the application to upscale a saved photo locally with ExecuTorch. First, you’ll prepare the Android tools and connect your phone. You’ll then download QuickSRNetSmall, compare the original and upscaled images, and save a PNG. Finally, you’ll examine how the app validates models, processes image tiles, blends outputs, and measures processing time.