--ADB shell command
ADB Devices viewing devices
ADB shell
adb shell "Ls-al/system/bin" >e:\a.txt
SAMPLE_RW 1 SID 13f1e2f4ed814690a918ac85f600458d Brush Device ID
SAMPLE_RW 2 SID view Device ID
ADB shell input Text "[e-mail protected]"
ADB shell input keyevent "" Send event
ADB logcat real-time print logs
ADB logcat-d-V time >e:\aaa.txt
ADB remount re-hangs on root permissions
The supported commands include
adbAmApp_processApplypatchApplypatch_staticAsanAsanwrapperAtraceAudioloopAwkBDtBlkidBmgrBootanimationBuBugreportCatChconCheck_prereqchmodChownCjpegClatdClearClustercluster_get.shcluster_set.shCmpCodecContentCorrupt_gdt_free_blocksCpDalvikvmDateCcdDdDebuggerdDex2oatDexoptDfDhcpcdDjpegDmesgDnsmasqDrmserverDuDumpstateDumpsysE2fsckFindFlash_imageFsck.ext4Fsck_msdosGdbjithelperGdbserverGetenforceGetEventGetpropGetseboolGlgps_nvidiategra2androidgps_select.shGpslogdGrepGsm0710muxdGziphdhdd_cfg.shhdd_fmt.shhdd_init.shHostapdHostapd_cliHotPlugIdIfconfigIftopImeinit_lbh.shInputinput_cfboost_init.shInsmodInstalldInv_self_testIoctlIoniceIpIp6tablesIptablesKeyStoreKeystore_cliKillLinkerlnLoad_policyLogLogcatLogwrapperLsLsmodLsofMake_ext4fsMd5MdnsdMediaMediaServerMkdirMkfs.ext4MkshMkswapMonkeyMountmount_debugfs.shMtk_agpsdMtpdMuxerMvNandreadNdcNetcfgNetdNetstatNewfs_msdosNotifyOatdumpPartedPatchPerfPingPing6PmPngtestPppdPrintenvPsPythonRRacoonRadiooptionsRaydium_selftestReadlinkRebootRecordRecordvideoRecoveryReniceRequestsyncRestoreconRmRm_testRm_ts_serverRmDirRmmodRouteRun-asRunconSample_rwSchedtestSchedtopScreencapScreenrecordScreenshotSDcardSendeventSensorserviceServiceServiceManagerSet_ext4_err_bitset_hwui_params.shset_light_sensor_perm.shSetconsoleSetenforceSetPropSetseboolSettingsSetup_fsSf2ShShowleaseSleepSmdStagefrightStartStopStop_startStreamSurfaceflingerSvcSwapoffSwaponSyncTcTest-wvdrmpluginTinycapTinymixTinyplayToolbox Top Touch uiautomator umount Updater uptime ussr_setup.sh VDC vmstat vold watchprops wipe wlbwservice wm WPA_CLI wpa_supplicant xaplay xargs
App Test first experience Android Test command----ADB common commands