What do You mean by activate device? I didn't do anything like it.
You don't need adb for that. Use MiFlash.
1.Download MiFlash,
2.Download dev rom,
3.Unpack it (it can be packed twice so You need to unpack until You get few files with .bat and .sh extension
4. Turn off You phone and turn it...