DO NOT ask for a backup. If you do not have one, you have to accept to be permanently on Android like me.
Create a folder somewhere that we can use
Copy the backup to that folder
extract the zip I attached to this folder
Download these into the folder:
Original partition table
EDIT: Someone seems to have taken down the main Android4Lumia thread, along with it's creator and it's attached files. The files can be found in the attachments down below.
create another folder inside this one called "parts"
run this command:
imgman64.exe <backup.img> parts
fastboot boot recovery_unsecure.img adb push fame_wp_unlocked.gpt /cache/ adb shell sgdisk --load-backup /cache/fame_wp_unlocked.gpt /dev/block/mmcblk0 sync sync reboot
fastboot flash <partition> parts\<partition>.img
Then reboot the phone with
From this point, you can use WDRT to flash a clean WP, or reflash the one from the backup using thor2
thor2 should be at
C:\Program Files (x86)\Microsoft Care Suite\Windows Device Recovery Tool
C:\Program Files\Microsoft Care Suite\Windows Device Recovery Tool
thor2 -mode rnd -bootflashapp
thor2 -mode uefiflash -partitionname MainOS -partitionimagefile parts\MainOS.img thor2 -mode uefiflash -partitionname Data -partitionimagefile parts\Data.img
thor2 -mode uefiflash -ffufile <Path-to-FFU> -do_full_nvi_update -do_factory_reset
And then reboot:
thor2 -mode rnd -bootnormalmode
Instead of thor2 you can flash MainOS and Data partition/FFU (with both partitions included) with WPInternals or WDRT