 Reviews:
·SONIC.NET
·AT&T DSL Service
| reply to Maxo
Re: adb umount problemsAccording to Ubuntu 12.04 my device is not attached. Nautilus tells me it's not and the is sdcard and terminal tells that's not found. However, when I'm in adb shell it tells me the sdcard is busy. When I try to su mount sdcard it tells me I lack permission (umount is not recognized). The different scenarios in adb shell follow.
root@android:/ # su umount /sdcard/ Unknown id: umount 1|root@android:/ # su umount Unknown id: umount 1|root@android:/ # su mount /sdcard/ sh: /sdcard/: Permission denied |
|
 MaxoYour tax dollars at work.Premium,VIP join:2002-11-04 Tallahassee, FL | Are you trying to unmount the sdcard in your Android phone from the Android OS? |
|
 Reviews:
·SONIC.NET
·AT&T DSL Service
| I'm trying to unmount my device from my pc which is connected through adb. The push was to the sdcard in my device so I assume that is the connection I'm trying to properly break. Kind of strange that the device used to appear in nautilus and gparted for that matter under dev/sdg and dev/sdh but push never worked. To get around that I'd just drag the zip to the device in nautilus. Recently the device hasn't appeared in nautilus/gparted (does in terminal) but I am able to do a push as I see the file under Root Explorer of my device.
I have been dealing with this for the last week. I've thought about completely uninstalling the sdk and reinstalling it but that may be a time-consuming wasted effort. Thanks for the input by the way. |
|
 MaxoYour tax dollars at work.Premium,VIP join:2002-11-04 Tallahassee, FL | When you run adb shell, you are then at the shell on your phone. All commands you type are then executed by your phone. /sdcard/ on your phone represents the sdcard on your phone. You need to run commands on your PC to unmount devices from it. |
|
 | All of the activities described have been done from the pc. The only one that hasn't has been the observation of a successful push in the Root Explorer of my device/phone. |
|
|
|
 MaxoYour tax dollars at work.Premium,VIP join:2002-11-04 Tallahassee, FL | reply to unibroker
said by unibroker:root@android:/ # su umount /sdcard/ Unknown id: umount 1|root@android:/ # su umount Unknown id: umount 1|root@android:/ # su mount /sdcard/ sh: /sdcard/: Permission denied
Every single one of those commands where executed on your phone, not your computer. -- "Padre, nobody said war was fun now bowl!" - Sherman T Potter
»maxolasersquad.com/
»maxolasersquad.blogspot.com
»www.facebook.com/maxolasersquad |
|
 1 edit | I stand corrected. I was at my pc. Now I'm getting a clearer picture of what's going on.
I'm still stuck as to why I can't umount from my phone's sdcard. |
|
 MaxoYour tax dollars at work.Premium,VIP join:2002-11-04 Tallahassee, FL | From the adb shell just type "exit" without the quotes to break the adb connection. After that you should be able to cleanly unmount using Nautilus. |
|
 EUSKill cancerPremium join:2002-09-10 canada Reviews:
·voip.ms
| reply to unibroker
said by unibroker:According to Ubuntu 12.04 my device is not attached. Nautilus tells me it's not and the is sdcard and terminal tells that's not found. However, when I'm in adb shell it tells me the sdcard is busy. When I try to su mount sdcard it tells me I lack permission (umount is not recognized). The different scenarios in adb shell follow.
root@android:/ # su umount /sdcard/ Unknown id: umount 1|root@android:/ # su umount Unknown id: umount 1|root@android:/ # su mount /sdcard/ sh: /sdcard/: Permission denied You're already root, and you're confusing the poor device by calling "su", hence the errors. -- ~ Project Hope ~ |
|
 Reviews:
·SONIC.NET
·AT&T DSL Service
| reply to Maxo The device never shows up in Nautilus. Before it did and that was how I "Safely Removed Device". How can the device be listed in a bash terminal but not in Nautilus.
This thing is maddening. Before when I could see the device in Nautilus and would push to the sdcard, I could never find the file I pushed. Now when I can see the file I pushed the device has disappeared from nautilus so I can't safely unmount! Obviously this is user-error. Maybe that's why Apple makes a locked bootloader for customers like me. |
|
 | reply to EUS I initially started without su and with umount got that the device was busy. |
|
 EUSKill cancerPremium join:2002-09-10 canada Reviews:
·voip.ms
| How about starting over and posting the proper output from the proper device, so we can see what's happening, and give some good advice? That was not meant to rhyme. -- ~ Project Hope ~ |
|
 MaxoYour tax dollars at work.Premium,VIP join:2002-11-04 Tallahassee, FL | reply to unibroker said by unibroker:Maybe that's why Apple makes a locked bootloader for customers like me. People like you are the best. Those who try, fail, learn, and then succeed are the best. |
|
 MaxoYour tax dollars at work.Premium,VIP join:2002-11-04 Tallahassee, FL | reply to EUS said by EUS:How about starting over and posting the proper output from the proper device, so we can see what's happening, and give some good advice? Agreed. Restart from "adb shell" and then copy everything you do into this thread. |
|
 Reviews:
·SONIC.NET
·AT&T DSL Service
| reply to EUS This is the output from BASH of lsusb:
lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 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 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 003: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer Bus 002 Device 002: ID 03f0:110c Hewlett-Packard Bus 003 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver Bus 001 Device 009: ID 18d1:2d03 Google Inc
The device is the last one. Presently the device doesn't show in nautilus. |
|
 | reply to Maxo okay |
|
 Reviews:
·SONIC.NET
·AT&T DSL Service
1 edit | adb devices List of devices attached 2010720135452002 device
adb shell root@android:/ #
adb shell root@android:/ # umount /sdcard/ failed: Device or resource busy
I don't know why I am logged into the adb shell as root. I never login as root.
|
|
 MaxoYour tax dollars at work.Premium,VIP join:2002-11-04 Tallahassee, FL | If you want to transfer a file from your PC to your phone try this.
➜ ~ touch ~/foo ➜ ~ adb push ~/foo /sdcard/ ➜ ~ adb shell shell@android:/ $ cd /sdcard shell@android:/sdcard $ ls -l foo -rw-rw-r-- root sdcard_rw 0 2012-11-30 13:41 foo shell@android:/sdcard $ exit ➜ ~
-- "Padre, nobody said war was fun now bowl!" - Sherman T Potter
»maxolasersquad.com/
»maxolasersquad.blogspot.com
»www.facebook.com/maxolasersquad |
|
 MaxoYour tax dollars at work.Premium,VIP join:2002-11-04 Tallahassee, FL | reply to unibroker
said by unibroker:adb devices List of devices attached 2010720135452002 device
adb shell root@android:/ #
adb shell root@android:/ # umount /sdcard/ failed: Device or resource busy
Those commands, if it actually worked, would unmount the sdcard that is inside your phone, from the Android OS. -- "Padre, nobody said war was fun now bowl!" - Sherman T Potter
»maxolasersquad.com/
»maxolasersquad.blogspot.com
»www.facebook.com/maxolasersquad |
|
 | reply to Maxo Is my particular filename in this? This looks more complicated than my single push command but if it'll allow me to transfer and to safely remove device I'm willing to give it a try. |
|