This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # should works on any cloud-init enabled hypervisor (openstack.. ) | |
| # start from a ubuntu minimal install | |
| # we need to shrink down the used space to move it in a tmpfs of 700MB | |
| # make sure we are on the highest kernel, so we can delete all the others ... | |
| sudo apt update && sudo apt upgrade -y && reboot | |
| # ... reconnect | |
| sudo apt install lsof |