Fairphone 5 (fairphone-fp5): Difference between revisions
No edit summary |
No edit summary |
||
Line 72: | Line 72: | ||
{{Device owners}} | {{Device owners}} | ||
== | == 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. | |||
{| class="wikitable" | |||
! Boot mode | |||
! PWR | |||
! Vol+ | |||
! Vol- | |||
|- | |||
| Fastboot | |||
| Y | |||
| N | |||
| Y | |||
|- | |||
| Recovery | |||
| Y | |||
| Y | |||
| N | |||
|- | |||
| Download | |||
| N | |||
| N | |||
| N | |||
|} | |||
== Installation == | == Installation == | ||
=== Bootloader unlock === | |||
Before installing postmarketOS you have to unlock your bootloader. | |||
*Locate the IMEI number: Settings > About > IMEI (SIM slot1) | |||
*Locate the serial number: Settings > About > Model & Hardware > Serial number. | |||
*Get the unlock code from Fairphone [https://www.fairphone.com/en/bootloader-unlocking-code-for-fairphone here]. | |||
*Enable Developer Options: Settings > About phone > Build number (quickly tap 7 times) | |||
*Enable OEM unlocking: Settings > System > Advanced > Developer Options. | |||
*Enter the unlock code generated earlier. | |||
*Enter 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 [https://developer.android.com/tools/releases/platform-tools here]. | |||
*Open a terminal and type: <code>fastboot flashing unlock</code> | |||
{{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. | |||
{{note|No need to unlock critical partitions.}} | |||
Now use any of the following 3 installation modes. | |||
=== UBports Installer === | === UBports Installer === | ||
Line 84: | Line 124: | ||
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! | 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. | 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 does not work with Firefox or Firefox based browsers like Librewolf and Mullvad. You need to use a chromium based browser.}} | |||
=== Manual install === | |||
You need to erase the <code>dtbo</code> partition for the current slot with <code>fastboot erase dtbo</code>. | |||
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 rest of the installation is standard, but because the device contains A/B slots, you must watch out for the correct slot being active. | ||
Line 99: | Line 139: | ||
You have a few possibilities to flash the postmarketOS rootfs: | You have a few possibilities to flash the postmarketOS rootfs: | ||
* <code>userdata</code> partition ( | * <code>userdata</code> partition (212 GB usable space): <code>fastboot flash userdata rootfs.img</code> | ||
* <code>super</code> partition ( | * <code>super</code> 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> | ||
* | |||
=== Return to stock === | |||
*Get official firmware from Fairphone [https://support.fairphone.com/hc/en-us/articles/18896094650513-Install-Fairphone-OS-manually here] and extract the archive. | |||
*Flash the whole firmware by running the flash_fp5_factory.sh file. | |||
*Boot into fastboot and check locking possibility with <code>fastboot flashing get_unlock_ability</code> | |||
*If it gives “0” switch slots with <code>fastboot set_active (a/b)</code> | |||
*Flash the whole firmware again by running the flash_fp5_factory.sh file. | |||
*Boot into fastboot and lock the bootloader with <code>fastboot flashing lock</code> | |||
*Follow the instructions on your device's screen. | |||
== Partition layout == | == Partition layout == |
Revision as of 22:41, 31 October 2024
![]() | |
Manufacturer | Fairphone |
---|---|
Name | 5 |
Codename | fairphone-fp5 |
Released | 2023 |
Type | handset |
Hardware | |
Chipset | Qualcomm QCM6490 |
CPU | Octa-core Kryo 670 |
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.9.0 |
Unixbench Whet/Dhry score | 10403.7 |
Flashing |
Works |
---|---|
USB Networking |
Works |
Internal storage |
Works |
SD card |
Works |
Battery |
Works |
Screen |
Works |
Touchscreen |
Works |
Multimedia | |
3D Acceleration |
Works |
Audio |
Broken |
Camera |
Broken |
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
- 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 |
Installation
Bootloader unlock
Before installing postmarketOS you have to unlock your bootloader.
- Locate the IMEI number: Settings > About > IMEI (SIM slot1)
- Locate the serial number: Settings > About > Model & Hardware > Serial number.
- Get the unlock code from Fairphone here.
- Enable Developer Options: Settings > About phone > Build number (quickly tap 7 times)
- Enable OEM unlocking: Settings > System > Advanced > Developer Options.
- Enter the unlock code generated earlier.
- Enter 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 here.
- Open a terminal and type:
fastboot flashing unlock
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.
No need to unlock critical partitions. |
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.
Web installer does not work with Firefox or Firefox based browsers like Librewolf and Mullvad. You need to use a chromium based browser. |
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.
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 official firmware from Fairphone here and extract the archive.
- Flash the whole firmware by running the flash_fp5_factory.sh file.
- Boot into fastboot and check locking possibility with
fastboot flashing get_unlock_ability
- If it gives “0” switch slots with
fastboot set_active (a/b)
- Flash the whole firmware again by running the flash_fp5_factory.sh file.
- Boot into fastboot and lock the bootloader with
fastboot flashing lock
- Follow the instructions on your device's screen.
Partition layout
sudo fdisk -l -o Device,Start,End,Sectors,Size,Name /dev/sda
sudo fdisk -l -o Device,Start,End,Sectors,Size,Name /dev/sdb
sudo fdisk -l -o Device,Start,End,Sectors,Size,Name /dev/sdc
sudo fdisk -l -o Device,Start,End,Sectors,Size,Name /dev/sdd
sudo fdisk -l -o Device,Start,End,Sectors,Size,Name /dev/sde
sudo fdisk -l -o 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 | N | N |
Call | N | N | N | N |
Text | ? | ? | ? | ? |
eSIM
Status : Broken
No driver for the eSIM module yet.
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
No speaker or microphone is currently working. You can get all sounds via Bluetooth or USB connections.
Development for audio and camera is done here.
Location
Location only works when a SIM card is installed. Assisted location is not currently working.
Sensors
Sensor drivers are present only in postmarketOS Edge channel.
Fingerprint
Status : Broken
No driver for the fingerprint reader yet.
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