[Nokia X5 (Nokia 5.1 Plus) Guides, News, Discussion] hikari_calyx:
Unlike previously released Qualcomm based Nokia phones, Nokia X5 uses MediaTek Helio P60 processor.

However, unlike Nokia 3, it no longer uses authentication file, this will make unbrick easier.

After you read the full guide, you should understand how to unbrick your phone.

This guide should work on both 64-bit Linux distro and Windows operating system.

And this guide is simplified than previous guide to ensure your phone will get newer updates.

What you need to have:

- MTK Smart Phone Flash Tool, which you can download from https://spflashtool.com/download/

- Android Platform Tools

- For Windows users, patched OST LA: https://drive.google.com/open?id=1n91aYT9Di6_v4F3Wjlv8TjfeLc64AcYA and MediaTek USB Port driver, which is easy to find

- Nokia X5 Chinese firmware and Global conversion firmware: https://fih-firmware.hikaricalyx.com/fihsw_en.html

Part 1: DO FULL BACKUP

Because few critical partitions are included in this backup, this will ensure you can restore them.

Download "PDA-114A-0-00WW-B01" and extract it.

Open Smart Phone Flash Tool, choose the Download Agent file and Scatter File in the unpacked PDA-1100 firmware.

DO NOT USE DOWNLOAD AGENT FROM THE FLASH TOOL ITSELF!

Then pick "Readback" tab, add a category.

Double click this category, and choose the location you want to save the backup.

Use any text editor to open the scatter file, and find "userdata". You'll need the start address of userdata as the length of the full backup.

After it properly set, click "Read Back", then power off your phone and connect your phone to PC with both volume keys pressed and holded.

When you see a progress bar moving, you can release both keys and wait for the procedure complete.

Disconnect your phone when procedure completed.

Part 2: Flash PDA-1100 global firmware

Return to download tab, choose "Firmware Upgrade" in the download options, click "Download", then power off your phone and connect your phone to PC with both volume keys pressed and holded.

When you see a progress bar moving, you can release both keys and wait for the procedure complete.

Part 3: Modify SKUID and flash lk

Trigger your phone to Fastboot mode.

You can type this command then connect your powered off phone:

.\fastboot reboot-bootloader

Type this command to confirm your phone's Serial Number, in this example the serial number is PDAGAM0123456789:

PDAGAM0123456789 fastboot

Google a website to calculate the md5 checksum of the serial number, for example, the md5 checksum of PDAGAM0123456789 is bb1bfc95418f51dc906462554d71313a.

Now type following command to grant service permission:

.\fastboot --set-active=a
.\fastboot reboot-bootloader
.\fastboot oem dm-verity (your_md5_checksum)

In this example:

.\fastboot --set-active=a
.\fastboot reboot-bootloader
.\fastboot oem dm-verity bb1bfc95418f51dc906462554d71313a

Type following commands to confirm and modify SKUID. Following commands are case sensitive:

.\fastboot oem CustomerSKUID get
.\fastboot oem CustomerSKUID set 600WW
.\fastboot oem CustomerSKUID get

Type following commands to reflash stock lk and reboot:

.\fastboot flash lk_a G:\PDA-114A-0-00WW-B01_unpacked\PDA-0-114A-00WW-lk.img
.\fastboot reboot

Part 4: Install PDA-209B update manually.

Download this package, and rename it to "PDA-209B-0-00WW-B06-update.zip", place it to root directory of internal storage and dial *#*#874#*#* to update.

https://android.googleapis.com/pack.../b1ebc1be5c4b01109fc3c4dea515e8286904fad0.zip

Old ota packages:

https://tpedutw-my.sharepoint.com/:...hBsIjYfYvl9dsBMabfvVPHJU5mJloVo2qIKw?e=TexpIz

That's it.

Is it bootloader unlockable? Still finding out.

Special thanks to:

@blackpanther0582 for PDA-021G firmware

givemerom for PDA-1100 firmware

Someone for Nokia 5.1 Plus firmware dumping

Someone for Nokia X5 device testing