Closed rodrgz closed 2 years ago
did u find any solution for it so far?
did u find any solution for it so far?
No, do you reproduce this issue?
Yes I did dude. I am trying to solve my friends blocked bootloader in linux, but this doesnt seem to work sad. You got any other working way?
Yes I did dude. I am trying to solve my friends blocked bootloader in linux, but this doesnt seem to work sad. You got any other working way?
Unfortunately no, the closest I got was through Xiaomitoolv2. I tried with the official tool in Win10, but the line with the USB connection just blinked once and ejected the USB connection. I do not try yet to format the cell phone to an old android and then try again. But I think it's possible a server problem, I don't know, maybe I will wait sometime to try again.
Yes I did dude. I am trying to solve my friends blocked bootloader in linux, but this doesnt seem to work sad. You got any other working way?
Unfortunately no, the closest I got was through Xiaomitoolv2. I tried with the official tool in Win10, but the line with the USB connection just blinked once and ejected the USB connection. I do not try yet to format the cell phone to an old android and then try again. But I think it's possible a server problem, I don't know, maybe I will wait sometime to try again.
That's sad... I just made him unlock with official tool in windows. It worked it seems, nice
I got stuck at the same issue. I think Xiaomi has just made changes to their service and requiring a "serviceToken" for server authentication. I have just 1 more day left before I can unlock my phone. Sad. I don't have a Windows device so I cannot use the Xiaomi official tool. Planning to find an internet cafe with Windows PCs.
I got stuck at the same issue. I think Xiaomi has just made changes to their service and requiring a "serviceToken" for server authentication. I have just 1 more day left before I can unlock my phone. Sad. I don't have a Windows device so I cannot use the Xiaomi official tool. Planning to find an internet cafe with Windows PCs.
U use Linux? Maybe try using windows using kvm. Maybe that will work. Idk a shit about it tho haha. Hope u find someway. Do let me know what u do
I'm getting that too on a Mac
Same issue on Linux
No solution/workaround for it as of now... Sad. Maybe we should as for Linux tool in miui forum. They say people who need unlocked for Linux are very less
I got stuck at the same issue. I think Xiaomi has just made changes to their service and requiring a "serviceToken" for server authentication. I have just 1 more day left before I can unlock my phone. Sad. I don't have a Windows device so I cannot use the Xiaomi official tool. Planning to find an internet cafe with Windows PCs.
U use Linux? Maybe try using windows using kvm. Maybe that will work. Idk a shit about it tho haha. Hope u find someway. Do let me know what u do
I'm a Mac user. I have virtual machine options on Mac (eg. Parallel Desktop) too but I'm too lazy to download a Windows system image. I'm pretty sure most Xiaomi engineers also work on Macs. It's insane they only provide a Windows version of their tool.
I got stuck at the same issue. I think Xiaomi has just made changes to their service and requiring a "serviceToken" for server authentication. I have just 1 more day left before I can unlock my phone. Sad. I don't have a Windows device so I cannot use the Xiaomi official tool. Planning to find an internet cafe with Windows PCs.
U use Linux? Maybe try using windows using kvm. Maybe that will work. Idk a shit about it tho haha. Hope u find someway. Do let me know what u do
I'm a Mac user. I have virtual machine options on Mac (eg. Parallel Desktop) too but I'm too lazy to download a Windows system image. I'm pretty sure most Xiaomi engineers also work on Macs. It's insane they only provide a Windows version of their tool.
Yeah man sad. Why they wanna do all this, permission and all. just let fastboot oem unlock, unlock the bootloader, it'll be simple af and can run it anywhere. Even on phone using bugjaegar
I'm a Windows user, had the common issue of unrecognizable device in fastboot. Flashed a live boot Linux USB drive with Solus OS, got XiaoMiToolV2 working and all, did all the udev
shenanigans to allow device access permissions, and got stuck on the same issue. Seeing as this is happening on all three platforms and that all reports of that are all within the last week, I'm highly suspecting of Xiaomi's services instability, really.
I don't know if you have had this other issue as well, but when trying to sync the account to allow for bootloader unlocking, it now fails basically all the time. I think I was lucky on Sunday and got a success response once but that was it; all other responses are something of the likes of "Couldn't execute sync procedure. Please try again".
This behavior makes me think the issues are somehow related. I'll keep you guys posted.
I have been trying to unlock my, now old, Redmi 6 for three days to install a custom rom ... but the error exposed by @erikrodrgz keeps happening to me.
What mistake is that anyway?
PS: I'm on Linux
I have been trying to unlock my, now old, Redmi 6 for three days to install a custom rom ... but the error exposed by @erikrodrgz keeps happening to me.
What mistake is that anyway?
PS: I'm on Linux
It's not your mistake, its xiaomi messed something up I think, right now best solution is somehow get windows and use the xiaomi's official unlocker...
I had the same problem in Linux. I finally did it in windows with the official app. But I needed to run bcdedit /set testsigning on
as administrator and then run XiaomiToolv2 to install some needed drivers .
I have same problem. Probably the Xiaomi site changed something
Same with Linux and Windows (kvm + usb redirection)
@uAliFurkanY how did you set up the USB connection?
Using kvm I was unable to get xiaomi recognized not only by XMT2, but not even by MiPC suite... Windows recognizes it, bit Mi softs no...
@CavaleriOmar in qemu you can do this -usb -device usb-host,hostbus=NUM,hostport=NUM
where you can find the numbers with lsusb
. But it didn't work for me. I don't know if it is a problem with my laptop as also fastboot had problems. Only using a different laptop with windows 10 it worked.
I was using virt-manager so I just redirected the USB debice every reboot.
Mi's official tool worked in the end, I'm typing from DotOS.
On Sun, Jul 25, 2021, 3:38 PM Omar Cavaleri @.***> wrote:
@uAliFurkanY https://github.com/uAliFurkanY how did you set up the USB connection?
Using kvm I was unable to get xiaomi recognized not only by XMT2, but not even by MiPC suite... Windows recognizes it, bit Mi softs no...
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/francescotescari/XiaoMiToolV2/issues/23#issuecomment-886196081, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANT4ZCLULHDDKUMN5XDDOHDTZQASPANCNFSM5AJAWLSQ .
@uAliFurkanY , same VM
Done.
Windows 10 under VM... MI PC suite did not recognize it simply because the Redmi 6 is out of support...
MI Flash Unlock found it right away (yesterday it didn't recognize it because I'm a jerk and I hadn't put it in fastboot).
I got same problem, too. I had been used it to unlock/twrp/flash many Mi-devices, included Redmi Note5/Note7/Note8/K20/K30/K30s, on my mac (Mojave 10.14.6) without any issue, but recently when I tried to unlock my new Redmi 9T , I got same message and always failed. even I tried to check old success unlock/flash devices, I got same message, too.
I don't have any PC with win7/10, and I also don't use VM with win10.
did MIUI server change rules?
@pixrafal wow, world seems small huh? I'm facing same issue with Redmi 9T, fortunately I seem not alone. Keep monitor this issue guys.
I got same problem, too. I had been used it to unlock/twrp/flash many Mi-devices, included Redmi Note5/Note7/Note8/K20/K30/K30s, on my mac (Mojave 10.14.6) without any issue, but recently when I tried to unlock my new Redmi 9T , I got same message and always failed. even I tried to check old success unlock/flash devices, I got same message, too.
I don't have any PC with win7/10, and I also don't use VM with win10.
did MIUI server change rules?
Yes seems like Miui server changed something. Sad... This is the worst thing about xiaomi
Having the same issue!. hopefully, this gets resolved soon.
Same issue probably xiaomi changes his APIs
is there any possibility for this to be fixed? I want to unlock the bootloader of my Mi 3c so I can install Ubuntu Touch but I don't want to wait for the official unlocker to be able to unlock the device
Even if this tool would work, you still have to wait because this unlock tool is using Xiaomis APIs.
Error when I'm try to unlock locked bootloader on xiaomi redmi note 7 pro prime (after upgrading to miui 12.5 all google services not works and I need root for go back to miui 11..)
Even if this tool would work, you still have to wait because this unlock tool is using Xiaomis APIs.
Oh I thought it wouldnt because I found this on a video that says you dont need to wait and instantly unlock the bootloader of your device. Oh well, i just did a check and found out that my device had already unlocked bootloader so I will only use the program for flashing custom roms
Oh, pensavo che non lo sarebbe stato perché l'ho trovato su un video che dice che non è necessario attendere e sbloccare immediatamente il bootloader del dispositivo. Vabbè, ho appena fatto un controllo e ho scoperto che il mio dispositivo aveva già sbloccato il bootloader quindi userò il programma solo per flashare le custom rom
Dà problemi pure nel flashing, perché prima di flashare una custom rom devi flashare TWRP, e la funzione specifica dà sempre errore... e provare a flashare una custom rom DOPO aver flashato in autonomia TWRP... beh, dà sempre errore.
Praticamente ora è inutilizzabile come programma.
Same issue here.
Not sure if it's of any help, just to report that same issue happening here Linux + Redmi 5 Plus
I also have the exact same issue with my Xiaomi Redmi 9 (galahad)
Having the same issue with my Poco F3.
Same issue on arch linux with redmi note 10 pro.
Same problem here, Redmi Note 5 with macOS Catalina
Have this problem too. Bug Sur + Mi 10
guys, has anyone been able to build the project from the linux branch and re-package it for the rest of us? maybe it will work because it's 1 commit ahead of master........
You need to change the Login URI to https://account.xiaomi.com/pass/serviceLogin?sid=unlockApi&json=false&passive=true&hidden=false&_snsDefault=facebook&_locale=en&checkSafePhone=true and make Phone SMS Verification, after you get the correct cookie for Unlock your devices.
\ò/
git clone https://github.com/francescotescari/XiaoMiToolV2
src/main/java/com/xiaomitool/v2/gui/controller/LoginController.java Line 39:
Replace that line with:
private static final String LOGIN_URL = "https://account.xiaomi.com/pass/serviceLogin?sid=unlockApi&json=false&passive=true&hidden=false&_snsDefault=facebook&checkSafePhone=true&_locale=" + Locale.getDefault().getLanguage().toLowerCase();
After that do gradle build && gradle run
, login with 2FA verification, try to unlock your bootloader!
I've not tried myself because i don't want to use another smartphone for 2FA Verification and to Lock & ReUnlock the Bootloader, but if works, please mention me in this thread and tell me if you're able to unlock bootloader and mod your Xiaomi Smartphone!
https://mega.nz/file/4UAjgKrC#Fk1V172GES7M4IUpg_pCfJkGVYXTBOSKxvIj93kuMeA
Just extract and bash run.sh
Happy modding!
https://mega.nz/file/4UAjgKrC#Fk1V172GES7M4IUpg_pCfJkGVYXTBOSKxvIj93kuMeA
Just extract and
bash run.sh
Happy modding!
The file you are trying to download is no longer available.
This link is unavailable as the user’s account has been closed for gross violation of MEGA’s Terms of Service.
:( can you upload somewhere else?
PS: I will open a PR for this
git clone https://github.com/francescotescari/XiaoMiToolV2
src/main/java/com/xiaomitool/v2/gui/controller/LoginController.java Line 39:
Replace that line with:
private static final String LOGIN_URL = "https://account.xiaomi.com/pass/serviceLogin?sid=unlockApi&json=false&passive=true&hidden=false&_snsDefault=facebook&checkSafePhone=true&_locale=" + Locale.getDefault().getLanguage().toLowerCase();
After that dogradle build && gradle run
, login with 2FA verification, try to unlock your bootloader!I've not tried myself because i don't want to use another smartphone for 2FA Verification and to Lock & ReUnlock the Bootloader, but if works, please mention me in this thread and tell me if you're able to unlock bootloader and mod your Xiaomi Smartphone!
I tried to do that:
$ git clone https://github.com/francescotescari/XiaoMiToolV2
Cloning into 'XiaoMiToolV2'...
remote: Enumerating objects: 2569, done.
remote: Counting objects: 100% (2566/2566), done.
remote: Compressing objects: 100% (778/778), done.
Receiving objects: 100% (2569/2569), 67.78 MiB | 388.00 KiB/s, done.
remote: Total 2569 (delta 1593), reused 2566 (delta 1593), pack-reused 3
Resolving deltas: 100% (1593/1593), done.
Updating files: 100% (332/332), done.
╭─[morfik@morfikownia] - [/media/debuilder/git-xiaomimitoolv2] - [2021-08-23 23:16:37]
╰─[0] < > $ cd XiaoMiToolV2
╭─[morfik@morfikownia] - [/media/debuilder/git-xiaomimitoolv2/XiaoMiToolV2] - [2021-08-23 23:20:27]
╰─[0] < > $ geany src/main/java/com/xiaomitool/v2/gui/controller/LoginController.java
╭─[morfik@morfikownia] - [/media/debuilder/git-xiaomimitoolv2/XiaoMiToolV2] - [2021-08-23 23:20:47]
╰─[0] < > $ gradle build && gradle run
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :buildEnvironment
------------------------------------------------------------
Root project
------------------------------------------------------------
classpath
No dependencies
BUILD SUCCESSFUL in 12s
1 actionable task: 1 executed
FAILURE: Build failed with an exception.
* What went wrong:
Task 'run' not found in root project 'XiaoMiToolV2'.
* Try:
Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
Should I do something else to make it work?
git clone https://github.com/francescotescari/XiaoMiToolV2
src/main/java/com/xiaomitool/v2/gui/controller/LoginController.java Line 39: Replace that line with:private static final String LOGIN_URL = "https://account.xiaomi.com/pass/serviceLogin?sid=unlockApi&json=false&passive=true&hidden=false&_snsDefault=facebook&checkSafePhone=true&_locale=" + Locale.getDefault().getLanguage().toLowerCase();
After that dogradle build && gradle run
, login with 2FA verification, try to unlock your bootloader! I've not tried myself because i don't want to use another smartphone for 2FA Verification and to Lock & ReUnlock the Bootloader, but if works, please mention me in this thread and tell me if you're able to unlock bootloader and mod your Xiaomi Smartphone!I tried to do that:
$ git clone https://github.com/francescotescari/XiaoMiToolV2 Cloning into 'XiaoMiToolV2'... remote: Enumerating objects: 2569, done. remote: Counting objects: 100% (2566/2566), done. remote: Compressing objects: 100% (778/778), done. Receiving objects: 100% (2569/2569), 67.78 MiB | 388.00 KiB/s, done. remote: Total 2569 (delta 1593), reused 2566 (delta 1593), pack-reused 3 Resolving deltas: 100% (1593/1593), done. Updating files: 100% (332/332), done. ╭─[morfik@morfikownia] - [/media/debuilder/git-xiaomimitoolv2] - [2021-08-23 23:16:37] ╰─[0] < > $ cd XiaoMiToolV2 ╭─[morfik@morfikownia] - [/media/debuilder/git-xiaomimitoolv2/XiaoMiToolV2] - [2021-08-23 23:20:27] ╰─[0] < > $ geany src/main/java/com/xiaomitool/v2/gui/controller/LoginController.java ╭─[morfik@morfikownia] - [/media/debuilder/git-xiaomimitoolv2/XiaoMiToolV2] - [2021-08-23 23:20:47] ╰─[0] < > $ gradle build && gradle run Starting a Gradle Daemon (subsequent builds will be faster) > Task :buildEnvironment ------------------------------------------------------------ Root project ------------------------------------------------------------ classpath No dependencies BUILD SUCCESSFUL in 12s 1 actionable task: 1 executed FAILURE: Build failed with an exception. * What went wrong: Task 'run' not found in root project 'XiaoMiToolV2'. * Try: Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 1s
Should I do something else to make it work?
Wait few seconds, i'm reuploading it on DropBox.com!
Ok.
Ok.
https://dubox.com/s/1RLWtwwYzoz6W3R4INjyKbw Password: nvrs
unzip XiaoMiToolV2(Alpha Version by Denis Sossich).zip
cd "XiaoMiToolV2(Alpha Version by Denis Sossich)"
bash run.sh
https://mega.nz/file/4UAjgKrC#Fk1V172GES7M4IUpg_pCfJkGVYXTBOSKxvIj93kuMeA Just extract and
bash run.sh
Happy modding!The file you are trying to download is no longer available. This link is unavailable as the user’s account has been closed for gross violation of MEGA’s Terms of Service.
:( can you upload somewhere else?
PS: I will open a PR for this
https://dubox.com/s/1RLWtwwYzoz6W3R4INjyKbw Password: nvrs
unzip XiaoMiToolV2(Alpha Version by Denis Sossich).zip
cd "XiaoMiToolV2(Alpha Version by Denis Sossich)"
bash run.sh
https://mega.nz/file/4UAjgKrC#Fk1V172GES7M4IUpg_pCfJkGVYXTBOSKxvIj93kuMeA Just extract and
bash run.sh
Happy modding!The file you are trying to download is no longer available. This link is unavailable as the user’s account has been closed for gross violation of MEGA’s Terms of Service.
:( can you upload somewhere else?
PS: I will open a PR for this
Thank you very much for correcting the obsolete code by integrating my URI of Xiaomi with the Login 2FA, now all that remains is to try a BootLoader Unlock and see if it works as I predicted, I based on MiUnlockTool that has in a folder a file called app-config, in this file there is the Login URI that integrates the 2FA, just entered the Code via SMS in the Login Box, the App MiUnlockTool registers the user and allows the bootloader unlock.
If I've solved the problem, which is at the root of the software's operation (If it doesn't unlock the Bootloader it can't perform other actions), I'd be pleased to appear in the Credits of Contributing Developers with the name "Denis Sossich".
I followed the instructions to unlock my Xiaomi phone, but I found this procedure error in the current linux version and in the Windows version.