NixOS 25.11 for Xiaomi Pad 6 (pipa)
An experimental NixOS setup for the Xiaomi Pad 6
Overview
This repo is my personal project to configure and make NixOS usable on the Xiaomi Pad 9.
Key Features
- Relatively small Considering this setup is based on stripped down Gnome including Firefox and some smaller packages, the rootfs comes out to abou 7.6 GB.
- Fully declarative As one would expect from NixOS.
Prerequisites
Before flashing this OS, ensure you have the following:
- Unlocked Bootloader: Your Xiaomi Pad 6 must have its bootloader unlocked.
- Android Platform Tools:
fastbootinstalled on your host machine.
Installation
WARNING: This process will overwrite your boot, cust and userdata partitions. All existing Android data will be destroyed. Back up your files before proceeding.
-
Reboot your tablet into Fastboot mode (Hold Power + Volume Down).
-
Connect the tablet to your PC via USB.
-
Flash the Mu Silicium, boot and root filesystem images:
# Single boot instructions: # Flash Mu Silicium fastboot flash boot_ab silicium.img # Flash the UEFI boot partition fastboot flash cust boot.img # Flash the Btrfs root filesystem image fastboot flash userdata rootfs.sparse.img # IMPORTANT! Do not forget to erase dtbo_b! Otherwise your device will not boot: fastboot erase dtbo_ab # ALSO VERY IMPORTANT! DO NOT reboot via the power button. Let the tablet completely write the images to UFS: fastboot reboot
Reference: Fedora Pocketblue installation instructions.
For dual booting
You will need to split up userdata into 3 partitions:
- userdata (for Android)
- boot (1GB)
- rootfs
Default credentials:
- Username:
nixos - Password:
nixos
Disclaimer
Use at your own risk.
This software is provided "as is", without warranty of any kind. Flashing custom operating systems and modifying device partitions carries inherent risks.
By choosing to use this project and flash these images, you acknowledge and agree that:
- You are solely responsible for any modifications made to your device.
- I am not responsible for bricked devices, hardware damage, bootloops, or voided warranties.
- This process will completely and permanently wipe your
userdata,custandbootpartitions. I am not responsible for any lost data. - It is strictly your responsibility to back up any critical files, photos, or data before proceeding.
Please thoroughly review the installation instructions and ensure you understand the process before executing any fastboot commands.