android之GMS认证

先说一下,常见的刷机工具:

Rockchip

1.选择软件img文件,确保是user版本

2.选中文件,等待文件加载完毕

3.同时按音量+和开机键

4.loader识别后点击升级

MTK

1.手机需是关机状态

2.刷机要选择firmware update,点击downloader

3.插上手机即可

Spreadtrum

1.选择软件.pac文件

2.点击开始刷机

PhoenixSuit

1.点击image选择软件

2.勾选download,连接手机,识别到设备。

3.点击upgrade

高通机器刷机命令

1.adb devices

2.adb reboot bootloader

3.fastboot devices

4.运行脚本

5.fastboot reboot

展讯和MTK解锁命令

展讯解锁

1.tool--Su welcome

2.source /homeetwtewet/ .bashrdc

3./spreadtrumunlock.sh

4.选择设备

5.输入串号

6.fastboot reboot

展讯加锁

sudo ./fastboot flashing lock_bootloade

MTK解锁

1.adb -s 序列号 reboot bootloader

2.fastboot oem unlock

3.按音量+键

4.fastboot  flash system (GSI 文件)

5.fastboot reboot

下面就是GMS认识的各个测试命令:(CTS/GTS/VTS/STS/GSI/Performance/CTSV)

注:命令不是唯一的,可能会随着软件的升级,命令会有所改变

CTS(测试之前需要拷贝媒体文件和image文件)

1.run cts --skip-preconditions -s 序列号

2.复测 run cts --skip-preconditions -s 序列号 -r (0、1、2.....)

3.多台设备: run cts --skip-preconditions --shards 2 -s 序列号 -s 序列号.....

4.单跑模块:run cts --skip-preconditions -s 序列号  -m 模块

 

GSI(测试之前需要刷gsi文件,拷贝媒体文件和image文件)

1.run cts-on-gsi --skip-preconditions -s 序列号

2.复测 run cts-on-gsi --skip-preconditions -s 序列号 -r (0、1、2.....)

3.多台设备: run cts-on-gsi --skip-preconditions --shards 2 -s 序列号 -s 序列号.....

4.单跑模块:run cts-on-gsi --skip-preconditions -s 序列号  -m 模块

 

GTS(需要在连接外网的电脑上,机器需要连接VPN或者IPV6)

1.run gts -s 序列号

2.复测:run retry -s 序列号 -r (0、1、2.....)

 

VTS(需要在连接外网的电脑上,机器需要连接VPN或者IPV6)

1.run vts -s 序列号

2.复测:run vts -s 序列号 -r (0、1、2.....)

 

STS(需要刷userdebug版本)

注:需要用对应的补丁日期的安装包测试

1.run sts-enubuild

2.run sts-userbuild

 

Performance(需要刷userdebug版本)

1.bash main.sh

2.选择机器序列号

 

CTSV(只列举用到命令的部分)

相机

1.bash camera-format 序列号

2.bash camera-video 序列号

ITS

1.source build/envsetuo.sh

2.python tools/run_all_test.py devices=序列号

camera=0 scerces=0

 

posted @ 2019-02-25 11:44  洁亦楠木  阅读(1745)  评论(1编辑  收藏  举报