How to sync Puppy with an Android device

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

How to sync Puppy with an Android device

#1 Post by don570 »

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).


Image

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

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'

Image

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

Screen of my Android device
Image


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

Image

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.

Image


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!!!

Image


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, 20:35, edited 5 times in total.

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

version

#2 Post by raffy »

Thanks for this, but what is the version of your Android?
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#3 Post by don570 »

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

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/ ... one/319982

_________________________________________________
Last edited by don570 on Thu 06 Sep 2012, 23:44, edited 3 times in total.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#4 Post by don570 »

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)


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.



_______________________________________

Post Reply