Skip to content

Instantly share code, notes, and snippets.

@tiopex
tiopex / hook_serial_hex.js
Last active April 28, 2026 17:51
UART communication on android using frida
1. Install frida-server https://github.com/frida/frida on android and run as a root
2. install frida-tools on PC: `pip install frida-tools`
3. Get the id of the `com.ayaneo.gamewindow` process which is using UART communication: `frida-ps -U`
4. Run frida: frida.exe -U -p 3942 -l hook_serial_hex.js