doc:appunti:android:android_command_line
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:android:android_command_line [2024/08/20 10:22] – [Service] niccolo | doc:appunti:android:android_command_line [2024/08/21 09:43] (current) – [Activity manager] niccolo | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Android Command Line ====== | ====== Android Command Line ====== | ||
| - | ===== Activity manager | + | ===== Android 13 BlackView 5300 Pro ===== |
| - | ===== Service ===== | + | The device was rooted with **Magisk** and the **Termux** app was installed. Every command is intended to be run as //root//. |
| < | < | ||
| + | ps -A | ||
| + | </ | ||
| + | |||
| + | ==== Activity manager ==== | ||
| + | |||
| + | < | ||
| + | am help | ||
| + | Activity manager (activity) commands: | ||
| + | help | ||
| + | Print this help text. | ||
| + | start-activity ... | ||
| + | ... | ||
| + | </ | ||
| + | |||
| + | Not all the activies can be launched from the command line, e.g. the following | ||
| + | |||
| + | < | ||
| + | am start-activity app.lawnchair/ | ||
| + | </ | ||
| + | |||
| + | causes the Lawnchair app dies with a message on the screen **Lawchair has stopped**. Fortunately enough the app restarts automatically. | ||
| + | |||
| + | ==== Service ==== | ||
| + | |||
| + | < | ||
| + | service -h | ||
| Usage: service [-h|-?] | Usage: service [-h|-?] | ||
| | | ||
| Line 11: | Line 37: | ||
| | | ||
| </ | </ | ||
| + | |||
| + | ==== Magisk modules ==== | ||
| + | |||
| + | Magisk modules are installed into **/ | ||
doc/appunti/android/android_command_line.1724142150.txt.gz · Last modified: by niccolo
