Ubuntu 12.10 doesn't recognize my Nexus 4! - Nexus 4 Q&A, Help & Troubleshooting

I plug it in and it charges the phone but it doesn't recognize the device, the phone says "connected ad s media device" but I never get prompted in my pc about it nor the device appears as a detected, ergo I can't access the files or transfer anything from the phone to the pc or viceversa, HELP!
Sent from my Nexus 4

LRC1710 said:
I plug it in and it charges the phone but it doesn't recognize the device, the phone says "connected ad s media device" but I never get prompted in my pc about it nor the device appears as a detected, ergo I can't access the files or transfer anything from the phone to the pc or viceversa, HELP!
Sent from my Nexus 4
Click to expand...
Click to collapse
Also having this problem.

LRC1710 said:
I plug it in and it charges the phone but it doesn't recognize the device, the phone says "connected ad s media device" but I never get prompted in my pc about it nor the device appears as a detected, ergo I can't access the files or transfer anything from the phone to the pc or viceversa, HELP!
Sent from my Nexus 4
Click to expand...
Click to collapse
matt0401 said:
Also having this problem.
Click to expand...
Click to collapse
Ubuntu doesnt support mtp out of the box... You will have to add it with something like this...
http://www.webupd8.org/2013/01/upgrade-to-gvfs-with-mtp-support-in.html
I haven't tested it personally i usually transfer files via WiFi but the comments suggest it works well.
Sent from my Nexus 4 using xda premium

same issue here.
i tried this method,
http://forum.xda-developers.com/showthread.php?t=2004182
but some how, after this
8. Mount with the following command:
sudo mtpfs -o allow_other /media/nexus4
nothing happens.

mtpfs does not work as it should be.
This works for me on Debian Unstable using manual metod below :
search in google : how-to-mount-android-40-ubuntu-go-mtpfs ( i still can not post url's )
Manual install steps :
sudo apt-get install golang fuse git-core libmtp-dev libfuse-dev
mkdir /tmp/go
cd /tmp/go
go get github.com/hanwen/go-mtpfs
sudo mv /tmp/go/bin/go-mtpfs /usr/bin/
Now, go-mtpfs is installed. To mount your Android device, run these commands:
mkdir /media/nexus4
Plugin USB cable in your Nexus and :
go-mtpfs -allow-other=true /media/nexus4/
Voila! Your device’s contents can now be found at the /media/nexus4. If you belong to the “everything must be unmounted safely” tribe (like I do), then here’s your unmounting command:
umount /media/nexus4

Ubuntu 13.04 will support mtp out of the box. My laptop that I upgraded to 13.04 recognized the phone perfectly.
Sent from my Nexus 4 using xda premium

tory13579 said:
Ubuntu 13.04 will support mtp out of the box. My laptop that I upgraded to 13.04 recognized the phone perfectly.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Is ubuntu 13.04 already available?
Sent from my Nexus 4

LRC1710 said:
Is ubuntu 13.04 already available?
Sent from my Nexus 4
Click to expand...
Click to collapse
"Daily" builds are available but it is not a final product I believe.
Here's the link - http://cdimage.ubuntu.com/daily-live/current/
Sent from my Nexus 4 using xda premium

Related

Nexus 7 doesn't get detected on my laptop

When I plug my nexus 7 in, it doesn't get detected, I've installed the drivers, but I don't think it worked :/ really need help!!!
Sent from my Nexus 7 using xda premium
What OS on the laptop?
Are you using the OEM battery USB cable?
I'm running W7 and used the USB cable that comes off the charger and it detected fine. Do a shutdown/restart on the laptop and the same on the N7.
If it's a mac you need a specific download for it. Look through the nexus 7 manual in Google books for what you need.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Windows XP and yes I'm using OEM cable
Sent from my Nexus 7 using xda premium
I might be wrong, but I don't think Windows XP supports the MTP protocol that the Nexus 7 uses (no more Mass Storage Driver).
I think you might be able to get XP to see your Nexus by downloading the software package referenced at http://www.microsoft.com/en-us/download/details.aspx?id=19153
If you haven't already found a fix, a simple restart of my computer always fixes it for me. My galaxy nexus, transformer prime, and nexus 7 all have had this happen for me and I just reboot to fix it
Sent from my Nexus 7 using Tapatalk 2
you coudl also change the nexus from mtp to ptp..
MTP on window XP-SP3
For window XP check your Window Media Player version. If it's version 9 or older, MTP is NOT supported.
You can update Window Media Player to version 11 (some say that 10 would do it too, but I tried 11 and
it worked for me). This will enable winXP-SP3 to support MTP. This download is available directly from
MS or on Cnet.
Good luck
Thank you will test now will report back later
Sent from my Nexus 7 using xda premium
Doesn't work I installed mp11 didn't work install mtp didn't work. Rebooted my nexus 7 and laptop didn't work. It works when I'm recovery because it detects it but only installs the drivers and fails
Sent from my Nexus 7 using xda premium
MTP on window XP-SP3
It worked for me. After I installed WMP 11, my N7 showed up in My Computer and I could drag/drop files to/from it.
I used the download from CNET at
http://download.cnet.com/windows-media-player/?tag=contentMain;contentBody;1d
You may also have a "stale" already installed USB driver for the N7 that was not correct in
which case you'll have to muck with the "Device Manager" (Control Panel->Sys->Hardware->DeviceManager)
to remove or update the driver for the N7. Make sure you know which driver is the N7, you don't want to remove
drivers for other devices that are working for you.
Good luck
mintaeroboy said:
Doesn't work I installed mp11 didn't work install mtp didn't work. Rebooted my nexus 7 and laptop didn't work. It works when I'm recovery because it detects it but only installs the drivers and fails
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
You have to untick adb debugging for it work
Sent from my Nexus 7 using xda premium
Installing WMP11 worked for me
Thanks!!, installing WMP11 worked for me!

GS3 on Ubuntu

Does anyone have any ideas about getting the gs3 to show up on Ubuntu 12.04.1 so I can transfer movies and songs to and from the device?
Sorry if this has been posted before. I'm just at the end of my tether with this, don't want to have to reinstall windoze just for this one thing.
Sent from my GT-I9300 using Tapatalk 2
I already google it before and found many packages but i cant paste anything in the memory card!!
I used root access but same .. still i cant find a good package for this !!
Just use both ubuntu and windows
Sent from my GT-I9300 using xda app-developers app
You already tried airdroid?
Sent from my GT-I9300 using xda app-developers app
I'm using dropbox for small thIngs and sshdroid to access the files over Adb vIa port forward
I enabled usb debugging and I was able to mount both internal and external SD cards on Ubuntu 12.04 while on stock.
Acidpunk said:
I enabled usb debugging and I was able to mount both internal and external SD cards on Ubuntu 12.04 while on stock.
Click to expand...
Click to collapse
I will try this today
Thanks
Sent from my GT-I9300 using xda app-developers app
---------- Post added at 02:44 PM ---------- Previous post was at 02:43 PM ----------
Pflunz said:
You already tried airdroid?
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
No !!
Link please
Sent from my GT-I9300 using xda app-developers app
ali8383 said:
No !!
Link please
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Airdroid is in the play store, works on Debian so ubuntu should be fine
Airdroid works a treat. Thanks for that. Will also try usb debugging when I get home.
Is the problem with this phone and Ubuntu that usb mass storage mode was done away with? Would it register on Ubuntu fine that way?
Sent from my GT-I9300 using Tapatalk 2
Never had any problems on Ubuntu with SIII. Works out of the box.
Sent from my GT-I9300 using xda premium
dbl post...
Sent from my GT-I9300 using xda premium
Just a small update. Airdroid works a treat. Love that. USB debugging doesn't work at all. I also bought a usb otg cable as a backup. That's easy enough.
Just a pity it can't be as smooth as windows.
Sent from my GT-I9300 using Tapatalk 2
pardoned said:
Is the problem with this phone and Ubuntu that usb mass storage mode was done away with? Would it register on Ubuntu fine that way?
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Yes, personally I use QtADB, which works fine. I found mounting worked fine out of the box but drilling down through folders showed them as empty, and transferring files just plain failed.
BTW Heimdall works fine as an alternative to ODIN, although I've so far failed to get the GUI functional on Mint Lisa x64, but no issues using CLI.
Sent from my GT-I9300 using Tapatalk 2
pardoned said:
USB debugging doesn't work at all.
Click to expand...
Click to collapse
Installation instructions for Ubuntu releases prior 13.04
1. Add the PPA to your system
sudo add-apt-repository ppa:langdalepl/gvfs-mtp
sudo apt-get update
2. Then, launch Software Updater (previously known as Update Manager) and install the available updates.
3. Once everything has been updated successfully, restart your computer, unlock your Android device, connect it via USB and it should show up in your file manager.
Change the connection method to MTP and then you can view directories and their contents.
For more details see here (can't link externally yet): askubuntu-com/questions/87667/getting-mtp-enabled-devices-to-work-with-ubuntu/308366#308366
haytona said:
Installation instructions for Ubuntu releases prior 13.04
1. Add the PPA to your system
sudo add-apt-repository ppa:langdalepl/gvfs-mtp
sudo apt-get update
2. Then, launch Software Updater (previously known as Update Manager) and install the available updates.
3. Once everything has been updated successfully, restart your computer, unlock your Android device, connect it via USB and it should show up in your file manager.
Change the connection method to MTP and then you can view directories and their contents.
For more details see here (can't link externally yet): askubuntu-com/questions/87667/getting-mtp-enabled-devices-to-work-with-ubuntu/308366#308366
Click to expand...
Click to collapse
That's correct - Ubuntu 12.04 does not support MTP devices out of the box therefore the instructions above should help.
chevli said:
That's correct - Ubuntu 12.04 does not support MTP devices out of the box therefore the instructions above should help.
Click to expand...
Click to collapse
Thanks Chevli, I should have made it more explicit. I guess there are quite a few people on the older release.

Need adb side load " device not found" fix

I'm trying to update my phone using adb side load and it keeps saying device not found. Adb works until I get into recovery. I'm also running windows 8. Any ideas?
Sent from my Nexus 4 using xda app-developers app
handman29 said:
I'm trying to update my phone using adb side load and it keeps saying device not found. Adb works until I get into recovery. I'm also running windows 8. Any ideas?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Go into device manager and install the ADB driver for the now unknown device.
I have the exact same problem, i used the driver that SDK manager downloaded.
In device manager its called "Android Composite ADB Interface"
but when i reboot Nexus 4 into recovery mode, windows does not recognize the device..
Update adb.exe to the latest version (from sdk) , connect and allow to use PC with ADB in android for the first time, then it should work in recovery also
Adam
I did that, still doesn't work
Sent from my Nexus 4 using xda app-developers app
handman29 said:
I did that, still doesn't work
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Install the naked drivers (found here on xda). And if sideload isn't recognized, your SDK is not up to date.
OK maybe my drivers..do you know if they work on windows 8
Sent from my Nexus 4 using xda app-developers app
Side load is recognized but adb can locate my device in recovery
Sent from my Nexus 4 using xda app-developers app
handman29 said:
Side load is recognized but adb can locate my device in recovery
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Did you select the adb option in recovery? If you did, then your drivers are not installed.
same problem here, i just downloaded SDK now, and the first thing i did was to use SDK manager to update the USB driver..
it does work when Nexus is booted in normal mode, but not in recovery.
i guess this is a windows 8 driver issue.
tried to install the driver from this thread:
http://forum.xda-developers.com/showthread.php?t=2019273
but it will not even install in windows 8
So there are different drivers for fast boot and recovery?
Sent from my Nexus 4 using xda app-developers app
I did a driver test from all in one tool kit and all the drivers work just not in adb recovery
Sent from my Nexus 4 using xda app-developers app
I had the same problem, on Windows 8, but while your device is in recovery, go to Device Manager, and choose 'Let me pick from a list of device drivers...', there you will see something like 'Android ADB device'. Install that, and voila! your device will now be recognized in recovery mode.
Sideloaded 4.2.2 on my N4 last night.
ravneetg said:
I had the same problem, on Windows 8, but while your device is in recovery, go to Device Manager, and choose 'Let me pick from a list of device drivers...', there you will see something like 'Android ADB device'. Install that, and voila! your device will now be recognized in recovery mode.
Sideloaded 4.2.2 on my N4 last night.
Click to expand...
Click to collapse
On my computer, the device is not even listed in device manager while in recovery mode, so there is no device to update..
wierd.
same issue here; I tried to do it in linux (linux doesn't need any driver), using the latest adb (I downloaded the sdk this morning) but still nothing: Error device not found
I was having the exact same problem and the below steps, posted by a member in reply to my problem, solved my problem-
I downloaded the nexus 4 drivers from this link- http://forum.xda-developers.com/showthread.php?t=1992345
mashedbymachines said:
Had the same problem.
Right click the "nexus 4" with the yellow exclamation mark.
Go to the details tab
Choose "hardware id"
you will see something like
USB\VID_18D1&PID_D001
USB\VID_18D1&PID_D001&REV_0228
Open your folder with the usb_driver
edit the android_winusb.inf
depending on if you use 32/64 bit, navigate to
for 32 bit
[Google.NTx86]
xxxxxx
;Google Nexus (generic)
xxxx
for 64 bit
[Google.NTamd64]
xxxxx
;Google Nexus (generic)
xxxx
Add these two lines
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_D001
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_D001&REV_0228
Be sure that the text after "USB_Install" matches what you had on your hardware id tab in device manager.
Now try to install these drivers and voila, it should install and work under recovery!
Click to expand...
Click to collapse
if you are still having issues, definitely try the naked drivers. I couldn't get other drivers including the SDK ones to detect my phone that is in recovery/sideload mode. The naked ones worked right off the bat.
whatsandroid said:
On my computer, the device is not even listed in device manager while in recovery mode, so there is no device to update..
wierd.
Click to expand...
Click to collapse
Adb won't be recognized in stock recovery until you choose the sideload option.
Adb access recovery wide is a custom ROM feature.
Sent from my Nexus 4 using xda premium
El Daddy said:
Adb won't be recognized in stock recovery until you choose the sideload option.
Adb access recovery wide is a custom ROM feature.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
OK, did not know that.
but still getting the same error message as the OP when i try to sideload.
and adb devices is not showing any devices, should adb devices work on a device with stock while in recovery?
also tried that "naked" usb driver that someone posted
whatsandroid said:
OK, did not know that.
but still getting the same error message as the OP when i try to sideload.
and adb devices is not showing any devices, should adb devices work on a device with stock while in recovery?
also tried that "naked" usb driver that someone posted
Click to expand...
Click to collapse
Did you try the method which I posted? I was having the same exact problem.
ADB devices should work while in recovery.

[Q] Adb always says "Device offline"

Hi guys,
I'm currently experiencing a probem with my Nexus 4. No matter what OS I use (Linux or Windows) or what driver I use adb keep saying that my device is offline. As I saw elsewhere I tried an other usb cable or port but nothing seemed to work. Does anyone got an idea for this ? This thing is gonna drive me crazy !
Thanks
Task Manager, then kill the ADB one. Then open ADB, adb devices again.
Otherwise, did you check the debugging =.= Or reinstall the driver manually (not by WIndows).
I have had a problem with this and it has been unsolved as of yet, but I may be able to help you. In the SDK Manager, there is an extras area, if you don't have the drivers from there I have found you may have trouble. It could be something else, but this should be a sufficient launchpad.
Sent from my ADR6425LVW on GrayTheWolf's CM10 build.
Thanks to you both, but I mainly use Ubuntu and not Windows. I've tried killing and restarting adb a lot of times.
saintjimmy said:
Thanks to you both, but I mainly use Ubuntu and not Windows. I've tried killing and restarting adb a lot of times.
Click to expand...
Click to collapse
Are you on 4.2.2 they changed somethings with the update. Have you updated your SDK?
Try installing PDAnet drivers. They will make it work.
xdaOSdev.team said:
Try installing PDAnet drivers. They will make it work.
Click to expand...
Click to collapse
I can verify this, it solved the problem I have been having for a few months in Linux OSes.
Sent from my ADR6425LVW on GrayTheWolf's CM10 build.
saintjimmy said:
Thanks to you both, but I mainly use Ubuntu and not Windows. I've tried killing and restarting adb a lot of times.
Click to expand...
Click to collapse
Guys, he said he's using ubuntu lol there are no usb drivers to install
try this...it sounds like your adb may be out of date. This will also reinstall fastboot, unless you leave 'android-tools-fastboot' off the last command
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install android-tools-adb android-tools-fastboot
btw, if you haven't already done so, you should get the full sdk installed. It's better to have it and not need it than to not have it and realize after three hours of pulling your hair out you should have had it all along lol (I've done it, so I speak from experience)
Thanks @hp420 but sadly the device is still offline. I'm just realizing it now but I didn't have the warning message about the association with the computer that I usually have when activating USB debugging with 4.2.2
Load latest SDK version. Load driver inf fix. Search forum. Known problem. Easy fix.
sent from my nexus 4; cat on lap, beer in hand
This is due to the new whitelist for adb in 4.2.2.
Some of these steps may be unnecessary, but I know this works (I've had to do it a few times to all my devices that have been upgraded to 4.2.2).
You need the adb from the latest SDK.
Untick USB Debugging.
Reboot the phone.
Tick USB Debugging.
Reboot the phone.
On your PC, make sure you add the new SDK/tools to the PATH then do adb kill-server; adb start-server
Unlock your phone.
Plug it in to your PC.
A message on your phone will appear asking to add the PC to the whitelist.
Accept this and your phone should appear when you do an adb devices
No need for driver i'm running linux...
Sent from my Nexus 4 using xda app-developers app
Nark.GA60 said:
This is due to the new whitelist for adb in 4.2.2.
Some of these steps may be unnecessary, but I know this works (I've had to do it a few times to all my devices that have been upgraded to 4.2.2).
You need the adb from the latest SDK.
Untick USB Debugging.
Reboot the phone.
Tick USB Debugging.
Reboot the phone.
On your PC, make sure you add the new SDK/tools to the PATH then do adb kill-server; adb start-server
Unlock your phone.
Plug it in to your PC.
A message on your phone will appear asking to add the PC to the whitelist.
Accept this and your phone should appear when you do an adb devices
Click to expand...
Click to collapse
Tanks fort that answer I'll try it as soon as possible !
Sent from my Nexus 4 using xda app-developers app
Try typing
adb kill server
adb start-server
Sent from my Nexus 4 using Tapatalk 2
scream4cheese said:
Try typing
adb kill server
adb start-server
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Already did that countless times...
Sent from my Nexus 4 using xda app-developers app
saintjimmy said:
Already did that countless times...
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
try a live cd of ubuntu and see what happens. that will at least narrow it down to whether it's your ubuntu installation or your phone. if it still won't mount in the live cd we can assume it's an issue with your phone. from there you can run a nandroid backup and reflash the factory images to see if that fixes the issue. if it does, you can try a fresh install of the rom you're using. if it still works, then restore all your apps/app data
if it's your ubuntu installation there are other avenues you can try.
saintjimmy said:
Already did that countless times...
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
You can try uninstalling SDK and perform a fresh install. Move your platform tools to a more convenient locations and change the path under windows properties.
I don't know if you tried this already but..
Have you tried uninstalling and reinstalling the drivers for phone?
switch to another USB port? A different usb cable?
scream4cheese said:
You can try uninstalling SDK and perform a fresh install. Move your platform tools to a more convenient locations and change the path under windows properties.
I don't know if you tried this already but..
Have you tried uninstalling and reinstalling the drivers for phone?
switch to another USB port? A different usb cable?
Click to expand...
Click to collapse
UBUNTU!!!!!
lol
hp420 said:
UBUNTU!!!!!
lol
Click to expand...
Click to collapse
Or try using Ubuntu. LOL.
But dual-booting to another OS is a hassle.(?) If ubuntu is not your daily driver, you're gonna have to keep rebooting in between OSs.
scream4cheese said:
Or try using Ubuntu. LOL.
But dual-booting to another OS is a hassle.(?) If ubuntu is not your daily driver, you're gonna have to keep rebooting in between OSs.
Click to expand...
Click to collapse
Thann you all for your answers! I use linux mint which is my main OS. I manage to resolve my problem in a weird way: first I push a CWM recovery with fastboot and then I flash the ZIP from SuperSu ! From now USB debugging is working properly and I get the usual warning !
What I would like to know now is why ? Does the SuperSU ZIP reset something ?
Sent from my Nexus 4 using xda app-developers app

How to connect with ubuntu 12

Just have this amazing smartphone. But how do I connect it good with Ubuntu. It only c it as photocam.
Please some help
Sent from my Nexus 4 using xda premium
Hey man I had this problem at first. figured it out though.
You need to open the terminal and enter:
Code:
sudo add-apt-repository ppa:langdalepl/gvfs-mtp
sudo apt-get update
You should be prompted for your password.
After entering such let it do it's thing, and after it finishes open the software updater and install all updates.
Restart your computer, and with your nexus 4 plugged in, unlock it, and it should appear as it would appear on windows or anything Thank this post if i helped.
It worked like a charm, thanks mate buy yourself a beer or something else
Sent from my Nexus 4 using xda premium

Categories

Resources