[opensuse] CLI access to Android Atrix?
Just got an Atrix G4. Google hasn't been very useful at telling me how to do CLI access to the files there via USB and CLI (cli on the attached desktop machine) Any advice? TIA. Michael -- Michael Fischer michael@visv.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Quoting Michael Fischer <michael@visv.net>:
Just got an Atrix G4.
Google hasn't been very useful at telling me how to do CLI access to the files there via USB and CLI (cli on the attached desktop machine)
Any advice?
If it's like my HTC Incredible, plug a USB cable into the computer and the cellphone. A menu will appear on the cellphone. Select mount as a disk drive. Do whatever is needed to mount a USB drive on your computer. Then change directory (cd) to where ever it is mounted and copy to your heart's content. HTH, Jeffrey -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, Aug 29, Jeffrey L. Taylor wrote:
Quoting Michael Fischer <michael@visv.net>:
Just got an Atrix G4.
Google hasn't been very useful at telling me how to do CLI access to the files there via USB and CLI (cli on the attached desktop machine)
Any advice?
If it's like my HTC Incredible, plug a USB cable into the computer and the cellphone. A menu will appear on the cellphone. Select mount as a disk drive. Do whatever is needed to mount a USB drive on your computer. Then change directory (cd) to where ever it is mounted and copy to your heart's content.
Thanks for the tip. Unfortunately, it does not do that. It says it is connecting for Phone Portal. Going to the Phone Portal app, it asks me to connect by USB or by WiFi, and fails to allow/recognize the USB connection which has already been made.... The Media Share app did allow me to change the USB storage mode to "Mass Storage" - which allows me to mount the /dev/sdh which is mentioned in /var/log/messages when I plug it in over USB. Amusingly enough, while it is plugged in, one cannot use the file browser on the phone (the message is "Internal phone storage is Unmounted. Mount Internal phone storage to read files") Can't seem to write back to that /mnt/dcim/Camera directory though... So, half the battle won.... Michael -- Michael Fischer michael@visv.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
You can't access files on the phone storage from Android when it is in Mass Storage mode. Doing that would involve accessing the same file system from two different locations simultaneously, and since vfat is not a clustered file system multiple access would corrupt your files *fast*. You're trying to access files right, not an Android shell, right? If you want to access the Android command line from your desktop you need to install ADB which is part of the android SDK for linux. By putting the phone in Mass Storage mode you should be able to transfer files from your phone to your PC (or visa versa) from a file manager on your PC. -Hal On Mon, Aug 29, 2011 at 8:52 PM, Michael Fischer <michael@visv.net> wrote:
On Mon, Aug 29, Jeffrey L. Taylor wrote:
Quoting Michael Fischer <michael@visv.net>:
Just got an Atrix G4.
Google hasn't been very useful at telling me how to do CLI access to the files there via USB and CLI (cli on the attached desktop machine)
Any advice?
If it's like my HTC Incredible, plug a USB cable into the computer and the cellphone. A menu will appear on the cellphone. Select mount as a disk drive. Do whatever is needed to mount a USB drive on your computer. Then change directory (cd) to where ever it is mounted and copy to your heart's content.
Thanks for the tip.
Unfortunately, it does not do that. It says it is connecting for Phone Portal. Going to the Phone Portal app, it asks me to connect by USB or by WiFi, and fails to allow/recognize the USB connection which has already been made....
The Media Share app did allow me to change the USB storage mode to "Mass Storage" - which allows me to mount the /dev/sdh which is mentioned in /var/log/messages when I plug it in over USB. Amusingly enough, while it is plugged in, one cannot use the file browser on the phone (the message is "Internal phone storage is Unmounted. Mount Internal phone storage to read files")
Can't seem to write back to that /mnt/dcim/Camera directory though...
So, half the battle won....
Michael -- Michael Fischer michael@visv.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, Aug 29, Hal Martin wrote:
You can't access files on the phone storage from Android when it is in Mass Storage mode. Doing that would involve accessing the same file system from two different locations simultaneously, and since vfat is not a clustered file system multiple access would corrupt your files *fast*.
You're trying to access files right, not an Android shell, right? If you want to access the Android command line from your desktop you need to install ADB which is part of the android SDK for linux.
Right, not the Android CLI, just mount the darn thing from the SuSE desktop.
By putting the phone in Mass Storage mode you should be able to transfer files from your phone to your PC (or visa versa) from a file manager on your PC.
Yes, as I said, I now seem to be able to cp(1) files from the phone to the desktop. Michael -- Michael Fischer michael@visv.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Quoting Michael Fischer <michael@visv.net>:
On Mon, Aug 29, Jeffrey L. Taylor wrote:
Quoting Michael Fischer <michael@visv.net>:
Just got an Atrix G4.
Google hasn't been very useful at telling me how to do CLI access to the files there via USB and CLI (cli on the attached desktop machine)
Any advice?
If it's like my HTC Incredible, plug a USB cable into the computer and the cellphone. A menu will appear on the cellphone. Select mount as a disk drive. Do whatever is needed to mount a USB drive on your computer. Then change directory (cd) to where ever it is mounted and copy to your heart's content.
Thanks for the tip.
Unfortunately, it does not do that. It says it is connecting for Phone Portal. Going to the Phone Portal app, it asks me to connect by USB or by WiFi, and fails to allow/recognize the USB connection which has already been made....
The Media Share app did allow me to change the USB storage mode to "Mass Storage" - which allows me to mount the /dev/sdh which is mentioned in /var/log/messages when I plug it in over USB. Amusingly enough, while it is plugged in, one cannot use the file browser on the phone (the message is "Internal phone storage is Unmounted. Mount Internal phone storage to read files")
Can't seem to write back to that /mnt/dcim/Camera directory though...
So, half the battle won....
My computer gives me a choice of two devices to mount, the phone memory and the storage card. My cellphone also unmounts the "drive" that's mounted on the computer. Solves sharing the device problems. Jeffrey -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, Aug 29, Jeffrey L. Taylor wrote:
My computer gives me a choice of two devices to mount, the phone memory and the storage card. My cellphone also unmounts the "drive" that's mounted on the computer. Solves sharing the device problems.
That does indeed seem like what's happening for me. Typically I get sdh and sdi - but only one of them (presumably the storage card) is mountable by SuSE. I find I can cp(1) from the phone to the desktop fine, but from the desktop to the phone (putting back favorite photos) results in 0kb files showing up on the phone :-( Michael -- Michael Fischer michael@visv.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 30.08.2011 04:48, Michael Fischer wrote:
I find I can cp(1) from the phone to the desktop fine, but from the desktop to the phone (putting back favorite photos) results in 0kb files showing up on the phone :-(
Make sure you unmount the drive from the Suse desktop before disconnecting (eject button in Device-Notifier). Sometimes writes are cached and not actually written to the device. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, Aug 30, Volker Poplawski wrote:
On 30.08.2011 04:48, Michael Fischer wrote:
I find I can cp(1) from the phone to the desktop fine, but from the desktop to the phone (putting back favorite photos) results in 0kb files showing up on the phone :-(
Make sure you unmount the drive from the Suse desktop before disconnecting (eject button in Device-Notifier). Sometimes writes are cached and not actually written to the device.
Bingo. That did the trick of making the desktop -> phone writes work. Thanks to you and Patrick. Michael -- Michael Fischer michael@visv.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Michael Fischer <michael@visv.net> [08-29-11 22:49]:
On Mon, Aug 29, Jeffrey L. Taylor wrote:
My computer gives me a choice of two devices to mount, the phone memory and the storage card. My cellphone also unmounts the "drive" that's mounted on the computer. Solves sharing the device problems.
That does indeed seem like what's happening for me. Typically I get sdh and sdi - but only one of them (presumably the storage card) is mountable by SuSE.
I see the same using a usb connection, two drives. But both are mountable and rw.
I find I can cp(1) from the phone to the desktop fine, but from the desktop to the phone (putting back favorite photos) results in 0kb files showing up on the phone :-(
are you using "umount" prior to separating the cable/phone? (or the gui ?eject? button) -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, Aug 30, Patrick Shanahan wrote:
* Michael Fischer <michael@visv.net> [08-29-11 22:49]:
On Mon, Aug 29, Jeffrey L. Taylor wrote:
My computer gives me a choice of two devices to mount, the phone memory and the storage card. My cellphone also unmounts the "drive" that's mounted on the computer. Solves sharing the device problems.
That does indeed seem like what's happening for me. Typically I get sdh and sdi - but only one of them (presumably the storage card) is mountable by SuSE.
I see the same using a usb connection, two drives. But both are mountable and rw.
I find I can cp(1) from the phone to the desktop fine, but from the desktop to the phone (putting back favorite photos) results in 0kb files showing up on the phone :-(
are you using "umount" prior to separating the cable/phone? (or the gui ?eject? button)
To both Volker and Patrick, thanks for the point about the umount/cable race. I'll test that out today. Michael -- Michael Fischer michael@visv.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 8/29/2011 7:48 PM, Michael Fischer wrote:
On Mon, Aug 29, Jeffrey L. Taylor wrote:
My computer gives me a choice of two devices to mount, the phone memory and the storage card. My cellphone also unmounts the "drive" that's mounted on the computer. Solves sharing the device problems.
That does indeed seem like what's happening for me. Typically I get sdh and sdi - but only one of them (presumably the storage card) is mountable by SuSE.
I find I can cp(1) from the phone to the desktop fine, but from the desktop to the phone (putting back favorite photos) results in 0kb files showing up on the phone :-(
Michael
Wait, you are just copying pictures back and forth? Why are you cabling up? As long as you are not trying to access android internal files (the os files) you don't need to do any of this crazy usb stuff. This isn't an iPhone. You never need to cable it up at all. My Nexus One hasn't been connected via USB for months. Go to the Android market and get ES File Manager, for which you will pay the princely sum of zero. It supports FTP, SFTP, SMB, and Dropbox in addition to being a great phone/tablet file manager. If your Opensuse is running samba, just tap the "Lan" button in ES File Explorer and set up a new connection. If not running samba, tap the FTP, button, and set up a new SFTP connection to your suse-box. All of this is done over wifi (or 3G) so you never have to cable. Moves and copies are done from the phone side. Then copy files in either direction all from the phone. If you root the phone you can install Samba Filesharing (android market) or terminal services and it will appear like any other Windows shares or linux box on your wifi network. But this is over kill for what it appears you are trying to do. -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, Aug 30, John Andersen wrote:
Wait, you are just copying pictures back and forth? Why are you cabling up?
Simple - no wifi. But thank you for the list of suggestions. Michael -- Michael Fischer michael@visv.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 8/30/2011 11:38 AM, Michael Fischer wrote:
On Tue, Aug 30, John Andersen wrote:
Wait, you are just copying pictures back and forth? Why are you cabling up?
Simple - no wifi.
But thank you for the list of suggestions.
Michael
SFTP works over 3G too Michael..... -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 30 Aug 2011 18:51:00 John Andersen wrote:
Go to the Android market and get ES File Manager, for which you will pay the princely sum of zero.
It supports FTP, SFTP, SMB, and Dropbox in addition to being a great phone/tablet file manager.
If your Opensuse is running samba, just tap the "Lan" button in ES File Explorer and set up a new connection. If not running samba, tap the FTP, button, and set up a new SFTP connection to your suse-box. All of this is done over wifi (or 3G) so you never have to cable. Moves and copies are done from the phone side.
Then copy files in either direction all from the phone.
Brilliant! Thanks for that tip. Bob -- Registered Linux User #463880 FSFE Member #1300 GPG-FP: A6C1 457C 6DBA B13E 5524 F703 D12A FB79 926B 994E openSUSE 11.4 64-bit, Kernel 2.6.37.6-0.5-desktop, KDE 4.6.5 Intel Core2 Quad Q9400 2.66GHz, 8GB DDR RAM, nVidia GeForce 9600GT -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (7)
-
Bob Williams
-
Hal Martin
-
Jeffrey L. Taylor
-
John Andersen
-
Michael Fischer
-
Patrick Shanahan
-
Volker Poplawski