Jump to content

Xiaomi Mi Pad (xiaomi-mocha)

From postmarketOS Wiki
Revision as of 14:51, 26 December 2022 by SoySoy (talk | contribs) (Seperate software from version)
Xiaomi Mi Pad
The front of Xiaomi Mi Pad
The front of Xiaomi Mi Pad
Manufacturer Xiaomi
Name Mi Pad
Codename xiaomi-mocha
Released 2014
Hardware
Chipset Nvidia Tegra K1 (T124)
CPU 4x 2.2 GHz Cortex-A15
GPU Nvidia GK20A (192-core Kepler)
Display 1536 x 2048 LCD IPS
Storage 16 GB / 64 GB
Memory 2 GB
Architecture armv7
Software
Original software Android
Original version 4.4.4
postmarketOS
Category testing
Pre-built images no
Mainline partial
Features
Flashing
No data
USB Networking
Broken
Internal storage
No data
SD card
No data
Battery
No data
Screen
Works
Touchscreen
Broken
Multimedia
3D Acceleration
No data
Audio
No data
Camera
No data
Camera Flash
No data
IR TX
No data
Connectivity
WiFi
No data
Bluetooth
No data
GPS
No data
Miscellaneous
FDE
No data
USB OTG
No data
HDMI/DP
No data
Sensors
Accelerometer
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data
Power Sensor
No data

Contributors

  • CEllenvia

Users owning this device


How to enter flash mode

Hold Power + Volume Down until "FASTBOOT" shows on screen

Installation

$ pmbootstrap initfs hook_add debug-shell
$ pmbootstrap install
$ pmbootstrap flasher flash_rootfs --partition userdata # Flashing to the system partition fails with (remote: '(InvalidSize)'), May cause by 2 system partition.

$ pmbootstrap flasher flash_kernel

Situations

Mainline in progress. Based on existing work. [1]

This device comes with a interesting boot package method, which dt.img isn't QCDT style at all. Instead, it just use dtb file as dt.img.

Below are Issues in downstream kernel and only for historical purpose.

after some random defconfig edit, the situation fell back.( w/o debug-shell it will hang up and watchdog will perform reboot) try to fall back to defconfig which cause kernel crash.

the dt.img is still blob[2] (extract from lineage), discussed in matrix and result is that I need a special dtbTool for this device.[3] I dont have experience with this.

Nearly all /sys except /sys/fs will disappear after continue booting with pmos_continue_boot, but it can be remounted.

Screen can work ( tested by cat random to device)

Mainline Status

Function Hardware Status Info
Boot - Y Boot with exists 5.4 fork.
Display Sharp LQ079L1SX01 Y -
Touchscreen Atmel mXT1664T2-C2U/Synaptics ? N There are two kinds of touchscreen, which for my device is mXT1664T2-C2U, and now its broken.
Onscreen RGB LED Texas Instruments(National Semiconductor) LP5521 - -
Backlight LED Texas Instruments LP8556 Y -
Charger IC Texas Instruments BQ24192 - -
Battery Management Texas Instruments BQ27520-G4 - -
Wi-Fi, BT & FM Cypress(Broadcom) CYW4354XKUBG - -
SDCard Onsemi CM1624 - -
GPU NVIDIA GK20A - -
Audio NXP TFA9890 - newly added, cant be found in exists works. https://lore.kernel.org/all/20220602164504.261361-1-amartinz@shiftphones.com/T/

See also

The Kernel Xiaomi Official released: [4]

pmaports!3735 Initial merge request