# Xiaomi Mi 10i 5G (gauguininpro) Custom Firmware for Custom ROM Installation Guide #
## Disclaimer ##
**Note:** Flashing custom ROMs involves potential risks, and you may void your warranty. Follow these instructions at your own risk. Ensure that you understand the process and have backed up essential data before proceeding.
* I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
Please do some research if you have any concerns about features included in this ROM before flashing it!
YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
## Prerequisites ##
2. Download the latest platform-tools (ADB tools) on your PC.
3. Visit the official Xiaomi firmware website: Gauguin Official Firmware and Download the latest MIUI fastboot firmware for your region.
4. Download the latest custom recovery for a particular latest custom ROM.
1. Unlock the bootloader of your Xiaomi Mi 10i 5G.## Installing/Boot Custom Recovery ##
1. Boot your Xiaomi Mi 10i 5G into fastboot mode (bootloader mode).
2. Connect your device to your PC.
3. Open a command prompt or terminal window on downloaded platform-tools {ADB tools} directory.
4. Verify the proper connection of your device in fastboot mode with the command:
fastboot devices
5. Use the following command to temporarily boot into the custom recovery:
fastboot boot <path-to-custom-recovery-image>
Replace path-to-custom-recovery-image
with the actual path to the custom recovery image.
(or)
6. Use the following command to Install the custom recovery:
fastboot flash recovery <path-to-custom-recovery-image>
Replace <path-to-custom-recovery-image>
with the actual path to the custom recovery image.
7. On Custom Recovery, go to Apply update > Apply from ADB.
8. Ensure the correct connection of your device in adb mode by executing the command:
adb devices
9. Flash the firmware through ADB sideload by running
adb sideload <path/to/firmware.zip>
Replace <path/to/firmware.zip>
with the actual path to the official firmware image.
## Firmware Not Working ##
**If you encounter an issue with the official firmware being incompatible
(e.g., "This package is for gauguin. This is gauguininpro"),
like shown in the image below, follow the steps below to make necessary tweaks.**
## I already Tweaked the latest Indian firmware for Mi 10i 5G (gauguininpro) ##
Download the tweaked firmware for gauguininpro from the following links:
## How I Tweak the Firmware ##
2. Navigate to the extracted firmware folder.
1. Extract the downloaded firmware ZIP file.
3. Open the meta-inf/com/google/android/updater-script
file using a text editor (e.g., 'notepad++').
4. Change instances of 'gauguin' to 'gauguininpro' in the updater-script
file.
5. Open the meta-inf/com/android/metadata
file using a text editor (e.g., 'notepad++').
6. Change instances of 'gauguin' to 'gauguininpro' in the metadata
file.
7. Save the changes.
## Flashing the Tweaked Firmware ##
1. Boot your Xiaomi Mi 10i 5G into fastboot mode (bootloader mode).
2. Connect your device to your PC.
3. Open a command prompt or terminal window on downloaded platform-tools {ADB tools} directory.
4. On Custom Recovery, go to Apply update > Apply from ADB.
5. Flash the firmware through ADB sideload by running:
adb sideload <path/to/firmware.zip>
Replace <path/to/firmware.zip>
with the actual path to the tweaked firmware image.
6. Once the flashing is complete, now flash the downloaded custom ROM.