Google Pixel 4a (google-sunfish)

From postmarketOS Wiki
Google Pixel 4a
Pixel 4a
Pixel 4a
Manufacturer Google
Name Pixel 4a
Codename google-sunfish
Released 2020
Category testing
Pre-built images no
Original software Android
Original version 10
Hardware
Chipset Qualcomm Snapdragon 730G (SM7150-AB)
CPU Kryo 470
GPU Adreno 618
Display 5.81 inch 2340x1080 AMOLED
Storage 128 GB
Memory 6 GB
Architecture AArch64
Type handset
This device has been tested with postmarketOS, but its device package has not yet been added to the postmarketOS repositories.
This means that it cannot be selected in pmbootstrap.
Features
USB Networking
Works
Flashing
Works
Touchscreen
Broken
Display
Works
WiFi
Works
FDE
Partial
Mainline
Works
Battery
Partial
3D Acceleration
Works
Audio
Bluetooth
Works
Camera
GPS
Mobile data
Works
Internal storage
Works
SMS
Works
Calls
Works
USB OTG
Works
NFC
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Barometer
Power Sensor
Misc
Built-in DVB
Camera Flash
Haptics
FOSS bootloader
Broken
This device is based on the Snapdragon 730G.
See the SoC page for common tips, guides and troubleshooting steps

Contributors

  • JIaxyga
  • Smaybius (AceOfSpadesProduc100)

Users owning this device

  • AceOfSpadesProduc100 (Notes: LineageOS 20)
  • Bastindo (Notes: Daily driver, on stock Android 13)
  • BenWolsieffer
  • Choc (Notes: daily driver, running grapheneOS)
  • Debiansh (Notes: Notes: Possible future test subject, daily driver, bootloader unlocked, running GrapheneOS)
  • Eriki73 (Notes: Daily-driving with Android 13)
  • Ettucompute (Notes: Backup with stock Android installed)
  • Fell (Notes: Stock Android 13)
  • Floppydisk (Notes: Daily driver)
  • Gbhdrew (Notes: Can test in the future)
  • JIaxyga (Notes: Waiting in the wings (Broken touchscreen))
  • Mariob (Notes: Running Android 14 via CalyxOS ~ Just Black)
  • Minosimo (Notes: x2 One for experimentation)
  • Nobodywasishere
  • Segfault (Notes: Daily driver)


How to enter flash mode

With developer mode, OEM unlocking, and USB debugging enabled, connect the phone to your PC and enter `adb reboot bootloader` in your command line and it'll enter fastboot mode.

Mainline

A work in progress mainline kernel is being developed here.

Mainline status

Feature table for SM7150
Device feature table:

Component Model Status Notes
Display Samsung sofef00 or sofef01 ?
Touchscreen fts N Connected via i2c7 @49 (0xa84000)
Charging USE PMIC ? slg51000-regulator, connected via i2c9 @75 (0xa8c000)
Accelerometer and gyroscope STMicro LSM6DSR ?
Ambient light and proximity sensor AMS TCS3701 ?
Magnetometer STMicro LIS2MDL ?
Haptics/Vibrator Texas Instruments drv2624 ? i2c9 @5a (0xa8c000)
Barometer Bosch BMP380 ?
Sound Cirrus cs35l41 ? i2c9 @40 (0xa8c000)
cs35l41 ? i2c9 @41 (0xa8c000)
rt5514 ? i2c2 @57 (@0x888000)
rt5514 ? spi0.0 (0x880000)
Camera Sony IMX355_s5 ? Front camera
Sony IMX363_s5 ? Rear camera
Qualcomm SOC connections ? qcom,a5@ac00000
NFC st21nfc ? Connected via i2c2 @08 (0x888000)
Fingerprint fp_fpc1020 ?
Other at24 ? i2c 2-0050
drv2624 ? i2c9 @5a (@0xa8c000)
dummy ? i2c 2-0051
dummy ? i2c 2-0052
dummy ? i2c 2-0053

Installation

See also