How to set up a barcode scanner on your Xiaomi phone: 5 proven ways

The barcode scanner on Xiaomi smartphones is a convenient tool for quickly recognizing goods, tickets, QR-While the manufacturer does not always include an embedded scanning application, the functionality can be activated through system settings or third-party utilities. In this article, we will discuss all available methods, from standard features. MIUI Specialized programs with advanced options.

It’s important to understand that not all Xiaomi models support hardware barcode scanning (e.g., via an IR port or a dedicated module). However, even on budget devices, you can use a camera to recognize codes using software. We tested the methods on devices from the Redmi Note 10 Pro to the Xiaomi 13 Ultra β€” all instructions are relevant for MIUI 14 and later.

1. Checking the scanner hardware support

Before you set up the software, make sure your device is physically capable of scanning barcodes.Most modern Xiaomi smartphones use the main camera for this, but some models (like the Poco F5 or Xiaomi Pad 6) may have limitations.

Here are the key points to pay attention to:

  • πŸ“± Autofocus camera: Without it, scanning small barcodes will be difficult. check your model specifications on Xiaomi's official website.
  • πŸ”¦ Backlight: In low light conditions, the scanner may not work. Make sure the flash is working.
  • πŸ”„ Screen refresh rate: On devices with 120Hz, recognition is faster than 60Hz.

If your smartphone is equipped with an IR port (for example, Xiaomi Mi 10 or Redmi K40), theoretically it can be used to scan special tags, but standard barcodes (EAN-13, Code 128) can not be read through it.

πŸ“Š What kind of Xiaomi smartphone do you have?
Redmi (Note/Pro series)
Poco
Xiaomi (flagship)
Black Shark
Other

2. Built-in scanner in MIUI: where to look and how to turn on

Starting with MIUI 12, a built-in scanning tool appeared in the firmware QR-It's a code that partially supports barcodes, and it can be run in a number of ways:

  1. Through the notification panel: Swipe down from the top of the screen and find the Scanner icon (pictured with a square with a dot inside). If it's not there, click Edit and add the widget manually.
  2. Through Camera: Open the camera, go to Additional (or More) and select QR Scanner.
  3. Through System Search: Swipe down the main screen and type in the Scanner search box.

Please note: the built-in scanner is optimized for QR-codes and may not recognize all types of barcodes (e.g., Code 39 or ITF-14). For full work with goods, it is better to use third-party applications.

πŸ’‘

If the built-in scanner doesn’t find the barcode, try bringing the phone closer (5-10 cm) or turning on the flash manually through the zipper icon in the camera interface.

3. Setting up the scanner through the Google Lens application

Google Lens (built into Google Photos or available as a standalone app) can recognize barcodes and provide product information to customize it:

  1. Install Google Lens from Google Play (unless it is installed by default).
  2. Open the app and allow access to the camera.
  3. Point the camera at the barcode. If recognition does not occur automatically, click on the Search icon.

Advantages of the method:

  • 🌍 It works on all Xiaomi models (including the old ones). MIUI 11).
  • πŸ›’ Offers links to the purchase of goods in online stores.
  • πŸ“Š Keeps the scan history.

Disadvantages:

  • ⚠️ Does not support some specialized barcode formats (e.g, GS1 DataBar).
  • πŸ“Ά Requires an Internet connection to obtain information about the product.
How to turn off the scan history in Google Lens?
Go to the application settings (βš™οΈ β†’ History) and select Delete History. You can also disable data storage in the Privacy section.

4. Specialized scanning applications

If the built-in tools don't fit, install one of the apps we tested, and we tested 5 popular solutions and made a comparison table:

AnnexSupport for formatsOffline workAdditional functionsRatings.
Barcode Scanner (ZXing)EAN, UPC, Code 128, QRβœ… Yes.Exports to CSV, history4.6
QR & Barcode Reader (Gamma Play)All Standard + DataMatrix❌ No.Price search, code creation4.4
Kaspersky QR ScannerQR, EAN, Code 39βœ… Yes.Checking the security of links4.7
NeoReader100+ formats❌ No.Cloud Analysis, API for Business4.3

For most Xiaomi users, the best choice is ZXing Team's Barcode Scanner, which is free, works without the Internet, and supports data export.

Important: Price search applications (e.g. QR & Barcode Reader) can collect your scan data for targeted advertising.

Download the app from Google Play|Allow access to the camera|Disable "Sending Statistics" in the settings|Add a widget to the main screen-->

5.Barcode scanner for business tasks

If you need to scan hundreds of codes a day (for inventory or trading, for example), standard solutions will not work.

  • πŸ“¦ External scanners: Connect via Bluetooth or USB-C. Compatible with Xiaomi through applications such as Serial Bluetooth Terminal.
  • πŸ–₯️ 1C:Barcode scanner: For integration with accounting systems. Requires customization through ADB.
  • πŸ“Š Inventory Pro: Inventory Management App with Excel Export Support.

To connect an external scanner:

  1. Turn on Bluetooth on your phone.
  2. Put the scanner in pairing mode (usually hold the power button for 5 seconds).
  3. In Bluetooth settings on Xiaomi, select the device from the list.
  4. Install a data processing application (e.g. Barcode to PC).

πŸ’‘

For business purposes, it is better to use specialized scanners (such as the Zebra DS2208 or Honeywell Voyager), as they work faster and more accurately than the smartphone camera.

6. Solving scanning problems

If the scanner is not working, check the following points:

⚠️ Note: On devices with custom firmware (for example, LineageOS) built-in scanner MIUI It may not be there. Use third-party apps.

  • πŸ“Έ Dirty camera: Wipe the lens with a soft cloth.dust or fingerprints interfere with focusing.
  • πŸ”‹ Energy saving: In battery settings (Settings) β†’ Battery β†’ Power saving mode) disable restrictions for the scanner application.
  • πŸ”„ Outdated firmware: Update MIUI Up to the latest version through Settings β†’ The phone. β†’ Updating the system.

If the problem persists, try resetting the camera settings:

Settings β†’ Applications β†’ Application Management β†’ Camera β†’ Storage β†’ Clear data

This will remove saved settings (such as manual modes), but return the camera to factory settings.

7.Safety in barcode scanning

Barcodes and QR-codes may contain malicious links or commands:

  • πŸ”’ Do not scan codes from suspicious sources (such as street pole stickers).
  • πŸ›‘οΈ Use antivirus: Install Kaspersky QR Scanner or Bitdefender Mobile Security to check links.
  • πŸ“΅ Turn off automatic link opening in the scanner app settings.

⚠️ Warning: Some barcodes on products may contain redirects to phishing sites.Always check URL before-transition.

For more protection, enable Google Play Protect:

Settings β†’ Google β†’ Security β†’ Google Play Protect β†’ Scanning your device for threats

Frequently asked questions

Can I scan barcodes without the internet?
Yes, but only if you use offline applications like Barcode Scanner (ZXing), which recognize the code and show its digital value, but can not provide information about the product (name, price) without connecting to the network.
Why does Xiaomi’s scanner not recognize small barcodes?
The problem may be with camera resolution or lack of autofocus. Try: Increase the distance to the code (15-20 cm); Enable macro mode (if any in the camera settings); Use external lighting.
How to export a list of scanned codes?
In the Barcode Scanner app: Open the scan history. Click Export (three-dot icon). Select the CSV or TXT format. Send the file to email or save to Downloads.
Can I use an IR port to scan barcodes?
No, the IR port on Xiaomi is designed to control equipment (air conditioners, TVs) and is not compatible with standard barcodes. To recognize them, you need either a camera or an external laser scanner.
How to calibrate a scanner if it reads codes incorrectly?
The problem is usually software-related, not calibrated. Try: Clear the cache of the scanner application, update the application to the latest version, install an alternative scanner (e.g., NeoReader). If the problem is hardware (e.g., a broken camera lens), contact Xiaomi's service center.