Fairphone 5 (fairphone-fp5): Difference between revisions
Undo revision 71348 by Zache (talk), that's not how this works. See Device categorization wiki page for htis Tag: Undo |
|||
(26 intermediate revisions by 5 users not shown) | |||
Line 7: | Line 7: | ||
| category = testing | | category = testing | ||
| prebuiltimages = yes | | prebuiltimages = yes | ||
| pmoskernel = 6. | | pmoskernel = 6.12.0 | ||
| whet_dhry = 10425.8 | | whet_dhry = 10425.8 | ||
| originalsoftware = Android | | originalsoftware = Android | ||
| originalversion = 13 | | originalversion = 13 | ||
| chipset = Qualcomm QCM6490 | | chipset = Qualcomm QCM6490 | ||
| cpu = Octa-core (1x2. | | cpu = Octa-core (1x2.7GHz Cortex-A78 + 3x2.4GHz Cortex-A78 + 4x1.9GHz Cortex-A55) | ||
| gpu = Adreno 643 | | gpu = Adreno 643 | ||
| display = 1224x2700 | | display = 1224x2700 | ||
Line 33: | Line 33: | ||
| status_audio = N | | status_audio = N | ||
| status_bluetooth = Y | | status_bluetooth = Y | ||
| status_camera = | | status_camera = P | ||
| status_gps = Y | | status_gps = Y | ||
| status_mobiledata = Y | | status_mobiledata = Y | ||
| status_sms = Y | | status_sms = Y | ||
| status_calls = P | | status_calls = P | ||
| status_otg = | | status_otg = Y | ||
| status_nfc = N | | status_nfc = N | ||
<!-- Sensors --> | <!-- Sensors --> | ||
Line 55: | Line 55: | ||
| status_usba = - | | status_usba = - | ||
| status_sdcard = Y | | status_sdcard = Y | ||
| status_hdmidp = | | status_hdmidp = P | ||
| status_irtx = - | | status_irtx = - | ||
| status_irrx = - | | status_irrx = - | ||
Line 98: | Line 98: | ||
|} | |} | ||
== | == Preparing for the installation == | ||
{{note|It is important that you upgrade your phone to the latest available firmware before start tinkering with it.}} | |||
Before installing postmarketOS you have to unlock its bootloader. | |||
Download [https://developer.android.com/tools/releases/platform-tools the SDK Platform Tools for Android]. Then follow the steps below depending on which edition of the phone you have. | |||
{{warning|The instructions below will erase all your data on the device. Please back up important data before unlocking the bootloader!}} | |||
=== Bootloader unlock (Google edition) === | |||
*Locate the IMEI 1 number in Settings > About. | *Locate the IMEI 1 number in Settings > About. | ||
*Locate the serial number in Settings > About > Model & Hardware. | *Locate the serial number in Settings > About > Model & Hardware. | ||
* | *[https://www.fairphone.com/en/bootloader-unlocking-code-for-fairphone Ask Fairphone for permission to unlock the device] to obtain an unlock code. | ||
*Enable Developer Options: Settings > About phone > Build number (quickly tap 7 times) | *Enable Developer Options: Settings > About phone > Build number (quickly tap 7 times) | ||
*Enable OEM unlocking: Settings > System > Advanced > Developer Options. | *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. | *Connect your device to a PC using a USB Type-C cable. | ||
*Get the SDK Platform Tools from [https://developer.android.com/tools/releases/platform-tools Android]. | *Get the SDK Platform Tools from [https://developer.android.com/tools/releases/platform-tools Android]. | ||
*Open a terminal and type: <code>fastboot flashing unlock</code> | *Open a terminal and type: <code>fastboot flashing unlock</code> | ||
*Follow the instructions on your device's screen. | *Follow the instructions on your device's screen. | ||
Now use any of the following 3 installation modes. | Now use any of the following 3 installation modes below. | ||
=== | === Bootloader unlock (Murena edition) === | ||
*Enable Developer Options: Settings > About phone > Build number (quickly tap 7 times) | |||
*Enable OEM unlocking: Settings > System > Developer Options. | |||
*Enable USB debugging in Settings > System > Developer Options. | |||
*Run <code>adb reboot bootloader</code> | |||
*Follow the instructions on your device's screen. | |||
Now use any of the following 3 installation modes below. | |||
== Installation == | |||
There are three ways to flash this device… | |||
=== Manual install === | === Manual install === | ||
You need to erase the <code>dtbo</code> partition for the current slot with <code>fastboot erase dtbo</code>. | You need to erase the <code>dtbo</code> partition for the current slot with <code>fastboot erase dtbo</code>. Reboot the phone and hold down <kbd>VolDown</kbd> during early boot to enter fastboot mode. | ||
The rest of the installation is [https://wiki.postmarketos.org/wiki/Installation standard], but because the device contains A/B slots, you must watch out for the correct slot being active. | The rest of the installation is [https://wiki.postmarketos.org/wiki/Installation standard], but because the device contains A/B slots, you must watch out for the correct slot being active. | ||
Line 141: | Line 149: | ||
* super partition (5.63 GB usable space): <code>fastboot flash super rootfs.img</code> | * super partition (5.63 GB usable space): <code>fastboot flash super rootfs.img</code> | ||
* SD card: <code>pmbootstrap flasher flash_rootfs --sdcard /dev/$blk_dev</code> | * SD card: <code>pmbootstrap flasher flash_rootfs --sdcard /dev/$blk_dev</code> | ||
You need to flash the boot partition. E.g.: | |||
fastboot flash boot 20250124-0110-postmarketOS-edge-phosh-22.5-fairphone-fp5-boot.img | |||
Finally, reboot the device into postmarketOS: | |||
fastboot reboot | |||
=== UBports Installer === | |||
{{note|UBports Installer is [https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3485 not currently packaged on postmarketOS]. These instructions are only reasonable if you have a host running a distribution which provides packages for it.}} | |||
You can use [https://devices.ubuntu-touch.io/installer 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 [https://flash.postmarketos.org/ postmarketOS web flasher] to flash a prebuilt image of postmarketOS onto your Fairphone 5. Follow the instructions on the page. | |||
{{note|Web installer only works on Chromium based browser. If "Give access" fails, try running as root. If the page crashes during installation, try freeing some RAM. Web installer does not work with Firefox or Firefox based browsers like Librewolf and Mullvad.}} | |||
=== Return to stock === | === Return to stock === | ||
Line 147: | Line 175: | ||
*Flash the whole firmware by running the flash_fp5_factory file. | *Flash the whole firmware by running the flash_fp5_factory file. | ||
*Boot into fastboot and check locking ability with <code>fastboot flashing get_unlock_ability</code>. | *Boot into fastboot and check locking ability with <code>fastboot flashing get_unlock_ability</code>. | ||
*If it gives “0” switch slots with <code>fastboot set_active | *If it gives “0”, switch slots with <code>fastboot set_active other reboot bootloader</code>. | ||
*Flash the whole firmware again by running the flash_fp5_factory file. | *Flash the whole firmware again by running the flash_fp5_factory file. | ||
*Boot into fastboot and lock the bootloader with <code>fastboot flashing lock</code>. | *Boot into fastboot and lock the bootloader with <code>fastboot flashing lock</code>. | ||
Line 154: | Line 182: | ||
== Partition layout == | == Partition layout == | ||
<div class="toccolours mw-collapsible mw-collapsed" style="width: | <div class="toccolours mw-collapsible mw-collapsed" style="width: 540px; overflow: auto;"> | ||
<code> | <code>fdisk -lo Device,Start,End,Sectors,Size,Name /dev/sda</code> | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
Disk /dev/sda: 232.26 GiB, 249384927232 bytes, 60884992 sectors | Disk /dev/sda: 232.26 GiB, 249384927232 bytes, 60884992 sectors | ||
Line 185: | Line 213: | ||
</div></div> | </div></div> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="width: | <div class="toccolours mw-collapsible mw-collapsed" style="width: 540px; overflow: auto;"> | ||
<code> | <code>fdisk -lo Device,Start,End,Sectors,Size,Name /dev/sdb</code> | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
Disk /dev/sdb: 8 MiB, 8388608 bytes, 2048 sectors | Disk /dev/sdb: 8 MiB, 8388608 bytes, 2048 sectors | ||
Line 202: | Line 230: | ||
</div></div> | </div></div> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="width: | <div class="toccolours mw-collapsible mw-collapsed" style="width: 540px; overflow: auto;"> | ||
<code> | <code>fdisk -lo Device,Start,End,Sectors,Size,Name /dev/sdc</code> | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
Disk /dev/sdc: 8 MiB, 8388608 bytes, 2048 sectors | Disk /dev/sdc: 8 MiB, 8388608 bytes, 2048 sectors | ||
Line 219: | Line 247: | ||
</div></div> | </div></div> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="width: | <div class="toccolours mw-collapsible mw-collapsed" style="width: 540px; overflow: auto;"> | ||
<code> | <code>fdisk -lo Device,Start,End,Sectors,Size,Name /dev/sdd</code> | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
Disk /dev/sdd: 32 MiB, 33554432 bytes, 8192 sectors | Disk /dev/sdd: 32 MiB, 33554432 bytes, 8192 sectors | ||
Line 237: | Line 265: | ||
</div></div> | </div></div> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="width: | <div class="toccolours mw-collapsible mw-collapsed" style="width: 540px; overflow: auto;"> | ||
<code> | <code>fdisk -lo Device,Start,End,Sectors,Size,Name /dev/sde</code> | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
Disk /dev/sde: 6 GiB, 6442450944 bytes, 1572864 sectors | Disk /dev/sde: 6 GiB, 6442450944 bytes, 1572864 sectors | ||
Line 321: | Line 349: | ||
</div></div> | </div></div> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="width: | <div class="toccolours mw-collapsible mw-collapsed" style="width: 540px; overflow: auto;"> | ||
<code> | <code>fdisk -lo Device,Start,End,Sectors,Size,Name /dev/sdf</code> | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
Disk /dev/sdf: 32 MiB, 33554432 bytes, 8192 sectors | Disk /dev/sdf: 32 MiB, 33554432 bytes, 8192 sectors | ||
Line 501: | Line 529: | ||
=== eSIM === | === eSIM === | ||
<code>Status : Broken</code> No driver for the eSIM module yet. The eSIM module is managed by lpa-gtk available only in postmarketOS Edge channel. | <code>Status : Broken</code> No driver for the eSIM module yet. The eSIM module is managed by [https://pkgs.alpinelinux.org/package/edge/community/aarch64/lpa-gtk lpa-gtk] available only in postmarketOS Edge channel. | ||
=== Display === | === Display === | ||
Line 515: | Line 543: | ||
<code>Status : Broken</code> 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. | <code>Status : Broken</code> 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. | ||
=== Camera === | |||
Only the selfie and wide angle cameras are currently working. The main camera does not work. | |||
=== Fingerprint === | |||
<code>Status : Broken</code> No driver for the fingerprint reader yet. | |||
=== DisplayPort === | |||
Video output works up to 2560x1600@75Hz or 3840x2160@30Hz. Audio via DisplayPort does not work. | |||
== Resources == | == Resources == |
Revision as of 12:41, 12 March 2025
![]() | |
Manufacturer | Fairphone |
---|---|
Name | 5 |
Codename | fairphone-fp5 |
Released | 2023 |
Type | handset |
Hardware | |
Chipset | Qualcomm QCM6490 |
CPU | Octa-core (1x2.7GHz Cortex-A78 + 3x2.4GHz Cortex-A78 + 4x1.9GHz 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 |
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 |
Works |
HDMI/DP |
Partial |
Sensors | |
Accelerometer |
Works |
Magnetometer |
Works |
Ambient Light |
Works |
Proximity |
Works |
Hall Effect |
Works |
Haptics |
Broken |
Contributors
Users owning this device
- Bastianilso (Notes: stock fairphone OS)
- BEEDELLROKEJULIANLOCKHART (Notes: Daily device)
- Cosmo (Notes: postmarketOS edge / Plasma Mobile)
- Crashniels (Notes: Stock)
- Deathmist (Notes: Porting Ubuntu Touch)
- Linmob (Notes: postmarketOS edge)
- Manut (Notes: Android ATM)
- Mariob (Notes: Running Android 14 via CalyxOS ~ Transparent)
- Mtvec
- Tjikkun
- Tommi
- WhyNotHugo (Notes: Ex-daily driver. Murena edition, stock.)
- Z3ntu
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 |
Preparing for the installation
It is important that you upgrade your phone to the latest available firmware before start tinkering with it. |
Before installing postmarketOS you have to unlock its bootloader.
Download the SDK Platform Tools for Android. Then follow the steps below depending on which edition of the phone you have.
WARNING: The instructions below will erase all your data on the device. Please back up important data before unlocking the bootloader! |
Bootloader unlock (Google edition)
- Locate the IMEI 1 number in Settings > About.
- Locate the serial number in Settings > About > Model & Hardware.
- Ask Fairphone for permission to unlock the device to obtain an unlock code.
- 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
- Follow the instructions on your device's screen.
Now use any of the following 3 installation modes below.
Bootloader unlock (Murena edition)
- Enable Developer Options: Settings > About phone > Build number (quickly tap 7 times)
- Enable OEM unlocking: Settings > System > Developer Options.
- Enable USB debugging in Settings > System > Developer Options.
- Run
adb reboot bootloader
- Follow the instructions on your device's screen.
Now use any of the following 3 installation modes below.
Installation
There are three ways to flash this device…
Manual install
You need to erase the dtbo
partition for the current slot with fastboot erase dtbo
. Reboot the phone and hold down VolDown during early boot to enter fastboot mode.
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.
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
You need to flash the boot partition. E.g.:
fastboot flash boot 20250124-0110-postmarketOS-edge-phosh-22.5-fairphone-fp5-boot.img
Finally, reboot the device into postmarketOS:
fastboot reboot
UBports Installer
UBports Installer is not currently packaged on postmarketOS. These instructions are only reasonable if you have a host running a distribution which provides packages for it. |
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.
Web installer only works on Chromium based browser. If "Give access" fails, try running as root. If the page crashes during installation, try freeing some RAM. Web installer does not work with Firefox or Firefox based browsers like Librewolf and Mullvad. |
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.
Camera
Only the selfie and wide angle cameras are currently working. The main camera does not work.
Fingerprint
Status : Broken
No driver for the fingerprint reader yet.
DisplayPort
Video output works up to 2560x1600@75Hz or 3840x2160@30Hz. Audio via DisplayPort does not work.
Resources
- Fairphone 5: Information on how to repair and recycle - Schematics and other information
See also
- Device package
- Kernel package (close to mainline)
- Firmware package