Skip to content

Pixel device preparation

This section details the preparation steps required for Google Pixel Android devices before automated testing.

Pixel phones have no accidental touch protection setting, and the Samsung-only steps (software update service, SMS input mode) do not apply. Automatic system updates are turned off by hand in step 13.

Checklist

Before Prepare, by hand:

  1. Enable Developer Options and turn on USB debugging.
  2. Turn on Stay awake and Disable adb authorization timeout.
  3. Turn off Automatic system updates.
  4. Set the screen lock to None: Prepare does not change it.

Connect the phone to the Test Node, accept Allow USB debugging, and complete its Mobile ID on the Mobile ID's page: a descriptive name and the real MSISDN, National Format, IMSI and IMEI (Phone Preparation).

Run Prepare from the Mobile ID's page (Phone Preparation). It applies the steps marked Done by Prepare below and emails you the result of each step.

After Prepare, by hand:

  1. Erase the remaining call forwarding with ##002# (Disable Call Forwarding Settings).
  2. Do any step that the Prepare email lists as failed: each step marked Done by Prepare has a Set it by hand section for this.

Printable checklists for all brands (PDF)

1. Unlock Screen

Manual step

Prepare does not change this setting. Set it by hand.

  1. Open Settings.
  2. Tap Security & privacy.
  3. Tap Device unlock (Android 13: Device lock).
  4. Tap Screen lock and choose None.

Choose a screen lock with None as the current screen lock

2. Enable Developer Options

Manual step

Prepare does not change this setting. Set it by hand before you run Prepare.

  1. Open Settings.
  2. Go to About phone.
  3. Tap Build number 7 times.
  4. Enter the device PIN, pattern, or password if prompted.
  5. Return to Settings.
  6. Go to System.
  7. Confirm that Developer options is now visible.

After Developer Options is visible, continue with Check if Developer Options is Enabled to enable USB debugging and the required automation settings.

3. Check if Developer Options is Enabled

Manual step

Prepare does not change this setting. Set it by hand before you run Prepare.

Enabling USB Debugging in Pixel Devices

If Developer options is not visible yet, complete Enable Developer Options first.

  1. Open Settings.
  2. Go to System → Developer options.
  3. Ensure Developer options is enabled.
  4. In Developer options, make sure the following are enabled:
    • Use developer options – ON (the switch at the top)
    • USB debugging – ON
    • Stay awake – ON
    • Disable ADB authorization timeout – ON

      On Android 11+, this prevents ADB access from expiring after 7 days of inactivity.

Use developer options and Stay awake on USB debugging and Disable adb authorization timeout on

4. Enable Stay Awake

Manual step

Prepare does not change this setting. Set it by hand before you run Prepare.

The Stay Awake feature keeps the screen on while the device is charging, which is essential for automated testing to prevent the screen from locking during test execution.

Steps

  1. Open Settings.
  2. Go to System.
  3. Tap on Developer options.
  4. Find the Stay awake option.
  5. Toggle it to the ON position.

When enabled, this setting prevents the device screen from turning off while connected to a charger. This is particularly important during automated testing as it ensures continuous interaction with the device without interruptions from screen timeouts.

5. Disable Adb Authorization Timeout

Manual step

Prepare does not change this setting. Set it by hand before you run Prepare.

Disabling the ADB authorization timeout prevents the device from automatically revoking ADB authorization, which is essential for maintaining a continuous debugging or automation session.

Steps

  1. Open Settings.
  2. Go to System.
  3. Tap on Developer options.
  4. Find Disable adb authorization timeout.
  5. Turn it on.

Disable adb authorization timeout on in Developer options

With this option on, the phone keeps the USB debugging authorization of the Test Node even when it has not been connected for 7 days, so the Test Node does not need to be authorized again.

6. Turn Off Connections

Done by Prepare

Prepare applies this setting automatically.

Set it by hand (only if Prepare reports this step as failed)
  1. Open Settings.
  2. Tap on Network & internet.
  3. Tap Internet.
  4. Turn Wi-Fi off.

Prepare turns Wi-Fi off and airplane mode off on every Android phone. Test steps that need Wi-Fi switch it on themselves.

7. Airplane Mode

Done by Prepare

Prepare applies this setting automatically.

Set it by hand (only if Prepare reports this step as failed)

Airplane mode must be off.

  1. Swipe down to open Quick Settings.
  2. Make sure Airplane mode is off.

8. Disable Screen Rotation

Done by Prepare

Prepare applies this setting automatically.

Set it by hand (only if Prepare reports this step as failed)
  1. Swipe down to open Quick Settings.
  2. Tap Auto-rotate to turn it off.

You can also turn off Settings > Display (Android 16: Display & touch) > Auto-rotate screen.

9. Disable Accidental Touch Protection

Google Pixel phones have no accidental touch protection setting, so there is nothing to do in this step.

10. Mute Device

Done by Prepare

Prepare applies this setting automatically.

Set it by hand (only if Prepare reports this step as failed)

Set the ringer to Mute.

Steps

  1. Press a volume button on the side of the phone.
  2. In the volume panel, tap the ringer icon until it shows Mute (the choices are Ring, Vibrate and Mute).

You can also open Settings > Sound & vibration and drag the volume sliders (media, call, ring, alarm) to 0.

Sound & vibration with the volumes at 0

11. Set Time Format to 24 Hours

Done by Prepare

Prepare applies this setting automatically.

Set it by hand (only if Prepare reports this step as failed)
  1. Open Settings.
  2. Tap on System.
  3. Tap Date & time.
  4. Turn off Use locale default.
  5. Turn on Use 24-hour format.

12. Set Timezone

Done by Prepare

Prepare applies this setting automatically.

Set it by hand (only if Prepare reports this step as failed)

To ensure consistent time representation across different test runs, it's important to set the device to use automatic date & time and timezone settings.

Steps

  1. Open Settings.
  2. Go to System.
  3. Tap on Date & time.
  4. Turn on automatic date and time and automatic time zone.

This ensures that the device's time settings are synchronized with network time, providing consistent timestamps for testing and logs.

13. Disable System Auto Update

Manual step

Prepare does not change this setting. Set it by hand before you run Prepare.

Disabling system auto-update prevents the device from automatically updating system components during testing, which could interrupt test execution or change device behavior.

Steps

  1. Open Settings.
  2. Go to System.
  3. Tap on Developer options.
  4. Find Automatic system updates ("Apply updates when device restarts").
  5. Turn it off.

Automatic system updates off in Developer options

Disabling this feature ensures that the device's system components remain consistent throughout the testing process, preventing unexpected changes in behavior that could affect test results.

14. Set SMS App

Done by Prepare

Prepare applies this setting automatically.

Set it by hand (only if Prepare reports this step as failed)

Google Messages – Required Settings for SMS/MMS Test Compatibility (Pixel Devices)

To ensure stable SMS and MMS behavior during testing on Pixel devices, configure the following settings in the Google Messages app:


📩 Enable MMS Auto Download (Normal + Roaming)

  1. Open the Google Messages app.
  2. Tap the profile icon ➔ Messages settings ➔ Advanced.
  3. Enable both options:
    • Auto-download MMS – ON
    • Auto-download MMS when roaming – ON

💬 Turn Off RCS Chats (If Available)

Pixel phones often have RCS chats turned on by default in Google Messages. For testing purposes, RCS must be turned off.

  1. Open the Google Messages app.
  2. Tap the profile icon ➔ Messages settings ➔ RCS chats (called Chat features in older app versions).
  3. Turn off Turn on RCS chats and confirm with Turn off.

🔍 If RCS chats is not shown, RCS is not available on the phone—no further action needed.

15. Prepare Chrome for Development

Done by Prepare

Prepare applies this setting automatically.

Set it by hand (only if Prepare reports this step as failed)

Before running the first automated test, Chrome must be manually opened and prepared on the device to avoid pop-up interruptions and permission blocks.

Manual Preparation Steps

  1. Open the Chrome browser on the target device.
  2. If prompted, accept or decline the following:

    • Welcome screen or initial setup wizard
    • “Set as default browser” prompt
    • Sync with Google Account prompt (select "No Thanks")
    • Terms and conditions (accept if shown)
    • Location, notifications, or other permissions (select "Deny" or "Allow" as needed)
  3. Close any tutorials, tips, or popup cards that may appear.

  4. Once the browser is fully ready and no prompts remain, exit Chrome.

✅ This ensures that the first automated test will execute smoothly without interruptions from UI dialogs or system pop-ups.

16. Disable Call Forwarding Settings

Partly done by Prepare

Prepare erases unconditional call forwarding. Forwarding when busy, unanswered or unreachable is not changed: erase it with Option 1 below.

To reset all Call Forwarding (CF) settings on a device:

Option 1: Using USSD Code

Run the following code in the Phone app dialer:

##002#

This code erases all types of call forwarding. It depends on the network and also removes forwarding to voicemail: - Always forward - Forward when busy - Forward when unanswered - Forward when unreachable


Option 2: Manual Reset on Pixel Devices

If the USSD code does not work on Google Pixel devices, follow these steps to manually disable call forwarding:

Steps:

  1. Open the Phone app.
  2. Open the menu (☰ at the top left; ⋮ at the top right in older versions of the app).
  3. Select Settings.
  4. Tap Calling accounts.
  5. Choose your active SIM.
  6. Tap Call forwarding.
  7. You will see the following options:
    • Always forward
    • When busy
    • When unanswered
    • When unreachable
  8. Tap each one and select Turn off.

⚠️ Ensure that all four call forwarding types are disabled for complete CF removal.


Note

If you are manually controlling the phone for testing purposes, please ensure that all CF settings are returned to default once testing is complete.