reset_density
Restore Android device display density to its original physical default setting. Fixes UI scaling issues by resetting DPI values to factory specifications.
Instructions
Reset density to physical default
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_serial | No |
Implementation Reference
- src/adb_mcp_server/server.py:949-952 (handler)The handler function for the 'reset_density' tool. It resets the Android device's screen density to its physical default by executing the ADB shell command 'wm density reset'. Supports optional device_serial parameter.@mcp.tool() def reset_density(device_serial: str | None = None) -> str: """Reset density to physical default""" return run_adb(["shell", "wm", "density", "reset"], device_serial)