Open main menu

CDOT Wiki β

Changes

MAP524/DPS924 Lecture 2

555 bytes added, 21:29, 2 July 2015
adb
adb reboot [bootloader|recovery] - reboots the device, optionally into the bootloader or recovery program
adb reboot-bootloader - reboots the device into the bootloader</pre>
 
== pm ==
 
Short for "Package Manager". This command is on the device, not in your development environment. The adb command does some package management (install/uninstall) but if you want something simple like a list of apps installed you have to use "pm".
 
<pre>$ adb shell
root@generic_x86:/ # pm list packages
package:com.android.customlocale2
[...]
package:com.android.development
</pre>
 
or:
 
<pre>$ adb shell "pm list packages"
package:com.android.customlocale2
[...]
package:com.android.development
</pre>