How to Fix Xiaomi Error 21

T
Lead PEV Engineer & Founder (7+ years DIY PEV repair & engineering)
Last updated: 2026-07-08
Repair Alert: Perform these adjustments in a clean workspace and test operation before riding.

Required Parts & Tools

Have these ready before starting the repair. Clicking links supports our free guides.

Replacement Parts Needed

Tools Required

* Affiliate Link Disclosure: As an Amazon and AliExpress Associate, diypev.com earns a small commission from qualifying purchases made through our referral links, at no extra cost to you. This enables us to purchase test parts and create detailed, expert-verified troubleshooting repair guides for the community. Thank you for your support!

DIYStep-by-Step Instructions

  1. Step 1 of 4

    Preparation & Safety Check

    Set the vehicle on a stand and turn off all power systems. Gather the required tools: Hex Screwdriver Set, Soldering Iron.

    Schematic FIG. 1DIYPEV Technical Lab
    Electric micromobility vehicle stabilized on a mechanical work standReference Blueprint Schematic
    Alt description tag verifiedScale: NTS (Not To Scale)
  2. Step 2 of 4

    Disassembly & Part Access

    Access the target component by removing protective housings or screws. Take photos of wire connections to ensure correct re-routing.

    Schematic FIG. 2DIYPEV Technical Lab
    Removing protective covers from vehicle componentsReference Blueprint Schematic
    Alt description tag verifiedScale: NTS (Not To Scale)
  3. Step 3 of 4

    Installation or Alignment

    Fit the replacement part or adjust alignment. Check for proper positioning and secure connections.

    Schematic FIG. 3DIYPEV Technical Lab
    Installing the replacement hardware on the frame or handleReference Blueprint Schematic
    Alt description tag verifiedScale: NTS (Not To Scale)
  4. Step 4 of 4

    System Verification

    Re-mount protective covers, reconnect power cables, power on the system, and perform a stationary functional test.

    Schematic FIG. 4DIYPEV Technical Lab
    Verifying dashboard display controls and lever mechanismsReference Blueprint Schematic
    Alt description tag verifiedScale: NTS (Not To Scale)

Welcome to our troubleshooting and installation guide for "How to Fix Xiaomi Error 21". This guide is part of our comprehensive diypev.com micro-mobility knowledge base.

Guide Notice

We are currently updating this guide with high-resolution photographic steps and field technician notes. The fundamental DIY guidelines are detailed below.

Overview and Basic Steps

To complete this repair successfully, you must ensure that your workspace is clean, well-lit, and that you have the required safety gear ready.

  1. Secure your vehicle on a flat surface or mounting stand.
  2. Power off the electrical system and detach the main battery plug.
  3. Follow assembly or disassembly procedures in sequence to avoid losing small parts.
  4. Ensure all fasteners are tightened securely to specified torque guidelines.
  5. Perform a stationary pre-check of the brakes and throttle before riding.

Related Guides inside this Category