Android O1 VTS测试方法

一,VTS测试环境的配置

1.Install Python development kit:

$ sudo apt-get install python-dev

2.Install Protocol Buffer tools (for Python):

$ sudo apt-get install python-protobuf

$ sudo apt-get install protobuf-compiler

3.Install Python virtual environment-related tools:

$ sudo apt-get install python-virtualenv

$ sudo apt-get install python-pip

二,VTS测试方法

  1. MTK User load boot up to home screen
    开机到主界面
  2. Please enable OEM unlocking in settings
    打开开发者选项把OEM unlocking 打开
  3. Please enable USB debugging in settings
    把USB debugging打开
  4. Press Volume up key + power key into fastboot mode
    按音量加键和开机键进入 fastboot模式
  5. Connect phone to PC, input “fastboot flashing unlock” / “fastboot oem unlock”
    连接电脑进入cmd 输入命令 fastboot flashing unlock或fastboot oem unlock
  6. fastboot flash system system.img
    然后输入命令fastboot flash system + system.img的路径
    eg: fastboot flash system d:\Users\ system\system_aosp_arm_a_20180205.img
    刷对应的安全补丁对应的system.img
  7. fastboot reboot
    最后敲命令fastboot reboot 重启样机

三,VTS测试命令

VTS测试两项:

run vts
run cts-on-gsi

你可能感兴趣的:(GMS)