Jump to content

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

From postmarketOS Wiki
m nfc is up
m Add type
 
(16 intermediate revisions by 8 users not shown)
Line 6: Line 6:
| imagecaption = Dempsey running sxmo on postmarketOS
| imagecaption = Dempsey running sxmo on postmarketOS
| releaseyear = 2015
| releaseyear = 2015
| originalsoftware = Microsoft Windows Phone 8.1
| originalsoftware = Windows Phone
| chipset = Qualcomm MSM8926 Snapdragon 400
| originalversion = 8.1
| chipset = Qualcomm Snapdragon 400 (MSM8926)
| cpu = Quad-core 1.2 GHz Cortex-A7
| cpu = Quad-core 1.2 GHz Cortex-A7
| gpu = Adreno 305
| gpu = Adreno 305
Line 14: Line 15:
| memory = 1 GB
| memory = 1 GB
| architecture = armv7
| architecture = armv7
| n-android =
| type = handset
| status_usbnet =
| status_usbnet =  
| status_flashing =
| status_flashing =
| status_touch = P
| status_touch = Y
| status_screen = Y
| status_screen = Y
| status_wifi =
| status_wifi = N
| status_xwayland =
| status_xwayland =
| status_fde =
| status_fde = N
| status_mainline = Y
| status_mainline = Y
| status_battery =
| status_battery = N
| status_3d = N
| status_3d = N
| status_accel = N
| status_audio = N
| status_audio =
| status_bluetooth = N
| status_bluetooth =
| status_camera = N
| status_camera =
| status_gps = N
| status_gps =
| status_mobiledata = N
| status_mobiledata =
| status_sms = N
| status_sms =
| status_calls = N
| status_calls =
| status_nfc = Y
| status_nfc = Y
| status_accel = Y
| status_magnet =
| status_light =
| status_proximity =
| status_hall =
| status_barometer =
| status_powersensor =
| status_cameraflash =
| status_keyboard = -
| status_touchpad = -
| status_usba = -
| status_hdmidp = -
| status_irtx = -
| status_irrx = -
| status_stylus = -
| status_haptics =
| status_ethernet = -
| status_fossbootloader =
| booting = yes
| booting = yes
}}
| packaged=no
{{Sidebox
| box-text = <b>This device is a Windows Phone.</b><br>See the [[Windows Phone]] page for common tips, guides and troubleshooting steps
| border-color = #1ba1e2
| border-width = 3px
| background = #a2ddfa
}}
}}


Line 58: Line 71:
* WLAN & BT being looked at
* WLAN & BT being looked at


== Guides (Should work in theory for the other Lumia's specified in the EDK2 port as well.) ==
== Installation ==
Here's a nice guide written by WolfLink115 which explains how to compile/install EDK2 and boot Linux:
===Unlocking bootloader===
* [https://github.com/WolfLink115/edk2-msm8x26-lumia#how-to-compile] Compiling EDK2
See the general guide [https://wiki.postmarketos.org/wiki/Windows_Phone#Guides Unlocking the Bootloader] for instructions.
* [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
===Install developer menu and bootshim===
* [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.
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 [https://github.com/Mainline4Lumia/LumiaQuickStart]
* Use WPInternals to reboot your phone into mass storage mode.
* Run <code>install.ps1</code> 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 <code>emmc_appsboot.mbn</code> [https://raw.githubusercontent.com/RDS5/mainline4lumia.github.io/main/data/emmc_appsboot.mbn.zip]
* Copy <code>emmc_appsboot.mbn</code> 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 ==
== See also ==
Line 74: Line 97:
* [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/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.
* [https://github.com/imbushuo/boot-shim] Boot shim used to boot EDK2.
* [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 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.

Latest revision as of 13:06, 12 September 2024

This device has been tested with postmarketOS, but its device package has not yet been added to the postmarketOS repositories.
This means that it cannot be selected in pmbootstrap.
Microsoft Lumia 640
Dempsey running sxmo on postmarketOS
Dempsey running sxmo on postmarketOS
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 720 x 1280 IPS LCD
Storage 8 GB
Memory 1 GB
Architecture armv7
Software
Original software Windows Phone
Original version 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
Broken
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Broken
Audio
Broken
Camera
Broken
Camera Flash
No data
Connectivity
WiFi
Broken
Bluetooth
Broken
GPS
Broken
NFC
Works
Modem
Calls
Broken
SMS
Broken
Mobile data
Broken
Miscellaneous
FDE
Broken
USB OTG
No data
Sensors
Accelerometer
Works
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data
Power Sensor
No data


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 guide Unlocking the Bootloader 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 [1]
  • 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 [2]
  • 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

Internal links

External links

  • [3] 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.
  • [4] EDK2 for dempsey, tesla, makepeace and superman. This does boot Linux!
  • [5] 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.
  • [6] Boot shim used to boot EDK2.
  • Compiling EDK2
  • Installing EDK2
  • Booting Linux from eMMC
  • 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.