Jump to content

Fairphone 4 (fairphone-fp4)

From postmarketOS Wiki
Revision as of 14:43, 23 April 2023 by Maintenance script (talk | contribs) (rollbackEdits.php mass rollback)
Fairphone Fairphone 4
Framebuffer console on mainline kernel
Framebuffer console on mainline kernel
Manufacturer Fairphone
Name Fairphone 4
Codename fairphone-fp4
Released 2021
Type handset
Hardware
Chipset Qualcomm Snapdragon 750G (SM7225)
CPU Octa-core Kryo 570
GPU Adreno 619
Display 1080x2340
Storage 128GB/256GB
Memory 6GB/8GB
Architecture aarch64
Software
Original software Android
Original version 11
postmarketOS
Category community
Pre-built images yes
Features
Flashing
Works
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
Broken
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Broken
Camera
Broken
Camera Flash
No data
Connectivity
WiFi
Works
Bluetooth
Broken
GPS
Broken
NFC
Broken
Modem
Calls
Broken
SMS
Broken
Mobile data
Broken
Miscellaneous
FDE
No data
USB OTG
Broken
HDMI/DP
Broken
Sensors
Accelerometer
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Haptics
No data
Power Sensor
No data


Contributors

Users owning this device


How to enter flash mode

For booting into fastboot, turn off the phone, hold volume down and plug in the USB cable.

Installation

Unlock the bootloader according to the official instructions.

UBports Installer

You can use UBports Installer v0.9.8 (or later) to flash a prebuilt image of postmarketOS onto your Fairphone 4. Just select postmarketOS in the OS selection and choose the desired UI and lean back!

Manually

You need to erase the dtbo partition for the current slot with fastboot erase dtbo.

The rest of the installation is standard, but because the device contains A/B slots, you must watch out for the correct slot being active.

Note The device does not contain a system as you might be used to, it contains one super partition which contains system/system_ext/product/vendor/odm partitions, in _a and _b variant each. This concept is called Dynamic Partitions.

You have a few possibilities to flash the postmarketOS rootfs:

  • userdata partition (> 100 GB space): pmbootstrap flasher flash_rootfs --partition userdata
  • super partition (6 GB space): pmbootstrap flasher flash_rootfs --partition super
  • SD card: pmbootstrap flasher flash_rootfs --sdcard /dev/$blk_dev
  • Subpartition of super using fastbootd.

Resources

Partition layout

fairphone-fp4:~# fdisk -l -o Device,Start,End,Sectors,Size,Name /dev/sda

fairphone-fp4:~# fdisk -l -o Device,Start,End,Sectors,Size,Name /dev/sdb

fairphone-fp4:~# fdisk -l -o Device,Start,End,Sectors,Size,Name /dev/sdc

fairphone-fp4:~# fdisk -l -o Device,Start,End,Sectors,Size,Name /dev/sdd

fairphone-fp4:~# fdisk -l -o Device,Start,End,Sectors,Size,Name /dev/sde

fairphone-fp4:~# fdisk -l -o Device,Start,End,Sectors,Size,Name /dev/sdf

fairphone-fp4:~# fdisk -l -o Device,Start,End,Sectors,Size,Name /dev/sdg

See also