francescotescari / XiaoMiToolV2

XiaomiTool V2 - Modding tool for xiaomi devices
https://www.xiaomitool.com
Apache License 2.0
627 stars 123 forks source link

Failed to unlock your device. Please use the common user tool on the official website [macOS] #60

Open k-bala-vignesh opened 2 years ago

k-bala-vignesh commented 2 years ago

Error 20045 Screen Shot 2022-03-23 at 7 29 10 PM

k-bala-vignesh commented 2 years ago

[21:37:54][INFO ][bfa677b] Unlock request (/api/v3/ahaUnlock) response: {"code":20045,"description":"请使用官网普通用户解锁工具进行操作","descCN":"请使用官网普通用户解锁工具进行操作","descEN":"Please use the common user tool on the official website.","uid":"1677152686"} [21:37:54][INFO ][bfa677b] Unlock request response: {"code":20045,"description":"请使用官网普通用户解锁工具进行操作","descCN":"请使用官网普通用户解锁工具进行操作","descEN":"Please use the common user tool on the official website.","uid":"1677152686"}

MMark4 commented 2 years ago

Same error here, Is there a new constraint from part of Xiaomi now?

[11:42:00][INFO ][694a6f57] Process (371) ended with exit code: 0, output len: 21 [11:42:00][INFO ][694a6f57] Connected device: 985de6eb0820 -> fastboot [11:42:00][INFO ][690e3abe] Unlock request (/api/v3/ahaUnlock) response: {"code":20045,"description":"请使用官网普通用户解锁工具进行操作","descCN":"请使用官网普通用户解锁工具进行操作","descEN":"Please use the common user tool on the official website.","uid":"6446412115"} [11:42:00][INFO ][690e3abe] Unlock request response: {"code":20045,"description":"请使用官网普通用户解锁工具进行操作","descCN":"请使用官网普通用户解锁工具进行操作","descEN":"Please use the common user tool on the official website.","uid":"6446412115"}

ro-jc commented 2 years ago

I have also been getting the same error at the same point while trying to unlock an Mi 4 (the latest version of the official tool fails too, but that seems to be because of something else) on linux. I think the error may be related to issue #65 because I’ve also noticed that I get the exact same error message when trying to unlock with an older version of the official mi unlock tool (version 5.5.224.24).

I also noticed the following line in the logs a few steps before the unlock request:- [21:07:21][INFO ][1ed4308b] Unlock request (/v1/unlock/agree) response: {"code":10000,"description":"参数异常","descCN":"参数异常","descEN":"Request parameter error"}

alexbarcelo commented 2 years ago

I can confirm that the error happens also in Linux (I had the same issue described in #50, so I built from source by using the gradlew script).

@swallowroot you can remove the [macOS] from the issue title, as IMHO it seems that the root issue is OS-agnostic. Sorry for not being more helpful, I am stuck there with no Windows machine to unlock my phone :cry:

TechieTom commented 2 years ago

I can confirm that the error happens also in Linux (I had the same issue described in #50, so I built from source by using the gradlew script).

@swallowroot you can remove the [macOS] from the issue title, as IMHO it seems that the root issue is OS-agnostic. Sorry for not being more helpful, I am stuck there with no Windows machine to unlock my phone 😢

Hi @alexbarcelo , even I built it from source and I'm stuck with this issue. Did you have any luck in finding a solution that unlocks the bootloader ?