francescotescari / XiaoMiToolV2

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

Captcha image not showing #56

Open mushtaqx opened 2 years ago

mushtaqx commented 2 years ago

When i try to sign in, there is a captcha box but the app only shows an empty square.

I am on Linux but i doubt it would be any different for windows users?

image

Prodromo commented 2 years ago

I have the exact same problem on Ubuntu. I noticed you can CTRL+A to copy and paste in a writer file and you would see the captcha. But when I type it's not accepted. 156360045-a808e6b2-de68-4d57-9084-f16883bbdf4a

This way I cannot receive the text from Xiaomi.

Did you manage to solve it?

beefmode commented 2 years ago

Captcha starts appearing if you bump the version of JavaFX, seems like an outdated WebView issue. I haven't noticed any GUI bugs in the login procedure (up to the SMS verification dialog) from doing this. Comment out the previous LTS and edit to newest build.gradle.kts, line 35:

version = "11.0.2"

to

//version = "11.0.2" version = "17.0.2"

Rerun gradle build and gradle run and it should work.

Prodromo commented 2 years ago

Captcha starts appearing if you bump the version of JavaFX, seems like an outdated WebView issue. I haven't noticed any GUI bugs in the login procedure (up to the SMS verification dialog) from doing this. Comment out the previous LTS and edit to newest build.gradle.kts, line 35:

version = "11.0.2"

to

//version = "11.0.2" version = "17.0.2"

Rerun gradle build and gradle run and it should work.

It actually worked! Captcha was showing and I received the text...

But after confirming, new bug

image

mushtaqx commented 2 years ago

@Prodromo I noticed there was the option to login with qr code and that gives the exact same response as in your screenshot.

Dav4555 commented 2 years ago

Captcha starts appearing if you bump the version of JavaFX, seems like an outdated WebView issue. I haven't noticed any GUI bugs in the login procedure (up to the SMS verification dialog) from doing this. Comment out the previous LTS and edit to newest build.gradle.kts, line 35:

version = "11.0.2"

to

//version = "11.0.2" version = "17.0.2"

Rerun gradle build and gradle run and it should work.

Thx this worked and I don't run in the other bug mentioned. I forked the tool with the fixes inside (url and captcha)

mushtaqx commented 2 years ago

@Dav4555

Tried your fork, it seems Xiaomi is being a complete **** about it though... fkxiaomi

Dav4555 commented 2 years ago

@Dav4555

Tried your fork, it seems Xiaomi is being a complete **** about it though... fkxiaomi

In which step u run in that issue?

mushtaqx commented 2 years ago

@Dav4555 At the very last step, after giving permission and rebooting to fastboot.

Dav4555 commented 2 years ago

@Dav4555 At the very last step, after giving permission and rebooting to fastboot.

Ok after waiting the amount of time I have the same Problem. I took a Windows notebook and used the official tool. Probably last Xiaomi phone