Jump to content

Google Pixel 4a (google-sunfish)

From postmarketOS Wiki
Note This device is supported as part of a generic port. Refer to Qualcomm SM7150 (qcom-sm7150) for installation instructions and more information.
Google Pixel 4a
Pixel 4a
Pixel 4a
Manufacturer Google
Name Pixel 4a
Codename google-sunfish
Released 2020
Type handset
Hardware
Chipset Qualcomm Snapdragon 730G (SM7150-AB)
Display 2340x1080 (OLED, 60 Hz, 5.81")
Storage 128 GB (UFS 2.1)
Memory 6 GB (LPDDR4X)
Architecture aarch64
Software
Original software
The software and version the device was shipped with.
Android 10
Extended version
The most recent supported version from the manufacturer.
Android 13
FOSS bootloader partial
postmarketOS
Category testing
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
yes
Generic port Qualcomm SM7150 (qcom-sm7150)
Device package device-qcom-sm7150
Kernel package linux-postmarketos-qcom-sm7150
Features
Flashing
Whether it is possible to flash the device with pmbootstrap flasher.
Works
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Works
Internal storage
eMMC, SD cards, UFS...
Works
Battery
Whether charging and battery level reporting work.
Partial
Screen
Whether the display works; ideally with sleep mode and brightness control.
Works
Touchscreen
Broken
Multimedia
3D Acceleration
Works
Audio
Audio playback, microphone, headset and buttons.
Untested
Camera
Untested
Camera Flash
Untested
Connectivity
WiFi
Works
Bluetooth
Works
GPS
Untested
NFC
Near Field Communication
Untested
Modem
Calls
Works
SMS
Works
Mobile data
Works
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Partial
USB OTG
USB On-The-Go or USB-C Role switching.
Works
Fingerprint
Fingerprint reader.
Broken
Sensors
Accelerometer
Handles automatic screen rotation in many interfaces.
Untested
Magnetometer
Sensor to measure the Earth's magnetism
Untested
Ambient Light
Measures the light level; used for automatic screen dimming in many interfaces.
Untested
Proximity
Untested
Haptics
Untested
Barometer
Sensor to measure air pressure
Untested
U-Boot
Primary Bootloader
Whether it is possible to replace stock bootloader with U-Boot.
Broken
Secondary Bootloader
Whether it is possible to chainload U-Boot from stock bootloader.
Works
Mainline
Whether latest upstream versions of U-Boot are not broken and it is possible to use them.
Works
Internal Storage
Whether it is possible to boot from internal storage (e.g. eMMC or UFS).
Works
USB Host
Whether it is possible to boot from a USB storage or connect a keyboard.
Partial
USB Peripheral
Whether it is possible to use device as a peripheral in U-Boot, e.g. for fastboot mode.
Works
Display
Works
Buttons
Whether it is possible to navigate in boot menu or grub with volume and power buttons.
Works

Contributors

Users owning this device

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.

Installation

See Generic SM7150 (qcom-sm7150).

See also