Android PreTest Flashing and Environment Configuration Guide
How should Android devices be properly flashed and configured before conducting compatibility tests such as CTS, VTS, or GTS? This guide outlines the required procedures for flashing, configuring, and preparing test environments to ensure reliable results and minimize test failures.
1. Flashing Procedure

After selecting the appropriate firmware package, click Download. Then connect the device to the PC using a USB cable. Once power is supplied, the flashing process will start automatically. After the device reboots, perform the necessary settings immediately to prepare the test environment.
2. Testing Protocol
Before initiating any compatibility tests, ensure that:

The device has been reset to factory settings.
The device remains offline (not connected to the internet) during the entire testing process.
3. Test Device Setup & GSI/VTS Flashing
CTS Test Configuration
1. Enable WiFi and connect to a VPNenabled (uncensored) WiFi network.
2. Go to Display > Screen timeout, and set it to 30 minutes.
3. Go to Security > Screen lock, and set it to None.
4. Go to About phone, and tap Build number 7 times to enable Developer options.
5. In Developer options, enable:
Stay awake
USB debugging
GSI/VTS Flashing Commands
Use the following `adb` and `fastboot` commands in sequence:
```bash
adb reboot bootloader
fastboot flashing unlock
fastboot reboot bootloader
fastboot flash vendor_boot vendor_bootdebug.img Required for VTS
fastboot reboot fastboot
fastboot flash system gsi.img
fastboot reboot
```
4. Common Issues & Troubleshooting
Always conduct initial tests on devices that have never connected to the internet, or ensure the test is performed before the device goes online.
Common Test Modules & Notes:
Java MIDI Test
Native MIDI Test
May require retries or a device reboot.
Bluetooth Test
Presence Test
Companion Device Service Test
Companion Device Test
Audio TapToTone Test
Set volume to maximum.
Place the display on the main unit and tap the screen to proceed.
CtsPhotoPickerTest [runoncloneprofile] Failure
This module fails due to a removed tool causing an empty package.
It can be skipped during formal testing or passed using the 0315 toolset.


Offline Testing Requirements
Two specific test modules must be run while the device is completely offline using the PAB tool.

GTS Test Date Issue
Ensure the device’s date is set to a time before April 8 (04/08) when running GTS.



5. Test Environment Requirements
Devices must support Bluetooth LE.
Place at least three Bluetooth LE beacons within a 5meter radius of the DUT (Device Under Test) to facilitate LE scanning tests.
These beacons do not require special configuration or signal emission; any type (e.g., iBeacon, Eddystone) is acceptable.
Devices must be provided with a suitable GPS/GNSS signal so that they can receive and calculate location data.
Acceptable signal sources include satellite simulators, outdoor GPS/GNSS repeaters, or placing the device close to a window to acquire real satellite signals.
-
Notification on the Deadline for Google Widevine L1 DRM Certification Applications for Android 11 and 12
Due to Google Widevine‘s latest security and policy upgrades — aimed at ensuring the security and compliance of the digital rights management (DRM) ecosystem — Google has now officially terminated the acceptance of new Widevine L1 DRM certification applications for Android 11, Android 12, and all lower versions. The minimum currently acceptable version is Android 13.2026-08-07
-
Google GMS Certification Software Development Services: Is GMS certification difficult? From testing to debugging, we offer a ‘one-stop, all-inclusive’ service
Android device manufacturers frequently encounter challenges during the Google GMS certification process, particularly regarding the complexity of bug fixes and delays in the certification cycle. As Android versions are updated, certification requirements become increasingly stringent.By offering a comprehensive, one-stop service covering everything from authorisation and testing to bug fixes and final certification.2026-07-23
-
Comprehensive services for Google GMS Keys/Google Keys and Widevine Keys, including application, flashing, splitting, testing, rewriting, and porting
Many enterprises frequently encounter the following issues during mass production, certification application, system upgrades or hardware modifications:
How to apply for Google Keys?
How to complete Widevine L1 certification?
How to securely flash keys onto devices?
Can keys be migrated after replacing the device mainboard?
How to split and import keys in batches for factory mass production?
How to verify whether keys are flashed successfully
Are GMS certification failures related to keys2026-06-13
-
Google Android Digital Car Key Testing and Certification Service
Google Android's Digital Car Key certification is based on the CCC (Car Connectivity Consortium) Digital Key global standard. As a core member of the CCC, Google recognizes this certification and supports product integration with Google Wallet. Additionally, there are specific requirements for in-vehicle systems when used with Google Android devices.2026-04-01
-
Google Works with Google Home/WWGH Certified Service
The “Works with Google Home” (WWGH) certification is an official device compatibility program launched by Google. It is designed to ensure that third-party smart hardware integrates seamlessly with the Google Home ecosystem and supports management via Google Assistant voice control and the Home app.2026-04-01
