Xiaomi Pad 2 (xiaomi-latte)
![]() 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 | Android |
Original version | 5 |
postmarketOS | |
Category | testing |
Pre-built images | no |
postmarketOS kernel | 6.12.0 |
Unixbench Whet/Dhry score | 0.0 |
Flashing |
Broken |
---|---|
USB Networking |
Partial |
Internal storage |
Works |
Battery |
Works |
Screen |
Works |
Touchscreen |
Works |
Stylus |
No data |
Multimedia | |
3D Acceleration |
Works |
Audio |
Partial |
Camera |
Broken |
Connectivity | |
WiFi |
Works |
Bluetooth |
Works |
GPS |
No data |
Miscellaneous | |
FDE |
No data |
USB OTG |
Works |
Sensors | |
Accelerometer |
Works |
Ambient Light |
Works |
Proximity |
No data |
Hall Effect |
No data |
Power Sensor |
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