当前位置:首页 » 电脑基础知识

整机开发-最近使用的命令

2018-03-12 17:41 本站整理 浏览(6)

scp -r pateo@10.10.98.53:/home/pateo/文档/documents/ /home/pateo/Documents/
java -jar ./security/signapk.jar ./security/platform.x509.pem ./security/platform.pk8 hqivoka.apk hqivoka-signed.apk
git push origin HEAD:refs/for/master
git pull
git log
git stash save
git fetch
git merge FETCH_HEAD
git stash pop
./gradlew assemble
~/Android/HQIvoka$ git apply --check ../../Downloads/diff/patch
~/Android/HQIvoka$ git apply ../../Downloads/diff/patch
写地址:
nvdata -r pdsn
nvdata -r wifi
nvdata -r btad
nvdata -w ...
git push origin HEAD:refs/for/master
adb shell am start -W  com.pateo.faw.hqivoka/.VoiceActivity;adb logcat | grep "Displayed" 
git mergetool
adb shell am startservice -n com.pateo.faw.hqivoka/.service.WindowService
adb shell pm create-user guest                   创建一个名叫guest的用户
adb shell am switch-user 10                        切换到user-id为10的用户,这个数字与上一条命令的结果相关。切换用户需要等待一下,还会导致几个service crash,暂时不用理会
adb shell am start com.android.settings     启动settings
adb shell am start -a android.intent.action.naviStart  启动导航
adb shell am startservice -n com.pateo.faw.hqivoka/.WindowService
15.6寸大屏在刷机后会出现触摸坐标反向的解决方法。
串口:
otg_control 1
shell:
adb remount
adb push eGTouchA.ini /system/etc/
adb push eGTouchA.ini /data/
进串口
sudo su
minic
用fastboot刷机:
cd /data
rm -r *
reboot
按住shift和>进入fastboot,  输入fastboot,显示设备
ctrl+shift+t ,打开新的命令窗口
sudo fastboot flash system /home/pateo/Downloads/dailybuild/20180202/system.img
等待ok
sudo fastboot  flash resc /home/pateo/Downloads/dailybuild/20180202/resource.img
sudo fastboot reboot
am broadcast --user all -a pateo.dls.VuiService --es scene dictation
adb logcat -c
adb logcat > hqivoka.txt   log输出到文本
adb shell dumpsys activity activities 查看当前的activity