Nokia Lumia 630 (nokia-moneypenny)

Contributors

 * FieryFlames

Maintainer(s)

 * FieryFlames

Current porting status

 * Mainline boots and has touch, screen, and side keys working.
 * Touch has issues on some Lumia 630s.
 * All 4 cores are now up!
 * 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.
 * WLAN & BT being looked at
 * Charging only works if fully powered off, and if BCD battery threshold for OS loading is set below 100% (e.g. set it to 90%-ish)

Installation guide
Not much currently works, but if you want to try this out here's a guide:

Unlocking bootloader
See the general guide Unlocking the Bootloader for instructions.

Some firmwares of the lumia 635 are known to fail with WPInternals (namely TMO-US), in that case just flash the non-carrier firmware onto these devices (as if you were "debranding" them)  and you should be able to unlock them.

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. After the script finishes, you should see a boot menu upon restart, which means we're ready to:
 * Clone the LumiaQuickStart repo
 * Use WPInternals to reboot your phone into mass storage mode.
 * Run  as administrator. Provide the path to EFIESP (Windows might also have mounted it inside MainOS).

Install lk2nd
If all went well, you should enter lk2nd by pressing volume up on the bootmenu or holding volume up on the NOKIA bootlogo.
 * Download
 * Copy  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

Booting linux
Since we're going to be booting linux through lk2nd, we're going to need fastboot

Run, you should see your device's serial number listed here

Now build Mainline4Lumia with this config

If all went well, you should see a zImage in arch/arm/boot. We're going to need to transform this into a workable boot.img. If all went well, this process should've yielded you a boot.img that works with fastboot.
 * Download mkbootimg (debian package as an example)
 * Append moneypenny's dtb by doing
 * Locate your ramdisk (or use whichever one you want)
 * Run

All that remains is for you to run  and stare at your lumia as it displays those four penguins, defying all of ballmer's efforts.

TODO/UNTESTED (on branch v6.2-msm8226-nokia)
It is recommended that you install a distro (such as postmarketOS or Void Linux) on an SD Card and not directly on your device's eMMC.


 * Format your SD card to have 1 ext4 partition.
 * Extract an armv7 rootfs onto the partition. Alternatively, you can use pmbootstrap to flash the rootfs to the SD card.
 * Insert your SD card into your device. Then get into lk2nd and boot linux with kernel parameters that point to your sdcard by running

Internal links

 * Qualcomm Snapdragon 400 (MSM8226)
 * Windows Phone