Common commands for work

Source: Internet
Author: User
Tags hmac

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 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 # Wakeup
ADB shell input touchscreen swipe 930 380 380 # Unlock
echo "OK, should is on now."
Else
echo "screen was already on."
echo "Turning off."
adb shell input KeyEvent # Sleep
Fi

[Email protected]:d Aqi.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\"

Common commands for work

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.