Linux android drivers usb

Linux Mint Forums

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

ADB and USB drivers

Post by homerus » Wed Jul 06, 2016 8:19 am

First of all, I searched on the forum if there was already a topic about this issue, but it seems not, so I opened this one. In case it’s a double, I apologies and please just close this one.

As on object, I’m trying to install the ADB and USB drivers for Android development on my Linux Mint 17.3, but I can’t get it work. I admit I’m not that familiar with Linux as I’m on my first experiences with Mint, but I really don’t get what I do wrong here.

I’m following the guide from this link with no success: https://community.linuxmint.com/tutorial/view/888

This passage particularly is not clear to me as I don’t understand how to do that:

it’s neccesary step to create ~/.android/adb_usb.ini.

Edit ~/.android/adb_usb.ini. Add usb subsystem ID to adb_usb.ini, like below:

Is there anybody who’s familiar with this procedure or can help me in installing these bloody ADB and USB drivers?

Any help will be really appriaceted, thanks in advance to anybody who’ll help me in solving this annoying issue.

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

Re: ADB and USB drivers

Post by fungus » Wed Jul 06, 2016 1:18 pm

You do not clarify what problems you experience, so.. What are your exact issues with adb?

I have Android Studio installed on Linux Mint 17.3 and it works well «out of the box». You should not need to install any special USB-drivers for Android development. What might confuse you is that «~/» refers to your home folder (eg. /home/your_user_name/) and all files and folders that starts with «.» are hidden in Linux (eg. ~/.android/ is a hidden folder in your home folder).

Linux Mint 17.3 64bit KDE @ Asus B150M-A, i3 6100, Crucial 16GB DDR4, Crucial BX100
One bit says: YES, the other answers: NO.. Guess who’s he and who’s she. 😉

Re: ADB and USB drivers

Post by homerus » Thu Jul 07, 2016 6:11 am

fungus wrote: You do not clarify what problems you experience, so.. What are your exact issues with adb?

I have Android Studio installed on Linux Mint 17.3 and it works well «out of the box». You should not need to install any special USB-drivers for Android development. What might confuse you is that «~/» refers to your home folder (eg. /home/your_user_name/) and all files and folders that starts with «.» are hidden in Linux (eg. ~/.android/ is a hidden folder in your home folder).

Thank you fungus for your reply, I’ll try to be more clear:

Читайте также:  Image disk writer linux

I have a Xiaomi Mi3 Smartphone which came with no italian language and the play store app. I therefore uploaded on the device another rom which included both the italian language and the play store app, but unfortunately, with this rom the phone does not recongnize the sim card anymore.

I looked for a solution and I ended on some forum where it’s suggested to upload a different rom using the adb shell. Unfortunately, as I said before, I cannot manage to have the adb working properly, so when I connect the phone to the pc and I type «adb devices», there is no device attached.

This seems to be a problem with the USB drivers (as we can see at the link i posted on my previous post)

I tried as you suggested to install the Android Studio, hoping that it would install everything I needed to, but nothing changed.

Basically, I’m following this guide (I know it’s in italian, sorry), but without the adb drivers I can’t do anything.

I hope to have been more understandable this time.

Re: ADB and USB drivers

Post by fungus » Thu Jul 07, 2016 6:53 am

Okay, that clarifies it. If you connect your phone to USB and open a console and run the command «lsusb», does your phone show up in the list of connected devices? If no you might want to try to unplug your phone and enable developer settings on the phone and then reconnect it and run the lsusb command again.

Linux Mint 17.3 64bit KDE @ Asus B150M-A, i3 6100, Crucial 16GB DDR4, Crucial BX100
One bit says: YES, the other answers: NO.. Guess who’s he and who’s she. 😉

Re: ADB and USB drivers

Post by homerus » Thu Jul 07, 2016 8:00 am

fungus wrote: Okay, that clarifies it. If you connect your phone to USB and open a console and run the command «lsusb», does your phone show up in the list of connected devices? If no you might want to try to unplug your phone and enable developer settings on the phone and then reconnect it and run the lsusb command again.

this is the output with the phone connected

Bus 002 Device 005: ID 2717:ff48
Bus 002 Device 003: ID 17ef:6019 Lenovo
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 0489:e011 Foxconn / Hon Hai Acer Bluetooth module
Bus 001 Device 003: ID 064e:a219 Suyin Corp. 1.3M WebCam (notebook emachines E730, Acer sub-brand)
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

end this is the one without phone

Bus 002 Device 003: ID 17ef:6019 Lenovo
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 0489:e011 Foxconn / Hon Hai Acer Bluetooth module
Bus 001 Device 003: ID 064e:a219 Suyin Corp. 1.3M WebCam (notebook emachines E730, Acer sub-brand)
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

So I guess that Bus 002 Device 005: ID 2717:ff48 is the phone

I can actually access to the phone as usb storage device, however if I try adb devices, it deosn’t see it

$# adb devices
List of devices attached

I had already enabled the developer settings on the phone (by tapping 7 times on «MIUI version» and activating the USB debugging)

Читайте также:  Linux windows wifi drivers

I really don’t know what to do.

Источник

Есть ли универсальный USB Android драйвер?

Есть ли под Линукс универсальный драйвер модема.роутера для использования андроид телефона по USB подключению?Я использую лубунту и не в свободных не пропиреатных драйверах ничего такого не обнаружил а телефон по подключению система не видит.

lsusb и dmesg в студию.
Режим модема еа телкфоне включён? Что за телефон? Кто тебя так учил задавать вопросы?

Пробуй на новом ядре — это же линукс.

Я не знаю что такое lsusb и dmesg На телефоне все включено. Телефон LG e405

Спасибо но кажеться мне что на новом ядре не лучше будит.

Чувак, если ты хочешь чтобы тебе помогли, то изучай непонятные для себя вещи, которые предлагают другие.

Похоже, что ты совсем не понимаешь ситуацию.

Дело не в дровах. Современный телефон — это по сути компьютер. Когда ты подключаешь его к ПК, телефон, как правило, транслирует сигналы с радиомодуля, карты памяти и внутренней памяти так, как будто они подключены к ПК напрямую. Если эти сигналы не обрабатываются ПК, это значит, что он либо не понимает конкретный радиомодуль или модуль памяти, что маловероятно; либо, что скорее всего, сам телефон в целях безопасности не транслирует эти сигналы на ПК, либо использует для трансляции собственное проприетарное API.

  • Какая модель телефона?
  • Какой номер версии Lubuntu? 32 или 64 бита?
  • Зачем ты хочешь подключить телефон: чтобы считать с него данные или чтобы выйти в интернет? Какой именно интернет: WiFi, 3G, 4G?
  • Как это происходит на Windows: просто втыкаешь и работает или нужно ставить дополнительное ПО?

Android — открытая ОС. Linux — Открытая ОС. Все подобные вещи работают через драйвер и в Windows тоже. У меня 386 с ядром 6 какимто там,телефон LG E405 для выхода в интернет. 3G модемы на нем работают потому как есть драйвера а для этого нет.Читал что все драйвера для Линукс привязаны к ядру.Думал может есть какойто пакет установив который все заработает.

Дрова в линуксе и в винде — очень разные. Еще раз: как это работает в винде, программу или драйвер ставить надо или можно просто воткнуть? Если нужно что-то ставить, то не факт, что этот драйвер есть под линукс, то что у андроида открыто ядро, не означает, что у него открытые драйвера.

Есс честно то я не знаю как это в винде но думаю что надо ставить драйвер который скачиваеться с сайта LG.Когда то давно я с телефона именно так выходил но не с этого.Принцип работы устройств один во всех платформах а тебе хватит муру графоманскую писать,если есть что по делу сказать — помоги.

Принцип работы устройств один во всех платформах

Источник

Download and Install Google USB Driver on Windows, Mac and Linux

Google USB Driver is a downloadable component in Android Studio and is available from Android SDK Manager. The Google USB Drivers are available for Windows OS and are not required for Mac; for Linux systems, there is a workaround to install them. Here you can download Google USB Driver Package for Windows 10, Windows 7, Windows 8, Windows 8.1, and Linux systems and find complete instructions on how to install them manually.

Google USB Driver

Google USB Driver doesn’t include ADB and Fastboot Drivers, you need to install them separately — follow the instruction here on how to install ADB and Fastboot Drivers. The Google Android USB Drivers helps in making two hardware devices (Android Device and PC) communicate/connect with each other.

Читайте также:  Горячие клавиши линукс настройка

If you already have installed Android Studio on your Windows PC, then chances are that you already have these drivers installed. These Android drivers are updated frequently adding compatibility for more and more Android devices. It is always a good idea to have the latest version of these drivers installed on the system.

Download Google USB Drivers for Windows

There are two methods to install Google Android USB Driver on a Windows PC. The drivers come bundled with Android Studio and are also available as a separate package, for the users who don’t want to install Android Studio for the purpose of installing these drivers.

Method 1: Download and install Google USB Driver Package manually on Windows 10/7/8/8.1

Step 1: Download the latest Google USB Driver Package (latest_usb_driver_windows.zip) from here.

Step 2: Extract the Zip package to obtain «android_winusb.inf » and other driver files.

Step 3: Connect your Android device to PC.

Step 4: Open «Device Manager» and look for your Android device. It will be listed under «Portable Devices» or under «Other devices«.

Step 5: Once you have found your device, select it and right click. From the list of options choose «Update driver» or «Update Driver Software«.

Step 6: Hardware Update wizard should launch. In the wizard choose «Browse my computer for driver software» -> «Browse» -> «Select the folder where you have extracted the drivers» -> «OK«.

Google USB Driver - Device Manager

Step 7: Click «Next» and follow the onscreen instructions to install the driver.

Method 2: Install Google USB Driver from Android SDK Manager (Android Studio)

Step 1: Download and Install Android Studio on your PC. [Link]

Step 2: Run Android Studio and click on «Tools» -> «SDK Manager«.

Step 3: Click on the «SDK Tools» tab and select «Google USB Driver» and click «OK«.

Android SDK Manager Windows USB

Step 4: The Google USB Driver Package should now download and install. When done, the driver files are downloaded into the android_sdk\extras\google\usb_driver\ directory.

Download Google USB Driver for Mac

Mac OS doesn’t require the Google Android USB Drivers to be installed. They are readily available and no extra work is needed to make them work. Just connect your device to Mac and it will be detected automatically and you can start transferring Media and other files to and from Mac to Android device.

Download Google USB Driver for Linux

To install the Android drivers on Ubuntu Linux follow the instructions listed below.

Step 1: Open Settings app and enable USB Debugging from Developer Options on your device. If the Developer Options are missing, go to About Phone and tap on Build Number for 7-10 times.

Step 2: Once the USB Debugging option is enabled, connect the device to the Ubuntu Linux system.

Step 3: Run terminal and enter the below command

apt-get install android-tools-adb

Google USB Driver Linux

The above command will install ADB and Fastboot drivers along with Google USB Drivers on Ubuntu Linux.

This was the complete tutorial on how to install Google USB Driver on Windows, Linux, and Mac. If you have any queries, do let us know in the comment section.

Download and Install Google USB Driver on Windows, Mac and Linux was last modified: April 9th, 2019 by Alpesh

This page may contain affiliate links so we earn a commission. Please read our affiliate disclosure for more info.

Источник

Оцените статью
Adblock
detector