Nokia 2780 Flip (nokia-weeknd)

From postmarketOS Wiki
(Redirected from Nokia 2780)
Nokia 2780 Flip
Manufacturer Nokia
Name 2780 Flip
Codename nokia-weeknd
Released 2022
Type feature phone
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
Software
Original software KaiOS
Original version 3.1
postmarketOS
Category testing
Pre-built images no
Mainline yes
postmarketOS kernel linux-postmarketos-qcom-msm8917
Unixbench Whet/Dhry score 835.4
Features
Flashing
Works
USB Networking
Works
Internal storage
SD card
Battery
Works
Screen
Works
Multimedia
3D Acceleration
Broken
Audio
Works
Camera
Partial
Camera Flash
Connectivity
WiFi
Partial
Bluetooth
Works
GPS
NFC
Modem
Calls
SMS
Works
Mobile data
Works
Miscellaneous
FDE
USB OTG
HDMI/DP
Sensors
Magnetometer
Ambient Light
Proximity
Hall Effect
Haptics
Barometer


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. (This will NOT work if you had installed the weeknd toolbox previously.)

  • 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