Jump to content

Fairphone 2 (fairphone-fp2): Difference between revisions

From postmarketOS Wiki
Drebrez (talk | contribs)
No edit summary
update the page
Line 15: Line 15:
| memory = 2GB
| memory = 2GB
}}
}}
== Contributors ==
== Contributors ==
* z3ntu
 
* Luca Weiss (z3ntu)
 
== Maintainer(s) ==
 
* Luca Weiss (z3ntu)


== What works ==
== What works ==


* Flashing
* Flashing (needs bootloader path)
* Booting
* Booting
* Screen (after msm framebuffer hack)
* Screen (needs the msm framebuffer hack)
* Touchscreen
* Touchscreen
* USB networking
* USB networking
* USB OTG
* USB OTG
* WiFi


== What does not work ==
== What does not work ==


* The rest
* The rest (probably)


== How to enter flash mode ==
== How to enter flash mode ==


As mentioned in [[#Installation]], fastboot does not work for flashing the system image (it does for the boot image), the TWRP Android recovery must be used. A current version can be downloaded from [https://twrp.me/devices/fairphone2.html twrp.me].
Hold vol-down while booting the device. The splash screen doesn't indicate, that the phone is in fastboot mode, but you can test it by running "fastboot devices" on a PC that's connected via USB to the phone.


== Installation ==
== Installation ==


As the Fairphone bootloader/lk has a bug that affects the flashing of large images via fastboot, the Android recovery zip option must be used and the resulting zip must be flashed from TWRP.
As mentioned in [[#Installation]], the bootloader doesn't current support flashing images generated with the "img2simg" tool. It needs the patch [https://github.com/z3ntu/android_kernel_lk_fairphone_FP2/commit/0255581a47b96b8b0b3d7c5f0336d5f6bef8f2ad "app: aboot: Add support for CHUNK_FILL type for sparse image"] to work. This patch should be included in a future release from Fairphone. Contact @z3ntu to get instructions on how to patch the bootloader.


After that, it's as easy as rebooting and unlocking the phone via the telnet interface.
Installation procedure is the same as with most other devices and isn't special for this phone.


== Photos ==
== Photos ==
* [https://wiki.postmarketos.org/images/7/7e/Fairphone_2.jpg Weston running]
* [https://wiki.postmarketos.org/images/7/7e/Fairphone_2.jpg Weston running]
== Links ==
== Links ==
* [https://github.com/LineageOS/android_kernel_fairphone_msm8974/ LineageOS kernel source]
* [https://github.com/LineageOS/android_kernel_fairphone_msm8974/ LineageOS kernel source]
* [https://github.com/FairphoneMirrors/android_kernel_lk_fairphone_fp2 Bootloader/lk source]
* [https://github.com/FairphoneMirrors/android_kernel_lk_fairphone_fp2 Bootloader/lk source]

Revision as of 10:28, 29 October 2017

Fairphone Fairphone 2
Fairphone 2
Fairphone 2
Manufacturer Fairphone
Name Fairphone 2
Codename fp2
Released 2015
Hardware
CPU Qualcomm MSM8974AB-AB Snapdragon 801
GPU Adreno 330
Display 1080x1920 IPS
Storage 32GB
Memory 2GB
Software
Original software Android 5.1 on Linux 3.4
postmarketOS
Category testing
Pre-built images no
Mainline no
Features
Flashing
No data
USB Networking
No data
Internal storage
No data
SD card
No data
Battery
No data
Screen
No data
Touchscreen
No data
Multimedia
3D Acceleration
No data
Audio
No data
Camera
No data
Camera Flash
No data
Connectivity
WiFi
No data
Bluetooth
No data
GPS
No data
NFC
No data
Modem
Calls
No data
SMS
No data
Mobile data
No data
Miscellaneous
FDE
No data
USB OTG
No data
HDMI/DP
No data
Sensors
Accelerometer
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data


Contributors

  • Luca Weiss (z3ntu)

Maintainer(s)

  • Luca Weiss (z3ntu)

What works

  • Flashing (needs bootloader path)
  • Booting
  • Screen (needs the msm framebuffer hack)
  • Touchscreen
  • USB networking
  • USB OTG
  • WiFi

What does not work

  • The rest (probably)

How to enter flash mode

Hold vol-down while booting the device. The splash screen doesn't indicate, that the phone is in fastboot mode, but you can test it by running "fastboot devices" on a PC that's connected via USB to the phone.

Installation

As mentioned in #Installation, the bootloader doesn't current support flashing images generated with the "img2simg" tool. It needs the patch "app: aboot: Add support for CHUNK_FILL type for sparse image" to work. This patch should be included in a future release from Fairphone. Contact @z3ntu to get instructions on how to patch the bootloader.

Installation procedure is the same as with most other devices and isn't special for this phone.

Photos

Links