Skip to content

Activation

On a rooted device, simply click on start button to activate.

Open a root shell in termux and run the script:

Terminal window
sh /sdcard/Android/data/xtr.keymapper/files/xtMapper.sh

Use start button to start/stop service. When service is running, drag down notification panel and click on the notification to launch editor.

Since v2.1.2 XtMapper supports non-rooted devices. Install Shizuku and authorize XtMapper from Shizuku app. https://shizuku.rikka.app
Enable Use Shizuku in XtMapper Settings > Advanced.

In Android, for security reasons user apps are not allowed to access system APIs required for injecting motion (touch) events. Or to read raw input events from the kernel’s evdev.
The script executes Xtmapper remote service with higher privileges (adb shell / root).
The user app (XtMapper) communicates with remote service through Android binder/AIDL interface for IPC.