topminipie / XiaoMiToolV2

BootLoader unlock tool for Xiaomi devices
Apache License 2.0
26 stars 5 forks source link

Can i use local rom or use mirror server, for bricked devices #60

Closed jackestar closed 2 months ago

jackestar commented 2 months ago

Why

some servers are extremely slow ~50Kbit/s (same with several VPNs) and if I already have the official ROM or if I want to downgrade. Also considering that the tool depends on said servers.

A way

src/main/java/com/xiaomitool/v2/xiaomi/miuithings/Mirrors.java

I see that in file Mirrors.java there is a function that would import them from a json, but instead it uses the value of DEFAULT_MIRROR.

I'm not very good with java btw, I don't know if I already directly make my json with the mirrors. And I don't want to have to recompile the project for each mirror

topminipie commented 2 months ago

This fork was created to maintain bootloader unlocking. Other features I do not recommend even trying to use. (they may not be up to date or compatible with HyperOS for example). I advise you to manually download the image and install it or use other modern utilities (e.g. MiFlash Pro).