Jump to content

Microsoft Lumia 640 (microsoft-dempsey)

From Nura Wiki
Microsoft Lumia 640
Dempsey running sxmo on Nura
Dempsey running sxmo on Nura
Manufacturer Microsoft
Name Lumia 640
Codename microsoft-dempsey
Released 2015
Type handset
Hardware
Chipset Qualcomm Snapdragon 400 (MSM8926)
CPU Quad-core 1.2 GHz Cortex-A7
GPU Adreno 305
Display 720x1280 IPS LCD
Storage 8 GB
Memory 1 GB
Architecture armv7
Software
Original software
The software and version the device was shipped with.
Windows Phone 8.1
Extended version
The most recent supported version from the manufacturer.
Windows Phone
Nura
Category testing
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
yes
Nura kernel
The kernel version that runs on the device's port.
6.16.12-4
Device package device-microsoft-dempsey
Kernel package linux-postmarketos-qcom-msm8226
Initial MR
Initial merge request.
pmaports!6294
Features
Flashing
Whether it is possible to flash the device with pmbootstrap flasher.
Untested
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Untested
Battery
Whether charging and battery level reporting work.
Broken
Screen
Whether the display works; ideally with sleep mode and brightness control.
Works
Touchscreen
Works
Multimedia
3D Acceleration
Broken
Audio
Audio playback, microphone, headset and buttons.
Broken
Camera
Broken
Camera Flash
Untested
Connectivity
Wi-Fi
Broken
Bluetooth
Broken
GPS
Broken
NFC
Near Field Communication
Works
Modem
Calls
Broken
SMS
Broken
Mobile data
Broken
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Broken
Sensors
Accelerometer
Handles automatic screen rotation in many interfaces.
Works
Magnetometer
Sensor to measure the Earth's magnetism
Untested
Ambient Light
Measures the light level; used for automatic screen dimming in many interfaces.
Untested
Proximity
Untested
Hall Effect
Measures magnetic fields; usually used as a flip cover sensor
Untested
Haptics
Untested
Barometer
Sensor to measure air pressure
Untested
Power Sensor
Sensor to monitor current, voltage and power. Not fuel gauge!
Untested

Contributors

Users owning this device

Current porting status

  • Mainline boots and has touch, screen, and side keys working.
  • All 4 cores are now up!
  • NFC available!
  • USB is currently being tested, I can't personally confirm if USB networking is working but someone with a Lumia 735 said it is for them.
  • Proximity is working on tesla, just needs testing on dempsey
  • WLAN & BT being looked at

Installation

Unlocking bootloader

See the general Windows Mobile guide for instructions.

Install developer menu and bootshim

After you have unlocked the bootloader of your phone, you will have to install the developer menu and bootshim onto your phone. This is made easy by the LumiaQuickStart script.

  • Clone the LumiaQuickStart repo
  • Use WPInternals to reboot your phone into mass storage mode.
  • Run install.ps1 as administrator. Provide the path to EFIESP (Windows might also have mounted it inside MainOS).

After the script finishes, you should see a boot menu upon restart, which means we're ready to.

Install lk2nd

  • Download emmc_appsboot.mbn here
  • Copy emmc_appsboot.mbn to your phone's EFIESP folder
  • Unmount mass storage and restart your phone by holding the volume down and power buttons for a few seconds

If all went well, you should enter lk2nd by pressing volume up on the bootmenu or holding volume up on the NOKIA bootlogo.

See also

External links