I'm trying to sync/transfer files from my UNIX box and Android Phone and vice versa.
I know that Android Phones show up seamlessly (mostly) in Linux given their incestuous relationship.
Is there a way to do it in UNIX or more specifically in Solaris 11.3 (i86)?
I haven't found one resource that show's that it can be done, HOWEVER, there are some pretty talented players in this forum that might say it can be done.
I've spent many hours trying to find a solution, hence the reason I'm in here desperately needing help.
I tried "Software Data Cable" from the Google play store, it sort of works, but, it is limited to single file transfer only in one direction, which is unacceptable to transfer large swaths of MP3 files.
UNIX Box: AMD FX Series 8 Core with 16 GB of RAM.
Phone: LG Optimus Pro Indigo (E980).
If you can transfer one file successfully over your cable now, can you use tar, cpio, or pax to create a single archive file containing everything you want to transfer and use the archive files to transfer your data back and forth?
What command(s) do you use to successfully transfer a file over your cable?
Can you mount the Android phone's filesystem (read-only obviously) from Solaris using your cable? That would allow you to rsync from the phone to Solaris.
Does your phone have multiple filesystems mounted, or is everything in the root filesystem? If it has multiple filesystems and you can put the files you want to sync on a filesystem that your phone doesn't need to write to while files are being synced, you could unmount that filesystem on your phone, remount it read-only, and then mount it read-write on Solaris to rsync back to your phone. (Just don't forget to unmount the Adroid filesystem from Solaris before you unmount it again on your phone and remount it read-write on your phone.)
Does your phone's OS include support for an NFS server? If so, can you export an NFS filesystem from your phone through your cable or by WiFi and mount that NFS filesystem on Solaris so you can rsync both ways?
Does you phone's OS include support for mounting NFS filesystems from a remote NFS server? If so export an NFS filesystem from your Solaris system and mount it on your phone...
If you can't cross-mount filesystems, are ftp, rcp, or even uucp possible?
I should have given a better description of what's going on. "Software Data Cable" is an apk on Google Play that uses WiFi instead of the actual cable, I guess the play on words is irony.
I guess what I basically want is this: When I plug my phone in via cable, I want to see the drives appear in File Browser. In Linux I plug my phone in and my internal and external (SD) is mounted and sitting on my desktop; that being said, I know that the auto-mounting isn't going to happen in UNIX without a bit of convincing, but, never-the-less, I'm just looking for a way to read/write to my phone's external SD card. In fact syncing may prove to be too tedious for what I'm doing since I just want occasional access and dynamic file transfers, meaning I may choose to transfer files A, B, and C today and X, Y, and Z tomorrow.
I think there's a way to "Connect to server" via SSH but, I'm not sure where to start. Every time I put either the MAC or IP address I get an SMB error that access is denied.
I found this reference, maybe you can tell me if it's what I need to do, or, on the right track. I also used this as a guide ONLY because it's meant for Linux. I did manage to set up USB tethering on my phone, but no luck trying to SSH to it.
My android Phone is running version 4.4.2 and kernel version is 3.4.0, and rooted.
I was reading that Android phones can only be active as a NFS Server through some SDK, sounds messy IMO, although I would assume it is up and running in my version (4.4.2) because I can view the same phone on my Linux box when I plug it in right now, so, maybe that statement is outdated.
I hope all this makes sense and I didn't embarrass myself too badly because of my lacking UNIX skills I'm just not sure where I'm going wrong.
Thanks for your help and time.
Last edited by Nostradamus1973; 05-15-2016 at 08:26 PM..
In Linux for .rpm
we can list or view the files using the command
rpm -qpl <file.rpm>
and to extract, the command is
rpm2cpio <file.rpm> | cpio -idvh
I would like to know the commands which has same functionality as above for solaris ( .pkg)
Thanks in Advance (5 Replies)
I'm trying to get a MacBook Air (MBA) running 10.6.5 to recognize a Samsung Galaxy S (Android 2.2) vis the USB interface for simple file transfers back and forth. Nothing works so far. I've tried many things! :wall:
I noticed when I connect my phone to the MBA, there is a message in system.log... (2 Replies)
Howto view gzipped files with name file.gz.$DATE on a Solaris box (without unzipping first)
$ ls -lrt
-rwxrwxr-x 1 oracle dba 569745 Apr 4 19:45 4_person2profileCon.txt.gz.04.04.11*
-rwxrwxr-x 1 oracle dba 3783 Apr 4 19:45... (4 Replies)
Let's find out about users of Android. I'm becoming a big Android follower. You?
After a lot of research, I am thinking to by the Samsung Galaxy S as soon as it updates to Android 2.2.
I'm also closely following the release of the Samsung Galaxy Tab! (14 Replies)