Miku UI Android 13 on Redmi K50i GSI Flash & First Boot
Part of Redmi guides, MIUI guides, 2022 guides.
Miku UI on the Redmi K50i is a generic system image, so you flash it in fastbootd and let your existing vendor and kernel do the hardware work. The order matters: flash vbmeta with verity off, erase system, flash the image, wipe data, then boot. Skip a step and you get a bootloop, not a working phone.
The video starts muted so it does not blast at you — tap the speaker to hear it, or open it on YouTube.
Miku UI is one of those Android projects with a personality of its own. On the Redmi K50i it runs as a generic system image, Android 13 base, phh-treble, ARM64 AB. In plain terms: the ROM half is Miku UI, the hardware half is whatever vendor and kernel are already on your phone. So how the camera, calls and sensors feel depends on what you had before, not on the image itself.
That is the one thing to understand before you start. A GSI does not bring its own drivers. It sits on top.
What this build is
- Android version: 13.0
- ROM type: generic system image
- Device target: phh-treble
- Architecture: ARM64 AB
- Two flavours: a version with Google apps baked in, and a vanilla one
- SELinux on either setting works, enforcing or permissive
- Maintainer: @xiaoleGun
The maintainer reports no bugs inside the ROM yet, and asked to be told if any show up. Device-side issues are the ones to expect, and those come from your vendor and kernel, not from Miku UI.
What you need first
- Platform Tools on the PC, with fastboot actually seeing your phone.
- An unlocked bootloader. That is the entry ticket, and unlocking wipes the phone.
- The Miku UI system image, either the version with Google apps or the vanilla one.
- The vbmeta image from the link in the downloads section.
- A backup. This flash wipes data, and there is no undo.
- A cable you trust and a battery above half.
Step 1 - get fastboot seeing the phone
Install Platform Tools, open a command window in that folder, and check the tools respond. Boot the K50i into fastboot with Volume Down and Power, plug it in, and run fastboot devices. You want a serial number and the word fastboot on the same line.
No serial number means a driver problem. Fix that now. It will not fix itself halfway through the flash.
Step 2 - move to fastbootd
Miku UI is a system image, and system lives in the dynamic partition. Normal fastboot cannot touch it. You need fastbootd for that, which is the userspace fastboot inside recovery.
From the bootloader, run:
fastboot reboot fastboot
The screen changes to a fastboot UI driven by the recovery. If fastboot devices still lists your phone here, you are in the right place.
Step 3 - flash vbmeta with verification off
This is the step that decides whether the phone boots or loops. Flash the vbmeta image with verity and verification disabled:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Do not skip this and do not flash a vbmeta from another build. A mismatched one is a black screen with extra steps.
Step 4 - erase system
fastboot erase system
Erase takes a moment. If it fails, you are almost certainly not in fastbootd, or the partition is busy. Go back to step 2 and check where you are.
Step 5 - flash the Miku UI image
Now flash the image you downloaded. If it is a sparse image split into chunks, flash every chunk in order. Then confirm it landed:
fastboot flash system <the-image-you-downloaded>
If your download is a plain image file, that is the one fastboot wants. Nothing else goes here.
Step 6 - wipe data in recovery, then boot
Reboot to recovery. On the K50i that is the stock Mi Recovery, which is fine for this. Wipe data there, not just cache. Then choose reboot to system.
The first boot on a GSI takes a while. It patches and settles before it shows you the setup screen. Give it a few minutes before you decide it is stuck.
Where people get stuck
- Flashing system in bootloader fastboot. It simply does not work there. You must be in fastbootd. The error is usually about the partition not being found, which sends people looking for the wrong problem.
- Skipping vbmeta. The phone boots once and then loops, or refuses to start at all. Flash it with verity and verification disabled and do it before you erase system.
- Dirty flashing over another GSI. Do not. Erase system and wipe data, every time. Carrying old data into a new GSI is the single most common cause of a bootloop.
Honest notes
A GSI is a trade. You get a fast, clean Android 13 with Miku UI's look, and you keep whatever camera and kernel behaviour your phone already had. That means a bug you see might not be Miku UI at all, which makes forum hunting harder. Start from a clean stock base if you can, because that gives the image the best vendor to sit on.
If the driver side of the PC setup is the part you dread, the free Rom Flasher tool on GitHub packages the ADB and fastboot driver install into a few clicks, so you are not reading Device Manager at midnight. The link is in the downloads section.
One quiet reassurance: flashing system over a bad attempt is not the end of the phone. Boot back to fastbootd and do the order again, slowly. The steps above are less fragile than they look.
Links / Downloads
- Miku UI Android 13 (GSI) — https://xpshort.com/qNQcG
- Rom Flasher tool (free) — https://github.com/romflasher3419-spec/rom-flasher-tool/releases/latest
- vbmeta — https://xpshort.com/y4JdIBS6
- Platform Tools — https://xpshort.com/q3zAO
Use the file built for your exact model and region. A package for another variant is the quickest way to a phone that will not boot.
Full description from the video
Miku UI Android 13 on the Redmi K50i — the GSI download, the vbmeta, and the flash order that gets it booting without a bootloop.
Miku UI is one of those custom Android projects with a personality of its own, and here it's running as a generic system image on the Redmi K50i. Android 13.0 base, phh-treble, ARM64 AB — the usual GSI recipe. In plain terms: the ROM half is Miku UI, the hardware half is your vendor and kernel, so how the camera, calls and sensors feel depends on what's already on the phone.
🧩 Build Info
- Android version: 13.0
- ROM type: generic system image (GSI)
- Specific device: phh-treble
- Architectures: ARM64 AB
- GApps: available · Vanilla: available
- SELinux: enforcing and permissive both work
- Bugs inside the ROM: none reported yet — the maintainer asked to be told if any turn up
- Device-side issues: depend on your vendor and kernel
- Maintainer: @xiaoleGun
📲 Flash Order
- Get Platform Tools on the PC and confirm fastboot actually sees the phone.
- Boot to fastboot and switch to fastbootd with fastboot reboot fastboot.
- Flash vbmeta with verity and verification disabled.
- Erase the system partition.
- Flash the Miku UI system image.
- Reboot to recovery, wipe data in Mi Recovery, then boot to system.
❓ Common Questions
- GApps or Vanilla image? GApps if you want Google apps baked in, Vanilla if you don't.
- Is a custom recovery needed? The steps here run through fastboot plus the stock Mi recovery.
- Can I dirty flash this over another GSI? Start clean — erase system and wipe data.
Common questions
Why does my Redmi K50i bootloop after flashing the Miku UI GSI?
Almost always vbmeta or data. Flash vbmeta with verity and verification disabled before you erase system, and wipe data in recovery after the flash. Skipping either one leaves the phone on the boot animation.
Do I need fastbootd to flash a GSI on the Redmi K50i?
Yes. System lives in the dynamic partition, so bootloader fastboot cannot write it. Run fastboot reboot fastboot from the bootloader to reach the userspace fastboot, then erase and flash system there.
Should I use the GApps build or the vanilla Miku UI image?
Take the GApps build if you want Google apps already in place, since a GSI is a system image and you cannot simply flash a Gapps zip over it. Take vanilla if you do not want Google services on the phone.
Is a custom recovery needed for this flash?
Not to flash the image. The steps run through fastboot and fastbootd, and the stock Mi Recovery is enough for the data wipe. A custom recovery is optional here.
Do I lose my data flashing Miku UI on the K50i?
Yes. You wipe data as the last step before booting, and that clears internal storage. Copy your photos and anything else you care about off the phone first, and expect the setup screen on first boot.
Before you flash
- Back up everything you would miss — unlocking and flashing usually wipe the phone.
- Check the file is built for your exact model and region.
- Keep a PC and a working cable around so a bootloop can be recovered.
More for Redmi K50i
Pixel Experience Plus on Redmi K50i December Patch & New Features
Pixel Experience Plus on the Redmi K50i — the December patch build, and a walk through every change that came with it.
Pixel ExperienceRedmi K50iRootRedmi K50i · 15 Feb 2023Redmi K50i TWRP Flash Guide Recovery, Root & More in 10 Min
TWRP on the Redmi K50i, start to finish.
TWRPRedmi K50iFlashRedmi K50i · 5 Oct 2022Unlock Bootloader on Redmi K50i Official Method, Step by Step
Unlocking is the gate you have to walk through before any ROM, root or kernel.
Bootloader unlockRedmi K50iRootRedmi K50i · 21 Oct 2022Elite Rom on Xiaomi 11T Pro Recovery Flash in 5 Steps
Elite Rom on the Xiaomi 11T Pro — a MIUI-based build flashed entirely from recovery, and the whole thing really is five steps.
MIUIXiaomi 11T ProFlashXiaomi 11T Pro · 7 Nov 2022Official MIUI 14 on Xiaomi Pad 5 Fastboot Install Tutorial
Official MIUI 14 for the Xiaomi Pad 5, flashed the fastboot way — a clean stock tablet with no custom ROM leftovers hanging around.
MIUIXiaomi Pad 5FlashXiaomi Pad 5 · 9 Mar 2023Root Redmi K50i Without TWRP Boot Image Method, No Recovery
Rooting the Redmi K50i without TWRP — no custom recovery, no OrangeFox, just a patched boot image and fastboot.
TWRPRedmi K50iFlashRedmi K50i · 24 Oct 2022