XiaoMiToolV2 icon indicating copy to clipboard operation
XiaoMiToolV2 copied to clipboard

Xiaomi procedure failed: [getServiceToken] Missing serviceToken cookie on windows

Open Kristalik0 opened this issue 2 years ago • 9 comments

help please

Kristalik0 avatar Feb 27 '22 15:02 Kristalik0

I have the same issue

ttycelery avatar Apr 17 '22 16:04 ttycelery

Same here.

ALPXHAX avatar May 03 '22 19:05 ALPXHAX

To solve this error, you have to run the latest version by cloning the repository. I put a summary of how I have done it. I have Windows 11.

1- Install Visual Studio Code (for example). 2-Install Git: https://git-scm.com/ 3-Install Java SE Development Kit: https://www.oracle.com/java/technologies/downloads/#jdk18-windows 4-Restart the computer 5-Open Visual Studio and Git Clone the repository

git clone https://github.com/francescotescari/XiaoMiToolV2

6-Once the repository is downloaded, you have to edit a file. Got to "Gradle/Wrapper/gradle-wrapper.propierties" 7-Modify the version line to:

distributionUrl=https://services.gradle.org/distributions/gradle-7.3.2-bin.zip

8-Go to View > Terminal 9-Execute ./gradlew build 10-Execute ./gradlew run

You can now use the tool.

Rafapadilla93 avatar May 13 '22 08:05 Rafapadilla93

Nope... didn't work for me... but tbh, it doesnt't seem like it's a XioaMiTool issue... seems to be a Xiaomi thing. They're messy af with their procedures, platforms and systems.

Ivanturas avatar Jun 06 '22 02:06 Ivanturas

after binding your xiaomi account and xiaomi device 168 hours, then you can use this tool to do something.

FFYzz avatar Jan 04 '23 13:01 FFYzz

Have the same problem on linux, the device is connected for 8 days now with my account, how can I fix this issue?

ka223 avatar Mar 05 '23 16:03 ka223

guys i found the solution finally, i had this problem in linux then i jumped to windows same problem as well ... i remembered that after buying my first xiaomi back in 2016 in order to unlock ur phone u had to send a request to xiaomi in their website and they will send u a link to download mi unlock ... however later they said after u enable debugging on ur phone u have to turn off wifi and then register 4g on ur sim and then enter developper options then mi unlock status and in there u have to press add my account ..... and wait for the succesfully notiication .. in case u have an error u have to go to settings and then mi account then sign out from ur acccount and login again and then enter developer options and mi unlock status and then press add my account after u receive the succesfully notification u can unlock it in the offical app (mi unlock tool) i haven t tried v2 app yet ...be careful don t change the sim number of ur xiaomi account credentials otherwise u will have to wait 15 days to let u unlock it
it's as easy as this ....good luck

aTm12 avatar Jul 15 '23 21:07 aTm12

Where is it mentioned to wait 168 hrs

dharmtej-0206 avatar Nov 08 '23 11:11 dharmtej-0206

dont forget this stap,in developer options you have to say no to oem unlock and usb debugging first,than restart,go bag to developer options find if you wish to unlock,say yes and reenter your xiaomi account(new account),after this enable usb debugging and oem unlock. then start mi unlock tool

devrieshh avatar Dec 20 '23 18:12 devrieshh