vts testing process

Test conditions:
1. Delivery user version
2.selinux: the Enable
3. connect the ADB, Stay Awake
Key 4. ZTE application programming. Replace the corresponding img
5. The external network environment
6.adb 1.0.39 and above, vts special
ATV9 test preparation (normal + fastboot alternative preparation environment image img):
· Normal preparation environment
Language: English-UN
wireless network: Test machine & board are required to connect to external networks
vpn wireless account: ASUs vpn password: 1qaz2wsX administrator @ Zheng Zhi
Hong Kong tunnel wireless account: android_g5 Hong Kong tunnel code: 87654321 administrator @ Tan Mong
Google account:
account: ztestbcts password: 1qaz2wsX
all boot wizard pop-up permissions apply, shall be opened, agreed.
--- end --- >> Power Wizard to open the debugging the USB
Setting the About --- --- >> >> Build (click below 7 developers get permission) --- >> Return to the previous --- >> {developer} --- >> stay awake && usb debugging ( && remain awake


============== I am dividing line ===============
change the configuration CTSEnable = 1 (restart to take effect): Installation Zheng boss Configure gadgets ProductCfgTool.apk Note: U disk copy && apk have permission to install at selinux permissive
guide key: widevine, dhcp, pleady key .
A key command (created in the u disk cts / directory, put the key)
, the key principle on burning please read 'a key command and script writer'
cp / mnt / media_rw / 363A-448D / cts / .zip / && CD Data / Data keys.zip the unzip && && && the unzip out.zip CD / Data / Burn Keys && the chmod 777 && ./burn_hdcp.sh ./burn_widevinekey.sh widevinekeybox_zl && && && ./burn_playready.sh CD / Data / OUT && echo 1> / sys / class / unifykeys / attach && echo "hdcp22_fw_private"> / sys / class / unifykeys / name && dd if = hdcp22_fw_private.




Selinux test set-top box should be in getenforce: Enable state
Alternatively · fastboot img mirror
NOTE: Alternatively img person from the company interfaces
the serial interface:
into uboot, enter the fastboot
the adb the fastboot tool directory:
the fastboot Flashing UNLOCK
the fastboot Flashing unlock_critical
the fastboot Flash vbmeta / Home / cts12 / the CTS / CTS-ON-GSI / vbmeta.no.chain.partition.img
the fastboot System ERASE
the fastboot Flash System /home/cts12/CTS/cts-on-gsi/system.20190505.img
the fastboot reboot
last check:
network outside the network shall ok (linux && testing machine set-top box) through www.baidu.com of ping to
tester device should be able to detect the adb STB device
to be tested should be in a set-top box selinux getenforce: Enable status
on test:
entering test tool directory, a test is performed command, for example:
Alec framework01 @: ~ / the CTS / VTS / Android-VTS / Tools $ ./vts-tradefed
VTS-TF> RUN -s VTS 003

如有异常,请见GMS认证Q&A综合 文档,如果文档中无你的问题,可以向@吴职钦 @郑智 或者开发经理咨询。

Guess you like

Origin www.cnblogs.com/houser0323/p/10962962.html
Recommended