Xiaomi Redmi 10C - TrebleDroid/treble_experimentations GitHub Wiki
Redmi 10C (fog)
This page is for the Redmi 10C! (The Global Release); Support for the Redmi 10 (India) is Unknown. (feel free to try though!)
📱 Device Info
- Image Required: system-arm64-ab.img.xz
- VNDK Version: 30.0
- System as Root: Enabled
- CPU Architecture: ARM64
📃 Requirements for Flashing
- Redmi 10C (Obviously..)
- Latest Compatible Stock Firmware (Fastboot .tgz)
- Generic System Image (GSI)
- PC with Xiaomi USB Drivers installed
- Android Platform Tools
- Not Half-Asleep (You're one Delete Command away from Hard Bricking the Phone)
🛠️ Flashing Instructions
-
Note 1: Use Platform-tools 34.0.4! Newer Versions have a bug that prevent flashing the vbmeta with Verification Disabled.
-
Note 2: There's an entire Telegram Group full for Custom ROMs for this Device! Use those instead for less Headaches.
-
Note 3: If you flashed a Custom Recovery (e.g: OrangeFox) You MUST Flash the Original Recovery! How FastbootD works in Custom Recoveries Completely break Flashing GSIs. A Symptom of this is your GSI Bootlooping forever after you reboot.
1. Unlock the Bootloader
There are many ways you can do this. I unlocked mine using the Mi Unlock tool on PC but that was 3 Years Ago.
2. Boot into Fastboot
You can do this with ADB using this Command: adb reboot bootloader You can also do it by Holding the Volume Down button while booting the Phone.
3. Verify that your PC sees the Phone
> fastboot devices
should output something like this: 1e7c3794 fastboot
Otherwise, Install the Xiaomi USB Drivers!
4. Flash the vbmeta.img to Disable Android Verified Boot (AVB)
> fastboot --disable-verity --disable-verification flash vbmeta <path\to\vbmeta.img>
<path\to\vbmeta.img> is placeholder for vbmeta.img from your Stock Firmware.
Forgetting to do this step will Soft Brick your Phone. (It'll Bootloop)
5. Boot into FastbootD
> fastboot reboot fastboot
Fastboot is for Flashing stuff like bootloaders. FastbootD is for flashing System Partitions.
6. Wipe System Partitions
> fastboot erase system
> fastboot delete-logical-partition product_a
> fastboot delete-logical-partition product_b
This erases the system partitions, but also the logical partitions. Not deleting them can cause a 'out of space' error.
7. Flash the GSI
> fastboot flash system <path\to\system.img>
<path\to\system.img> is placeholder for the GSI.
8. Wipe Userdata
> fastboot -w
This wipes and prepares the User Data for the new ROM.
The way OrangeFox handled this made the GSI Unbootable after restarting from the first boot. (To be fair, the OrangeFox build i used was Unofficial, but i still don't recommend Custom Recoveries for FastbootD Flashing!)
9. Boot into the GSI
> fastboot reboot
Reboot the Phone and attempt booting into the GSI.
10. Pray that it boots.
Now is the time you start Praying. Did the GSI Actually work? guess you'll just have to wait and see.
⚠️ If your phone bootloops, gets stuck at the Mi logo, or goes straight into Fastboot; Flash the stock firmware Immediately!
⚙️ Hardware support
Anything outside of this list is Untested!
| Component | Status | Comment |
|---|---|---|
| Display | ✅ | |
| Speaker | ✅ | |
| Camera | ✅ | Sees an Extra 1x lens that crashes the Default Camera App |
| Bluetooth | ✅ | |
| Wi-Fi | ✅ | |
| SIM Card | ✅ | |
| VoLTE | ❔ | Untested |
| Mobile Data | ✅ | Set Preferred Network to 4G or LTE |
| Bluetooth | ✅ | |
| Fingerprint | ✅ | |
| Offline Charging | ✅ | |
| Microphone (Built-in) | ✅ | |
| Hotspot | ✅ | |
| Flashlight | ✅ | |
| MTP | ✅ | |
| OTG | ✅ | |
| GPS | ✅ | |
| Vibration | ✅ | |
| Auto Brightness | ✅ | |
| Double Tap to Wake | ✅ | Enable in Treble Settings App Within Xiaomi Settings |
Images Tested
| Generic System Image | Working Status | Notes | Tester |
|---|---|---|---|
| Android 17 QPR1 Beta 1 Google GSI | ❌ | Goes back to Fastboot | Martyr041 |
| Miku UI B4 GAPPS GSI | ❌ | Stuck on Mi Logo | Martyr041 |
| Derpfest 16.2 Treble GSI | ✅ | Martyr041 | |
| Infinity X 3.12 Treble GSI | ✅ | Martyr041 | |
| Lunaris 3.12 Treble GSI | ✅ | Martyr041 |
- Tester Model (Martyr041): Xiaomi Redmi 10C 4/64 (Flashed with Taiwan Firmware)