Google Pixel 4a (google-sunfish)
Appearance
This device is supported as part of a generic port. Refer to Generic SM7150 (qcom-sm7150) for installation instructions and more information. |
![]() 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 The software and version the device was shipped with. |
Android 10 |
Extended version The most recent supported version from the manufacturer. |
Android |
FOSS bootloader | partial |
postmarketOS | |
Category | testing |
Mainline Instead of a Linux kernel fork, it is possible to run (Close to) Mainline. |
yes |
pmOS kernel The kernel version that runs on the device's port. |
Mainline 6.17.0-rc7 |
Generic port | Generic SM7150 (qcom-sm7150) |
Device package |
![]() |
Kernel package |
![]() |
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
|
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 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
|
Hall Effect Measures magnetic fields; usually used as a 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 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
|
This device is based on the Snapdragon 730G. See the SoC page for common tips, guides and troubleshooting steps |
Contributors
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)
- CosmicPro543 (Notes: PostMarketOS with Broken Screen)
- 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)
- Fludix (Notes: Available for testing!)
- 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.
Installation
See Generic SM7150 (qcom-sm7150). The boot partition image should be flashed to the super
partition.