Installing Adb on Windows
A little backstory. I bought a new SD Card from my 7a with only 16Gb of memory, 3Gb of which available for user (ahem, Android). My old 16Gb SD Card was 7+ years old and dying already. New card is 64Gb Kingstone, as according to the manufacturer it’s class 10 (it’s not), but, whatever. Music and films is playing, books are opening, I am happy. What I’m not happy with was MTP - Media Transport Protocol, which is common for all electronic devices nowadays (Linux smartphones: am I’m jock for you?!). Anyway.
Therefore, I decided to give ADB (Android Debug Bridge) a try. Moreover, I am more or less happy with it. Until, on work, I was in need to copy something on smartphone. And there, where my personal hell begins. Ew, a Windows! My smartphone just cannot connect to Windows, because of lack of drivers. Of course, I was going to 4pda.to, just to find some shady ADB drivers for Xiaomi. “Ding, ding, ding!” my experience said to me is something wrong. Doesn’t Google, like, should made available ADB tools? But first link in Google (!) leads to ClockWorks recovery “Universal USB driver”. Oddly enough, DuckDuckGo also lead to a this website, but not to a official Google developers page! What? Next few links both in Google and DuckDuckGo leads to some sort of shady websites.
Yes, “source” of “Universal USB driver” available here. However, if you have a closer look, it is not a source, just installer C# sources but not driver’s sources. All drivers and programs in this repository is actually binary. Don’t download this. I don’t know what harm it can cause (because it is a Google Nexus ADB USB driver), but better download from official sources, right? One more note: on Xiaomi Redmi 7a, you don’t need to enable file transfer! Just plug device to computer and run adb.exe devices
. If you still doesn’t see your device, go to device control
and install driver from official Google page below.
For Linux, if your distribution packaging ADB or if you’re using Arch-based distribution, just install android-tools
package. You don’t need any drivers, since they’re in kernel itself.