Xiaomi Pad 2 (xiaomi-latte)
This device has been tested with postmarketOS, but its device package has not yet been added to the postmarketOS repositories. This means that it cannot be selected in pmbootstrap. Status: test kernel |
![]() Xiaomi Pad 2 (latte) | |
Manufacturer | Xiaomi |
---|---|
Name | Pad 2 |
Codename | xiaomi-latte |
Released | 2015 |
Type | tablet |
Hardware | |
Chipset | Intel Atom x5-Z8500 |
CPU | Cherry Trail(4x2.2GHz) |
GPU | Intel HD Graphice(CHV) |
Display | 1536x2048 |
Storage | 16G or 64G |
Memory | 2G |
Architecture | x86_64 |
Software | |
Original software The software and version the device was shipped with. |
Android 5 |
Extended version The most recent supported version from the manufacturer. |
Android |
FOSS bootloader | no |
postmarketOS | |
Category | testing |
Mainline Instead of a Linux kernel fork, it is possible to run (Close to) Mainline. |
yes |
pmOS kernel The kernel version that runs on the device's port. |
6.14.0 |
Unixbench score Unixbench Whetstone/Dhrystone score. See Unixbench. |
9777.4 |
Flashing Whether it is possible to flash the device with pmbootstrap flasher . |
Broken
|
---|---|
USB Networking After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system). |
Partial
|
Internal storage eMMC, SD cards, UFS... |
Works
|
Battery Whether charging and battery level reporting work. |
Works
|
Screen Whether the display works; ideally with sleep mode and brightness control. |
Works
|
Touchscreen |
Works
|
Multimedia | |
3D Acceleration |
Works
|
Audio Audio playback, microphone, headset and buttons. |
Partial
|
Camera |
Partial
|
Connectivity | |
WiFi |
Works
|
Bluetooth |
Works
|
Miscellaneous | |
FDE Full disk encryption and unlocking with unl0kr. |
Untested
|
USB OTG USB On-The-Go or USB-C Role switching. |
Partial
|
Sensors | |
Accelerometer Handles automatic screen rotation in many interfaces. |
Works
|
Ambient Light Measures the light level; used for automatic screen dimming in many interfaces. |
Works
|
Proximity |
Untested
|
Hall Effect Measures magnetic fields; usually used as a flip cover sensor |
Works
|
Power Sensor Sensor to monitor current, voltage and power. Not fuel gauge! |
Works
|
Contributors
- Qs315490
Users owning this device
- Qs315490 (Notes: build kernel)
How to enter flash mode
DNX Fastboot
- Shutdown the device completely.
- Hold the and button simultaneously, until the "DNX FASTBOOT" text appears.
Installation
Using pmbootstrap
Follow Installation/Using pmbootstrap. When asked for the device's vendor/codename, select xiaomi as the vendor and latte as the codename.
To flash the image to the device:
- Download flash tools https://github.com/Qs315490/xiaomi-latte-flash_tools
- Run
python3 gpt_ini2bin.py
- Run
pmbootstrap install --split
to generate images - Run
pmbootstrap export
to export generate images - Put the images to flash_tools/images
- Enter flashing mode (see #How to enter flash mode)
- Run
DNX_flash_all.bat
USB Gadget
For a BIOS with all options unlocked, set USB OTG Support to PCI Mode.
In the original BIOS, modify the setup variable at offset address 0x2a2. Change the value from 0x3 (AUTO) to 0x1 (PCI).
setup_var.efi setup_var.efi Setup:0x2a2=0x1
grub_setup setup_var 0x2a2 0x1
Audio
Command:
amixer -c0 cset "name='Amp Input1' Right" 1
Explanation:
This command uses amixer (ALSA mixer control) to configure the right channel of the audio device (-c0 specifies card 0). It sets the Right control under 'Amp Input1' to 1 (right), ensuring the right speaker plays the right audio channel.
Camera
Front Camera OV5693 is working in 6.14 kernel
UnixBench
CFLAG use: -march=core2 -mfpmath=sse -msse2
BYTE UNIX Benchmarks (Version 5.1.3)
System: mipad2: Linux
OS: Linux -- 6.14.0 -- #35 SMP PREEMPT_DYNAMIC Tue Jul 15 18:16:42 CST 2025
Machine: x86_64 (unknown)
Language: en_US.utf8 (charmap="UTF-8", collate=)
CPU 0: Intel(R) Atom(TM) x5-Z8500 CPU @ 1.44GHz (2880.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 1: Intel(R) Atom(TM) x5-Z8500 CPU @ 1.44GHz (2880.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 2: Intel(R) Atom(TM) x5-Z8500 CPU @ 1.44GHz (2880.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 3: Intel(R) Atom(TM) x5-Z8500 CPU @ 1.44GHz (2880.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
17:34:15 up 54 min, 0 users, load average: 1.45, 1.06, 0.93; runlevel
------------------------------------------------------------------------
Benchmark Run: Sun Sep 21 2025 17:34:15 - 17:39:07
4 CPUs in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 6619396.6 lps (10.0 s, 7 samples)
Double-Precision Whetstone 2478.5 MWIPS (10.1 s, 7 samples)
------------------------------------------------------------------------
Benchmark Run: Sun Sep 21 2025 17:39:07 - 17:43:48
4 CPUs in system; running 4 parallel copies of tests
Dhrystone 2 using register variables 25926250.6 lps (10.0 s, 7 samples)
Double-Precision Whetstone 9777.4 MWIPS (9.8 s, 7 samples)
See also
https://github.com/Qs315490/postmarketos_device-xiaomi-latte
https://github.com/Qs315490/postmarketos_linux-xiaomi-latte
https://github.com/Qs315490/postmarketos_firmware-xiaomi-latte