Google Pixel 4a (google-sunfish)
Appearance
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.
This means that it cannot be selected in pmbootstrap.
![]() Pixel 4a | |
Manufacturer | |
---|---|
Name | Pixel 4a |
Codename | google-sunfish |
Released | 2020 |
Type | handset |
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 |
Software | |
Original software | Android |
Original version The version the device was shipped with. |
10 |
FOSS bootloader | partial |
postmarketOS | |
Category | testing |
Pre-built images Whether pre-built images are available here. |
no |
Mainline Instead of a Linux kernel fork, it is possible to run (Close to) Mainline. |
yes |
Flashing 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 Charging and battery level reporting works |
Partial
|
Screen 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
|
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
|
Sensors | |
Accelerometer Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile |
Untested
|
Magnetometer Sensor to measure magnetism |
Untested
|
Ambient Light |
Untested
|
Proximity |
Untested
|
Hall Effect Also known as flip cover sensor |
Untested
|
Barometer Sensor to measure air pressure |
Untested
|
Power Sensor Sensor to monitor current, voltage and power. Not fuel gauge! |
Untested
|
Secondary Bootloader It is possible to chainload U-Boot from stock bootloader. |
Works
|
---|---|
Mainline Latest versions of U-Boot are not broken and it is possible to use them. |
Works
|
Internal Storage It is possible to boot from internal storage (e.g. eMMC or UFS). |
Works
|
USB Host It is possible to boot from a USB storage or connect a keyboard. |
Partial
|
USB Peripheral It is possible to use device as a peripheral in U-Boot, e.g. for fastboot mode. |
Works
|
Display |
Works
|
Buttons It is possible to navigate in boot menu or grub with volume and power buttons. |
Works
|
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)
- Adrian (Notes: Mainline fun)
- 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)
- Iramosu (Notes: LineageOS)
- JIaxyga (Notes: 6/128 Broken touchscreen)
- Minosimo (Notes: x2 One for experimentation)
- Nobodywasishere
- Segfault (Notes: Daily driver)
- Thewiseguyshivam (Notes: Currently running stock Android)
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 |