Command Reference

Command Reference

This page contains a list of commands without much explanation, but for easy copy and pasting.

Init AOSP development environment for the training:

. build/envsetup.sh
lunch aosp_cf_x86_64_auto-trunk_staging-userdebug

Cuttlefish commands (See Cuttlefish: Restart and reset):

cvd_status
stop_cvd
powerwash_cvd

# For the cloud instances:
launch_cvd --gpu_mode=guest_swiftshader \
    --start_webrtc=true \
    -report_anonymous_usage_stats=n \
    --enable-sandbox=false \
    --cpus=8 \
    --display0=width=1920,height=1080,dpi=140

Commands on the Android device (After adb shell):

run-as <package-name> <command> [<args>]

sm   # StorageManager
am   # ActivityManager
pm   # PackageManager

dumpsys [-l]
service [list]
logcat

set-verity-state