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. |
![]() 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 |
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.12.0 |
Unixbench score Unixbench Whetstone/Dhrystone score. See Unixbench. |
0.0 |
Flashing 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 Charging and battery level reporting works |
Works
|
Screen Display works. Ideally with sleep mode and brightness control. |
Works
|
Touchscreen |
Works
|
Stylus |
Untested
|
Multimedia | |
3D Acceleration |
Works
|
Audio Audio playback, microphone, headset and buttons. |
Partial
|
Camera |
Broken
|
Connectivity | |
WiFi |
Works
|
Bluetooth |
Works
|
GPS |
Untested
|
Miscellaneous | |
FDE Full disk encryption and unlocking with unl0kr. |
Untested
|
USB OTG USB On-The-Go or USB-C Role switching |
Works
|
Sensors | |
Accelerometer Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile |
Works
|
Ambient Light |
Works
|
Proximity |
Untested
|
Hall Effect Also known as flip cover sensor |
Untested
|
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.
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