Jump to content

Fairphone 2 (fairphone-fp2): Difference between revisions

From postmarketOS Wiki
m no idea, where that kernel version came from but it's definitely 3.4
Update the page to new layout with new information
Line 16: Line 16:
}}
}}
== Contributors ==
== Contributors ==
* z3ntu
* z3ntu


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


* The building process
* Flashing
 
* Booting
=== Current Boot Process ===
* Screen (after msm framebuffer hack)
 
* Touchscreen
This is what I did:
* USB networking
* USB OTG


Use the efidroid lk.img (have to compile yourself right now) for working around an fastboot/lk issue in the stock Fairphone bootloader.
== What does not work ==


<pre>fastboot boot lk.img
* The rest
fastboot flash system pmOS_system.img</pre>


Booting the boot.img doesn't work currently because of dt problems. Probably a similar issue as on the [https://github.com/postmarketOS/pmbootstrap/wiki/Mozilla-Flame#current-boot-process Mozilla Flame].
== How to enter flash mode ==


pmOS branch: https://github.com/postmarketOS/pmbootstrap/tree/device-fairphone-fp2
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].


z3ntu's branch (maybe more up-to-date): https://github.com/z3ntu/pmbootstrap
== Installation ==


== Abbreviations ==
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.


'''lk''' = Little Kernel (that's what the bootloader which includes fastboot is based on for most newer devices)
After that, it's as easy as rebooting and unlocking the phone via the telnet interface.


'''dt''' = Device Tree (method of describing hardware, see https://www.devicetree.org/)
== Photos ==
* [https://wiki.postmarketos.org/images/7/7e/Fairphone_2.jpg Weston running]
== Links ==
* [https://github.com/LineageOS/android_kernel_fairphone_msm8974/ LineageOS kernel source]
* [https://github.com/FairphoneMirrors/android_kernel_lk_fairphone_fp2 Bootloader/lk source]

Revision as of 05:56, 26 September 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

  • z3ntu

What works

  • Flashing
  • Booting
  • Screen (after msm framebuffer hack)
  • Touchscreen
  • USB networking
  • USB OTG

What does not work

  • The rest

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 twrp.me.

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.

After that, it's as easy as rebooting and unlocking the phone via the telnet interface.

Photos

Links