For those who have already inserted their SIM card into the Xiaomi phone, the other answers would work. But, if you are using Xiaomi Redmi 5 only for development purposes, you will need to do as below:
For those who have already inserted their SIM card into the Xiaomi phone, the other answers would work. But, if you are using Xiaomi Redmi 5 only for development purposes, you will need to do as below: