Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 20 Dec 2014, 21:12
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to sync Puppy with an Android device
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
don570


Joined: 10 Mar 2010
Posts: 3437
Location: Ontario

PostPosted: Tue 04 Sep 2012, 11:42    Post subject:  How to sync Puppy with an Android device  

Just drag and dropping of files is possible between Puppy and an
Android device, but there is a more sophisticated method
using Puppy Backup (or pmirror which is similar).




Here's the procedure that I use to transfer and mirror files to
my new Android device (a tablet). See image



Create a folder 'Android_sync' on your favorite hard drive.
Put ordinary documents and packages in this folder
that you want transferred and stored in Android device.

Start your Android device (a tablet). It will be the USB host.

Connect your computer to Android device with a USB cable
with appropriate connectors - Android devices typically use
micro USB connector. Apparently it must be a special cable
that shorts pin 4 and pin 5 to make them ground potential.
Follow the link a couple of post down for explanation.

Tap on bottom right of screen of your android device where there is a
clock.

You will see
'USB connected - Select to copy files to/from your computer'



Tap on this line . A new window pops up.
Tap on the button labelled 'Turn on USB storage'

Screen of my Android device



Go back to your Puppy operating system.
Click on 'Mount' icon on desktop to launch pmount app



Note that size is 2152MB which is half the size of storage (=4GB)
listed for my tablet by the manufacturer ( because some space is used
by Android system ).

Click on '(un)Mount' button to mount.
Puppy Linux will now treat Android device like a mounted drive.

Create a folder 'Android_sync' in your Android device.
This folder can be created by Puppy linux or Android System,
whatever is more convenient.




Launch Puppy Backup - Choose an unconfigured folder.
Click on 'Proceed' button.

Set up the synchronizing of two folders (see image)
The folders don't have to have the same names but I think it's
a good procedure!!!




Click on 'OK' button to do the mirroring action.
(Feel free to use 'Only simulate mirror' if you're worried)

Other folders can be mirrored as well but this adds complexity.
Puppy backup allows a max of 5 folders to be mirrored
but each has to be done individually.

Now remember in future that you will keep the 'Android_sync' folder
on your hard drive filled with files that you want on your device.
Don't delete a file in that folder unless you want it deleted
in your Android device as well.

To end USB hosting is easy---> Dismount USB drive in Puppy Linux



Click on 'Turn off USB storage' button
which is clearly seen on Android device screen.

The order of doing the dismounting isn't important.


Warning! Mirroring makes an exact duplicate of file structure
so important files may be deleted in this procedure.


Make sure you understand what mirroring does. There is
some help files in Puppy mirror but practise with some worthless
folders is the best way to learn .



_____________________________________________________

Last edited by don570 on Thu 13 Sep 2012, 16:35; edited 5 times in total
Back to top
View user's profile Send private message 
raffy

Joined: 25 May 2005
Posts: 4798
Location: Manila

PostPosted: Tue 04 Sep 2012, 16:15    Post subject: version  

Thanks for this, but what is the version of your Android?
_________________
Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3437
Location: Ontario

PostPosted: Wed 05 Sep 2012, 16:52    Post subject:  

Version 4.0.4 dated July -------> so it came right from the factory in China Laughing

This feature should be in all Android devices in the future.
All that is required is that the factory use USB On-The-Go
which is a standard that is still being developed for USB3.

Here's a site that describes how to make a sync cable yourself.
It seems easy to do. Just short pins 4 and 5 so they will both be grounded.
http://tech2.in.com/how-to/accessories/how-to-make-your-own-usb-otg-cable-for-an-android-smartphone/319982

_________________________________________________

Last edited by don570 on Thu 06 Sep 2012, 19:44; edited 3 times in total
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3437
Location: Ontario

PostPosted: Wed 05 Sep 2012, 17:07    Post subject:  

It struck me that people might use their Android device to download files
from the internet and then want to transfer these files to their home computer.
(See image)





This can be done easily with puppy backup (or pmirror )

Make sure that you use a different folder name than Android_sync.

I suggest using the name 'Puppy_sync'.

The procedure is similar to above.



_______________________________________
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0621s ][ Queries: 11 (0.0099s) ][ GZIP on ]