Question 'unable to connect' error message

Search This thread

hpsauce37

Senior Member
Sep 10, 2010
1,006
64
Xiaomi 13
Ok so I am trying to unlock bootloader so that I can then flash the euro rom for Xiaomi 13. I currently have the Chinese version and using in the UK.

When I go into the phone settings and check mi unlock status and try to add my device to my account I get the error message as per title.

1. I have turned off wifi
2.i have signed in and out of my mi account several times to see if this would help
3. I have logged into my mi account through PC using same account details as those on the phone and it shows my device under 'my devices'

The problem is that I have never had the confirmation when trying to add my device through the phone that it has been linked correctly and I assume that is what is causing me a problem when I try to unlock my bootloader using mitools.

When I do this I get an error come up that states something like 'missing token'. I can't remember the exact words.

Not sure where I go from here. All drivers are installed correctly and device is recognized in adb .

Help please, really need to get of this Chinese rom.
 

hpsauce37

Senior Member
Sep 10, 2010
1,006
64
Xiaomi 13
Thanks for your reply...

The first link just takes me to Xiaomi community home, not sure what im supossed to belooking for or checking there?

The second link takes me to a guide to unlock the bootloader, I am using Mitools to do this. This goes through its various stages to ensure all drivers insyalled etc and connects to the phone fine. i then have the option to select what i would like to do, i select 'unlock bootloader and then it links me to my xiaomi account where i sign in using the same details as are signed into on my phone. I am then faced with the 'xiaomi procedure failed [get service token] missing service token message.

Can you also explain what you mean by ensure currency location is enabled please?
 

hpsauce37

Senior Member
Sep 10, 2010
1,006
64
Xiaomi 13
125452530-fa20405e-f2ac-4a04-9648-d3c2782ac931.png
 

NOSS8

Recognized Contributor
Thanks for your reply...

The first link just takes me to Xiaomi community home, not sure what im supossed to belooking for or checking there?

The second link takes me to a guide to unlock the bootloader, I am using Mitools to do this. This goes through its various stages to ensure all drivers insyalled etc and connects to the phone fine. i then have the option to select what i would like to do, i select 'unlock bootloader and then it links me to my xiaomi account where i sign in using the same details as are signed into on my phone. I am then faced with the 'xiaomi procedure failed [get service token] missing service token message.

Can you also explain what you mean by ensure currency location is enabled please?
The first link is the method and the second the official tool.
Settings/Xiaomi account/Xiaomi cloud/locate the device.
 

hpsauce37

Senior Member
Sep 10, 2010
1,006
64
Xiaomi 13
further to the above it seems others have recently had the same issue.

Hope im allowed to post this link here

There is mention in this that you have to have had your xiaomi account live for 7 days and have synced some items? Not sure if thats the case or not but this is becoming very frustrating. Really want to be off this chinese rom
 

NOSS8

Recognized Contributor
further to the above it seems others have recently had the same issue.

Hope im allowed to post this link here

There is mention in this that you have to have had your xiaomi account live for 7 days and have synced some items? Not sure if thats the case or not but this is becoming very frustrating. Really want to be off this chinese rom
But you are using an unofficial tool and complain that it doesn't work.
 

hpsauce37

Senior Member
Sep 10, 2010
1,006
64
Xiaomi 13
i tried the offical tool first but didnt work either, i then found on a youtube search that someone suggested trying mitool as that would also ensure you had all the corect drivers installed etc on pc for the adb when it came to flashinging the rom.

On another note, ive just tried to log into xiaomi cloud from my pc to use the find device service as i thought that might link the drvice and ive just had an account message come up saying that because i had not used my account for over a year that cloud services are no longer available on that account.

Do you think i need to delete that account somehow and just create a new one?
 

NOSS8

Recognized Contributor
i tried the offical tool first but didnt work either, i then found on a youtube search that someone suggested trying mitool as that would also ensure you had all the corect drivers installed etc on pc for the adb when it came to flashinging the rom.

On another note, ive just tried to log into xiaomi cloud from my pc to use the find device service as i thought that might link the drvice and ive just had an account message come up saying that because i had not used my account for over a year that cloud services are no longer available on that account.

Do you think i need to delete that account somehow and just create a new one?
Try again with the official tool and post a screenshot of the error just in case.
You must place the Mi unlock folder at the root of your hard disk and check that:
unl.png
 

hpsauce37

Senior Member
Sep 10, 2010
1,006
64
Xiaomi 13
Try again with the official tool and post a screenshot of the error just in case.
You must place the Mi unlock folder at the root of your hard disk and check that:
ok i have the offical mi unlock on C drive. I have also just deleted my old xiaomi account and created a new on just to ensure there is no conflict there. i am logged in with the new account on my device and will log into mi unlock with same details and lets see what happens.

Thanks for your help so far,
 

hpsauce37

Senior Member
Sep 10, 2010
1,006
64
Xiaomi 13
ok so i am now a step further on!

having done the above (created a new xiaomi account) i am now being given the option (using offical versio) to unlock bootloader!

Im going to do that in a few hours as i believe it will wipe my device and take it back to its first start up?

That being the case it will then not have google play etc installed. Obviously my intention then is to flash the EU rom which i assume has google play pre installed?
 

NOSS8

Recognized Contributor
ok so i am now a step further on!

having done the above (created a new xiaomi account) i am now being given the option (using offical versio) to unlock bootloader!

Im going to do that in a few hours as i believe it will wipe my device and take it back to its first start up?

That being the case it will then not have google play etc installed. Obviously my intention then is to flash the EU rom which i assume has google play pre installed?
Yep, this operation will erase your data as well as the first installation of the Xiaomi Eu rom which has the play store certified without root.
 

hpsauce37

Senior Member
Sep 10, 2010
1,006
64
Xiaomi 13
ok so just to confirm,

i now unlock the bootloader (hopefully i wont get the wait 'x' days message) and that will then completley wipe my device and take it back to its original chinese rom and start up screen like it was fresh out the box.

I can then just flash the EU ROM over the top and then i will have a device which has play store pre installed and nothing Chinese on it?
 

NOSS8

Recognized Contributor
ok so just to confirm,

i now unlock the bootloader (hopefully i wont get the wait 'x' days message) and that will then completley wipe my device and take it back to its original chinese rom and start up screen like it was fresh out the box.

I can then just flash the EU ROM over the top and then i will have a device which has play store pre installed and nothing Chinese on it?
You will probably have to wait 168 hours.
Once the bootloader unlocks the phone restarts and asks you to connect to your account, go to the end of the configuration without entering passwords or others then flash the Xiaomi Eu rom (recommended fastboot method, First install.bat) .
Just the themes will have Chinese inside since it is Chinese based.
Xiaomi Eu rom infos.
 

hpsauce37

Senior Member
Sep 10, 2010
1,006
64
Xiaomi 13
You will probably have to wait 168 hours.
Once the bootloader unlocks the phone restarts and asks you to connect to your account, go to the end of the configuration without entering passwords or others then flash the Xiaomi Eu rom (recommended fastboot method, First install.bat) .
Just the themes will have Chinese inside since it is Chinese based.
Xiaomi Eu rom infos.
great thanks.

168 hours thing is a pain as i assume i wont be able to use my phone durring that time? obviously when it all starts it will be in chinese. Will i have an option to select english durring that reboot process? i guess also if i do want to use it while waiting for the 168 hours thing i would need to install google play again somehow?

The phone came with that pre-installed so i have not done that before.
 

hpsauce37

Senior Member
Sep 10, 2010
1,006
64
Xiaomi 13
great thanks.

168 hours thing is a pain as i assume i wont be able to use my phone durring that time? obviously when it all starts it will be in chinese. Will i have an option to select english durring that reboot process? i guess also if i do want to use it while waiting for the 168 hours thing i would need to install google play again somehow?

The phone came with that pre-installed so i have not done that before.
actually im not thinking this through ....

what you are saying is that i wont be able to actually complete the bootloader unlock process for 160 hours from the point i try to request it. I assume i just carry on using ot as it is then and when the time is up come back and run it again at which point it will reset the phone and then at that point i can then flash the EU rom
 

hpsauce37

Senior Member
Sep 10, 2010
1,006
64
Xiaomi 13
ok so we have hit another hurdle...

conected the phone ok to the unlock tool and then it stopped at stage 2 saying 'please add your device to your Mi account and try again'

i went back to the device and into developer settings and then Mi unlock status and clicked add device and again was greated with the original message of 'cannot connect please try again later'

wifi was off and the sim card in the phone....just dont know where i go from here.

when i sign into my xiaomi account on pc the device is shown there and when i sign into xiaomi cloud and click find device it locates it so all seems to be fine.

i dont understand what this connection error message is and why i still need to add it to something when the device shows in my account already
 

NOSS8

Recognized Contributor
ok so we have hit another hurdle...

conected the phone ok to the unlock tool and then it stopped at stage 2 saying 'please add your device to your Mi account and try again'

i went back to the device and into developer settings and then Mi unlock status and clicked add device and again was greated with the original message of 'cannot connect please try again later'

wifi was off and the sim card in the phone....just dont know where i go from here.

when i sign into my xiaomi account on pc the device is shown there and when i sign into xiaomi cloud and click find device it locates it so all seems to be fine.

i dont understand what this connection error message is and why i still need to add it to something when the device shows in my account already
If you have created a new account, it sometimes takes a little time for the account to be activated (server update).
Try to connect with the QR code at the top right.
And of course with USB debugging enabled.
The ultimate solution is to do a factory reset.
Edit:
It seems to me that it is possible to ignore this error by continuing.
 

hpsauce37

Senior Member
Sep 10, 2010
1,006
64
Xiaomi 13
I did a back up to ensure the device was associated with the account and also did the find device thing which it found ok.

Where is the qr code thing your referring to?

Don't really want to resort to the factory reset as obviously I will need to install Google play again which I've not done before...

I don't believe it's possible to ignore this step as when I try to unlock the bootloader with the official too it stops and says the device must be added to the account...