Skip to main content

Android Test and Driver

This page keeps the items useful for hardware verification and driver debugging.

Android Test Application​

Test ItemDescription
LCDSwitch solid colors to check color loss, dead pixels, and backlight
TouchscreenDraw lines to check touch response and coordinate mapping
LEDVerify LED control
BuzzerVerify PWM or GPIO control
BacklightVerify brightness adjustment
KeysVerify independent and power-key events
Battery / ADCCheck sampling and power information
G-sensorCheck sensor driver and HAL
AudioCheck speaker, headphone, MIC, and LINE IN
CameraCheck CSI or USB camera preview
Wi-FiCheck scanning and connection
NetworkCheck Ethernet or Wi-Fi connectivity
UARTShort TX and RX for loopback test
External storage / USB diskCheck TF card and USB disk mounting

Kernel Driver Entries​

  • G-sensor
  • Capacitive touch
  • LCD
  • Keys
  • Wi-Fi / Bluetooth
  • proc filesystem

Common proc Queries​

cat /proc/cmdline
cat /proc/cpuinfo
cat /proc/meminfo
cat /proc/partitions
cat /proc/version
uname -a
ifconfig
ip addr
dmesg

Android Project Practice​

Common customization items include init.rc, boot animation, U-Boot logo, kernel logo, MIPI panel configuration, power-off charging, low-battery precharge, and Android Surface rotation.