|reply to Maxo |
Re: adb umount problems
After our discussion I tried to flash what I had pushed. It failed. I restored my prior ROM and noticed in Root Explorer that the file I had pushed which had originally said 150MB now said 0. Again, I read yesterday that this happens when not properly unmounting.
So I flashed the ROM that I had previously used and when I hooked up adb the device shows up in nautilus. I also get a notice on my device "USB Storage In Use. Before turning off USB Storage make sure that you have unmounted (ejected) your Android SD Card from your computer." Note that this ROM is Gingerbread whereas the other ROM is Jellybean. The outputs under this scenario from BASH are below (note the device is now B&N Nookcolor). In nautilus I then drag and drop my cm file from my computer to the device and select Safely Remove Drive.
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 010: ID 2080:0002 Barnes & Noble NOOKcolor
List of devices attached
$ adb shell# cd sdcard
# ls -a
# umount /sdcard
umount: can't umount /sdcard: Invalid argument
Notice that the only contents of my "sdcard" are pointers to the existing directory and the parent. When I would push the file it would end up here but could not be found on the device's sdcard. To add to the comedy I've just successfully flashed the zip file!
Apparently Gingerbread operates as mass storage and Jellybean adb when the usb cable is attached between the device and pc. I need adb to work if I'm to do the tinkering I want.
Thanks for your time.
MaxoYour tax dollars at work.Premium,VIP
I'm running CM10 on my Galaxy S3 and cannot get mass storage to work. Every time I select it it goes back to MTP but still doesn't show up in Nautilus. When using the device as a mass storage device it is trivial to move files to and from the sdcard using Nautilus.
I've used adb push and adb pull to move files back and forth with good success on Jellybean.
The file is my build so my thought is the problem is with my environment (not using an IDE). Oh well, I seem to learn more with the problems I create along the way. At least I finally found out what "foo" means. I see that in the literature and always mean to look it up.