@Anatolian, it might be that your partition table is mislaid. Try cold-flashing the device, that might help as it rewrites the partitions as in the original device layout; flasher -c -f -F main.bin --erase-user-data=secure