Google Pixel 4a (google-sunfish): Difference between revisions
Appearance
Created page with "{{Infobox device | manufacturer = Google | name = Pixel 4a | codename = google-sunfish | image = File:CHANGE_ME_TO_DEVICE_CODENAME.jpg | imagecaption = CHANGE_ME | releaseyear..." |
uboot |
||
(25 intermediate revisions by 7 users not shown) | |||
Line 3: | Line 3: | ||
| name = Pixel 4a | | name = Pixel 4a | ||
| codename = google-sunfish | | codename = google-sunfish | ||
| image = File: | | image = File:Pixel4aSunfish.jpg | ||
| imagecaption = | | imagecaption = Pixel 4a | ||
| releaseyear = 2020 | | releaseyear = 2020 | ||
| originalsoftware = Android 10 | | originalsoftware = Android | ||
| chipset = Qualcomm Snapdragon 730G SM7150-AB | | originalversion = 10 | ||
| chipset = Qualcomm Snapdragon 730G (SM7150-AB) | |||
| cpu = Kryo 470 | | cpu = Kryo 470 | ||
| gpu = Adreno 618 | | gpu = Adreno 618 | ||
Line 14: | Line 15: | ||
| memory = 6 GB | | memory = 6 GB | ||
| architecture = aarch64 | | architecture = aarch64 | ||
| type = handset | |||
<!-- the following status_* questions should be answered with Y for yes, P for partial, N for no, - for N/A or unavailable, or left blank for untested or unknown --> | <!-- the following status_* questions should be answered with Y for yes, P for partial, N for no, - for N/A or unavailable, or left blank for untested or unknown --> | ||
| status_usbnet = | | status_usbnet = Y | ||
| status_flashing = | | status_flashing = Y | ||
| status_touch = | | status_touch = N | ||
| status_screen = | | status_screen = Y | ||
| status_wifi = | | status_wifi = Y | ||
| status_xwayland = | | status_xwayland = Y | ||
| status_fde = | | status_fde = P | ||
| status_mainline = | | status_emmc = Y | ||
| status_battery = | | status_mainline = Y | ||
| status_3d = | | status_battery = P | ||
| status_3d = Y | |||
| status_audio = <!-- Using the device's speakers/headphone jack works --> | | status_audio = <!-- Using the device's speakers/headphone jack works --> | ||
| status_bluetooth = | | status_bluetooth = Y | ||
| status_camera = <!-- Taking photos and videos works. --> | | status_camera = <!-- Taking photos and videos works. --> | ||
| status_gps = <!-- The Global Positioning System sensor works. --> | | status_gps = <!-- The Global Positioning System sensor works. --> | ||
| status_mobiledata = | | status_mobiledata = Y | ||
| status_sms = | | status_sms = Y | ||
| status_calls = | | status_calls = Y | ||
| status = <!-- Text displayed in the "not booting" table on the Devices page , e.g "kernel compiles, doesn't boot" --> | | status = <!-- Text displayed in the "not booting" table on the Devices page , e.g "kernel compiles, doesn't boot" --> | ||
| status_otg = | | status_otg = Y | ||
| status_nfc = <!-- Near-Field Communication (NFC) works --> | | status_nfc = <!-- Near-Field Communication (NFC) works --> | ||
| status_usba = | | status_usba = - | ||
| status_hdmidp = | | status_sdcard = - | ||
| status_keyboard = | | status_hdmidp = - | ||
| status_touchpad = | | status_keyboard = - | ||
| status_irtx = | | status_touchpad = - | ||
| | | status_irtx = - | ||
| status_irrx = - | |||
| status_stylus = - | |||
| status_accel = <!-- The sensor that measures proper acceleration works --> | | status_accel = <!-- The sensor that measures proper acceleration works --> | ||
| status_magnet = <!-- Magnetometer works --> | | status_magnet = <!-- Magnetometer works --> | ||
Line 48: | Line 53: | ||
| status_barometer = <!-- Barometer works --> | | status_barometer = <!-- Barometer works --> | ||
| status_powersensor = <!-- Power sensor works --> | | status_powersensor = <!-- Power sensor works --> | ||
| status_fossbootloader = | | status_ethernet = - | ||
| | | status_fossbootloader = P | ||
| status_uboot = Y | |||
| status_uboot_primary = - | |||
| status_uboot_secondary = Y | |||
| | | status_uboot_mainline = Y | ||
| status_uboot_internalstorage = Y | |||
| | | status_uboot_sd = - | ||
| status_uboot_usbhost = | |||
| | | status_uboot_usbperipheral = Y | ||
| status_uboot_screen = Y | |||
}} | | status_uboot_keyboard = - | ||
| status_uboot_buttons = Y | |||
| booting = yes | |||
| packaged = no | |||
}}{{Based on SoC|Qualcomm_Snapdragon_730/730G/732G_(SM7150) |Snapdragon 730G}} | |||
== Contributors == | == Contributors == | ||
* AceOfSpadesProduc100 | * [[User:JIaxyga|JIaxyga]] | ||
* Smaybius (AceOfSpadesProduc100) | |||
== Users owning this device == | == Users owning this device == | ||
{{Device owners}} | {{Device owners}} | ||
== How to enter flash mode == | == 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. | 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 [https://github.com/sm7150-mainline/linux here]. | |||
=== Mainline status === | |||
Feature table for [[Qualcomm_Snapdragon_730/730G/732G_(SM7150)#Mainline|SM7150]] </br> | |||
Device feature table: | |||
{|class="wikitable feature-colors" | |||
! 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 || ? || | |||
|- | |||
| rowspan = 4 | Sound || Cirrus cs35l41 || ? || i2c9 @40 (0xa8c000) | |||
|- | |||
| cs35l41 || ? || i2c9 @41 (0xa8c000) | |||
|- | |||
| rt5514 || ? || i2c2 @57 (@0x888000) | |||
|- | |||
| rt5514 || ? || spi0.0 (0x880000) | |||
|- | |||
| rowspan = 3 | 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 || ? || | |||
|- | |||
| rowspan = 5 | Other || at24 || ? || i2c 2-0050 | |||
|- | |||
| drv2624 || ? || i2c9 @5a (@0xa8c000) | |||
|- | |||
| dummy || ? || i2c 2-0051 | |||
|- | |||
| dummy || ? || i2c 2-0052 | |||
|- | |||
| dummy || ? || i2c 2-0053 | |||
|} | |||
== Installation == | == Installation == | ||
Line 78: | Line 138: | ||
== See also == | == See also == | ||
* [https://www.gsmarena.com/google_pixel_4a-10123.php GSMArena page] | |||
* [https:// | |||
Latest revision as of 17:45, 4 March 2025
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 | 10 |
FOSS bootloader | partial |
postmarketOS | |
Category | testing |
Pre-built images | no |
Mainline | yes |
Flashing |
Works |
---|---|
USB Networking |
Works |
Internal storage |
Works |
Battery |
Partial |
Screen |
Works |
Touchscreen |
Broken |
Multimedia | |
3D Acceleration |
Works |
Audio |
No data |
Camera |
No data |
Camera Flash |
No data |
Connectivity | |
WiFi |
Works |
Bluetooth |
Works |
GPS |
No data |
NFC |
No data |
Modem | |
Calls |
Works |
SMS |
Works |
Mobile data |
Works |
Miscellaneous | |
FDE |
Partial |
USB OTG |
Works |
Sensors | |
Accelerometer |
No data |
Magnetometer |
No data |
Ambient Light |
No data |
Proximity |
No data |
Hall Effect |
No data |
Haptics |
No data |
Barometer |
No data |
Power Sensor |
No data |
Secondary Bootloader |
Works |
---|---|
Mainline |
Works |
Internal Storage |
Works |
USB Host |
No data |
USB Peripheral |
Works |
Display |
Works |
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)
- 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)
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 |