Skills von pixel: security/spycheck software-development/android-debugging-from-termux
This commit is contained in:
@@ -49,6 +49,7 @@ Install MVT into its own venv and check app IDs against the IOCs right away (wor
|
||||
| `/system/bin/settings list` | ❌ often empty | secure/global/system reads require perms |
|
||||
| `/system/bin/content query` | ❌ broken via `/bin/sh` | fix: call `app_process /system/bin com.android.commands.content.Content …` with `CLASSPATH=/system/framework/content.jar`, but READ_CONTACTS still required |
|
||||
| `adb` (client) | ✅ works | client is fine; target server is what you connect to |
|
||||
| `/system/bin/am start` | ❌ denied | runs as com.android.shell and does not match the app uid. Use `termux-am` instead: it needs Termux's am socket server (`$PREFIX/../apps/com.termux/termux-am/am.sock`); if the socket is missing, fully exit and restart the Termux app. `termux-share` (Termux:API) works without the socket but cannot preset intent extras. |
|
||||
|
||||
Rule: use ABSOLUTE paths for any /system/bin tool. The Termux PATH is a lie.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user