Xiaomi Mijia firmware M365: Official and custom methods of updating

Electric scooter Xiaomi Mijia M365 It remains one of the most popular devices for urban mobility even years after its release, but over time, owners face the need to update the firmware β€” whether to fix bugs, improve performance or unlock hidden features. In this article, we will discuss all the current ways of firmware M365, From official updates through the app to manual implementation of custom versions through STM32-cable.

It's important to understand that firmware is not just a software update, it's an interference with the scooter controller, and that doing something wrong can lead to a loss of warranty, battery failure, or even a complete failure of the device, so you should weigh the risks and prepare the tools before you start.

Why to sew Xiaomi M365: Official and unofficial reasons

The manufacturer regularly releases updates for Mijia M365, But they're often limited to basic fixes, which is why people are turning to alternative firmware:

  • πŸ”§ Error correction: official firmware may contain bugs, such as sudden engine shutdowns or improper display of battery power.
  • πŸš€ Acceleration and tuning: some firmware allows you to remove the speed limit (standard 25 km / h) or increase the power of the engine. CFW (Custom Firmware can unlock Sport mode+ peak speed up to 35 km/h.
  • πŸ”‹ Battery optimization: Alternative firmware offers more flexible charge management settings that extend battery life, such as turning off cell balancing or setting discharge thresholds.
  • πŸ“± Additional features: custom firmware features such as adjusting brake stiffness, calibrating the Hall sensor, or even integrating with Google Maps to track routes.

However, not everything is so rosy: informal firmware can deprive the scooter of certification (for example, according to European standards). EN 17128), which would make it illegal to use on public roads, and some versions contain undocumented features that eventually manifest as critical errors, such as spontaneously turning the motor on when folding.

πŸ“Š What kind of firmware do you plan to install?
Official (via Mi Home)
Castomy (CFW, ScooterHacking)
I don't know, looking for information.
I've already done it. I'm sharing my experience.

Preparation for firmware: tools and precautions

Before you start updating, make sure you have everything you need.

  • πŸ“± Smartphone with installed application Mi Home (version not lower than 6.0.100).
  • πŸ”Œ Xiaomi Charger M365 (original or certified).
  • πŸ“Ά Stable Wi-Fi connection (for downloading firmware).

For custom firmware, you will need:

  • πŸ–₯️ Windows computer 10/11 or macOS (for working with the STM32 Flash Loader).
  • πŸ”Œ STM32-cable, FT232RL or CH340G) wired TX, RX, GND, 3.3V.
  • πŸ› οΈ Screwdriver for disassembling the controller (usually Torx) T8).
  • πŸ“„ Backup of the current firmware (dump through ScooterHacking Utility).

Download the correct firmware version for your board revision|Check the battery charge (at least 50%)|Disable Bluetooth on other devices|Prepare tools for disassembly (if you need custom firmware)|Take a photo of the current settings in Mi Home-->

Critical: Before you run the firmware, check the controller board. M365 There are several of them (for example, 1.1.4, 1.2.6, 1.3.6), and incompatible firmware can "brick" the device:

  1. Disassembling the controller and looking at the marking on the board.
  2. Connecting through Mi Home and checking the information in the About Scooter section.
  3. Using the ScooterHacking Utility diagnostic application.

⚠️ Note: If your scooter was purchased before 2019 In the year, it is likely that its controller has outdated firmware with a vulnerability. CVE-2018-15362. Updating through unofficial sources can exploit this flaw and cause irreversible damage. EEPROM.

Official firmware through Mi Home: step-by-step instructions

This is the safest way, but it is limited to Xiaomi-approved versions.Call for most users who don't want to risk the stability of the scooter.

Step 1. Connect the scooter

  1. Turn on the scooter with the power button.
  2. Activate Bluetooth on your smartphone and open the Mi Home app.
  3. Add the device: Add the device β†’ Transportation β†’ Electric scooter Mijia.
  4. Follow the instructions on the screen for pairing.

Step 2: Check the current version

Go to the section About the scooter β†’ Firmware version. If an update is available, you'll see a notification. Current official versions (2026):

Audit of feesThe latest official firmwareRelease dateMajor changes
1.1.41.5.4March 2023Correction of engine shutdown error at low charge
1.2.61.7.2October 2023Optimizing energy consumption in standby mode
1.3.61.8.5January 2026Support for new Bluetooth 5.1 standards

Step 3. Update

  1. Connect the scooter to the charger (required!).
  2. In the application, click Update firmware and confirm the action.
  3. Wait until the process is completed (around) 5-10 Don't turn the scooter off the power!
  4. After the reboot, check the version in the settings.

πŸ’‘

If the update has been suspended during the Prepare for Installation stage, try restarting the scooter (hold the power button for 10 seconds) and repeat the process.

Custom firmware: disassembling the controller and firmware through STM32

This is a method for power users, and it allows you to install alternative firmware like this. CFW ScooterHacking Firmware, but requires physical intervention.

Step 1 Disassembly of the controller

  1. Turn off the scooter from power and remove the bottom cover (a Torx screwdriver will be required). T8).
  2. Carefully disconnect the battery connector from the controller (photo below).
  3. Find a connector on the controller board STM32 (4 contacts: GND, 3.3V, TX, RX).
Where to find the connector STM32?
On the boards of revision 1.1.4 and 1.2.6, the connector is located next to the chip. STM32F103C8T6 (A square chip with 48 legs. In a 1.3.6 audit, the contacts can be sealed, and you need to solder them carefully yourself.

Step 2. Connecting the cable

Connect the cable wires. FT232RL plug-in:

  • GND β†’ black-wire (ground).
  • 3.3V β†’ red wire (power).
  • TX β†’ white/yellow wire (data transmission).
  • RX β†’ green wire (data reception).

Step 3. Firmware through STM32 Flash Loader

  1. Download and install. STM32 Flash Loader.
  2. Connect the cable to the computer and start the program.
  3. Select a port. COM (You can find out in Device Manager).
  4. Download the firmware file (.bin or.hex) and click Next.
  5. Wait until the process is completed (the process takes place) 2-5 minute).

⚠️ Attention: If the scooter does not turn on after firmware, and the indicator flashes red, this means damage to the boot sector. JTAG-Debugger that requires professional equipment.

πŸ’‘

Castom firmware often disables the engine's overheating protection, which increases the risk of fire during prolonged loads!

On forums and Telegram chats, users share alternative firmware, and here are the most famous ones:

FirmwareFeaturesRisks.Download link
CFW (Custom Firmware)Acceleration to 35 km/h, disconnection KERS, brake-settingIncreased wear of the engine, the risk of overheatingGitHub
ScooterHackingFlexible battery settings, support for external displaysUnstable work with fee audits 1.3.xOfficial website
DownG CFWOptimized for cold climates (up to the current level) -10Β°C)Reduced maximum speed (28 km/h)4PDA

Important: Forum firmware is often modified by enthusiasts without testing on all board revisions. CFW 3.1.0 may cause an error ERROR 21 (incompatible with the Hall sensor) on boards 1.1.4.

Before installing, check the reviews on thematic resources:

  • πŸ“Œ 4PDA β€” branch M365 (Russian-speaking community).
  • πŸ“Œ Reddit – ElectricScooters (English-language discussions).
  • πŸ“Œ Telegram chat M365 Mods (up-to-date firmware and support).

Frequent Firmware Errors and How to Fix Them

Even if you follow the instructions, you can have problems.

Error: The scooter does not turn on after firmware

  • πŸ”Ή Check the battery connection (possibly the connector has moved away).
  • πŸ”Ή Try resetting: Hold the power button and brake button for 15 seconds.
  • πŸ”Ή If the indicator flashes red-blue, this indicates a controller error - flashing through the STM32.

Mistake: Mi Home app doesn't see scooter

  • πŸ”Ή Remove the device from the application and add again.
  • πŸ”Ή Check the Bluetooth version on your smartphone (Bluetooth 4.0 required)+).
  • πŸ”Ή Reset the Bluetooth module of the scooter: turn off the battery for 1 minute.

Error: Firmware through STM32 interrupt

  • πŸ”Ή Check the integrity of the cable (often the problem is poor contact) TX/RX).
  • πŸ”Ή Try another one. USB-port or disconnect other devices from the computer.
  • πŸ”Ή Use a Uninterruptible Power Supply (UPS) for computer – voltage surges can interrupt the process.
What to do if the scooter is "bricked"?
If the controller does not respond to the firmware and is not determined through STM32, There are two options: 1. Replace the chip STM32 (ration). 2. Contact the service center to request a re-flash through JTAG (cost ~3000-5000 ruble.).

How to roll back firmware on Xiaomi M365

If the new firmware is unstable, you can return the previous version.

  1. Download the desired version from the official archive of Xiaomi.
  2. Rename the file to update.zip Put it in the root of the microSD card.
  3. Insert the card into the controller (connector under the lid) and hold the power button for 5 seconds.

For custom firmware:

  1. Dump the current firmware through ScooterHacking Utility.
  2. Flow through STM32 Flash Loader backup or official version.

⚠️ Warning: Retracement to version older than 1.3.0 on 1.3.6 revision boards may lead to conflict with the new Bluetooth module.

FAQ: Answers to Frequent Questions

Can I stitch it? M365 controllerless?
Official updates through Mi Home do not require disassembly. For custom firmware, disassembly is mandatory, as you need to connect to the device. STM32-port.
Which firmware is best for increasing speed?
It's good for acceleration. CFW 3.0+ ScooterHacking Firmware with Speed Limit setting = 35. But remember, this reduces the life of the motor and the battery.
How to check the firmware version without an application?
Turn on the scooter and press the button combination: Power + Brakes + Gas. The display will display a version (e.g. 1.5.4).
Can I stitch it? M365 Pro firmware from M365?
No, the controllers are different (M365 Pro uses the STM32F103C8T6 Installation of incompatible firmware will disable the scooter.
Where to download official firmware for M365?
Official files can be found on Xiaomi servers: https://bigota.d.miui.com (look for the model m365). https://www.mi.com/global/service/update (section β€œManual download").