Google Pixel 3a (google-sargo)

From postmarketOS
Jump to navigation Jump to search
Google Pixel 3a
Google Pixel 3a
Google Pixel 3a
Manufacturer Google
Name Pixel 3a
Codename google-sargo
Released 2019
Category testing
Original software Android 9
Hardware
Chipset Qualcomm Snapdragon 670 (SDM670)
CPU Octa-core (2x2.0 GHz 360 Gold & 6x1.7 GHz Kryo 360 Silver)
GPU Adreno 615
Display 1080x2220 OLED
Storage 64 GB
Memory 4 GB
Architecture aarch64
Unixbench Whet/Dhry score 4417.7
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
Works
FDE
Works
Mainline
Partial
Battery
Partial
3D Acceleration
Works
Audio
Broken
Bluetooth
Works
Camera
Broken
GPS
Mobile data
Works
SMS
Works
Calls
Broken
USB OTG
Broken
NFC
Partial
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Barometer
Power Sensor
Misc
Keyboard
Touchpad
USB-A
HDMI/DP
Ir TX
TrustZone
FOSS bootloader



Contributors

Maintainer(s)

Users owning this device

  • Anoraktrend (Notes: Daily driver, bootloader unlocked, Google Edition. Running /e/OS 1.2)
  • Bapt17 (Notes: Daily driver)
  • BlackEyedSquid (Notes: Bootloader unlocked, Google Edition)
  • Eriki73 (Notes: cracked screen)
  • Flamingradian (Notes: PVT 1.0, daily driver + mainlining target)
  • Humanleftswatch (Notes: Daily driver, running LineageOS-microg)
  • Ignapk (Notes: Daily driver)
  • Mint (Notes: Daily driver, running stock ROM, screen shade)
  • Syboxez (Notes: Currently broken)
  • Vipaol (Notes: Daily driver, LOS for microG)


Entering Fastboot

Hold Volume Down and Power until device loads into Fastboot

Fastboot commands

Might be convenient for dual boot

  • fastboot getvar current-slot
  • fastboot set_active a and fastboot set_active b

Installation

You can follow a relatively typical installation, as documented in the Installation guide. However, there is one quirk.

Flashing

If your device has Android 10 or later, you might get the following error when flashing the rootfs:

Sending sparse 'system_b' 1/5 (261014 KB)          OKAY [  9.129s]
Writing 'system_b'                                 FAILED (remote: 'Partition should be flashed in fastbootd')
fastboot: error: Command failed

This error occurs because Android 10 introduced dynamic partitions. There are different ways to flash the rootfs (see Different options of installation), one of which being via fastbootd:

$ fastboot set_active b # Either slot is fine if they both have Android 10+
$ fastboot reboot fastboot
$ fastboot set_active a # Avoid overwriting fastbootd by switching to the inactive slot
$ pmbootstrap flasher flash_rootfs
$ pmbootstrap flasher flash_kernel


Features

Charging

Support for charging was developed by the SDM845 mainlining community, with no thermals.

Display

The panel works. Note that the XL variant has 2 different panels.

Haptics

The Pixel 3a doesn't use SPMI haptics. Instead, it uses the TI DRV2624. There is currently no driver in mainline for this.

Full-disk encryption

Full-disk encryption works without 3D acceleration.

NFC

NFC card detection works. Nothing else was tested.

WiFi

You don't get the same MAC address as on Android, even though it is possible to detect the MAC address that Android uses (somewhere in /sys/firmware/devicetree/base/chosen/cdt/cdb2/wlan_mac1).

Calls

It seems to be possible to initiate calls. However, this is useless because there is no call audio.

Audio

You can get audio over Bluetooth, but this isn't what the feature table entry represents. On-board speakers and the headphone jack currently don't work.

See also