Google Pixel 4a (google-sunfish)
Appearance
| This device is supported as part of a generic port. Refer to Qualcomm 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) |
| 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 |
|
| 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
|
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
|
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
|
| 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)
- Aelin (Notes: Mainline fun)
- Bastindo (Notes: Daily driver, on stock Android 13)
- BenWolsieffer
- Choc (Notes: daily driver, running grapheneOS)
- CosmicPro543 (Notes: PostMarketOS with Broken Screen)
- Cotequinho (Notes: Faulty earpiece proximity sensor, degraded battery life. Installed pmOS for testing purposes.)
- Debiansh (Notes: Notes: Possible future test subject, daily driver, bootloader unlocked, running GrapheneOS)
- Ejona (Notes: x3. Daily driver using LineageOS)
- Eriki73 (Notes: Daily-driving with Android 13)
- Ettucompute (Notes: Backup with stock Android installed)
- FallenRiteMonk (Notes: LineageOS)
- Fell (Notes: Stock Android 13)
- Floppydisk (Notes: Daily driver)
- Fludix (Notes: Available for testing!)
- Gbhdrew (Notes: Can test in the future)
- Gdstr (Notes: pmOS, available for testing)
- Interstellar-Column (Notes: LineageOS)
- Iramosu (Notes: LineageOS)
- JIaxyga (Notes: 6/128 Broken touchscreen)
- KernelKnut (Notes: PostmarketOS, available for testing)
- Minosimo (Notes: x2 One for experimentation)
- Nobodywasishere
- Segfault
- 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).