[Fairphone 2] explit:
Hello all!

I have an Fairphone 2 (FP2) on my operational table with damaged bootloader.

The bootloader was damaged and it was not possible to to get into the fastboot mode. and it was another bootloader flashed from an Device with the same Qualcomm Snapdragon 801 MSM8974AA - OnePlus X.

No i have this problem:

root@TP-X220:/home/explit/Service/FP2/FW/FP2-GMS/17.04.8# ./flash.sh
< waiting for any device >
target reported max download size of 1073741824 bytes
sending 'rpm' (186 KB)...
OKAY [ 0.011s]
writing 'rpm'...
FAILED (remote: Device not unlocked cannot flash or erase)
finished. total time: 0.012s
target reported max download size of 1073741824 bytes
sending 'sbl1' (274 KB)...
OKAY [ 0.017s]
writing 'sbl1'...
FAILED (remote: Device not unlocked cannot flash or erase)
finished. total time: 0.018s
target reported max download size of 1073741824 bytes
sending 'tz' (326 KB)...
OKAY [ 0.017s]
writing 'tz'...
FAILED (remote: Device not unlocked cannot flash or erase)
finished. total time: 0.020s
target reported max download size of 1073741824 bytes
sending 'modem' (57425 KB)...
OKAY [ 3.272s]
writing 'modem'...
FAILED (remote: Device not unlocked cannot flash or erase)
finished. total time: 3.273s
target reported max download size of 1073741824 bytes
sending 'splash' (6075 KB)...
OKAY [ 0.377s]
writing 'splash'...
FAILED (remote: Device not unlocked cannot flash or erase)
finished. total time: 0.378s
target reported max download size of 1073741824 bytes
sending 'aboot' (520 KB)...
OKAY [ 0.027s]
writing 'aboot'...
FAILED (remote: Device not unlocked cannot flash or erase)
finished. total time: 0.029s
target reported max download size of 1073741824 bytes
sending 'boot' (14272 KB)...
OKAY [ 0.785s]
writing 'boot'...
FAILED (remote: Device not unlocked cannot flash or erase)
finished. total time: 0.786s
target reported max download size of 1073741824 bytes
sending 'recovery' (13038 KB)...
OKAY [ 0.725s]
writing 'recovery'...
FAILED (remote: Device not unlocked cannot flash or erase)
finished. total time: 0.726s
target reported max download size of 1073741824 bytes
erasing 'system'...
FAILED (remote: Device not unlocked cannot flash or erase)
finished. total time: 0.001s
wiping userdata...
Creating filesystem with parameters:
Size: 12611891200
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 3079075
Block groups: 94
Reserved block group size: 751
Created filesystem with 11/770048 inodes and 88617/3079075 blocks
target reported max download size of 1073741824 bytes
wiping cache...
Creating filesystem with parameters:
Size: 536870912
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 2048
Label:
Blocks: 131072
Block groups: 4
Reserved block group size: 31
Created filesystem with 11/32768 inodes and 4206/131072 blocks
erasing 'userdata'...
FAILED (remote: Device not unlocked cannot flash or erase)
finished. total time: 0.001s
Press Enter to reboot the device
rebooting...

finished. total time: 0.251s
Press any key to continue...

root@TP-X220:/home/explit/Service/FP2/FW/FP2-GMS/17.04.8# fastboot flashing unlock
...

I also have another FP2, which is working.

Is it somehow possible to download the bootloader (or all partitions) and restore them on the broking FP2?