Hi,
Not sure where exactly to post this, so sorry if this isn't the right section. I've asked on the Linux Mint community forums (as they should have experience with the OS) but figured I'd also post here (as you guys should have experience with ADB and fastboot).
I recently switched over from Win 7 to Mint 15 and cannot get ADB and fastboot to work for the life of me! On Windows, I just downloaded and installed the Android SDK and had no trouble using ADB and fastboot to mod my phone. It is proving to be much more difficult on Linux.
I've searched Google, Linux Mint forums, and these forums; tried following numerous guides, and still my comp can't recognize my phone. Every time I type in "adb devices" I get "List of connected devices" followed by a blank line. No question marks and certainly no connected devices. "lsusb" shows my HTC One S as connected so I know it's not my USB port.
When I plug in my phone, I get an error message, "Unable to mount Android Phone Unable to open MTP device '[usb:002,005]'" and then a file explorer window opens displaying my phone contents anyways. Not sure if this could have anything to do with it but I thought I'd mention it.
In any case, I've tried so many things and am at a complete loss here. Any help would be great as nothing seems to be working and not being able to flash ROMs on my phone is killing me! :?
Thanks in advance.
No one? Craaaaaaap
DRUMROT said:
No one? Craaaaaaap
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=19446284&postcount=62
Check PM.
No luck. This is getting frustrating.
That did the trick for me:
Configuring USB Access
Under GNU/linux systems (and specifically under Ubuntu systems), regular users can't directly access USB devices by default. The system needs to be configured to allow such access.
The recommended approach is to create a file /etc/udev/rules.d/51-android.rules (as the root user) and to copy the following lines in it. <username> must be replaced by the actual username of the user who is authorized to access the phones over USB.
# adb protocol on passion (Nexus One)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e12", MODE="0600", OWNER="<username>"
# fastboot protocol on passion (Nexus One)
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0fff", MODE="0600", OWNER="<username>"
# adb protocol on crespo/crespo4g (Nexus S)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e22", MODE="0600", OWNER="<username>"
# fastboot protocol on crespo/crespo4g (Nexus S)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e20", MODE="0600", OWNER="<username>"
# adb protocol on stingray/wingray (Xoom)
SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", ATTR{idProduct}=="70a9", MODE="0600", OWNER="<username>"
# fastboot protocol on stingray/wingray (Xoom)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="708c", MODE="0600", OWNER="<username>"
# adb protocol on maguro/toro (Galaxy Nexus)
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6860", MODE="0600", OWNER="<username>"
# fastboot protocol on maguro/toro (Galaxy Nexus)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e30", MODE="0600", OWNER="<username>"
# adb protocol on panda (PandaBoard)
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d101", MODE="0600", OWNER="<username>"
# fastboot protocol on panda (PandaBoard)
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d022", MODE="0600", OWNER="<username>"
# usbboot protocol on panda (PandaBoard)
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d00f", MODE="0600", OWNER="<username>"
# usbboot protocol on panda (PandaBoard ES)
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d010", MODE="0600", OWNER="<username>"
# adb protocol on grouper/tilapia (Nexus 7)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e42", MODE="0600", OWNER="<username>"
# fastboot protocol on grouper/tilapia (Nexus 7)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e40", MODE="0600", OWNER="<username>"
# adb protocol on manta (Nexus 10)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee2", MODE="0600", OWNER="<username>"
# fastboot protocol on manta (Nexus 10)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee0", MODE="0600", OWNER="<username>"
Those new rules take effect the next time a device is plugged in. It might therefore be necessary to unplug the device and plug it back into the computer.
This is known to work on both Ubuntu Hardy Heron (8.04.x LTS) and Lucid Lynx (10.04.x LTS). Other versions of Ubuntu or other variants of GNU/linux might require different configurations.
Click to expand...
Click to collapse
from: http://source.android.com/source/initializing.html
Maybe you have to google a bit if your device is not included. If you just google 51-android-rules devicename you should find the corresponding entry.
Edit: Sorry, it was another file I used: http://code.google.com/p/51-android/source/browse/51-android.rules in this version, just the vendor is specified so you don't have to care about device id. And not just the owner (here: snowdream) is able to access the device but everyone in its group. But the one above should work as well.
The guides I followed had me create various rules.d files (99, 50, 70) and it still hasn't worked. They've never said to change the username but they must have followed the same rules as your updated link. Either way, I'll try what you've said and see what happens. I'll post back with results. Thanks for the help!
EDIT: Ok so I tried it...and it didn't work.
Not even sure what made me do it, but I decided to search for the tools for a 64-bit system (I'm using a 32-bit). I ended up getting different results and found this script https://code.google.com/p/adb-fastboot-install/ which finally made adb recognize my phone! Thank you for trying to help. Really appreciate it guys/gals.
Related
Disclaimer:
Code:
#include <std_disclaimer.h>
/*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
ADB tool isn't working on your Ubuntu/Mandriva/Arch Linux/openSUSE system(Linux)? When you type adb in Terminal you get a command not found? I'll show you how to fix it.
You'll need:
The Android SDK(Software development kit)
Extract android-sdk_r11-linux_x86.tgz and with the Terminal give:
Code:
$ cd /home/user/extracted_folder/android-sdk-linux_x86/tools
$ ./android
Download all necessary packages by clicking on "Available packages" and checking "Android Repository". Then click on "install selected" button and another window will pop up. Check "accept all" and click on "install" button. Wait about 30 minutes and you will have all SDK packages installed,adb too.
Go into your terminal and type:
Code:
$ sudo gedit [SIZE=4]/etc/udev/rules.d/99-android.rules[/SIZE]
Then paste in 99-android.rules this:
Code:
#Google
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
#Acer
SUBSYSTEM=="usb", SYSFS{idVendor}=="0502", MODE="0666"
#Dell
SUBSYSTEM=="usb", SYSFS{idVendor}=="413c", MODE="0666"
#Foxconn
SUBSYSTEM=="usb", SYSFS{idVendor}=="0489", MODE="0666"
#Garmin-Asus
SUBSYSTEM=="usb", SYSFS{idVendor}=="091E", MODE="0666"
#HTC
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
#Huawei
SUBSYSTEM=="usb", SYSFS{idVendor}=="12d1", MODE="0666"
#Kyocera
SUBSYSTEM=="usb", SYSFS{idVendor}=="0482", MODE="0666"
#LG
SUBSYSTEM=="usb", SYSFS{idVendor}=="1004", MODE="0666"
#Motorola
SUBSYSTEM=="usb", SYSFS{idVendor}=="22b8", MODE="0666"
#Nvidia
SUBSYSTEM=="usb", SYSFS{idVendor}=="0955", MODE="0666"
#Pantech
SUBSYSTEM=="usb", SYSFS{idVendor}=="10a9", MODE="0666"
#Samsung
SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666"
#Sharp
SUBSYSTEM=="usb", SYSFS{idVendor}=="04dd", MODE="0666"
#Sony Ericsson
SUBSYSTEM=="usb", SYSFS{idVendor}=="0fce", MODE="0666"
#ZTE
SUBSYSTEM=="usb", SYSFS{idVendor}=="19d2", MODE="0666"
Then in terminal type:
Code:
sudo chmod a+rx /etc/udev/rules.d/99-android.rules
Type this too:
Code:
sudo gedit .bashrc
Add this to the bottom of the file:
Code:
export PATH=${PATH}:/home/YOUR-USERNAME/android-sdk-linux_x86/platform-tools
Reboot your PC.
ADB Is now fixed.
Check if your device is known by adb.
On your phone,go to Settings>Applications>Development and check USB debugging.
Type ./adb devices in the terminal.If you get an output like this:
Code:
[I]List of devices attached
XXXXXXXXXXXX device
[/I]
Your phone is recognized.
Great Job ciaox, too bad this guide is coming out now, I completely bricked my phone 2 days ago using KDZ :/ thanks god i didn't even have root, nor a custom recovery installed..
+1 thanks
a question when you say that your terminal type the following code:
$ sudo gedit / etc/udev/rules.d/99-android.rules
as you do because in my case, my phone will start from the fastboot and so I want out
Is it really so risky using rom manager?
Or only persons with some Linux know-how should use it?
Where is the recovery flashed?
And when can't we flash a recovery? (Kindly give some info on bad sectors on 5 MB reserved for recovery)
Sent from my LG-P500 using Tapatalk
lekhwani said:
Is it really so risky using rom manager?
Or only persons with some Linux know-how should use it?
Where is the recovery flashed?
And when can't we flash a recovery? (Kindly give some info on bad sectors on 5 MB reserved for recovery)
Sent from my LG-P500 using Tapatalk
Click to expand...
Click to collapse
Yes do not ever use ROM Manager. And,guide is only for linux. With our fastboot you can only flash recovery image.
Hi I unbricked my phone two days ago (after bricked by ROM Manager) using KDZ, is it really dangerous? because how can you restore the original firmware without KDZ?
I use Windows btw
thanks
Getting out of fastboot loop
I got into the fastboot problem as I was careless in running a recovery script. I put the phone in emergency mode i.e. return key + volume up key and connect usb to pc. Used KDZ to recover original 2.2.2 and had no problems whatsoever. Took 4-5 mins max.
Would strongly recommend noobs to read as much as they can and be very careful when running commands from the terminal related to recovery installation and flashing ROMS. Also do not use unstable ROMS. Go for those that are most used and with minimum problems/bugs.
what about using ROM manager to install the clockworkmod recovery? any harm in that? or should i use some other recovery instead
Why didn't I see this thread sooner? ****! Now I have bricked my phone. ROM MANAGER TOTALLY SUCKS!!!
ciaox said:
Yes do not ever use ROM Manager. And,guide is only for linux. With our fastboot you can only flash recovery image.
Click to expand...
Click to collapse
How can I apply your guide on Windows? Which steps need to be changed?
thanks for u r tutorial this will be help full the users who met with fastboot
@askoabs: I suggest not to use KDZ because one of my friends used it for flashing original unbrand 2.2 and he COMPLETELY BRICKED his phone.
@holymolys: DO NOT install recovery from ROM Manager. I tried to install it and i got fastboot. I then flashed this and i got out of that malicious loop
@Master619: Agree with you dawg,rom manager sucks. Well,it doesn't suck but is unstable. For Windows:
ciaox said:
1.If you have Win7,download these drivers.
2.Download the Windows SDK.
3.Install Java
4.Install the SDK
5.Install other packages by following first step on first post
6.Download recovery from first post and move it to C:\SDK\tools,then rename it as recovery.img
7.Download Windows Fastboot Drivers and move 'em to C:\SDK\tools
8.Via Command prompt(aka cmd) give: cd C:\SDK\tools
9.Via Command prompt(aka cmd) give: fastboot flash recovery recovery.img
You should be ok. I didn't tested this.
Click to expand...
Click to collapse
BTW guys why aren't you thanking first post?
Just kiddin'
Adding this on first post(windows tut)
I see no problem with Rom Manager as long as people read what they are doing... I installed it and then used it to install the newest CWM (I was running 3.0.2.4 CWM) for p500 and no harm was done...
franciscofranco said:
I see no problem with Rom Manager as long as people read what they are doing... I installed it and then used it to install the newest CWM (I was running 3.0.2.4 CWM) for p500 and no harm was done...
Click to expand...
Click to collapse
I still don't know what I have done wrong. I was using void #echo, rooted, then I installed ROM Manager from market, then download CWM 3.1.0.0 through it, then reboot into recovery and my phone is now bricked. So I have a reason to say that it sucks.
@ciaox: thanks for the Windows guide. But these SDKs are taking forever to download.
Edit: now I realize that I DIDN'T EVEN see those fastboot lines. Nothing at all. The phone just reboot and stuck at the first LG logo, nothing more.
franciscofranco said:
I see no problem with Rom Manager as long as people read what they are doing... I installed it and then used it to install the newest CWM (I was running 3.0.2.4 CWM) for p500 and no harm was done...
Click to expand...
Click to collapse
Yeah but many,many people had problems,me too.
Master619 said:
I still don't know what I have done wrong. I was using void #echo, rooted, then I installed ROM Manager from market, then download CWM 3.1.0.0 through it, then reboot into recovery and my phone is now bricked. So I have a reason to say that it sucks.
Click to expand...
Click to collapse
hmmm.... i only installed the recovery from ROM manager, CWM 3.1.0.0, two days ago before i read this thread, and nothing happened to my phone, im not really planing to flash my phone anytime soon but just wanted to see if recovery worked or not, and it worked... so idk why some ppl are having issues, thats weird
i guess to be safe and just not risk it... i should put in a different recovery via adb shell??
ciaox said:
Yeah but many,many people had problems,me too.
Click to expand...
Click to collapse
I can't get my PC (Windows7) to recognize the phone. I installed the LGAndroidDriver_WHQL_ML_Ver_1.0_All_Win7.exe from your link. But when I tried adb devices it just show
List of devices attached
And no more line. What should I do now? I tried fastboot flash recovery recovery.img and it shows
< waiting for device >
My phone was in emergency mode. I even tried with my phone in "stuck" mode (at the LG logo) but still no luck.
Edit: do I have to do these part?
$ sudo gedit /etc/udev/rules.d/99-android.rules
and
Then paste in 99-android.rules this:
...
and then
sudo chmod a+rx /etc/udev/rules.d/99-android.rules
Because I don't know how to do them on windows.
One more note: after installing the driver I don't even have the LGE Virtual Modem driver like in many posts say. What's wrong???
Seeing all these things, I think I got lucky many times. I have used rom manager to flash roms about 3-4 times. All times successful. 2 times I gave the rom manager command to flash two non-rom zips. One time it was successful, another, it was stuck at LG logo. In latter scenerio I went into recovery which was intact.
I have even backedup Mik's CM 7 and Openoptimus by Ciaox. I have done backups three times.
Once I have restored the backup through rom manager.
But reading all the above posts, it seems I have been lucky 10 times. Or too adventurous.
But now I will think 10*100=1000 times before using rom manager.
Sent from my LG-P500 using Tapatalk
OK I finally somehow get the phone unbricked and running the original ROM. Now I want to try the OpenOptimus ROM. So I just do these right?
_ Root the phone. I think I'll use z4root. I think there's no problem right? The original ROM I'm using is 2.2 Froyo stock.
_ Install a recovery. I think I'll choose ClockWork. But this time I don't trust ROM Manager anymore. So can you suggest how can I install that recovery? Will the fastboot method above still work? (I am no longer in emergency mode)
_ flash the open optimus. No problem right?
After all this thing I'm afraid of any small change to my phone, so I have to ask first.
ciaox said:
Disclaimer:
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
When you turn on your phone you see these things on your phone?
Code:
fastboot mode started
udc.start()
-- suspend --
-- reset --
-- portchange --
-- reser --
-- portchange --
Yes,we have fastboot on our phones
But if we have fastboot,we can't let the phone boot so:
Fastboot ON === Can't boot phone
Fastboot OFF === Can boot phone
How to get fastboot?
1.Install a wrong recovery
2.Doing something wrong with ROM Manager
3.Flashing the wrong rom
If you DO NOT want fastboot,just don't do the things i posted above.
Using fastboot we can recover our phone by flashing a recovery image like this.
I suggest to not use KDZ because this program,instead of fastboot,could TOTALLY brick your phone.
For flashing a recovery image with fastboot you'll need:
- Android SDK
- Linux Fastboot drivers
- AmonRa 2.2.1 Recovery
Extract android-sdk_r11-linux_x86.tgz and with the Terminal:
Code:
$ cd /home/user/extracted_folder/android-sdk-linux_x86/tools
$ ./android
Download all necessary packages by clicking on "Available packages" and checking "Android Repository". Then click on "install selected" button and another window will pop up. Check "accept all" and click on "install" button. Wait about 30 minutes and you will have all SDK packages installed,adb too.
-------------------------------------------THIS STEP EVEN FIXES ADB ON LINUX---------------------------------------------------------------------
Go into your terminal and type:
Code:
$ sudo gedit [SIZE=4]/etc/udev/rules.d/99-android.rules[/SIZE]
Then paste in 99-android.rules this:
Code:
#Google
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
#Acer
SUBSYSTEM=="usb", SYSFS{idVendor}=="0502", MODE="0666"
#Dell
SUBSYSTEM=="usb", SYSFS{idVendor}=="413c", MODE="0666"
#Foxconn
SUBSYSTEM=="usb", SYSFS{idVendor}=="0489", MODE="0666"
#Garmin-Asus
SUBSYSTEM=="usb", SYSFS{idVendor}=="091E", MODE="0666"
#HTC
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
#Huawei
SUBSYSTEM=="usb", SYSFS{idVendor}=="12d1", MODE="0666"
#Kyocera
SUBSYSTEM=="usb", SYSFS{idVendor}=="0482", MODE="0666"
#LG
SUBSYSTEM=="usb", SYSFS{idVendor}=="1004", MODE="0666"
#Motorola
SUBSYSTEM=="usb", SYSFS{idVendor}=="22b8", MODE="0666"
#Nvidia
SUBSYSTEM=="usb", SYSFS{idVendor}=="0955", MODE="0666"
#Pantech
SUBSYSTEM=="usb", SYSFS{idVendor}=="10a9", MODE="0666"
#Samsung
SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666"
#Sharp
SUBSYSTEM=="usb", SYSFS{idVendor}=="04dd", MODE="0666"
#Sony Ericsson
SUBSYSTEM=="usb", SYSFS{idVendor}=="0fce", MODE="0666"
#ZTE
SUBSYSTEM=="usb", SYSFS{idVendor}=="19d2", MODE="0666"
Then in terminal type:
Code:
sudo chmod a+rx /etc/udev/rules.d/99-android.rules
Reboot your PC.
ADB Is now fixed and if is fixed,you can use it for unbricking your phone.
Check if your device is known by adb,type ./adb devices in the terminal.If you get an output like this:
Code:
[I]List of devices attached
HT93XKF06433 device
[/I]
Extract fastboot.zip,download AmonRa recovery image,rename it to recovery.img and in terminal type:
Code:
mv /home/user/extracted_folder/fastboot /home/user/extracted_folder/android-sdk-linux_x86/tools
cd /home/user/extracted_folder/android-sdk-linux_x86/tools
chmod a+x fastboot
mv /home/user/extracted_folder/recovery.img /home/user/extracted_folder/android-sdk-linux_x86/tools
./fastboot flash recovery recovery.img
./fastboot reboot
Done!
WINDOWS TUTORIAL VERSION:
1.If you have Win7,download these drivers.
2.Download the Windows SDK.
3.Install Java
4.Install the SDK
5.Install other packages by following first step on first post
6.Download AmonRa 2.2.1 Recovery and move it to C:\SDK\tools,then rename it as recovery.img
7.Download Windows Fastboot Drivers and move 'em to C:\SDK\tools
8.Via Command prompt(aka cmd) give: cd C:\SDK\tools
9.Via Command prompt(aka cmd) give: fastboot flash recovery recovery.img
You should be ok. I didn't tested this.
Click to expand...
Click to collapse
Almost completely copied from here: http://www.androidworld.it/forum/mo...king-optimus-one-p500-tramite-fastboot-17304/
Even fastboot Rapidshare links are taken from AndroidWorld.it wiki, and you copied and pasted even the typo on top ("reser", what a FAIL!), but we knew, ciaox is a copycat, he is a master with c&p. Wasn't Androidworld.it a ****ty forum? But you grab all you can from it. You're getting more and more ridicoluos little boy
BTW, mik_os already noticed this long ago. It's completely useless to have fastboot on if we can't get the phone to boot.
AND please, i don't ask you to thank the source, but at least fix your guide.
You don't need to put all that lines on 99-android.rules, the only needed is this: SUBSYSTEM=="usb", SYSFS{idVendor}=="1004", MODE="0666"
ADB Is now fixed and if is fixed,you can use it for unbricking your phone.
Check if your device is known by adb,type ./adb devices in the terminal.If you get an output like this:
Code:
[I]List of devices attached
HT93XKF06433 device
[/I]
Click to expand...
Click to collapse
This is wrong, adb will never recognize the device while it is in fastboot mode, so this step is completely useless, you'll get only an empty line. At least, you can use fastboot devices, to see if fastboot recognizes the phone.
E hai pure la faccia di chiedere i grazie al primo post
Cheers.
P.S. @all people Franciscofranco is right. Flashing recovery through Rom Manager is as dangerous as flashing it with "traditional" method. 99% of people had no problems with it. You can enter in fastboot loop even flashing a zip or using flash_image manually. If you don't want to risk, you must not flash any recovery.
d3s3rt_eagle said:
Almost completely copied from here: http://www.androidworld.it/forum/modding-e-firmware-lg-optimus-one-114/%5Bguida%5D-unbricking-optimus-one-p500-tramite-fastboot-17304/
Even fastboot Rapidshare links are taken from AndroidWorld.it wiki, and you copied and pasted even the typo on top ("reser", what a FAIL!), but we knew, ciaox is a copycat, he is a master with c&p. Wasn't Androidworld.it a ****ty forum? But you grab all you can from it. You're getting more and more ridicoluos little boy
BTW, mik_os already noticed this long ago. It's completely useless to have fastboot on if we can't get the phone to boot.
AND please, i don't ask you to thank the source, but at least fix your guide.
You don't need to put all that lines on 99-android.rules, the only needed is this: SUBSYSTEM=="usb", SYSFS{idVendor}=="1004", MODE="0666"
This is wrong, adb will never recognize the device while it is in fastboot mode, so this step is completely useless, you'll get only an empty line. At least, you can use fastboot devices, to see if fastboot recognizes the phone.
E hai pure la faccia di chiedere i grazie al primo post
Cheers.
P.S. @all people Franciscofranco is right. Flashing recovery through Rom Manager is as dangerous as flashing it with "traditional" method. 99% of people had no problems with it. You can enter in fastboot loop even flashing a zip or using flash_image manually. If you don't want to risk, you must not flash any recovery.
Click to expand...
Click to collapse
God,you are really pissing me off. And please speak in english. I wouldn't fix my tut bcoz is ok,right? I'n not a copycat *****. Please,really,go away or we'll be forced to have a serious argument. Why,Desert? You were a good guy xD
This is a quick how to get MTP working on Linux, the guide is for distro's based on Debian (mint\debian\ubuntu) OpenSuse, Fedora AND Gentoo. If there's any missing for major distro's let me know, or add them to a separate post and i'll put them up here
***Debian based distros**
Code:
sudo apt-get install mtpfs
sudo mkdir /media/onex
sudo chmod 775 /media/onex
sudo mtpfs -o allow_other /media/onex
gedit /etc/udev/rules.d/51-android.rules
and add the following line:
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
and then:
sudo service udev restart
***Arch Linux***
Code:
pacman -S libmtp
After installation, you have several mtp tools available. Upon connecting your MTP device, you use:
mtp-detect
and add the following line:
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
and then reload udev rules:
udevadm control --reload
Arch Linux guide is from the ArchLinux wiki
**Redhat\Fedora16**
First of all, I using my computer with other people, who can come over the network, so the 0666 mode bits not a right choice for me. I make it all on a fedora 16, but the distro is really not important.
So the steps:
- add a user to the "disk" group (or whatever You want)
- make a mount point (the media doesn't work for me, across the init removes the content)
- add this mount point to the fstab, with some parameter
- create udevd rules
- restart udevd
- install fuse-mtpfs
- (re)login user
- try it
My common experience is that, the mtpfs is very very very very slow. Really slow, so I can use it only with CLI, any GUI has been coming back with time out
And the "code":
Code:
usermod -a -G disk $LOGINUSER
Code:
sudo mkdir /mnt/sgs2 ; sudo chgrp disk /mnt/sgs2; sudo chmod 0770 /mnt/sgs2
Code:
sudo echo "mtpfs /mnt/sgs2 fuse users,noauto 0 0" >> /etc/fstab
Code:
cat > /etc/udev/rules.d/51-android.rules <<EOF
SUBSYSTEM!="usb_device", GOTO="label_end"
ACTION!="add", GOTO="label_end"
# ATRRS{idVendor}== ertekei:
#Acer 0502
SUBSYSTEM=="usb",ATTRS{idVendor}=="0502",MODE="0660",GROUP="disk"
#ASUS 0b05
SUBSYSTEM=="usb",ATTRS{idVendor}=="0b05",MODE="0660",GROUP="disk"
#Dell 413c
SUBSYSTEM=="usb",ATTRS{idVendor}=="413c",MODE="0660",GROUP="disk"
#Foxconn 0489
SUBSYSTEM=="usb",ATTRS{idVendor}=="0489",MODE="0660",GROUP="disk"
#Fujitsu 04c5
SUBSYSTEM=="usb",ATTRS{idVendor}=="04c5",MODE="0660",GROUP="disk"
#Fujitsu Toshiba 04c5
SUBSYSTEM=="usb",ATTRS{idVendor}=="04c5",MODE="0660",GROUP="disk"
#Garmin-Asus 091e
SUBSYSTEM=="usb",ATTRS{idVendor}=="091e",MODE="0660",GROUP="disk"
#Google 18d1
SUBSYSTEM=="usb",ATTRS{idVendor}=="18d1",ATTRS{idProduct}=="4ee1",MODE="0660",GROUP="disk"
#Hisense 109b
SUBSYSTEM=="usb",ATTRS{idVendor}=="109b",MODE="0660",GROUP="disk"
#HTC 0bb4
SUBSYSTEM=="usb",ATTRS{idVendor}=="0bb4",MODE="0660",GROUP="disk"
#Huawei 12d1
SUBSYSTEM=="usb",ATTRS{idVendor}=="12d1",MODE="0660",GROUP="disk"
#K-Touch 24e3
SUBSYSTEM=="usb",ATTRS{idVendor}=="24e3",MODE="0660",GROUP="disk"
#KT Tech 2116
SUBSYSTEM=="usb",ATTRS{idVendor}=="2116",MODE="0660",GROUP="disk"
#Kyocera 0482
SUBSYSTEM=="usb",ATTRS{idVendor}=="0482",MODE="0660",GROUP="disk"
#Lenovo 17ef
SUBSYSTEM=="usb",ATTRS{idVendor}=="17ef",MODE="0660",GROUP="disk"
#LG 1004
SUBSYSTEM=="usb",ATTRS{idVendor}=="1004",MODE="0660",GROUP="disk"
#Motorola 22b8
SUBSYSTEM=="usb",ATTRS{idVendor}=="22b8",MODE="0660",GROUP="disk"
#NEC 0409
SUBSYSTEM=="usb",ATTRS{idVendor}=="0409",MODE="0660",GROUP="disk"
#Nook 2080
SUBSYSTEM=="usb",ATTRS{idVendor}=="2080",MODE="0660",GROUP="disk"
#Nvidia 0955
SUBSYSTEM=="usb",ATTRS{idVendor}=="0955",MODE="0660",GROUP="disk"
#OTGV 2257
SUBSYSTEM=="usb",ATTRS{idVendor}=="2257",MODE="0660",GROUP="disk"
#Pantech 10a9
SUBSYSTEM=="usb",ATTRS{idVendor}=="10a9",MODE="0660",GROUP="disk"
#Pegatron 1d4d
SUBSYSTEM=="usb",ATTRS{idVendor}=="1d4d",MODE="0660",GROUP="disk"
#Philips 0471
SUBSYSTEM=="usb",ATTRS{idVendor}=="0471",MODE="0660",GROUP="disk"
#PMC-Sierra 04da
SUBSYSTEM=="usb",ATTRS{idVendor}=="04da",MODE="0660",GROUP="disk"
#Qualcomm 05c6
SUBSYSTEM=="usb",ATTRS{idVendor}=="05c6",MODE="0660",GROUP="disk"
#SK Telesys 1f53
SUBSYSTEM=="usb",ATTRS{idVendor}=="1f53",MODE="0660",GROUP="disk"
#Samsung 04e8
SUBSYSTEM=="usb",ATTRS{idVendor}=="04e8",ATTRS{idProduct}=="6860",MODE="0660",GROUP="disk"
#Sharp 04dd
SUBSYSTEM=="usb",ATTRS{idVendor}=="04dd",MODE="0660",GROUP="disk"
#Sony 054c
SUBSYSTEM=="usb",ATTRS{idVendor}=="054c",MODE="0660",GROUP="disk"
#Sony Ericsson 0fce
SUBSYSTEM=="usb",ATTRS{idVendor}=="0fce",MODE="0660",GROUP="disk"
#Teleepoch 2340
SUBSYSTEM=="usb",ATTRS{idVendor}=="2340",MODE="0660",GROUP="disk"
#Toshiba 0930
SUBSYSTEM=="usb",ATTRS{idVendor}=="0930",MODE="0660",GROUP="disk"
#ZTE 19d2
SUBSYSTEM=="usb",ATTRS{idVendor}=="19d2",MODE="0660",GROUP="disk"
LABEL="label_end"
Code:
udevadm control --reload-rules
Code:
yum/apt-get/pacman/etc install mtpfs
Logout-login, for get in to the disk group, connect the device via usb, and try
Code:
mptfs
without any parameter, and it must write out some information:
Code:
[email protected]:~$ mtpfs
Listing raw device(s)
Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP).
Found 1 device(s):
Samsung: Galaxy models (MTP) (04e8:6860) @ bus 2, dev 4
Attempting to connect device
Android device detected, assigning default bug flags
Listing File Information on Device with name: (NULL)
fuse: missing mountpoint parameter
And finally mount /it must be working now with user account/:
[CODE]mount /mnt/sgs2
or dismount:
Code:
umount /mnt/sgs2
**OpenSuse 12.2**
this method will work for music and photos access only,
Code:
sudo zypper addrepo -f http://packman.inode.at/suse/12.2/ packman
sudo zypper ref (type a to always accept the packman repo)
sudo zypper in mtpfs
sudo vim /lib/udev/rules.d/69-libmtp.rules and add the following line (replace vim with gedit if you want a gui editor)
# HTC One X+
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0dfc", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
sudo cp /lib/udev/rules.d/69-libmtp.rules /etc/udev/rules.d/.
reboot
When you plug in the phone you will see android phone icon on the desktop click on it to browse your files.
*note
disable any media players from trying to read the device...
** Gentoo **
Code:
Prerequisites
If your device is not recognized by libmtp, try upgrading to latest (or even git) version.
User needs to be in group plugdev to mount device.
MTPFS
You need to add option: user_allow_other in /etc/fuse.conf
$ mkdir ~/AndroidDevice
$ mtpfs -o allow_other ~/AndroidDevice
NOTE: this can take really long time, up to several minutes. As an indication of successful mount the mtpfs will go to background.
To unmount:
$ /usr/bin/fusermount -u ~/AndroidDevice
If mtpfs doesn't work for you try updating to latest version first.
Go-MTPFS
Seems to be more stable
$ emerge -a go
$ mkdir ~/go
$ export GOPATH=/home/$USER/go
$ go get github.com/hanwen/go-mtpfs
To mount:
$ ~/go/bin/go-mtpfs ~/AndroidDevice
To unmount:
$ /usr/bin/fusermount -u ~/AndroidDevice
Troubleshooting
Sometimes (e.g. on HTC One X) USB debugging automatically turns on when device is connected to PC. You need to turn debugging off, otherwise libmtp can't recognise device.
Make sure your Android device is not going to sleep and the screen is not getting locked. Set screen timeout to very long values, or enable in Development section flag "Do not turn off the screen".
Thanks to ihavoc and Fonya1 for the opensuse and redhat\fedora tutorials
thank you a lot for your help.
when i try to acces to the /media/onex direcory i have this :
ls: cannot access onex: Transport endpoint is not connected
After making changes reboot your session or pc and it will probably mount correctly which you've probably done by now.
Sent from my HTC One X+ using xda premium
somemadcaaant said:
After making changes reboot your session or pc and it will probably mount correctly which you've probably done by now.
Sent from my HTC One X+ using xda premium
Click to expand...
Click to collapse
excuse me to ask many question but i am really noob. when all this done what would i see in /media/onex ? actualy after mounting the folder is empty
the only thing i need to do is copy files from/to my HOX+
Can anyone please confirm if this is exclusive to the HTC One X+, or would it work for other similar HTC devices such as One X, One S etc. as well?
It still dont work, i have tryed so many things these days to mount my HTC Ox+ as a USB Mass Storage and everything failed.
I tried tou manualy mount a MTP folder on my Ubuntu like Lloir explained here.
I tried to flash a TeamWorkRecovery and a ClockWorkRecovery to access the "Mount USB" option in the menu
my Device is seen by ubuntu but i am unable to read or write anything, for example if I copy a music album, the copy operation starts, takes a very long time an then end whith an error lik "error unable to copy xxxx.mp3 file does not exist"
actualy i am almost convicted that using an MTP device as an usb mass storage under Ubuntu is purely and simply IMPOSSIBLE !
HQRaja said:
Can anyone please confirm if this is exclusive to the HTC One X+, or would it work for other similar HTC devices such as One X, One S etc. as well?
Click to expand...
Click to collapse
works for ALL MTP devices
Thanks a bunch. This should come pretty handy. =)
Lloir said:
works for ALL MTP devices
Click to expand...
Click to collapse
does it works for you ?
how do you copy your files from/to your phone ?
Waiting for Ubuntu instructions (maybe)?
followed instructions to the letter and still cant mount my htc one xL running jellybean on ubuntu
Just a quick reply since this was linked on the front page. Tried with GNex and Ubuntu 12.10 and no dice.
spdrosin said:
Waiting for Ubuntu instructions (maybe)?
Click to expand...
Click to collapse
The instructions for Ubuntu are the first ones (Debian based distros), Lloir mentioned it at the start of the OP:
Lloir said:
This is a quick how to get MTP working on Linux, the guide is for distro's based on Debian (mint\debian\ubuntu) And Archlinux i will add others soon.
Click to expand...
Click to collapse
Linux really needs to add native support for MTP already. They also should add native support for adb as well while they are at it. Its annoying to have to add entrees to udev to even to be able to access the device.
One suggestion for anyone wanting to do this with a device other than an HTC:
You'll need to change the line you add to /etc/udev/rules.d/51-android.rules based on the vendor of your phone.
Code:
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
Change the code to one of the following USB vendor ids:
Code:
Acer 0502
ASUS 0b05
Dell 413c
Foxconn 0489
Fujitsu 04c5
Fujitsu Toshiba 04c5
Garmin-Asus 091e
Google 18d1
Hisense 109b
HTC 0bb4
Huawei 12d1
K-Touch 24e3
KT Tech 2116
Kyocera 0482
Lenovo 17ef
LG 1004
Motorola 22b8
NEC 0409
Nook 2080
Nvidia 0955
OTGV 2257
Pantech 10a9
Pegatron 1d4d
Philips 0471
PMC-Sierra 04da
Qualcomm 05c6
SK Telesys 1f53
Samsung 04e8
Sharp 04dd
Sony 054c
Sony Ericsson 0fce
Teleepoch 2340
Toshiba 0930
ZTE 19d2
Most up-to-date list is here: http://developer.android.com/tools/device.html
You can also have multiple vendor lines in your /etc/udev/rules.d/51-android.rules file, just put one on each line. As someone who's testing on a bunch of different devices, I simply put a line in for all of the above
If your vendor code isn't listed, enter the command "lsusb" in a terminal, and you'll see something like this:
Code:
Bus 001 Device 119: ID 04e8:6860 Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II]
Bus 001 Device 112: ID 18d1:4e42 Google Inc.
The first four hex values of the id is the vendor ID, e.g., for the Samsung it's 04e8.
cloverz7 said:
Just a quick reply since this was linked on the front page. Tried with GNex and Ubuntu 12.10 and no dice.
Click to expand...
Click to collapse
same here with GNex and ubuntu 12.04
Use Airdroid
Using Airdroid and wifi from Tethering hotspot, you can simply access your Android without USB Cable and you can use anything OS. Search on Google Play with keyword "Airdroid"
Hey I have to say first off thanks for taking the time to figure this out! My problem is I am very new to linux and ubuntu. So when I open the terminal and type all the commands after "sudo mtpfs -o allow_other /media/onex" I get the response: "Listing raw device(s) No raw devices found." So should I have the device attached when I do this? Secondly the following command opens a text window. Is this where i type "SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"? Because now I can't save the text file because I don't have root. Should I be typing literally everything in Terminal? or am I just too new and missing a step. Your help would be greatly appreciated because I would really like to learn a lot more about linux however I'm a bit cautious asking for root for things and ****ing up lol. I'm over windows and will never use a mac so I want to learn! Sorry to be an idiot and a pain just wanna learn.
Nschneider7 said:
Hey I have to say first off thanks for taking the time to figure this out! My problem is I am very new to linux and ubuntu. So when I open the terminal and type all the commands after "sudo mtpfs -o allow_other /media/onex" I get the response: "Listing raw device(s) No raw devices found." So should I have the device attached when I do this? Secondly the following command opens a text window. Is this where i type "SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"? Because now I can't save the text file because I don't have root. Should I be typing literally everything in Terminal? or am I just too new and missing a step. Your help would be greatly appreciated because I would really like to learn a lot more about linux however I'm a bit cautious asking for root for things and ****ing up lol. I'm over windows and will never use a mac so I want to learn! Sorry to be an idiot and a pain just wanna learn.
Click to expand...
Click to collapse
That "SUBSYSTEM..." line needs to be appended to the file opened in the text editor. It shouldn't be entered on the command line.
And add "sudo" to in front of that gedit line...i.e., "sudo gedit /etc/udev/rules.d/51-android.rules"
Good luck!
I prefer to use adb. If you want a GUI you can use QtADB:
http://qtadb.wordpress.com/
Hello Everyone, my firts post asking for help, Installed ADB on Ubuntu 12.04 and succesfully rooted 1 Huawei and two Lgs but now im stucked woth MY own phone
Got a Chinese Double Sim Phone, actually not bad but after almost one week of trying and looking everywhere i cant get ADB to recognize my phone, When i Type lsusb on terminal, it appears:
Bus 001 Device 003: ID 1782:5d04 Spreadtrum Communications Inc.
my /etc/udev/rules.d/99-android.rules :
SUBSYSTEM=="usb", ATTR{idVendor}=="1782",ATTRS{idProduct}=="5d04" MODE="0666"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1782", ATTRS{idProduct}=="5d04"
TEST=="/var/run/ConsoleKit/database", \
RUN+="udev-acl --action=$env{ACTION} --device=$env{DEVNAME}"
But when i put adb devices:
List of devices attached
(Empty)
Anyone, can please give me a hand here please? Thank You
Amazon Kindle Fire HDX 7”
Deleted System by mistake because... well... I'm human (meaning, I make mistakes).
Spent the good portion of the last week reading forums/posts and have it recognized in Ubuntu Linux as a device in Nautilus. Unable to mount it.
I've attempted adb – no device.
I've attempted mtp – won't mount.
lsusb, mtp-detect, 50-android.rules, 51-android.rules, 99-android.rules, bash.sh, AARGH!
Sucks being me.
p.s. Thanks for letting me vent.
Is that a light at the end of the tunnel or just a train?
Have yet to give up. Still banging my head against it. Lot's of good info on here. None of it works for me... yet. Now if I could find my external DVD, I'm going to re-install Ubuntu on my Netbook, then JDK, then APK, then, then, then... configure... configure... recharge HDX... sob uncontrollably... drink... smile.
mtp vs adb
Nautilus recognizes Kindle as Android but will not mount. I assume this is via mtp.
adb does not recognize device regardless of what is in 51-android.rules.
Does not seem to matter if I use regular or "factory" cable.
I have to admit the grey Kindle Fire is memorizing.
Sigh...
I suppose the most frustrating thing is I have read many circumstances similar to mine, followed their steps, and still nothing. Maybe I'm just not holding my tongue the right way?
Gonna wait until external DVD arrives to rebuild system. Other than that, I'm at a dead end. Tired of attempting the same thing expecting different results. Been working on it now for 10 days, obsessively. Compulsively, even.
I'll post more once I have some different results.
What a let down...
Found my external DVD player. Installed Ubuntu 12.04 from DVD, replacing previous version. Installed updates.
Followed these instructions:
http://forum.xda-developers.com/showthread.php?t=2302780&page=2
Installing these packages:
https://developer.amazon.com/sdk/fire/setup.html
No luck. Still "no devices found".
Isn't even recognized by file manager.
I'm at a loss for next step. Ideas anyone?
---
lsusb:
Bus 001 Device 002: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 001 Device 006: ID 18d1:0001 Google Inc.
Bus 001 Device 003: ID 0402:7670 ALi Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 046d:c31c Logitech, Inc. Keyboard K120 for Business
Bus 001 Device 005: ID 045e:0023 Microsoft Corp. Trackball Optical
Click to expand...
Click to collapse
usb-devices:
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 6 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=18d1 ProdID=0001 Rev=02.32
S: Manufacturer=Android
S: Product=Android
S: SerialNumber=0123456789ABCDEF
C: #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=2mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=00 Driver=(none)
Click to expand...
Click to collapse
51-android.rules
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0e79", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0502", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0b05", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="413c", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0489", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="091e", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="12d1", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="24e3", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="2116", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0482", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="17ef", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="1004", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="22b8", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0409", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="2080", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0955", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="2257", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="10a9", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="1d4d", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0471", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="04da", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="05c6", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="1f53", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="04e8", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="04dd", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fce", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0930", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="19d2", MODE="0666"
Click to expand...
Click to collapse
Is more information needed?
Please let me know if I need to include more information in order to receive some assistance.
I don't care if I can ever root the thing again. I just want my Kindle HDX back.
Anyone?
Just wanted to let you know you're not alone buddy! I did something similar and have yet to be able to do anything with my hdx. Factory cable arrives tomorrow or Friday . Good luck to you!
Thanks. Speaking of Factory Cable...
Not to wish ill on anyone else, but it's nice to know I'm not alone.
That reminds me.
With factory cable:
lsusb:
Bus 001 Device 002: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 001 Device 011: ID 05c6:9008 Qualcomm, Inc. Gobi Wireless Modem (QDL mode)
Bus 001 Device 003: ID 0402:7670 ALi Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 046d:c31c Logitech, Inc. Keyboard K120 for Business
Bus 001 Device 005: ID 045e:0023 Microsoft Corp. Trackball Optical
Click to expand...
Click to collapse
usb-devices:
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 11 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=05c6 ProdID=9008 Rev=00.00
S: Manufacturer=Qualcomm CDMA Technologies MSM
S: Product=QHSUSB__BULK
C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=2mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=qcserial
Click to expand...
Click to collapse
51-android.rules
same as before
adb devices results in nothing
I am in the same situation, device appears as a Qualcomm stuff if its turned off with lsusb
Anyone has any progress here?
Hello,
I have an Archos 45 Titanium (Android 4.2.2, stock). My OS is Debian 8.1 (amd64).
I can't use fastboot to flash/erase system.img, nor to unlock bootloader, nor get device informations, but I can flash a boot.img.
When I try to flash or erase system.img, this happens:
Code:
erasing 'system'...
Nothing happens next.
When I use the OEM command, this happens:
Code:
...
Nothing happens next.
I run flashboot as root.
My 51-android.rules file:
Code:
SUBSYSTEM=="usb", ATTR{idVendor}=="0e79", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", GROUP="plugdev"
The first line is for when the device runs Android, the second when it's in fastboot mode. For some reason, lsusb shows the device as an HTC device in fastboot mode.
What's wrong ? What should I do ?
Make sure you got your android.rules file is correctly configured for your device... So google up the id which you gotta use first!
This might give the connection / communication problem, which is caused because it says it's a HTC device....