Jump to content

Microsoft Lumia 640 (microsoft-dempsey): Difference between revisions

From postmarketOS Wiki
No edit summary
Line 4: Line 4:
| codename = microsoft-dempsey
| codename = microsoft-dempsey
| image = File:msft-640dualsim.jpg
| image = File:msft-640dualsim.jpg
| imagecaption = No image yet
| imagecaption = PostmarketOS demo select screen on Lumia 640 LTE
| releaseyear = 2015
| releaseyear = 2015
| originalsoftware = Microsoft Windows Phone 8.1
| originalsoftware = Microsoft Windows Phone 8.1
Line 10: Line 10:
| cpu = Quad-core 1.2 GHz Cortex-A7
| cpu = Quad-core 1.2 GHz Cortex-A7
| gpu = Adreno 305
| gpu = Adreno 305
| storage = 8GB
| storage = 8 GB
| display = IPS LCD capacitive touchscreen, 16M colors 5.0 inches, 68.9 cm2 (~67.6% screen-to-body ratio) 720 x 1280 pixels, 16:9 ratio (~294 ppi density) Corning Gorilla Glass 3 ClearBlack display
| display = 720 x 1280 IPS LCD
| memory = 1GB RAM
| memory = 1 GB
| architecture = armv7
| architecture = armv7
| n-android = ✔
| status_usbnet =
| status_usbnet =
| status_flashing =
| status_flashing =
| status_touch =
| status_touch = P
| status_screen =
| status_screen = Y
| status_wifi =
| status_wifi =
| status_xwayland =
| status_xwayland =
| status_fde =
| status_fde =
| status_mainline =
| status_mainline = Y
| status_battery =
| status_battery =
| status_3d =
| status_3d = N
| status_accel =
| status_accel = N
| status_audio =
| status_audio =
| status_bluetooth =
| status_bluetooth =
Line 32: Line 33:
| status_sms =
| status_sms =
| status_calls =
| status_calls =
| status = started some research
| status_nfc =
| booting = no
| booting = yes
| n-android =
}}
| pmoskernel =
{{Sidebox
| whet_dhry =
| box-text = <b>This device is a Windows Phone.</b><br>See the [[Windows Phone]] page for common tips, guides and troubleshooting steps
| status_otg =
| border-color = #1ba1e2
| border-width = 3px
| background = #a2ddfa
}}
}}


Line 47: Line 50:
{{Device owners}}
{{Device owners}}


== Random thoughts ==
== Current porting status ==
Mainline linux with Bartosz Dudziak's patches and a simple dts actually boots on it now (uart, emmc and sd card works, display works via efifb): https://github.com/Mainline4Lumia/linux/tree/msm8x26
* Mainline boots and has touch, screen, and side keys working.
* Dempsey specific issue: Not sure yet
* 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 & Light sensor likely soon, I just need to find the right ACPI device for it to get values from.
* WLAN & BT being looked at


Here's a nice guide written by Wolf Link which explains how to do it :  
== Guides (Should work in theory for the other Lumia's specified in the EDK2 port as well.) ==
Here's a nice guide written by WolfLink115 which explains how to compile/install EDK2 and boot Linux:
How to compile and install edk2 : https://github.com/WolfLink115/Lumia830Pkg#how-to-compile
How to compile and install edk2 : https://github.com/WolfLink115/Lumia830Pkg#how-to-compile
How to boot linux : https://github.com/WolfLink115/Lumia830Pkg#how-to-boot-linux-from-emmc-on-lumia-640
How to boot Linux : https://github.com/WolfLink115/Lumia830Pkg#how-to-boot-linux-from-emmc-on-lumia-640


== See also ==
== See also ==
* [https://github.com/sjrmac/lk_bootloader_lumia640 old prebuilt bootloader, but working]
=== Internal links ===
* [https://github.com/imbushuo/lk lk] and [https://github.com/imbushuo/boot-shim boot shim] used above
* [[Qualcomm Snapdragon 400 (MSM8926)]]
* [https://support.microsoft.com/en-us/windows/windows-device-recovery-tool-faq-2b186f06-7178-ed11-4cb6-5ed437f0855b Windows Device Recovery Tool] - useful for restoring a device
* [[Windows Phone]]
* [[Windows Phone]]
=== External links ===
* [https://github.com/Mainline4Lumia/linux] Close to mainline linux kernel w/ support for dempsey and a few other msm8x26 lumias on msm8x26 branch. Use msm8x26-touchscreen branch for touchscreen, until it gets committed into msm8x26.
* [https://github.com/Dominduchami/Lumia830Pkg] EDK2 for dempsey, tesla, makepeace and superman. This does boot Linux!
* [https://github.com/Mainline4Lumia/lk] LittleKernel for tesla and some other lumias. This does not boot Linux!! Useful for chain loading lk2nd to dump regulators when porting a lumia to linux.
* [https://github.com/imbushuo/boot-shim] Boot shim used to boot EDK2.

Revision as of 06:20, 5 November 2021

Microsoft Lumia 640 Dual SIM
PostmarketOS demo select screen on Lumia 640 LTE
PostmarketOS demo select screen on Lumia 640 LTE
Manufacturer Microsoft
Name Lumia 640 Dual SIM
Codename microsoft-dempsey
Released 2015
Hardware
Chipset Qualcomm MSM8926 Snapdragon 400 (28 nm)
CPU Quad-core 1.2 GHz Cortex-A7
GPU Adreno 305
Display 720 x 1280 IPS LCD
Storage 8 GB
Memory 1 GB
Architecture armv7
Software
Original software Microsoft Windows Phone 8.1
postmarketOS
Category testing
Pre-built images no
Mainline yes
Features
Flashing
No data
USB Networking
No data
Internal storage
No data
SD card
No data
Battery
No data
Screen
Works
Touchscreen
Partial
Multimedia
3D Acceleration
Broken
Audio
No data
Camera
No data
Camera Flash
No data
Connectivity
WiFi
No data
Bluetooth
No data
GPS
No data
NFC
No data
Modem
Calls
No data
SMS
No data
Mobile data
No data
Miscellaneous
FDE
No data
USB OTG
No data
HDMI/DP
No data
Sensors
Accelerometer
Broken
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data

Contributors

Users owning this device


Current porting status

  • Mainline boots and has touch, screen, and side keys working.
  • Dempsey specific issue: Not sure yet
  • 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 & Light sensor likely soon, I just need to find the right ACPI device for it to get values from.
  • WLAN & BT being looked at

Guides (Should work in theory for the other Lumia's specified in the EDK2 port as well.)

Here's a nice guide written by WolfLink115 which explains how to compile/install EDK2 and boot Linux: How to compile and install edk2 : https://github.com/WolfLink115/Lumia830Pkg#how-to-compile How to boot Linux : https://github.com/WolfLink115/Lumia830Pkg#how-to-boot-linux-from-emmc-on-lumia-640

See also

Internal links

External links

  • [1] Close to mainline linux kernel w/ support for dempsey and a few other msm8x26 lumias on msm8x26 branch. Use msm8x26-touchscreen branch for touchscreen, until it gets committed into msm8x26.
  • [2] EDK2 for dempsey, tesla, makepeace and superman. This does boot Linux!
  • [3] LittleKernel for tesla and some other lumias. This does not boot Linux!! Useful for chain loading lk2nd to dump regulators when porting a lumia to linux.
  • [4] Boot shim used to boot EDK2.