Have you ever wondered what it would be like to run Arch Linux on your Xiaomi Pad 6? Whether youโre a power user, developer, or just curious about squeezing every ounce of performance from your hardware, this guide is for you. This step-by-step tutorial walks you through installing a minimal, bare-bones Arch Linux setup on your Xiaomi Pad 6. Itโs not for the faint of heartโyouโll be wiping your device, using fastboot commands, and setting up your system manually. But the reward? A fully functional Linux tablet, ready to be customized your way.
โ ๏ธ WARNING: This is an experimental installation. You will lose all your data. Proceed at your own risk!
Screenshots & Photos:









โ ๏ธ Read Before You Begin
- This guide installs Arch Linux on your Xiaomi Pad 6 using a bare-bones image.
- Youโll need to manually set up many things after installation.
- Only flash userdata and boot partitions. Do NOT touch othersโyou may brick your tablet!
- This is a singleboot guide. If you want dualboot, ask in the community chat or forums.
๐ฆ Requirements
- Xiaomi Pad 6
- A computer with ADB and Fastboot installed
- A USB-C hub (or USB-C to USB-A adapter)
- USB keyboard
- A second device (like your phone) with USB tethering support
- Basic Linux terminal knowledge
- Backup your data! The following process will wipe your userdata completely.
๐งฐ Flashing Arch Linux (Singleboot Mode)
1. Download Required Files
- Download the following files:
boot_arch_domin746826.imgarch_rootfs_fastboot_v02.img- [arch-v0.2.7z] (Link to file location)
2. Flash Boot and Userdata
Use these Fastboot commands from your PC:
fastboot flash boot_a boot_arch_domin746826.img
fastboot flash boot_b boot_arch_domin746826.img
fastboot erase dtbo_a
fastboot erase dtbo_b
fastboot flash userdata arch_rootfs_fastboot_v02.img
๐ First Boot Setup
1. Connect Devices
- Plug in your USB-C hub
- Connect a USB keyboard
- Connect your phone via USB and enable USB Tethering
2. Login Credentials
- Username:
root - Password:
root
๐ง Post-Install Configuration
1. Initialize Pacman Keys
pacman-key --init
pacman-key --populate archlinuxarm
2. Resize Filesystem
Check which partition is labeled arch_rootfs:
blkid | grep arch_rootfs
Typically itโs /dev/sda34, but to be safe, use:
resize2fs /dev/disk/by-label/arch_rootfs
3. Set Up Network
Check your network status:
ip a
ping archlinux.org
Then install and enable NetworkManager:
pacman -Syu
pacman -S networkmanager
systemctl enable NetworkManager.service
๐ Connect to Wi-Fi
Reboot your device:
reboot
Log back in and connect to Wi-Fi using:
nmcli device wifi connect <SSID> password <your-password>
๐จ Optional: Improve Console Font
Install Terminus font:
pacman -S terminus-font
Edit /etc/vconsole.conf and add:
FONT=ter-232n
๐ฑ Bluetooth Setup (Optional Fix)
Install the BlueZ stack and create a custom systemd service:
Create file: /etc/systemd/system/bt-mac.service
[Unit]
Description=Bluetooth MAC fix
After=bluetooth.service
Requires=bluetooth.service
[Service]
Type=oneshot
ExecStart=/bin/sh -c "/usr/bin/echo 'yes' | /usr/bin/btmgmt --index 0 public-addr 00:1a:7d:da:71:13"
RemainAfterExit=yes
TimeoutStartSec=10
[Install]
WantedBy=multi-user.target
Then run:
systemctl daemon-reload
systemctl enable bt-mac.service
reboot
๐ก TODO: Port
bootmacfrom postmarketOS for a cleaner fix.
โ What Works (Tested)
- โ Battery status
- โ Sleep mode
- โ Bluetooth
- โ Brightness controls
- โ Charging
- โ Display and GPU
- โ Touchscreen
- โ UFS storage
- โ USB
- โ Wi-Fi
- โ Xiaomi Pen
- โ Xiaomi Keyboard
โ What Doesnโt Work (Yet)
- โ Camera
- โ Audio
These limitations are similar to what youโd find on postmarketOS.
๐งช Untested Features
Might work, but need testing:
- โ ๏ธ Sensors
- โ ๏ธ Fast charging
- โ ๏ธ Pen charging
If you test any of these, please share results with the community! ๐
๐ Default Users
root/rootalarm/alarm
โค๏ธ Final Notes
- Kernel Source: vipaoLโs kernel
- RootFS: Arch Linux ARM Generic
๐ค Support & Credit:
- Original Guide by: @domin746826
- Official Telegram Support Group here!
- GitHub Repos: pipa-mainline, pipa-project
- Developers who contributed in developing the Linux kernel for the Xiaomi Pad 6: @adomerle, @vipaoLย , @luka177, @Dominik Sitarski, @Danila Tikhonov, @Teguh Sobirin, @lujianhua, @map220v, @maverickjb
Additional thanks to the helpful people at the telegram group โXiaomi Pad 6 Mainline Linuxโ: t.me/pipa_mainline
Ask in the community chat for dualboot setup and troubleshooting.
Enjoy Arch Linux on Your Xiaomi Pad 6!
Youโre now running a lean, mean, Arch-powered machine on your tablet. Have fun experimenting, and welcome to the bleeding edge! ๐งโค๏ธ
Thanks for the comment!