  UART cable:
1. Phone must be powered on.
2. Connect the phone to UART cable.
3. Choose correct COM port in port settings.
4. Press "Unlock" button.
  USB cable:
1. Phone must be powered on.
2. Type *#782872# to switch phone to Qualcomm USB mode,
   (after operations you can enter *#726872# to switch back to Samsung USB mode.)
3. Connect USB cable, install drivers.
4. Select diagnostic port in port settings.
5. Press "Unlock" button.