Facing with the inability to open a photo on a smartphone is a classic situation that can unsettle any user. You downloaded an image from the messenger, received it by mail or transferred it from your computer, and the system displays a message stating that The file format is not supported. Most often, the problem lies not in the file itself, but in the absence of a suitable decoder or a failure in the file type association.
On the operating system Android system libraries and pre-installed galleries are responsible for displaying raster graphics. However, the variety of shells from manufacturers (Samsung One UI, Xiaomi MIUI, ColorOS) leads to the fact that standard tools behave differently. In some cases, the firmware simply cannot recognize the file header if it was saved in violation of the standard or has a non-standard extension.
In this material we will analyze in detail which applications are guaranteed to open JPEG images, how to set the system by default and what to do if the file is damaged. We will not limit ourselves to the advice “install another application”, but will consider the technical causes of failures and methods for eliminating them at the file system level.
System viewers and default settings
The first step is to check whether the standard image viewer is active. In pure Android this function is performed by the “Gallery” or “Photo” application, integrated into the services Google Photos. If, when you click on a file, the system prompts you to select a app, it means that the parameter Default App for the MIME type has gone wrong image/jpeg.
To restore correct operation, you need to go to the device settings. Go to section Applications → Manage applications. Find your main gallery in the list (for example, Google Photos or Samsung Gallery). Inside the application menu, find the “Open as default” option and click the “Remove default settings” button. After that, the next time you click on the JPG file, the system will again ask you how to open it.
⚠️ Attention: If you do not see any galleries in the list of applications, it may be a system component was disabled or removed during system optimization by third-party utilities. In this case, recovery is only possible by resetting application settings or installing third-party software.
Sometimes the problem lies in the media scanner cache. This is a system process that indexes files on the drive. If its database is damaged, the phone may not "see" files even if they are physically present. Clearing the service cache Media Storage often solves the problem with displaying thumbnails and opening files.
Before clearing the media scanner cache, make sure that important photos are saved in the cloud, as the re-indexing process can take from 15 minutes to several hours depending on the amount of memory.
Third-party viewers images: reliability rating
When the built-in tools give up, specialized applications come to the rescue. The market is oversaturated with offers, but not all of them work equally well with JPG and JPEGencodings. Some lightweight viewers ignore EXIF metadata, which leads to incorrect image rotation.
The leader in this category is traditionally considered to be Google Photos. It uses cloud processing algorithms, so it can open even partially damaged files, loading previews of them from the server if there is a network. For local offline browsing, open source solutions are great, such as Google Photos - the best choice for synchronization and basic editing, but requires a Google account for full functionality. Google Photos Google Photos supports a huge number of formats, including animated GIF and SVG, works completely offline and respects privacy. Simple Gallery Pro or Aves.
- 📸 Google Photos - The best choice for synchronization and basic editing, but requires a Google account for full functionality.
- 🖼️ Aves Gallery — supports a huge number of formats, including animated GIF and SVG, works completely offline and respects privacy.
- ⚡ QuickPic Mod - the legendary ultra-light viewer that opens images instantly even on weak devices, but requires manual installation of the APK.
The choice of a specific application depends on your needs. If the speed of opening thousands of photos in an album is important to you, choose lightweight viewers. If you need organization by persons and geolocation, then ecosystem solutions from Google or Microsoft will be preferable.
Problem of incompatibility of extensions and encodings
A common cause of the “Unable to open the file” error lies in a banal mismatch between the extension and the actual structure data. The file may have a name photo.jpg, but inside contain data of the format PNG or WebP. This happens when the download is incorrect from the browser or when the conversion is interrupted halfway.
The operating system Android relies on the file header (magic number) to determine its type. If the extension cheats the system, the standard renderer refuses to work. In such cases, renaming the file helps. Try changing the extension to .png, .webp or .heic and check if the image will open.
| File extension | Compression type | Android support (native) | Risk of error opening |
|---|---|---|---|
| .jpg /.jpeg | Lossy (lossy) | Full (all versions) | Low |
| .png | Lossless (lossless) | Full (Android 4.0+) | Low |
| .webp | Modern compression | Full (Android 4.0+) | Medium (old devices) |
| .heic | High efficiency | Partial (Android 9+) | High (requires codecs) |
Particular attention should be paid to the format HEICwhich is often used by cameras iPhone. When transferring such photos to Android they can be automatically converted to JPG, but if the conversion is incorrect, the file will become unreadable. In this case, only repeated conversion on a PC using specialized software will help.
If changing the file extension did not help, the data structure itself (file header) is probably damaged, and a simple rename will not restore the image.
Converting and restoring damaged files
If the file is critical, but cannot be opened by any application, try to restore or convert it. On mobile devices, there are powerful converters that can ignore reading errors and extract the visible part of the image. Applications like Image Converter or online services in the browser Chrome can save the situation.
The recovery process usually looks like this: you upload the broken file to the converter, select the target format (for example, PNG) and start the process. The algorithm skips damaged data blocks and saves what was decoded. Quality may suffer, artifacts or color streaks may appear, but the image will be visible.
⚠️ Warning: Never edit or save a damaged file over the original. Always create a copy for experimentation, since an unsuccessful save attempt may permanently destroy the data.
For advanced users, it is possible to use console utilities through a terminal emulator, for example Termux. Installing the package imagemagick allows you to perform complex recovery operations directly from the phone's command line. A command like convert broken.jpg -fix repaired.jpg can work wonders on files that have errors in the Huffman table.
Command for recovery via Termux
After installing Termux, run: pkg update && pkg install imagemagick. Then use the command: magick identify -verbose file.jpg to diagnose errors, or magick convert file.jpg output.png to attempt conversion while ignoring errors.
Errors when opening JPGs from instant messengers and clouds
A specific category of problems arises when working with files from Telegram, WhatsApp or cloud storage. Often, users try to open an image directly from the chat interface without downloading it completely. If the connection is unstable, the application shows a stub or gives an error decoding the data stream.
There is only one solution: force the file to be saved to internal memory. In the messenger settings, disable autosave to the gallery if it does not work correctly, and use the “Save in downloads” function. After the file appears in the folder Download, try opening it through the file manager, and not through chat.
- 📂 Cache folders - images from instant messengers are often located in hidden folders
Android/media, where the standard gallery may not have access due to Android 11+ security restrictions. - 🔒 Encryption —some files in secret chats are encrypted and cannot be opened by third-party applications until they are decrypted by the native client.
- 🌐 Stub links —sometimes instead of a picture, an HTML file with a 404 error is downloaded, which is renamed to .jpg. Check the file size: if it weighs 1-2 KB, it is definitely not a photo.
It is also worth checking application permissions. In new versions Android access to files is limited. If your image viewer does not have permission to read “All Files Access”, it simply will not be able to read data from the download folder of another application.
☑️ Diagnosing a file from the messenger
Technical nuances: dead pixels and artifacts
Sometimes the file opens, but the image looks distorted: green stripes, color shifts, or checkerboard backgrounds. This indicates damage to the quantization table or data stream JPEG. The JPEG standard is sensitive to the loss of even one bit at the beginning of the file, which can lead to a complete failure to render the bottom of the picture.
There is a phenomenon called “progressive JPEG”. Such images are loaded gradually, from a blurry outline to a clear picture. Some old or primitive viewers on Android cannot display progressive scan correctly, showing a gray screen instead of a photo. In this case, opening the file in a browser that is guaranteed to support this standard helps.
If you are a photographer and edit pictures in Lightroom or Photoshop before sending to your phone, keep an eye on the export settings. Sometimes enabling the “Optimize” option or saving in color space CMYK (instead of RGB) makes the file incompatible with mobile screens. Always export for web and mobile devices to your profile sRGB.
⚠️ Attention: Application interfaces and paths to settings may differ depending on the Android version and the manufacturer's shell. If you do not find the described item in the menu, use the search in the phone settings.
To quickly check the integrity of the file, try changing its size (resize) in any editor. If the application crashes when trying to process it, the file is physically damaged.
Why does the photo open with a black screen?
A black screen when opening a JPG most often means that the file header was read correctly (the system understood that this is a picture), but the image data is damaged or encoded in an incomprehensible format. This may also be a sign that the file is encrypted with a ransomware virus.
Is it possible to open JPG on Android without the Internet?
Yes, absolutely. The JPEG format is a local compression standard. You don't need a network connection to view it, unless you use cloud galleries that load previews from servers. Local viewers work completely autonomously.
What is the difference between JPG and JPEG on a phone?
Technically there is no difference. This is the same extension. The three or four letter difference arose historically due to file system limitations (MS-DOS only supported 3 characters). Android handles both options correctly.
How to open HEIC files on old Android?
Old versions of Android will not open HEIC using standard means. You need to install the codec from Google (HEIF Image Extensions) through the Play Market or use a converter that will convert the photo to JPG before viewing.
Why does the gallery not see new photos?
Most likely, in the folder with images there is an empty file named .nomedia. This file prevents the media scanner from indexing the contents of the directory. Delete it through the file manager, and the photos will appear in the gallery after a reboot.