Nokia 2780 Flip (nokia-weeknd)

From postmarketOS
Nokia 2780 Flip
Manufacturer Nokia
Name 2780 Flip
Codename nokia-weeknd
Released 2022
Category testing
Pre-built images no
Original software KaiOS
Original version 3.1
postmarketOS kernel linux-postmarketos-qcom-msm8917
Hardware
Chipset Qualcomm 215 Mobile Platform (QM215)
CPU 4x 1.3 GHz Cortex-A53
GPU Adreno 308
Display 240x320 main + 128x160 secondary
Storage 4 GB
Memory 512 MB
Architecture AArch64
Type Feature Phone
Unixbench Whet/Dhry score 835.4
Features
USB Networking
Works
Flashing
Works
Display
Works
WiFi
Partial
FDE
Mainline
Works
Battery
Works
3D Acceleration
Broken
Audio
Works
Bluetooth
Works
Camera
Partial
GPS
Mobile data
Works
Internal storage
SMS
Works
Calls
USB OTG
NFC
Sensors
Magnetometer
Ambient Light
Proximity
Hall Effect
Barometer
Power Sensor
Misc
Built-in DVB
Camera Flash
Keyboard
Touchpad
USB-A
HDMI/DP
Ir TX
Ir RX
Stylus
Memory Card
Haptics
Ethernet
FOSS bootloader


Contributors

User:Affenull2345

Users owning this device


WiFi

For some reason, enabling 802.11n WiFi makes the connection slow and unreliable and causes most downloads to stall. As a workaround, 802.11n support has been disabled. Somebody also had this issue on a Xiaomi Redmi 5 (xiaomi-rosy). (Citation needed)

Flashing

EDL mode can be entered by holding the Volume Up and Volume Down keys while plugging in or turning on the phone.

Fastboot mode can be entered by holding the Volume Down key while plugging in or turning on (but not rebooting!) the phone.

Unfortunately, there is no publicly available EDL loader, and the bootloader is locked. However, these restrictions can be temporarily bypassed using a secret fastboot oem sudo command. To boot custom software, you also need to flash a custom vbmeta image and avb_custom_key, otherwise the device will refuse to boot.

The stock bootloader write-protects most partitions when booting from the boot partition, so it is recommended to use the recovery partition for booting postmarketOS.

Installation

Icon TODO: Review

With these instructions, you can have KaiOS and postmarketOS dual boot, with pmOS on a microSD card. This guide assumes you have flashed the postmarketOS image into a microSD and inserted it into the device.

  • Clone the weeknd-toolbox repo
  • Do touch Image.gz-dtb to avoid building Linux
  • Install arm-none-eabi-gcc(On Debian and Ubuntu: apt install gcc-arm-none-eabi)
  • In the weeknd-toolbox directory do TOOLCHAIN_PREFIX=arm-none-eabi- ./build.sh
  • Enter fastboot mode
  • fastboot oem sudo
  • fastboot flash avb_custom_key pkmd.bin
  • fastboot flash vbmeta vbmeta.img
  • fastboot flash recovery lk2nd.img
  • Hold Volume Up key
  • fastboot reboot
  • Flash the boot image: fastboot flash recovery boot.img
  • Now to boot pmOS from microSD, reboot while holding the Volume Up key, release the key as soon as the warning appears and again hold it as soon as it disappears.

See also