Android Tests and Drivers
Recommended test order
- LCD, HDMI, and backlight.
- Touchscreen and keys.
- Audio playback, recording, and headphone detection.
- Cameras.
- Wi-Fi, Bluetooth, and Ethernet.
- TF card, eMMC, and USB storage.
- UART, I2C, SPI, CAN, GPIO, and PWM.
- Suspend, wake-up, reboot, and long-duration stability.
System information
adb shell cat /proc/cpuinfo
adb shell cat /proc/meminfo
adb shell cat /proc/partitions
adb shell uname -a
adb shell getprop
adb shell dmesg
Display and touch
adb shell dumpsys display
adb shell dumpsys input
adb shell getevent -lp
adb shell cat /proc/interrupts
Audio
adb shell cat /proc/asound/cards
adb shell tinymix
adb shell tinyplay /data/local/tmp/test.wav
adb shell tinycap /data/local/tmp/record.wav
Camera
adb shell dumpsys media.camera
adb shell dmesg | grep -iE "csi|isp|vipp|camera|sensor"
Network
adb shell ip addr
adb shell ip route
adb shell dumpsys wifi
adb shell ping -c 4 <gateway>
Driver configuration checklist
Driver bring-up requires checks at four levels:
- Schematic and power sequence.
- Kernel configuration.
- Device-tree nodes and pinctrl.
- Android HAL, permissions, and service configuration.
The presence of a device node alone does not prove that the function is complete. Verify interrupts, clocks, supplies, data flow, and user-space access.