Jump to content

Nokia 2780 Flip (nokia-weeknd)

From postmarketOS Wiki
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
The version the device was shipped with.
3.1
postmarketOS
Category testing
Pre-built images
Whether pre-built images are available here.
no
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
yes
pmOS kernel
The kernel version that runs on the device's port.
linux-postmarketos-qcom-msm8917
Unixbench score
Unixbench Whetstone/Dhrystone score. See Unixbench.
835.4
Features
Flashing
It is possible to flash the device with pmbootstrap flasher.
Works
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Works
Battery
Charging and battery level reporting works
Works
Screen
Display works. Ideally with sleep mode and brightness control.
Works
Multimedia
3D Acceleration
Broken
Audio
Audio playback, microphone, headset and buttons.
Works
Camera
Partial
Connectivity
WiFi
Partial
Bluetooth
Works
GPS
Untested
Modem
Calls
Untested
SMS
Works
Mobile data
Works
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Untested


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

TODO 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