doc:appunti:android:android_command_line
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
doc:appunti:android:android_command_line [2024/08/20 10:20] – created 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|-?] | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | ==== Magisk modules | ||
+ | |||
+ | Magisk modules are installed into **/ | ||
doc/appunti/android/android_command_line.1724142046.txt.gz · Last modified: 2024/08/20 10:20 by niccolo