Jump to content

Fairphone 5 (fairphone-fp5)

From postmarketOS Wiki
Revision as of 19:58, 11 December 2024 by Mariob (talk | contribs) (Installation)
Fairphone 5
Manufacturer Fairphone
Name 5
Codename fairphone-fp5
Released 2023
Type handset
Hardware
Chipset Qualcomm QCM6490
CPU Octa-core (1x2.7 GHz Cortex-A78 & 3x2.4 GHz Cortex-A78 & 4x1.9 GHz Cortex-A55)
GPU Adreno 643
Display 1224x2700
Storage 256GB
Memory 8GB
Architecture aarch64
Software
Original software Android
Original version 13
postmarketOS
Category testing
Pre-built images yes
Mainline yes
postmarketOS kernel 6.12.0
Unixbench Whet/Dhry score 10425.8
Features
Flashing
Works
USB Networking
Works
Internal storage
Works
SD card
Works
Battery
Works
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Broken
Camera
Partial
Camera Flash
Works
Connectivity
WiFi
Works
Bluetooth
Works
GPS
Works
NFC
Broken
Modem
Calls
Partial
SMS
Works
Mobile data
Works
Miscellaneous
FDE
Works
USB OTG
Partial
HDMI/DP
Works
Sensors
Accelerometer
Works
Magnetometer
Works
Ambient Light
Works
Proximity
Works
Hall Effect
Works
Haptics
Broken


Contributors

Users owning this device


Boot modes

By holding various button combinations while booting, the device can be made to boot into different modes. Unplug from USB, power off the device and press and hold the below buttons to enter the specific boot mode.

Boot mode PWR Vol+ Vol-
Fastboot Y N Y
Recovery Y Y N
Download N N N

Installation

Note It is important that you upgrade your phone to the latest available firmware before start tinkering with it.

Bootloader unlock

Before installing postmarketOS you have to unlock your bootloader.

  • Locate the IMEI 1 number in Settings > About.
  • Locate the serial number in Settings > About > Model & Hardware.
  • Get the unlock code from Fairphone.
  • Enable Developer Options: Settings > About phone > Build number (quickly tap 7 times)
  • Enable OEM unlocking: Settings > System > Advanced > Developer Options.
  • Reboot to fastboot according to boot mode instructions.
  • Connect your device to a PC using a USB Type-C cable.
  • Get the SDK Platform Tools from Android.
  • Open a terminal and type: fastboot flashing unlock
Warning WARNING: This will erase all your data on the device. Please back up important data before unlocking the bootloader!
  • Follow the instructions on your device's screen.

Now use any of the following 3 installation modes.

UBports Installer

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

Web installer

You can use the postmarketOS web flasher to flash a prebuilt image of postmarketOS onto your Fairphone 5. Follow the instructions on the page.

Note Web installer does not work with Firefox or Firefox based browsers like Librewolf and Mullvad. You need to use a chromium based browser. If "Give access" fails, try running as root. If the page crashes during installation, try freeing some RAM.

Manual install

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 (212 GB usable space): fastboot flash userdata rootfs.img
  • super partition (5.63 GB usable space): fastboot flash super rootfs.img
  • SD card: pmbootstrap flasher flash_rootfs --sdcard /dev/$blk_dev

Return to stock

  • Get the official firmware from Fairphone and extract the archive.
  • Flash the whole firmware by running the flash_fp5_factory file.
  • Boot into fastboot and check locking ability with fastboot flashing get_unlock_ability.
  • If it gives “0” switch slots with fastboot set_active other reboot bootloader.
  • Flash the whole firmware again by running the flash_fp5_factory file.
  • Boot into fastboot and lock the bootloader with fastboot flashing lock.
  • Follow the instructions on your device's screen.

Partition layout

fdisk -lo Device,Start,End,Sectors,Size,Name /dev/sda

fdisk -lo Device,Start,End,Sectors,Size,Name /dev/sdb

fdisk -lo Device,Start,End,Sectors,Size,Name /dev/sdc

fdisk -lo Device,Start,End,Sectors,Size,Name /dev/sdd

fdisk -lo Device,Start,End,Sectors,Size,Name /dev/sde

fdisk -lo Device,Start,End,Sectors,Size,Name /dev/sdf

Components

Component table

Component Model Driver
Modem QDM5577 ?
eSIM ST33G1M2LCL9EMM9 ?
Power button PMK7325 ?
Volume down PMK7325 ?
Volume up GPIO ?
Display BF065GBM-TK0-7DP0 ?
Touchscreen GT9897 ?
Chipset QCM6490 ?
GPU Adreno 642L ?
SD card sdhc_2 ?
Internal storage UFS 2.2 ?
Main camera IMX800 ?
Wide camera IMX858 ?
Front camera S5KJN1SQ03 ?
Camera flash PM7350C ?
Audio codec WCD9385 ?
Earpiece SLS1012A ?
Speaker SLS1115D-01 ?
Microphones SM0103B-RS421-M02 ?
Vibration motor AW86927FCR ?
WiFi WCN6750 ?
Bluetooth WCN6750 ?
GNSS/GPS ? ?
NFC ST21NFCD ?
Fingerprint ? ?
Sixaxis LSM6DSOQTR ?
Light / Proximity STK33562-175 ?
Magnetometer MMC5603NJ ?
Fuel gauge PM7250B ?
Charger PM7250B ?

Modem

Feature 5G 4G 3G 2G
Data Y Y Y Y
Call N N Y Y
Text Y Y Y Y

eSIM

Status : Broken No driver for the eSIM module yet. The eSIM module is managed by lpa-gtk available only in postmarketOS Edge channel.

Display

Screen resolution modes: only 1224 x 2700 is currently supported.

Screen refresh rates: only 90Hz is currently supported.

No Always-On Display mode implemented by any graphical user interface.

Audio

Status : Broken No driver for the audio codec yet. No internal speaker or microphone is currently working. You can get all sounds via Bluetooth or USB peripherals.

Development for audio and camera is done here.

Location

Location only works when a SIM card is installed if your modemmanager is older than v1.23. This is a global issue, not related to this device.

Sensors

Sensor drivers are available only in postmarketOS Edge channel.

Fingerprint

Status : Broken No driver for the fingerprint reader yet.

Resources

See also