Nokia 3 (nokia-ne1)
Users owning this device
How to enter flash mode
Hold Volume Down + hold Power + provide USB power, wait until fastboot prompt appears on display.
'adb reboot bootloader' works too if USB debugging is enabled in Android.
How to enter recovery mode
Hold Volume Up + hold Power + provide USB power. Hold for roughly 20 seconds. (5s initial start, 10s option to release Power to power off, 5s Orange State warning)
P.S. Please make sure your Nokia 3 stock ROM is based on 5180, for example 5180_SP02 to 5180_SP04, and let us know if you have problem on older version of stock rom's preloader & LK, thanks~
Enable "OEM-Unlock" in the Android Developer Options (could require internet access).
// Have the phone booted in android and USB debugging enabled $ adb get-serialno NE1GA00000000000 // Hash the serial number $ echo -n NE1GA00000000000 | md5sum | tr [:lower:] [:upper:] 7BBBD23D35B2E290F1F12BC68FE4F301 - // Enter fastboot mode $ adb reboot bootloader // Feed the key to fastboot $ fastboot oem key 7BBBD23D35B2E290F1F12BC68FE4F301 // Unlock the bootloader $ fastboot flashing unlock
nokia-ne1 is not (yet) part of pmaports. Download the current changes from https://pastebin.com/j9rh6wZj and use 'git apply' inside the pmaports directory.
In general follow the standard Installation guide. Keep in mind that Android is currently the only option to charge the battery and that 'fastboot' will refuse to flash on low battery. Therefore it is recommended to have the rootfs on an SD card and flash the boot image manually to the recovery partition. It is possible to flash and boot using the system and boot partitions.
// Create SD card rootfs $ pmbootstrap install --sdcard=/dev/mmcblk0 // Create symlinks in /tmp/postmarketOS-export/ $ pmbootstrap export // Flash to recovery partition $ fastboot flash recovery /tmp/postmarketOS-export/boot.img-nokia-ne1
Boot into recovery mode (Volume Down + Power + USB Cable). Be aware that booting into Android will overwrite/reset the recovery partition.
'fastboot boot boot.img-nokia-ne1' and 'pmbootstrap flasher boot' are not working.
Nokia 1 (nokia-frt) is a similar device but with armv7 kernel.