Installation of OxygenOS on Xiaomi: can you replace MIUI And how to do it right.

OxygenOS firmware from OnePlus has long been famous for its speed, minimalistic design and lack of redundant software โ€“ all that is so lacking for many owners of Xiaomi smartphones with their overloaded MIUI. But can you install this lightweight shell on Redmi, Poco or Mi devices? Technically, yes, but the process requires preparation, unlocking the bootloader and taking into account many nuances.

In this article, we will look at all the steps of installing OxygenOS on Xiaomi, from compatibility checks to the final system setup. You will learn which models are best supported, how to avoid a brick (turning the phone into a useless block), and what to do if the mobile network or camera does not work after the firmware is installed. Importantly, the procedure requires unlocking the bootloader, which resets all data and can deprive you of warranties - consider this before you start.

Before we get to the instructions, the main question is: is it worth it? OxygenOS is really faster. MIUI, but loss of function IR-Xiaomi's blaster or signature gestures can outweigh the pros. If you're ready for experimentation, go ahead!

๐Ÿ“Š Why you want to install OxygenOS on Xiaomi?
MIUI slow down
I don't like ads and Bloatware.
It's interesting to try something new.
Other causes

1. Compatibility: What Xiaomi models support OxygenOS

Not all Xiaomi smartphones can run OxygenOS. The main limitations are related to the hardware โ€” the firmware is optimized for Qualcomm Snapdragon chipsets, and devices on MediaTek (for example, Redmi Note 11 or Poco). M4 Pro) often unsupported: the compatibility table for popular models below:

Xiaomi modelChipsetSupport for OxygenOSNotes
Xiaomi Mi 9Snapdragon 855Yes (unofficial ports)Stable work, but possible bugs with NFC
Poco F3 / Redmi K40Snapdragon 870Yes (recommended)Best choice for OxygenOS โ€“ Minimum Lags
Xiaomi Mi 11Snapdragon 888Partially.Camera problems and 5G-modem
Redmi Note 10 ProSnapdragon 732GYes (with reservations)Requires a kernel from LineageOS for stability
Poco X3 ProSnapdragon 860No.Problems with display drivers

Before installing, be sure to check for the availability of current builds for your model on the forums. XDA Developers or 4PDA. For example, for Poco F3 There are stable ports from the OxygenOS-Poco team, but owners of the Redmi Note 9 Pro (on MediaTek Helio) G95) You will need to look for alternatives like the Pixel Experience.

Also, keep in mind that even supported models may not work:

  • ๐Ÿ“ท Camera - without ported drivers from MIUI quality will be worse.
  • ๐Ÿ“ถ Mobile networking โ€“ especially on dual-use devices SIM.
  • ๐Ÿ”‹ Charging โ€“ fast charging may be limited 18W instead of the stated 33W/67W.

๐Ÿ’ก

If your model is not on the list, try looking for Android-based firmware. 12/13 with an interface similar to OxygenOS (e.g. DerpFest or ArrowOS).

2.Preparation: Unlocking the bootloader and backup

The first and most critical step is unlocking the bootloader, which is not enough to install custom firmware, and it's officially supported by Xiaomi, but it has its pitfalls:

  1. Link your Mi Account to your phone in Settings โ†’ Xiaomi Account.
  2. Go to Settings โ†’ About Phone โ†’ MIUI version and tap 7 times on the line to activate Developer Mode.
  3. Back to Settings โ†’ Additionally. โ†’ For developers and enable Unlocking OEM and debugging by USB.
  4. Download the Mi Unlock Tool utility from the official website and follow the instructions.

โš ๏ธ Note: Once the bootloader is unlocked, Xiaomi resets the phone to factory settings. All data (photos, messages, apps) will be deleted.

The next step is backup. Even if you backed up through Mi Cloud, copy the following:

  • ๐Ÿ“ folder DCIM (Photo and video on PC.
  • ๐Ÿ“ฑ Contacts through export to.vcf.
  • ๐Ÿ”‘ Logins and passwords from Google Smart Lock or Bitwarden.
  • ๐ŸŽฎ Game savers (use Swift Backup or root manager).

Mi Account linked to phone|Debugging is on. USB|Backup of all data.|Battery charge > 50%|Drivers installed ADB-->

3. Selection of firmware: official ports vs custom assemblies

There are two types of OxygenOS firmware for Xiaomi:

  1. Official ports โ€“ adapted by the OnePlus team for a limited number of devices (e.g. Poco) F1). They're almost gone, and they're obsolete.
  2. Unofficial assemblies โ€“ created by enthusiasts on XDA or 4PDA. Relevant for Snapdragon devices, but may contain bugs.

Where to look for firmware:

  • ๐Ÿ”— XDA Developers โ€“ Xiaomi section โ†’ model.
  • ๐Ÿ”— 4PDA โ€” tagged [OxygenOS].
  • ๐Ÿ”— Telegram channels, like @OxygenOSPorts.

When choosing an assembly, pay attention to:

  • ๐Ÿ“… Release date โ€“ current assemblies are updated every 1-2 months.
  • ๐Ÿ› ๏ธ Bug list โ€“ the first topic post on the forum usually has a table with known problems.
  • ๐Ÿ”„ Installation type โ€“ some firmware requires custom recovery (e.g., custom recovery) to be installed in advance, TWRP).

โš ๏ธ Please do not download the firmware from questionable sites! 2023 In the past year, there have been cases when under the guise of OxygenOS, assemblies with cryptocurrency miners or spyware were distributed (MD5/SHA-1) before installation.

How to check the hash of the firmware file?
Download HashMyFiles (Windows) or use the command in the terminal: sha256sum filename.zip Compare the hash you get with the one in the forum firmware topic. If they don't match, the file is corrupted or fake.

4. Installation of OxygenOS: step-by-step instructions

When the firmware is downloaded and the bootloader is unlocked, you'll need to start installing it.

  • ๐Ÿ–ฅ๏ธ Computer with Windows/Linux.
  • ๐Ÿ”Œ Cable USB Type-C (preferably original).
  • ๐Ÿ“ฑ TWRP Recovery or other custom Recovery.
  • ๐Ÿ“‚ OxygenOS firmware in.zip format.

Step 1: Installation of TWRP

Download the current version TWRP For your model from the official website, it's run through fastboot:

fastboot flash recovery twrp-3.7.0-alioth.img


fastboot reboot recovery

Step 2: Cleaning the sections

V TWRP run the Wipe โ†’ Advanced Wipe and mark:

  • ๐Ÿ—ƒ๏ธ Dalvik / ART Cache
  • ๐Ÿ“„ System
  • ๐Ÿ“ฑ Data
  • ๐Ÿ”„ Cache

Do not touch the internal storage and microSD if you do not want to lose files.

Step 3: Installation of firmware

Go to Install, select the downloaded.zip file OxygenOS and confirm the installation. The process will take 5-15 minutes.

  1. Press the Wipe. cache/dalvik.
  2. Select Reboot System.

The first run can take up to 10 minutes โ€“ donโ€™t interrupt the process!

๐Ÿ’ก

If after the reboot the phone is stuck on the logo OnePlus, try to re-enter the phone. TWRP and thread the core (boot.img) separately.

5. System setup after installation

Once you have a successful firmware, you'll have to set up your initial setup, and OxygenOS will offer you to select a language, connect to Wi-Fi, and log into your Google account, and there are a few nuances:

1. Data recovery

If you backup through Google Drive, restore contacts and apps during the setup phase. For files, use Solid Explorer or adb pull:

adb pull /sdcard/DCIM/ C:\Backup\Photos

2. Customization of gestures

OxygenOS supports gestures similar to MIUI, but with other combinations:

  • ๐Ÿ‘† Swipe up - return to the main screen.
  • ๐Ÿ‘†โžก๏ธ Swipe up and retention โ€“ multitasking.
  • ๐Ÿ”™ Swipe from the edge - back (you can turn off in the settings).

3. Battery optimization

By default, OxygenOS aggressively optimizes the background processes, so that applications do not close:

  1. Go to Settings โ†’ Battery โ†’ Battery Optimization.
  2. Select All Apps โ†’ find out โ†’ Not optimize.

4. Problems with the mobile network

If it doesn't work 4G/5G, check the settings APN:

  1. Settings โ†’ SIM-map and mobile network โ†’ Access points (APN).
  2. Add in. APN your operator manually (options can be found on the provider's website).

๐Ÿ’ก

If the sound is lost in the speaker after firmware, try calibrating it through the engineering menu: dial ##36446337## and select Audio โ†’ Speaker Test.

6. Solving common errors

Even with the right installation, problems can arise, and here are the most common ways to solve them:

Problem.Possible causeDecision
Not activated after firmwareIncompatible kernel or damaged boot.imgSweep boot.img From the firmware archive via fastboot flash boot boot.img
The camera's not working.There are no drivers. MIUI CameraInstall ANX Camera or ported GCam
Fast battery dischargeBackground processes or unoptimized coreCalibrate the battery (discharge to 0%, charge to 100% without interruptions)
NFC's not workingThere is no support in the core.Look for a firmware with a patch for NFC settle down
No sound in the headphones.The problem is audio_policy.confReplace a file from stock firmware through Root Explorer

If none of the methods did not help, refer to the topic of firmware on the forum - there is usually a FAQ Troubleshooting with solutions for your model.

What if the phone turned into a brick?

If the device doesnโ€™t respond to buttons and doesnโ€™t load even in fastboot, try:

  1. Connect your phone to your PC and check if it is defined as Qualcomm HS-USB QDLoader 9008 in Device Manager.
  2. If yes, use the Mi Flash Tool to run the stockware. MIUI mode EDL.
  3. If not, the problem may be in the hardware (damaged board).

โš ๏ธ Attention: Regime EDL Requires an authorized Xiaomi account (for new models).If you do not have one, contact the service center - self-attempts can finally kill the device.

7.OxygenOS Alternatives: What else can you install on Xiaomi

If OxygenOS is not suitable (for example, due to bugs or lack of support for your model), consider other firmware:

  • ๐Ÿ“ฑ Pixel Experience is pure Android with Google Pixel features. Suitable for Snapdragon and some MediaTek devices.
  • ๐Ÿ”„ LineageOS is a lightweight, open source firmware. Minimalistic, but without the signature chips.
  • ๐ŸŽฏ DerpFest is a hybrid of OxygenOS and Pixel Experience.

Advantages of alternatives:

  • ๐Ÿ”„ More frequent security updates.
  • ๐Ÿ—‘๏ธ Lack of advertising and unnecessary applications.
  • ๐Ÿ›ก๏ธ Better privacy (no data collection like this) MIUI Analytics).

Disadvantages:

  • ๐Ÿ“ต Possible problems with VoLTE or Wi-Fi Calling.
  • ๐Ÿ“ท The quality of the camera is often worse than on stock MIUI.
  • ๐Ÿ”‹ Fast charging can work slower.
How to choose a firmware for everyday use?
If you want the maximum FPS in games - stay on MIUI If you want to have a privacy-sensitive experience, you can have LineageOS or GrapheneOS (for supported devices) if you want a Pixel-like interface, you can have a Pixel Experience or DerpFest.

8.Putting back MIUI: How to get it back

If OxygenOS doesnโ€™t live up to expectations, you can return stock. MIUI. For that:

  1. Download fastboot firmware for your model from the Xiaomi website.
  2. Unpack the archive in a folder on your PC.
  3. Put your phone in fastboot mode (press the Power). + Volโˆ’ switch off).
  4. Connect to the PC and launch the script flash_all.bat (Windows or flash_all.sh (Linux/Mac).

After completion, the phone will automatically restart to MIUI. This method completely erases data, including internal memory!

If you want to save files, first do a backup through TWRP:

  1. Download to TWRP.
  2. Choose Backup โ†’ Check Data and Internal Storage.
  3. Save the backup to MicroSD or connected USB-accumulator.

After returning to MIUI unlocking the bootloader will remain active. To remove it, you need to re-block the bootloader through fastboot:

fastboot oem lock

But remember: this will reset the phone to factory settings again.

๐Ÿ’ก

If after the rollback MIUI stop working sensors (gyroscope, accelerometer), stitch the stock core separately through fastboot flash boot boot.img.

FAQ: Frequent questions about installing OxygenOS on Xiaomi

โ“ Is it possible to install OxygenOS on Xiaomi without unlocking the bootloader?
No. Any custom firmware, including OxygenOS, requires an unlocked bootloader.This is Xiaomi's security rule, and it's impossible to get around it without exploits (which are often unstable).
โ“ Will Google Services be running on OxygenOS?
Yes, but they need to be installed separately. Most unofficial OxygenOS builds don't have GApps (Google Apps). Download the right package (like NikGApps) and run it through the box. TWRP immediately after installing the firmware.
โ“ Why does mobile internet not work after firmware?
This is a problem when moving from MIUI Solution: Check the settings. APN (access point. Switch network mode from 4G on 3G And back again. SIM-The map is not defined, pass modem.img stock-flow MIUI.
โ“ Can you upgrade OxygenOS to Xiaomi over the air (OTA)?
No, there are no automatic updates for unofficial ports. To update, you need to: Download a new version of the firmware from the forum. TWRP (without wipe data, if the Android version has not changed (OTA.zip), which can be installed without full re-flashing.
โ“ How to get it back TWRP After installation of OxygenOS?
OxygenOS (like many custom firmware) rewrites the Recovery to stock when it first runs. TWRP: Download. TWRP.img Reboot your phone to fastboot. Follow the command: fastboot flash recovery. twrp.img. Get in the air. TWRP (Otherwise, the system will re-write the Recovery).