Android/iOS
http://selendroid.io/
http://appium.io/
https://github.com/appium/sample-code/tree/master/sample-code/examples
adb devices
adb ls /sdcard
adb push foo.zip /sdcard/Download/ # file
adb push . /sdcard/Download/NewFolder # folder
adb pull -a /file_on_phone # -a: preserve file timestamp and mode
https://developer.android.com/studio/command-line/dumpsys.html#meminfo
adb shell dumpsys meminfo # http://i.imgur.com/DKsJ1Cb.png
adb shell getprop ro.build.ab_update # check if dual boot partition
https://miuiver.com/how-to-flash-twrp/
apt install fastboot
fastboot devices
fastboot flash recovery twrp.img
fastboot reboot # hold [Vol-Up]
http://www.miui.com/unlock/index.html
设置——更多设置——开发者选项——设备解锁状态
Down+Power:
fastboot oem edl
fastboot oem edl-reboot
Clear partions & /data: https://zhuanlan.zhihu.com/p/413293727
ROMs: https://xiaomirom.com/series/
Fix boot hang: https://topjohnwu.github.io/Magisk/install.html # .apk->.zip; twrp->install
see
appium
abovehttps://workflow.is/docs/taking-advantage-of-web-apis
on multiple devices: delete old config and scan new qr code at the same time
Last modified 5mo ago