常用命令

adb shell am start -a android.intent.action.CALL -d tel:555-5555
mount -o rw,remount /dev/block/platform/msm_sdcc.1/by-name/system /system
adb shell service call phone 1 s16 "%23%23%23%231111%23"
adb shell am start -a android.intent.action.DIAL
adb shell am start -a android.intent.action.CALL

adb shell service call phone 1 s16 "%23%23%23%231111%23"

adb shell am start -a android.intent.action.CALL tel:"%23%23%23%231111%23"

adb shell am start -a android.intent.action.DIAL tel:"%23%23%23%231111%23"
adb shell am start -a android.intent.action.DIAL -d tel:"%23%23%23%231111%23"

adb shell am start -S com.lenovo.factorymode/.FactoryMode
adb shell am start -S com.huaqin.factory/.ControlCenterActivity

adb shell dumpsys activity services
adb shell dumpsys activity activities

adb shell input keyevent 18 18 18 18 KEYCODE_NUMPAD_1 KEYCODE_NUMPAD_1 KEYCODE_NUMPAD_1 KEYCODE_NUMPAD_1 18

adb shell service check phone

if [ "$(adb shell dumpsys power | grep mScreenOn= | grep -oE '(true|false)')" == false ] ; then
echo "Screen is off. Turning on."
adb shell input keyevent 26 # wakeup
adb shell input touchscreen swipe 930 380 1080 380 # unlock
echo "OK, should be on now."
else
echo "Screen is already on."
echo "Turning off."
adb shell input keyevent 26 # sleep
fi

git@172.27.64.66:daqi.sun/lenovosmartassistant.git

wsdl2h.exe -c -o myService.h http://120.24.237.5:8888/Services/SoftwareVersionService.svc?wsdl
wsdl2h.exe -o acd123.h http://localhost:51701/Service.svc?wsdl -t
wsdl2h.exe -o DeviceService.h http://120.24.237.5:10072/services/DeviceService?wsdl
soapcpp2 -1 -C -L -i -I ..\\..\\import *.h
soapcpp2 -1 -C -L -x -i -I ..\\..\\import acd123.h
soapcpp2 -1 -S -L -x -i -I ..\\..\\import acd123.h


wsdl2h.exe -o DeviceService.h -t typemap.dat http://120.24.237.5:10072/services/DeviceService?wsdl
soapcpp2 -C -L -x -j -I ..\\..\\import DeviceService.h

native2ascii inputfile outputfile
native2ascii -reverse inputfile outputfile

+ stdsoap2.h,stdsoap2.cpp,
#include "soapBasicHttpBinding_USCOREIWcftestProxy.h"
#include "BasicHttpBinding_USCOREIWcftest.nsmap"

unicode:
native2ascii resource_zh_CN..properties teme.properties

wsdl2h.exe -o -t typemap.dat TestService.h http://localhost:8080/Lenovo_Smart_Assistant_Web/services/TestService?wsdl

"D:\Microsoft Visual Studio 12.0\Common7\Tools\vsvars32.bat"
nmake NEW_COMPILER=1 MY_STATIC_LINK=1

gsoap_2.8.261
http://svckb.lenovo.com/download/MBG Smartphone/Images/S90-A/S90-A_USR_S237_1510211011_Q2039.1_ROW/QCN_S90-A_USR_S237_1510211011_Q2039.1_ROW.7z?_dntoken_=st=1450075823~exp=1452667823~acl=/*~hmac=ee97d4bd6def8631bddd57f934bcebde97e8dd02d1bff8d1c7795e3b2c7c3860
http://120.24.237.5:10080/download/MBG%20SmartTool/LenovoSmartTool/BrickConfig.xml

E:\\LenovoAssistant\\src\\VibeRomFlashV2\\VibeUIFlashV2\\VibeRomFlash\\Debug\\QDowloader_0.0.1.21\\QDowloader.exe LenovoMBG E:\\QCN_S90-A_USR_S237_1510211011_Q2039.1_ROW\\factoryimg\\prog_emmc_firehose_8916.mbn

http://svckb.lenovo.com/download/MBG Smartphone/Images/S90-A/S90-A_USR_S237_1510211011_Q2039.1_ROW/gsoap_2.8.261.zip?_dntoken_=st=1450075823~exp=1452667823~acl=/*~hmac=ee97d4bd6def8631bddd57f934bcebde97e8dd02d1bff8d1c7795e3b2c7c3860

7zr x "*.7z" -y -aoa -o"E:\CCCCC"
C:\\Users\\Administrator\\Desktop\\bin\\7za.exe l E:\\gsoap_2.8.26.zip -r-
7za x "E:\gsoap_2.8.26.zip" -y -aoa -o"E:\CCCddddddCC"
C:\Users\Administrator\Desktop\bin\7za.exe x E:\gsoap_2.8.26.zip -y -aoa -oE:\CMDSqweqwe
C:\Users\Administrator\Desktop\bin\7za.exe l E:\gsoap_2.8.26.zip -r-

C:\Users\Administrator\Desktop\bin\7za.exe x C:\Users\Administrator\Desktop\QDowloader_0.0.1.21.zip -y -aoa -oC:\Users\Administrator\Desktop

java -jar mybatis-generator-core-1.3.0.jar -configfile D:\test\generatorconfig.xml -overwrite
java -jar ibator.jar -configfile ibatorConfig.xml -overwrite >>log.log

cmd.exe /c rd /s /q \"%s\"

强命名程序集SN.exe:
创建一个新的随机密钥对: sn -k keyPair.snk
从 keyPair.snk 中提取公钥并将其存储在 publicKey.snk 中:sn -p keyPair.snk publicKey.snk
显示公钥和 publicKey.snk 中包含的公钥的标记:sn -tp publicKey.snk

定义强命名程序集--程序集中加入:[assembly:AssemblyKeyFile("keyPair.snk")]

注册到GAC: C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\gacutil.exe /i *.dll
从GAC卸载: C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\gacutil.exe /u *.dll


生成:sn -k keyfile.snk 公钥与私钥对
抽取公钥:sn -p keyfile.snk public.snk 从keyfile中抽取公钥保存到public.snk文件中,以对程序集进行迟签名
跳过验证:sn -Vr assembly 对assembly在开发用机上进行跳过验证处理,该assembly不是已签名的
签名:sn -r assembly keyfile.snk 对assembly 进行迟签名,这一步是在发布之前做
取消跳过验证:sn -Vu assembly 对assembly在开发用机上取消跳过验证,该assembly这时是已签名的
或取消所有:sn -Vx 取消所有验证

 

posted @ 2016-02-01 14:38  Liao-Leo  阅读(276)  评论(0编辑  收藏  举报