https://github.com/themojoman/xiaomi-pipa
Linux disk images, kernels and scripts for the Xiaomi Pad 6 tablet (codename: pipa).
https://github.com/themojoman/xiaomi-pipa
linux pipa ubuntu xiaomi-pad-6
Last synced: about 1 year ago
JSON representation
Linux disk images, kernels and scripts for the Xiaomi Pad 6 tablet (codename: pipa).
- Host: GitHub
- URL: https://github.com/themojoman/xiaomi-pipa
- Owner: TheMojoMan
- License: gpl-3.0
- Created: 2025-04-10T05:05:30.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-10T08:53:51.000Z (about 1 year ago)
- Last Synced: 2025-04-12T02:15:31.458Z (about 1 year ago)
- Topics: linux, pipa, ubuntu, xiaomi-pad-6
- Homepage:
- Size: 519 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xiaomi-pipa
Linux disk images, kernels and scripts for the Xiaomi Pad 6 tablet (codename: pipa).
# Ubuntu Linux on the Xiaomi Pad 6 (pipa)

## THANKS
First, I would like to thank the following people (in no particular order) for their excellent work in developing the Linux kernel for the Xiaomi Pad 6. Without them this would all not be possible:
- adomerle
- vipaoL
- luka177
- Dominik Sitarski
- Danila Tikhonov
- Teguh Sobirin
- lujianhua
- map220v
- maverickjb
Their work is based upon the shoulders of giants. So, thanks to the Linux kernel team, the Ubuntu team, the Gnome and KDE team and all the people that contributed to the many programs that are used in this distribution!
Additional thanks to the helpful people at the telegram group "Xiaomi Pad 6 Mainline Linux": t.me/pipa_mainline
## Installation
- **!!! Backup your data from Android !!!** You will most probably loose your Android and have to reinstall it. Continue at your own risk!
- Connect your tablet to your computer with a USB-C cable.
- Open a terminal window.
- Install adb and fastboot: `sudo apt install adb android-sdk-platform-tools`. On Windows or Mac: [download here](https://developer.android.com/tools/releases/platform-tools).
- First you need to shrink the "userdata" partition of your internal drive of the Xiaomi Pad 6 and create two additional partitons named "esp" and "linux" (without quotes). There are several ways to do it. You can e.g. follow this guide [here](https://xdaforums.com/t/pipa-how-to-install-windows-11-on-xiaomi-pad-6.4647419/). Only download the TWRP file and then follow the "Making Windows Partitions" -> Non-GUI Method guide. In step 6: instead of creating a windows partition you should create a linux partition. The command could e.g. be `mkpart ext4 linux 224GB 253GB` if you would like to create a 30GB big partition at the end of the drive.
- Next, download the root image file for Ubuntu and the bootloader. You can find it in the Ubuntu folder [here](https://mega.nz/folder/TZ9wwaIQ#Ojwu-1KhPyaYv7QwBaJQlQ).
- Decompress the file root.img.xz: `xz -d root.img.xz`. On Windows: Install a suitable app that can decompress .xz files.
- Enter fastboot (`adb reboot bootloader` or power-on tablet while volume-down key being pressed).
- Check the active slot: `fastboot getvar current-slot`
If it prints "a" you need to install the linux bootloader to boot_b, if it prints "b" you need to install the bootloader to boot_a.
- Delete dtbo: `fastboot erase dtbo_b` (or `fastboot erase dtbo_a`, if you are on slot b).
- Install Ubuntu root system: `fastboot flash linux root.img`
- Install bootloader: `fastboot flash boot_b boot_linux_6.12.0_1.img` (or `fastboot flash boot_a boot_linux_6.12.0_1.img` if you are on slot b)
- Change slot to Ubuntu: `fastboot set_active b` (or `fastboot set_active a` if you are on slot b)
- Reboot: `fastboot reboot`
- Wait for Ubuntu to boot completely. The output might seem stuck at some point for some seconds. Do not panic. Be patient.
- Finish the initial setup where you create your user account.
## Post-Installation (on your Xiaomi Pad 6)
(If you have not connected to the internet than do it now.)
Open a terminal:
- Information: In Linux you can type in the first letters of a command or file location and it will be automatically completed when you hit the **tab** key.
- Type `cat .bash_aliases`. This shows you a list of shortcuts that I have defined for your (and my) convenience. It will save you a lot of typing in the long run!
(You can add your own shortcuts by editing the file with `nano .bash_aliases`. Do your changes. Save with "Ctrl+s". Quit with "Ctrl+q".)
- Update the package list: `sudo apt update` (shortcut: `sau`).
- Upgrade the packages (if there are updates available): `sudo apt upgrade` (shortcut: `saug`).
- Information: The `sudo` command gets you superuser (root) privileges. Only superuser (root) can install new software.
You might want to install some common apps:
- Install Firefox browser: `sudo apt install firefox` (shortcut: `sai firefox`).
- Install the Ubuntu app store: `sudo snap install snap-store` (shortcut: `ssi snap-store`).
## Updates
Kernel updates will be posted here because they are not hosted in Ubuntu's official repositories. You might join the dedicated telegram group to stay informed: t.me/pipa_mainline
If you have further question regarding Linux and Ubuntu please search the internet because there are many good forums and websites out there that will help you.
## Final note
Most importantly: 😀 **Have fun with your new ultra-portable computer!** 😀