Download mobile/scripts/android-dbg.sh from Anirudh1950/MentraOS: direct link, hf CLI and curl.
- Browser
- Download file 294 Bytes
-
https://huggingface.co/Anirudh1950/MentraOS/resolve/main/mobile/scripts/android-dbg.sh
- Command line
-
hf download hf://Anirudh1950/MentraOS/mobile/scripts/android-dbg.sh
-
curl -L -o android-dbg.sh https://huggingface.co/Anirudh1950/MentraOS/resolve/main/mobile/scripts/android-dbg.sh
294 Bytes
| adb reverse tcp:8081 tcp:8081 | |
| adb devices -l | |
| # then watch for it bouncing: | |
| while true; do adb devices; sleep 1; done | |
| # cpu usage: | |
| adb shell top -H -p $(adb shell pidof com.mentra.mentra) | |
| # memory usage: | |
| adb shell dumpsys meminfo com.mentra.mentra | |
| adb shell input keyevent 82 |