Microsoft Lumia 950 (microsoft-talkman)

From postmarketOS Wiki
Microsoft Lumia 950
Manufacturer Microsoft
Name Lumia 950
Codename microsoft-talkman
Released 2015
Type handset
Hardware
Chipset Qualcomm Snapdragon 808 (MSM8992)
CPU Cortex-A53 (4), Cortex-A57 (2)
GPU Adreno 418
Display 1440x2560 AMOLED
Storage 32GB eMMC and SD card slot
Memory 3GB
Architecture aarch64
Software
Original software Windows Mobile
Original version 10
postmarketOS
Category testing
Pre-built images no
Mainline yes
postmarketOS kernel mainline
This device is marked as not booting.
Status: Kernel compiles and boots. Bringing-up other components
This device is a Windows Phone.
See the Windows Mobile page for common tips, guides and troubleshooting steps
This device is a Windows Phone.
See the Windows Phone page for common tips, guides and troubleshooting steps

Contributors

Maintainer(s)

Users owning this device


How to enter flash mode

Windows Phone flash mode can be entered using WPInternals, thor2 or Windows Device Recovery Tool.

Most WoA images have USB mass storage mode available with Power + VolDown key sequence on boot. Alternatively, enter USB mass storage mode via WPInternals.

Because Lumia 950 uses standardized UEFI firmware, it is not necessary to flash the device once it is unlocked. Simply install boot-shim and the UEFI firmware similar to the way installing Windows 10 ARM on Lumia 950, partition (Do not delete any partitions before and including EFIESP) and copy files to the device and it will boot.

Warning: Do not touch anything inside DPP partition or it will cause permanent damage to the device

Progress

A slightly patched kernel is available at https://dev.azure.com/imbushuo-personal/_git/Kernel.

A more patched and more functional kernel is available at https://github.com/WOA-Project/linux.

Although Lumia 950 supports ACPI, the arm64 ACPI support for Qualcomm platforms is limited to Windows-only. Hence a device tree is necessary for successful bring-up. The current device tree is available at here (old) or right there.

The progress is generic for all Linux distros.

  • Processor bring-up and reset using PSCI (EL1) or spin-table (EL2, WIP!)
  • I2C, GPIO, UART and a few more simple low-speed I/O
  • GCC clocks
  • Synaptics Touchscreen via I2C
  • FrameBuffer via UEFI GOP @ 1080x1920
  • Bluetooth via UART. Need rampatch and TLV firmware blobs similar to other QCA6174 chipsets.
  • PCIe Root Port, the QCA6174 Wi-Fi NIC is visible, ath10k driver starts but currently stalls the system. Need rampatch and TLV firmware blobs similar to other QCA6174 chipsets.

Booting

  • Unlock the device using WPInternals
  • Install boot-shim and UEFI firmware
  • Partition the device, create a new ESP partition for aarch64 (keep the ARM32 one) and a partition for the root filesystem
  • Unpack root filesystem, install GRUB ARM64, kernel and device tree into the new ESP partition

A reference boot entry:

linux /vmlinuz-4.18.6-lumia-950-uefi nomodeset acpi=off video=efifb boot_delay=200 root=UUID=<Root Partition UUID>
initrd /initrd.img-4.18.6-lumia-950xl-uefi
devicetree /msm8992-microsoft-lumia-talkman.dtb

See also