Android adb shell
文摘 Android MediaTek 2020-02-1 阅读:9364
MTK adb 进入工程模式:
adb shell am start -n com.mediatek.engineermode/.EngineerModemtklogger:
adb shell am start -n com.mediatek.mtklogger/com.mediatek.mtklogger.MainActivityandroid 设置主页面:
adb shell am start com.android.settings/com.android.settings.Settingsandroid launcher3:
shell am start -n com.android.launcher3/com.android.launcher3.Launcher截屏:
adb shell /system/bin/screencap -p /storage/sdcard0/001.png 打开Show taps和Pointer location([显示点按操作反馈]和[指针位置])
adb shell settings put system show_touches 1
adb shell settings put system pointer_location 1MTK平台 adb shell Recovery:
1.升级包放至/sdcard/update.zip
adb shell "echo \"--update_package=/sdcard/update.zip\" > /cache/recovery/command"
adb reboot recovery2.查看Recovery log:
adb pull /cache/recovery/ d:\log\MTK平台 adb shell 恢复出厂设置:
adb shell "echo \"--wipe_data\" > /cache/recovery/command"
adb reboot recoveryadb shell 设置状态栏跑秒:
settings put secure clock_seconds 1通过adb命令打开应用
1、查看已安装应用命令
adb shell pm list packages2、查找某个特定应用包名
adb shell pm list packages "特定字符"3、查看某个应用的详细信息
adb shell dumpsys package 包名
adb shell dumpsys package com.nextdoordeveloper.miperf.miperf4、启动应用
adb shell am start 包名/activity
例:adb shell am start com.nextdoordeveloper.miperf.miperf/.MainActivity
查看eMMC和DDR的工作频率
eMMC:
adb shell cat /sys/kernel/debug/mmc0/clockDDR:
adb shell cat /sys/bus/platform/drivers/emi_clk_test/read_dram_data_ratedvfsrc_dump:
cat /sys/devices/platform/soc/10012000.dvfsrc/helio-dvfsrc/dvfsrc_dump
搜索文件不报错:
grep "abcd" / -irl 2>/dev/null
共0条评论
作者
Pixiv日榜Top50