Difference between revisions of "Microsoft Lumia 640 (microsoft-dempsey)"

From postmarketOS
Jump to navigation Jump to search
(Created Page, will extend Information further)
 
(update features status)
 
(32 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
{{Infobox device
 
{{Infobox device
 
| manufacturer = Microsoft
 
| manufacturer = Microsoft
| name =  Lumia 640 Dual SIM
+
| name =  Lumia 640
| codename = msft-640dualsim
+
| codename = microsoft-dempsey
| image = File:msft-640dualsim.jpg
+
| image = File:Dempsey sxmo.png
| imagecaption = No image yet
+
| imagecaption = Dempsey running sxmo on postmarketOS
 
| releaseyear = 2015
 
| releaseyear = 2015
 
| originalsoftware = Microsoft Windows Phone 8.1
 
| originalsoftware = Microsoft Windows Phone 8.1
| chipset = Qualcomm MSM8926 Snapdragon 400 (28 nm)
+
| chipset = Qualcomm MSM8926 Snapdragon 400
 
| 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
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
+
| n-android = ✔
| status_usbnet = <!-- USB networking does work? then put Y here and delete this comment -->
+
| status_usbnet =  
| status_flashing = <!-- Flashing with "pmbootstrap flasher" works? Put Y here. It works the same for everything coming below. -->
+
| status_flashing =
| status_touch = <!-- Touch screen is working? You can also answer these questions with P for partially. -->
+
| status_touch = Y
| status_screen = <!-- The display is working? -->
+
| status_screen = Y
| status_wifi = <!-- Wireless network works? -->
+
| status_wifi = N
| status_xwayland = <!-- Showing X11 applications in a Wayland compositor (Weston, KWin, ...) works? -->
+
| status_xwayland =
| status_fde = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
+
| status_fde = N
| status_mainline = <!-- Instead of a Linux kernel fork, it is possible to run mainline. -->
+
| status_mainline = Y
| status_battery = <!-- Charging the battery with charging-sdl is possible -->
+
| status_battery = N
| status_3d = <!-- Hardware accelerated 3D graphics (e.g. with freedreno) -->
+
| status_3d = N
| status_accel = <!-- The sensor that measures proper acceleration works -->
+
| status_accel = Y
| status_audio = <!-- Using the device's speakers/headphone jack works -->
+
| status_audio = N
| status_bluetooth = <!-- It's possible to pair and use other devices via the bluetooth protocol -->
+
| status_bluetooth = N
| status_camera = <!-- Taking photos and videos works. -->
+
| status_camera = N
| status_gps = <!-- The Global Positioning System sensor works.  -->
+
| status_gps = N
| status_mobiledata = <!-- Connecting to the Internet via cellular network. -->
+
| status_mobiledata = N
| status_sms = <!-- Sending and receiving short messages works as intended. -->
+
| status_sms = N
| status_calls = <!-- Talking to other people over the cellular network. -->
+
| status_calls = N
| status = started some research
+
| status_nfc = Y
| booting = no <!-- The device is booting at all, can be yes/no *IMPORTANT* -->
+
| booting = yes
| n-android =
+
}}
 
+
{{Sidebox
<!-- you can also use these lines if you need to:
+
| box-text = <b>This device is a Windows Phone.</b><br>See the [[Windows Phone]] page for common tips, guides and troubleshooting steps
if the device haven't originally ran Android OS, e.g. Nokia N900
+
| border-color = #1ba1e2
Version of the kernel that pmos is running
+
| border-width = 3px
| pmoskernel = 3.x.x
+
| background = #a2ddfa
see Unixbench page on wiki
 
| whet_dhry = 0.0
 
Is OTG available, not used in wiki
 
| status_otg = -
 
-->
 
 
}}
 
}}
  
 
== Contributors ==
 
== Contributors ==
* Maxnet
+
* [[User:Maxnet|Maxnet]]
 
+
* [[User:WolfLink115|WolfLink115]]
== Maintainer(s) ==
 
* Maxnet
 
  
 
== Users owning this device ==
 
== Users owning this device ==
 
{{Device owners}}
 
{{Device owners}}
  
<!--
+
== Current porting status ==
== How to enter flash mode ==
+
* 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 ==
+
== Guides (Should work in theory for the other Lumia's specified in the EDK2 port as well.) ==
<!-- add more sections below as necessary, e.g. WiFi, photos, ... -->
+
Here's a nice guide written by WolfLink115 which explains how to compile/install EDK2 and boot Linux:
 +
* [https://github.com/WolfLink115/edk2-msm8x26-lumia#how-to-compile] Compiling EDK2
 +
* [https://github.com/WolfLink115/edk2-msm8x26-lumia#how-to-install-windows-needed] Installing EDK2
 +
* [https://github.com/WolfLink115/edk2-msm8x26-lumia#how-to-boot-linux-from-emmc-on-lumia-640] Booting Linux from eMMC
 +
* [https://github.com/WolfLink115/Lumia-640-RM-1073_Unbrick#lumia-640-rm-1073-unbrick-guide] If you manage to brick the Lumia 640 (the RM-1073 version, not tested on others!!) into Qualcomm EDL mode, then this guide can help you unbrick it.
  
 
== See also ==
 
== See also ==
<!--
+
=== Internal links ===
Link to related GitLab issues or merge requests like the following (replace CHANGEME with the ID, e.g. 1234):
+
* [[Qualcomm Snapdragon 400 (MSM8226)]]
* {{MR|CHANGEME|pmaports}} Initial merge request
+
* [[Windows Phone]]
* {{issue|CHANGEME|pmaports}} Some related issue
+
=== External links ===
You can also add normal web 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://redmine.replicant.us/projects/replicant/wiki/GalaxyS2I9100 Replicant wiki page]
+
* [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.
If you manage to get your device packages merged, uncomment links below and change DEVICE_CODENAME with the actual one.
 
* [https://gitlab.com/postmarketOS/pmaports/tree/master/device/device-DEVICE_CODENAME Device package]
 
* [https://gitlab.com/postmarketOS/pmaports/tree/master/device/linux-DEVICE_CODENAME Kernel package]
 
-->
 

Latest revision as of 05:22, 23 November 2021

Microsoft Lumia 640
Dempsey running sxmo on postmarketOS
Dempsey running sxmo on postmarketOS
Manufacturer Microsoft
Name Lumia 640
Codename microsoft-dempsey
Released 2015
Category testing
Original software Microsoft Windows Phone 8.1
Hardware
Chipset Qualcomm MSM8926 Snapdragon 400
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
Non-Android based device
Features
USB Networking
Flashing
Touchscreen
Works
Display
Works
WiFi
Broken
FDE
Broken
Mainline
Works
Battery
Broken
3D Acceleration
Broken
Audio
Broken
Bluetooth
Broken
Camera
Broken
GPS
Broken
Mobile data
Broken
SMS
Broken
Calls
Broken
USB OTG
NFC
Works
Sensors
Accelerometer
Works
Magnetometer
Ambient Light
Proximity
Hall Effect
Barometer
Power Sensor
Misc
Keyboard
Touchpad
USB-A
HDMI/DP
Ir TX
TrustZone
FOSS bootloader



This device is a Windows Phone.
See the Windows Phone page for common tips, guides and troubleshooting steps

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

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:

  • [1] Compiling EDK2
  • [2] Installing EDK2
  • [3] Booting Linux from eMMC
  • [4] If you manage to brick the Lumia 640 (the RM-1073 version, not tested on others!!) into Qualcomm EDL mode, then this guide can help you unbrick it.

See also

Internal links

External links

  • [5] 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.
  • [6] EDK2 for dempsey, tesla, makepeace and superman. This does boot Linux!
  • [7] 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.
  • [8] Boot shim used to boot EDK2.