1. CTSV安装
adb install -g CtsVerifier.apk
adb shell appops set com.android.cts.verifier android:read_device_identifiers allow
adb shell appops set com.android.cts.verifier MANAGE_EXTERNAL_STORAGE 0
adb shell settings put global hidden_api_policy 1
2. SMR测试内容
CTS: run cts -m CtsSecurityTestCases
GTS: run gts-smr
STS: run sts-dynamic-incremental
BTS
另外需要注意
ro.build.version.base_os的值必须是 approved new device或 MR 的 fingerprint, 不能是之前 SMR的 fingerprint | 1.adb shell getprop ro.build.version.base_os取得 base_os fingerprint 2.确认 base_os fingerprint之前有被 approved 3.确认 base_os fingerprint版本不是 SMR |
ro.product.first_api_level 在软体中必须设置 | 1.adb shell getprop ro.product.first_api_level 2.结果不为空 |
3. S+T项目VTS测试中,gsi刷机命令
打开OEM unlock
adb reboot bootloader
fastboot flashing unlock
fastboot flash vendor_boot vendor_boot-debug.img
fastboot reboot fastboot
fastboot flash system system.img
fastboot reboot