LineageOS 20 Android 13 on Mi Pad 5 Fastboot Install Guide
Part of Xiaomi guides, LineageOS guides, 2023 guides.
LineageOS 20 brings Android 13 to the Xiaomi Pad 5 as a weekly test build. This one installs through fastboot, not recovery sideload, and the route differs depending on whether you are coming from MIUI or another custom ROM. Gapps are already baked in, so you only add Magisk and the safetynet fix afterwards if you want Play Certification.
The video starts muted so it does not blast at you — tap the speaker to hear it, or open it on YouTube.
You want LineageOS on the Pad 5, and this particular build has a quirk worth knowing before you start: it goes on with fastboot, not with a recovery sideload. Future builds for this tablet arrive as OTA packages you flash in recovery, but this one still needs the fastboot route.
The build is a weekly test build from source, and it can work as a daily driver. It ships with Gapps already baked in, so you skip a separate flash. If you want Play Certification to behave, you add Magisk and the safetynet props afterwards, and that combination does the heavy lifting.
What changed in this build
- Partition sizes aligned with stock firmware, which avoids the space surprises older builds had.
- A boot failure caused by magiskinit is fixed.
- Bluetooth audio HAL updated.
- Controls added for adjusting the refresh rate.
- Power button glitches fixed.
- Xiaomi Pen and stylus support added.
- Double tap to wake added.
- Aligned with the latest LineageOS source.
The pen support is the one people notice. The Pad 5 is often bought as a note-taking tablet, and a build without working stylus input is a non-starter for that job.
What you need
- The ROM zip from the link below.
- Latest platform tools on your PC.
- The ADB and Fastboot driver installed, so fastboot sees the tablet.
- A charged battery and a backup, because whatever route you take, the tablet gets wiped.
If you are coming from MIUI
Pull boot and vendor_boot out of the ROM zip and flash them from the bootloader. This is fastboot proper, not fastbootd — the normal bootloader screen, not the fastboot mode inside recovery. Getting those two mixed up is the most common reason people think the flash failed.
Once the images are in, reboot and continue with the build.
If you are coming from another custom ROM
- Reboot to the bootloader.
- Run
fastboot -wto wipe. - Reboot to fastbootd.
- Flash the update package.
The wipe matters more than people expect when moving between custom ROMs. Different builds write different vendor content, and skipping the wipe leaves you with a tablet that boots to the logo and hangs there.
Step by step, both routes
- Download the LineageOS zip from the link below.
- Keep the latest platform tools ready.
- From MIUI: reboot to bootloader, flash boot and vendor_boot from the zip.
- From another custom ROM: reboot to bootloader, run
fastboot -w, reboot to fastbootd, flash the update package. - Let it boot fully before you set anything up. Do not rush the setup wizard while the tablet is still settling.
- Add Magisk and the safetynet props afterwards if you want Play Certification.
Where people get stuck
- Confusing fastboot with fastbootd. From MIUI, the boot images go on from the real bootloader. fastbootd is the recovery-side mode and it will not accept the same set of commands.
- Skipping the wipe when crossing between custom ROMs. You get a boot loop or a hang at the logo, and it looks like a broken ROM when it is really a dirty install.
- Setting the tablet up too quickly. Finish the first boot, then configure. Adding accounts and restoring during the initial boot makes any early problem much harder to read.
One honest note
This is a weekly test build, which means the maintainers are still moving things around. That is fine for daily use most of the time, but do not expect the polish of a stable channel. Keep a working package around so you can go back if a weekly build misbehaves.
The free Rom Flasher tool on GitHub handles the ADB and fastboot driver install for you, so the platform tools side is two clicks instead of a Device Manager hunt. It is free, and the link is with the others on this page.
Who should install it
Install it if you want LineageOS 20 on the tablet without flashing Gapps separately, and you can live with a test build. Skip it if you cannot tolerate the occasional rough weekly, or if you want the stable channel and nothing else.
Links / Downloads
- LINK — https://xpshort.com/dolx
- Rom Flasher tool (free) — https://github.com/romflasher3419-spec/rom-flasher-tool/releases/latest
- platform tools — https://xpshort.com/q3zAO
- twrp for k50i — https://xpshort.com/v9Rht
- twrp for mi 11x — https://xpshort.com/vntmY
- vbmeta for aosp rom — https://xpshort.com/y4JdIBS6
- ofox for mi11t pro — https://xpshort.com/111U
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
LineageOS 20 with Android 13 on the Mi Pad 5 — a weekly test build, plus the fastboot install route it needs.
This one is a source built vendor build, and it can work as a daily driver if you set it up with Magisk, safteynetprops and krdragon's safteynet fix. That combination does the heavy lifting, so don't skip it and then wonder why Play Certification looks unhappy. It also ships with baked in Gapps (Partner gapps), which saves you a separate flash.
📱 Device : Xiaomi Mi Pad 5 (nabu)
🧩 ROM : LineageOS 20 (weekly test build)
🤖 Android : 13
👤 Credits : krdragon's safteynet fix
📋 What Changed In This Build
- Partition sizes aligned with stock firmware
- Boot failure with magiskinit fixed
- Bluetooth audio HAL updated to 2.1
- Controls added for refresh rate adjustment
- Power button glitches fixed
- Xiaomi Pen and Stylus support added
- Double tap to wake support added
- Aligned with the latest LineageOS source
🛠️ How To Flash It
- Download the zip from the link below
- Keep the latest platform tools ready on your PC
- Coming from MIUI: pull boot and vendor_boot out of the zip and flash them from the bootloader, which is fastboot proper and not fastbootd
- Coming from another custom ROM: reboot to bootloader, run fastboot -w, reboot to fastbootd, then flash the update package
- Let it boot fully before you set anything up
- Add Magisk and the safetynet props afterwards if you want Play Certification
Note: future LineageOS builds for this device arrive as OTA packages to flash with recovery, but this particular build still goes on with fastboot.
Common questions
Do I need to flash Gapps with LineageOS 20 on the Mi Pad 5?
No. This build ships with Partner Gapps baked in, so you skip the separate flash. You only add Magisk and the safetynet props afterwards if you want Play Certification to pass.
Is this build fastboot or recovery?
This one goes on with fastboot. The build images go on from the bootloader. Later LineageOS builds for this tablet arrive as OTA packages you flash in recovery instead.
How do I get Play Certification working?
Set it up with Magisk, the safetynet props and the safetynet fix that comes with this build. That combination is what makes Play Certification behave. Do it after the ROM has booted fully.
Does the Xiaomi Pen work on LineageOS 20 for the Pad 5?
Yes. Pen and stylus support was added in this build, along with double tap to wake. Refresh rate controls were added too, so you can adjust that from the settings.
Will flashing this wipe the tablet?
Yes. If you come from MIUI the images replace the system, and if you come from another custom ROM the wipe is part of the process. Back up anything you care about before you start.
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 Xiaomi Pad 5
PixelExperience Plus on Mi Pad 5 Android 13 Sideload Guide
PixelExperience Plus on the Xiaomi Pad 5 — Android 13, sideloaded through recovery, with the command order that gets it booting the first time.
Pixel ExperienceXiaomi Pad 5FlashXiaomi Pad 5 · 10 Mar 2023HyperOS 3 for Xiaomi Pad 5 Official Build Download & Flash
HyperOS 3 is available for the Xiaomi Pad 5 as an official build — here's how to download it and get it onto the tablet.
HyperOSXiaomi Pad 5FlashXiaomi Pad 5 · 2 Oct 2025Official 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 2023LineageOS GSI on Xiaomi 11T Pro Android 11 Install Guide
LineageOS as a GSI on the Xiaomi 11T Pro — Android 11, the September security patches, and the fix in this build that finally kills the random livelock...
LineageOSXiaomi 11T ProFlashXiaomi 11T Pro · 19 Dec 2022Xiaomi 11T Pro + LineageOS 19.1 A12.1 Install Step by Step
LineageOS 19.1 on the Xiaomi 11T Pro — the full A12.1 flash, from formatting data to an optional GApps or Magisk sideload.
LineageOSXiaomi 11T ProFlashXiaomi 11T Pro · 27 Nov 2022TWRP on Xiaomi 11T Pro Flash Recovery With One Fastboot Command
TWRP on the Xiaomi 11T Pro — one fastboot command boots the recovery, then you make it stick from inside TWRP itself.
TWRPXiaomi 11T ProFlashXiaomi 11T Pro · 6 Nov 2022