持續更新 adb常用命令

2021-07-28 19:39:10 字數 1165 閱讀 6513

參考

1. adb reboot                                      #重啟

2. adb reboot bootloader #重啟到刷機模式

3. adb reboot recovery #重啟到恢復模式

4. adb install -r #保留資料快取,重新安裝apk

5. adb uninstall -k #解除安裝apk,但保留資料快取

6. adb shell top #檢視cpu和記憶體

7. adb shell kill [pid] #殺死程序

8. adb remount #將system重新掛載為可讀寫分割槽

9. adb shell cat /data/misc/wifi/*.conf #檢視wifi

10. adb shell monkey -v -p #跑monkey

11. adb wait-for-device - block until device is online

12. adb shell am broadcast -a com.test --es test_string "string" --ei test_int 100 --ez test_boolean true #模擬傳送廣播

13. adb shell logcat -v threadtime -b events #監視裝置發生的事件

14. adb shell lsof -l #df命令磁碟管理 df命令用於顯示磁碟分割槽上的可使用的磁碟空間來自: [

- 15. adb shell /system/bin/screencap -p /sdcard/screenshot.png #截圖

adb shell input keyevent keycode_home

mysql常用命令 持續更新

建表 create table t name bigint 20 not null engine選擇引擎,charest選擇編碼 表改名 alter table old name rename new name 清空表資料 delete from table name 逐條刪除,會寫mysql lo...

linux常用命令 持續更新

linux小白,邊做其他程式設計遇到邊學習。ubuntu獲取root許可權 ubuntu的預設root密碼是隨機的,每次開機都會有乙個新的root密碼。如果想進入到root許可權可以通過以下方法 1.sudo password 2.如果是第一次使用sudo則需要輸入你的使用者密碼,然後終端會提示輸入...

Git 常用命令 持續更新

1.git init 初始化 2.git clone 轉殖 到本地 3.git fetch 從遠端倉庫獲取最新的 4.git pull 把遠端的 更新到本地 5.git add 那本地的 提交到stage中 6.git commit m comments 把stage中的修改 提交到本地倉庫 7.g...