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

scp -r [email protected]:/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

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 flash boot '/home/pateo/dailybuild/20180402/boot-imx6qp_adb.img'
sudo fastboot flash recovery '/home/pateo/dailybuild/20180402/recovery-imx6qp.img'
sudo fastboot flash bootloader_nor  '/home/pateo/dailybuild/20180402/u-boot-imx6qp.imx'
sudo fastboot flash system /home/pateo/dailybuild/20180202/system.img
sudo fastboot flash resc /home/pateo/dailybuild/20180202/resource.img


进入uboot


刷入3月3日dailybuild boot-imx6qp_adb.img

fastboot flash boot boot-imx6qp_adb.img


15.6的使用

setenv bootargs 'console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:dev=lcd,bpp=32 video=mxcfb2:off video=mxcfb3:off vmalloc=256M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=384M screen_type=15.6 androidboot.selinux=disabled androidboot.dm_verity=disabled quiet'

12.3的使用

setenv bootargs 'console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:dev=lcd,bpp=32 video=mxcfb2:off video=mxcfb3:off vmalloc=256M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=384M screen_type=12.3 androidboot.selinux=disabled androidboot.dm_verity=disabled quiet'

然后保存:
saveenv

sudo fastboot reboot


am broadcast --user all -a pateo.dls.VuiService --es scene dictation
adb logcat -c
adb logcat > hqivoka.txt


adb shell dumpsys activity activities 查看当前的activity

am startservice com.pateo.faw.hqivoka/.service.VoiceService

top -m 10 -t

am broadcast -a com.pateo.faw.login.enterKanzi --es faceid "11" --es colorId "11"
am broadcast -a com.pateo.faw.login.newUserComing --es faceid "11" --es colorId "11"

cd /log/
grep -nri

Log:
IntentFactory
04-02 16:57:36.936 D/DcsSpeekParse(  850): action ::Speak
04-02 16:57:36.937 D/DcsBaseParse(  850): get payload :: key = ai.dueros.device_interface.voice_outputSpeak

04-02 16:57:37.350 D/iVoka   (  850): [ IntentFactory ] : createDcsActionIntent action: pateo.dcs.ivoka.MEDIA_ONLINE_MUSIC_PLAYBACK


猜你喜欢

转载自dengzhangtao.iteye.com/blog/2412865
今日推荐