How to view touch logs on Android?

To view the touch log of an Android device, follow these steps:

  1. Firstly, make sure your Android device is in developer mode. If developer mode is not enabled, you can go to “Settings” -> “About phone”, then tap on “Build number” seven times to unlock developer options.
  2. Open the device’s settings app and navigate to “Developer options”.
  3. In the “Developer Options,” locate and enable the “Pointer Location” or “Show Pointer Location” option. This will display the coordinates of touch points on the screen.
  4. Return to the device’s main screen and open any application or browser.
  5. You will now be able to see the coordinates of the touch points on the screen.

Please note that this method can only display the current touch coordinates and cannot record touch logs. If you need more detailed touch logs, you may need to use adb commands to capture and view the logs. Here are some common adb commands:

  1. adb shell getevent: This command will display touch events on the device in real-time.
  2. The command “adb shell getevent -lt /dev/input/eventX > events.txt” saves touch events to a file named “events.txt”.
  3. The command “adb shell cat /proc/bus/input/devices” displays the list of input devices on the device, allowing you to search for the device number of the touchscreen.
  4. This command captures a screenshot on the device.

Please note that using adb commands requires connecting to an Android device on the computer and having the ADB tool already installed on the computer.

bannerAds