The most used syntax for interacting with applications is :
The most used syntax for interacting with applications is :
```sh
```sh
am <command>
am <command>
```
```
@ -2086,7 +2089,7 @@ adb shell svc wifi disable
If successfully implemented, the output is empty; if not get root privileges to execute this command will fail, output `Killed`.
If successfully implemented, the output is empty; if not get root privileges to execute this command will fail, output `Killed`.
## Brush related commands
## Flashing-Phone related commands
### Restart to Recovery mode
### Restart to Recovery mode
@ -2138,6 +2141,40 @@ Case in Recovery Mode Update:
adb sideload <path-to-update.zip>
adb sideload <path-to-update.zip>
```
```
## Security-related commands
### Enable / Disable SELinux
Enable SELinux
```sh
adb root
adb shell setenforce 1
```
Disable SELinux
```sh
adb root
adb shell setenforce 0
```
### Enable / Disable dm_verity
Enable dm_verity
```sh
adb root
adb enable-verity
```
Disable dm_verity
```sh
adb root
adb disable-verity
```
## More adb shell command
## More adb shell command
Android system is based on Linux kernel, so Linux where many commands in Android also has the same or similar implement, in `adb shell` where you can call. Part earlier in this document have been used in the `adb shell` command.
Android system is based on Linux kernel, so Linux where many commands in Android also has the same or similar implement, in `adb shell` where you can call. Part earlier in this document have been used in the `adb shell` command.