Going from phone with sd card to phone without (android both) - General Questions and Answers

Greetings XDA wizards,
Per my title I am switching phones. I plan to copy lots of media, is there a recommended folder naming scheme on the new phone such as naming a main sub-folder SD and then just copying my folders there via Windows Explorer?
Aim is to keep everything stored the same to be compatible with existing apps, ect, and frankly I am comfortable with a familiar layout. Old guys don't really like changes and I already had to go from years of Blackberry to Android.
If it matters phones concerned are: Nokia 8.3 5G to Asus ROG Phone 6.
I would appreciate any input on this.
Thanks

You can't simply copy files from one phone to another phone by means of Windows Explorer because the filesystems used on Windows computer and Android device are different: Extra tool is needed e.g.
MTP USB Device Driver Windows 10 64bit Driver | Device Drivers
MTP or (Media Transfer Protocol) is a set of custom extensions to the Picture Transfer Protocol (PTP) devised by Microsoft, to allow the protocol to be used for devices other than digital cameras, for example digital audio players such as MP3 players, and other portable media devices, for...
oemdrivers.com

Related

Exploring device memory with a PC (no ActiveSync)

I was wondering if there was a way to do exploring of the internal memory via regular means (windows explorer).
Reason for this Q being that i use FAR Manager to do file chores and it hacks me off to no end that exploring can only be done via ActiveSync... I love my Far, being an old coot with old Norton Commander habit
Yes, bluetooth.
http://wmpoweruser.com/?p=1028
Surur
sliex said:
I was wondering if there was a way to do exploring of the internal memory via regular means (windows explorer).
Reason for this Q being that i use FAR Manager to do file chores and it hacks me off to no end that exploring can only be done via ActiveSync... I love my Far, being an old coot with old Norton Commander habit
Click to expand...
Click to collapse
Sorry this post isn't going to help you but how in the heck can you use FAR in today's world of technology?
Are you still using a 286 processor?
Whats wrong with FAR ? It's a win32 app, works well, has loads of plugins, loads of uses AND a beautifully readable console graphics (NC weeeee ). I hate windows explorer with a passion and windows graphics based file managers look butt ugly... there
I'm thinking of looking for something similar for my new Touch Pro
Total Commander has a plugin to explore the filesystem of a WM PDA/smarthphone.
Check it out here. The name of the plugin is "WinCE". I use only Total Commander for working with files and dirs and it's great to explore my Touch Pro with it too.
Am I misstaken if I belive you just want to browse the files on your phone as it was a memorystick you inserted into your computer?
If that is the case you just have to select to use your device as a disc station when you insert the usb cable. I belive it uses activesync as the default, the question only shows up for like 10 seconds so you might have missed it if you didn't watch your phone.
The Avatar said:
If that is the case you just have to select to use your device as a disc station when you insert the usb cable.
Click to expand...
Click to collapse
With this, the "disc mode", you can only see the content of the extension microSD card, not the content of the internal storage memory, where Windows and the programs are installed.
You can try Pocket Controller. It's expensive, but there's a demo that works well.

[Q] Usb sync Transformer with mac

How do you sync files maual between the asus transformer and mac? when i connect the two it just starts looking for the asus pc suite?
I use DropBox mainly.
However, I sometimes use folder / network share that I can access within ES File Explorer.
The Transformer uses MTP to expose the storage to a host computer. This avoids the mutual exclusivity problems that USB storage mode caused. Windows has MTP support built in Mac's don't. Additional software available here: http://www.android.com/filetransfer/
The main problem here is Apple not including support for protocols used on devices that compete with their iP(ad|hone|od) line
alright thanks its a pain but its the best i can do i guess. is there a workaround so u can just use the emmc as a drive?

The fastest way to transfer media to the One X (esp on Linux and OSX)

hi,
I have been really frustrated with attempts to transfer media to my phone over MTP. On Ubuntu Linux - none of the methods work very well - including mtpfs, go-mtpfs, etc.
So I figured to use the method that Apple uses (tunneling TCP over USB) by way of ADB.
So I ran a ssh server on my phone (sshdroid, but anything should work), made sure that
Code:
adb devices
showed up my device, setup a port forward on my laptop using
Code:
adb forward tcp:2222 tcp:2222
, ran filezilla and connected to localhost on port 2222 and transferred all my media.
I got a 1.2 mbps transfer rate using my 2008 laptop. I am now planning to setup rsync over ssh to sync my music.
Here lies my frustration - Apple figured out the TCP over USB method almost a decade back, adb and ssh works well beautifully. Why did Google make the decision of going with MTP, as opposed to building something around SSH - which already has solved most of the problems around file transfer, mounting drives and sync.
Really frustrating.
EDIT: forgot to add that this should work for other devices like Samsung S3, Nexus 7 , etc. - but I personally have only my HOXL to test with.
- Sandeep
P.S. a longer rant on this topic here
sandys1 said:
hi,
I have been really frustrated with attempts to transfer media to my phone over MTP. On Ubuntu Linux - none of the methods work very well - including mtpfs, go-mtpfs, etc.
So I figured to use the method that Apple uses (tunneling TCP over USB) by way of ADB.
So I ran a ssh server on my phone (sshdroid, but anything should work), made sure that
Code:
adb devices
showed up my device, setup a port forward on my laptop using
Code:
adb forward tcp:2222 tcp:2222
, ran filezilla and connected to localhost on port 2222 and transferred all my media.
I got a 1.2 mbps transfer rate using my 2008 laptop. I am now planning to setup rsync over ssh to sync my music.
Here lies my frustration - Apple figured out the TCP over USB method almost a decade back, adb and ssh works well beautifully. Why did Google make the decision of going with MTP, as opposed to building something around SSH - which already has solved most of the problems around file transfer, mounting drives and sync.
Really frustrating.
EDIT: forgot to add that this should work for other devices like Samsung S3, Nexus 7 , etc. - but I personally have only my HOXL to test with.
- Sandeep
P.S. a longer rant on this topic here
Click to expand...
Click to collapse
So you are essentially frustrated with the fact that you have the flexibility to discover your own solutions and that google facilitates this by providing you both a working file transfer method but the option to do it better? Honestly, I'm not sure that I would want to carry around not only my device but a USB stick with portable versions of a FTP client/adb for linux/windows/OS X just to be able to transfer files to/from in a pinch. Most OSs will be able to deal with an MTP device and this allows google to both not need to separate the space into space for your data/apps and allows for google to use ext file systems. There was some thought put into that decision believe it or not.
I just use FTP though my file browser.
z28james said:
So you are essentially frustrated with the fact that you have the flexibility to discover your own solutions and that google facilitates this by providing you both a working file transfer method but the option to do it better? Honestly, I'm not sure that I would want to carry around not only my device but a USB stick with portable versions of a FTP client/adb for linux/windows/OS X just to be able to transfer files to/from in a pinch. Most OSs will be able to deal with an MTP device and this allows google to both not need to separate the space into space for your data/apps and allows for google to use ext file systems. There was some thought put into that decision believe it or not.
Click to expand...
Click to collapse
Actually you misunderstood what I was trying to say. I completely understand the rationale for Google wanting to do away with MSC (yes - I have read the Dan Morrill interview as well). And I'm not proposing that you carry around ADB.
what I am fundamentally asking is the rationale to choose MTP as a protocol, when a viable and far superior alternative exists. OSes are NOT able to work with MTP effectively, because it was never intended to do what we need from our devices today.
On the other hand, most OSes already work with TCP and SSH very effectively and in an extremely highly performant way. It would have been trivial for Google to build a TCP/SSH service inside the Android core and make available client services (similar to usbmux) that would have worked seamlessly across all platforms.
I am seriously questioning the choice of MTP as a protocol, because it is not too efficient.
I don't get it, why not just mount your SD and drag and drop your files? Am I missing something here?
Sent from my HTC One X using xda premium
sandys1 said:
Actually you misunderstood what I was trying to say. I completely understand the rationale for Google wanting to do away with MSC (yes - I have read the Dan Morrill interview as well). And I'm not proposing that you carry around ADB.
what I am fundamentally asking is the rationale to choose MTP as a protocol, when a viable and far superior alternative exists. OSes are NOT able to work with MTP effectively, because it was never intended to do what we need from our devices today.
On the other hand, most OSes already work with TCP and SSH very effectively and in an extremely highly performant way. It would have been trivial for Google to build a TCP/SSH service inside the Android core and make available client services (similar to usbmux) that would have worked seamlessly across all platforms.
I am seriously questioning the choice of MTP as a protocol, because it is not too efficient.
Click to expand...
Click to collapse
I hear you. You will probably have a hard time convincing windows users that MTP is broken for them.
Sent from my Nexus 7 using Tapatalk 2
z28james said:
I hear you. You will probably have a hard time convincing windows users that MTP is broken for them.
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
I'm on windows and think mtp is horrible. That's why I just use ftp now if a rom opts for mtp (JB).
qwertyaas said:
I'm on windows and think mtp is horrible. That's why I just use ftp now if a rom opts for mtp (JB).
Click to expand...
Click to collapse
Why not just mount as disk drive and get 5MB/sec file transfers? I don't get it?
beaups said:
Why not just mount as disk drive and get 5MB/sec file transfers? I don't get it?
Click to expand...
Click to collapse
The One X does not allow you to mount your internal memory as a USB drive. Correct me if I'm wrong, but the Samsung S3 (even though it has a microsd ) does not allow the same.
The only way you can access data is through the phone using a protocol called MTP - it sort of pretends to mount your phone as a USB drive, but that's not what it is actually doing.
the USB drive mode is called MSC - the reason why Google decided to move away is written here
FTP and SFTP are good - You can do exactly that using the USB as the carrier (using my method) instead of the wireless network. So what you said does not make my proposal useless.
What I wanted to show was that there is a perfectly alternative way in which you can transfer files without using the wireless network (basically using the USB as a network). I am willing to stand my ground that that allows for a far superior (and much more omnipresent) protocol to transfer files. What you use on top of TCP-over-USB is upto you : SSH, SCP, FTP - all are viable.
Secondly, I like the fact that when I'm transferring all these files, my regular wifi/3g network is unthrottled.
sandys1 said:
The One X does not allow you to mount your internal memory as a USB drive. Correct me if I'm wrong, but the Samsung S3 (even though it has a microsd ) does not allow the same.
The only way you can access data is through the phone using a protocol called MTP - it sort of pretends to mount your phone as a USB drive, but that's not what it is actually doing.
the USB drive mode is called MSC - the reason why Google decided to move away is written here
Click to expand...
Click to collapse
We all have the the One XL which does allow for our storage to be presented as a block device. The One X might be different?
z28james said:
We all have the the One XL which does allow for our storage to be presented as a block device. The One X might be different?
Click to expand...
Click to collapse
I'm assuming you are on Windows.
What you are seeing is your computer talking to the phone over MTP and presenting it as a block device. If you are able to use your phone's storage (both main as well as the "/sdcard") while you are transferring content on your phone, then it is the MTP mode.
MTP not only brings bad performance, but it also doesnt work across all platforms and screws with fundamental things like timestamps.
Phones prior to the Galaxy Nexus used the MSC mode - a true block level mounting. There are some tradeoffs to that, which is why Google gave up on that.
The iPhone talks to the iTunes using a similar protocol to what I talked about in my OP - TCP over USB.
sandys1 said:
I'm assuming you are on Windows.
What you are seeing is your computer talking to the phone over MTP and presenting it as a block device. If you are able to use your phone's storage (both main as well as the "/sdcard") while you are transferring content on your phone, then it is the MTP mode.
MTP not only brings bad performance, but it also doesnt work across all platforms and screws with fundamental things like timestamps.
Phones prior to the Galaxy Nexus used the MSC mode - a true block level mounting. There are some tradeoffs to that, which is why Google gave up on that.
The iPhone talks to the iTunes using a similar protocol to what I talked about in my OP - TCP over USB.
Click to expand...
Click to collapse
No, I'm not seeing that at all in windows. When I plug my phone into any linux box as well it is enumerated as a "sd" device. I'm also not able to use the storage as it is mounted. The One XL divides its internal SD card into useable space and space for apps.
This is why people are not able to understand why you have posted this here and why I'm asking if the Tegra 3 One X is perhaps different.
EDIT: It looks like the SGS 3 uses MTP.
It is enumerated as a sd device, but it is not mounted as one.
Please double check - I'm on an AT&T One XL.
MTP is the only access path.
Sent from my HTC One X using xda premium
sandys1 said:
It is enumerated as a sd device, but it is not mounted as one.
Please double check - I'm on an AT&T One XL.
MTP is the only access path.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
I just mounted my phone's storage on my laptop running Slackware 14.
Showed up as a SCSI attached storage disk.
fdisk shows it as a block device. In my case sdc.
sdc mounted as vfat.
No fuse, no MTP.
On windows my Nexus 7 uses MTP. My One X shows up as an actual block device. The disk manager even sees it as a block device.
z28james said:
I just mounted my phone's storage on my laptop running Slackware 14.
Showed up as a SCSI attached storage disk.
fdisk shows it as a block device. In my case sdc.
sdc mounted as vfat.
No fuse, no MTP.
On windows my Nexus 7 uses MTP. My One X shows up as an actual block device. The disk manager even sees it as a block device.
Click to expand...
Click to collapse
Oh - now I see what the confusion was. The HTC spoofs the MSC mode using a partition on a single disk. Read about it here. And these are some of the problems that may occur if you continue to use it as mass storage.
I would recommend that you transfer using MTP or over the network using FTP or through my method. I'm really unsure about the mass storage path.
However, what I talked about still stands - Google has moved away from mass storage completely and switched to MTP (HTC is doing a few tricks to make this easy for us)
MTP sucks.
One word: AirDroid.
Why even bother physically connecting your phone to USB anymore when you can use apps such as AirDroid (and many other apps) to get great speeds wirelessly regardless of platform? All you need is the App installed and any browser.
sandys1 said:
Oh - now I see what the confusion was. The HTC spoofs the MSC mode using a partition on a single disk. Read about it here. And these are some of the problems that may occur if you continue to use it as mass storage.
I would recommend that you transfer using MTP or over the network using FTP or through my method. I'm really unsure about the mass storage path.
However, what I talked about still stands - Google has moved away from mass storage completely and switched to MTP (HTC is doing a few tricks to make this easy for us)
MTP sucks.
Click to expand...
Click to collapse
Why can you not just accept the fact that htc includes an excellent usb interface. It's fast and stable in "disk drive" mode. Whether it's "spoofed", "faked" or whatever you want to call it, it works great, and across all platforms.
Actually I don't think it's spoofed at all considering I can write to it in direct disk access mode in WinHex.
Anyhow, they actually did quite a bit with the usb stack. USB tethering, USB network pass-through, and Disk-Drive mode are all HTC features that I sorely miss on my MTP SGS3.
I have not seen a single user complain about Disk Drive mode. It works great.
Nothing to see here, move along....
I hate mtp and miss mass storage mode from the hox
You can.
We can't. Truly.
This thread is for all of those users like me on Linux or OSX who are having trouble with transferring content.
I wouldn't have made this thread if it didn't affect us.
Sent from my HTC One X using xda premium

General Android -> Windows Backup strategy

Backing up camera photos, messenger pics, contacts, documents etc. to Windows in their original format.
Smartphone: unrooted Mate9 with Android 8
What I used to do:
Connect my previous phone (rooted Ascend Mate) to Windows via USB, it's SD card got connected as a real mass storage device. I then ran a custom robocopy batch routine that backed up/mirrored all the important things to my computer. I folder mounted everything interesting from the internal memory to the SD card, like messenger pics.
This worked really great.
Problem I have now:
My new Mate9 does not support true USB mass storage connection anymore. It only supports this awful pseudo MTP file transfer connection to Windows.
This makes robocopy unusable because it only works with real drives with an assigned letters of course.
I really don't know what to do now.
Any cloud backup solution is not an option for me, because of sensitive data and slow internet. Full phone backups feel like an overkill and I cannot access the files on the computer directly.
I know that some people run a samba server or something on their phones to turn the storage into NAS drives. (Robocopy supports NAS I think) This seems to be maximum overkill and difficult to setup and resource intense but I'm interested if its the only way.
Any tips? Thank you
Don't know much about Windows, or MPT for that matter, but perhaps you could map your device (folders you need) to a letter drive? If I recall correctly, that mapping will allow you to read the files located on the MPT drive.
This is acually possible. I found a commercial software that lets you map a driver letter to an MTP device but it's $40.
Did some more research and getting a drive letter for Android storage over WiFi is acually stupidly easy.
Just install WebDav Server on Android and click the button. Then on Windows Explorer -> Map Network Driver and enter the IP displayed on Android. Thats literally it.
I only hope that I can get two drive letters for internal and external storage. Need to try.
So I found a complete solution that I'm VERY happy with!
Its running two WebDAV servers on Androind, one for accessing the internal storage and one for the sd card. This allows me to map 2 network drives in Windows and that means robocopy magic!
Here is how I did it:
1. Install the free app WebDAV Server Ultimate. This app allows you to run multiple servers at once AND let you specify custom storage paths. Both things that the other popular app WebDAV Server can't do!
2. Create two new servers in the app with the plus button and specify the according storage paths. Also make sure these two servers use different ports. The name can be specified freely. Click on the play button to start the servers.
3. Open the Windows Explorer and click "Map network drive" in the top bar. A new window pops up: Pick a drive letter you want and enter the Network IP of your smartphone and the port under "Folder" like this example sceme: \\192.168.178.01:8080 Also check the box "Reconect at logon" if you want the drives to still be there after a restart. The your current phone IP can be viewed in the WebDAV app when you klick on the info icon.
Thats it basically. After that you have your internal storage and sd card mapped to driveletters in Windows over WiFi. Just write your robocopy routine and do one click backups You can check "Keep the device fully alive" in the WebDAV app settings which helped stability and might improve speed. I got about 4-5 MB/s which isn't fast but fast enough for me.
One more thing:
If you use Windows 7 and you want to transfer files bigger 50 MB you have to do this registry workaround by Microsoft. For security reasons, Windows 7 limits WebDAV filetransfers at 50 MB by default.
Doomkeks said:
So I found a complete solution that I'm VERY happy with!.
Click to expand...
Click to collapse
Good stuff, I'd consider making a how-to thread in your devices forum for others!

Use your smartphone as a backup server

This is not about backing up data on your phone. It is about utilise your (old) smartphone to backup files from other devices.
If you use any computer system at home or work - you know, you have to make backups to avoid data losses. Often windows computers are used to backup files from network shares. I am wondering, if my smartphones can do that job too?
I think about the following senario:
When going to bed, I hook my phone up on a powered USB-C hub to charge it.
Instead just sitting around and waiting being charged, it could do something usefull.
One could connect a USB harddrive to the hub and run the backup app atomatically at 3am or so.
After a few hours it should have finished the backup and I got my badly needed sleep. --> Win/Win Situation.
Thats the idea, but even if there are a bunch of apps, that can access network shares (via SMB or FTP), I did not find an app, that can do a file synchronisation or backup job to a USB drive.
I started thinking about creating some TASKER jobs, but I hope, there are already wokring solutions to accomplish the target.
Do you have any suggestions or app recommendations for me?
Get 2 or more enterprise class hdds for backup. Keep them electronically isolated when not in use.
Keep one with your main data base isolated except for updates every 1-12 months in case of malware infections. Best to store in a separate location in an earth grounded metal box.
Stagger the updates between the rest.
You absolutely need to use more than one backup device/copy...
If the phone supports OTG then you can fully backup your phone to USB-drive either from inbuilt File Manager or with USB Backup app. This free-of-charge app requires Android version 5.0 and above.
This app enables you to turn automatic backup on with the help of which whenever you connect the same USB Drive and OTG cable, your device’s backup will begin on its own. You can also set backup reminder to remind you after one month that no backup has made till now.
USB Backup (Android)
Back up your Samsung smartphone
usb-backup.en.uptodown.com
Wokoloko said:
This is not about backing up data on your phone. It is about utilise your (old) smartphone to backup files from other devices.
If you use any computer system at home or work - you know, you have to make backups to avoid data losses. Often windows computers are used to backup files from network shares. I am wondering, if my smartphones can do that job too?
I think about the following senario:
When going to bed, I hook my phone up on a powered USB-C hub to charge it.
Instead just sitting around and waiting being charged, it could do something usefull.
One could connect a USB harddrive to the hub and run the backup app atomatically at 3am or so.
After a few hours it should have finished the backup and I got my badly needed sleep. --> Win/Win Situation.
Thats the idea, but even if there are a bunch of apps, that can access network shares (via SMB or FTP), I did not find an app, that can do a file synchronisation or backup job to a USB drive.
I started thinking about creating some TASKER jobs, but I hope, there are already wokring solutions to accomplish the target.
Do you have any suggestions or app recommendations for me?
Click to expand...
Click to collapse
Sync is not just copying files it is much more than that. Sync usually means you create clone of one particular thing into another computer, while if there is any change in future then the change will be copied and only the changing part will copy not the whole thing. There are very good apps for syncing, by far my favourite one is Syncthing. Because it is full free opensource, works under nat(meaning no need to have fix ip). There is power condition. You can set that up. There is file versioning and option for one-way/two-way sync. You can give it a try. available for multiple platforms.
Thx for the suggestion, @jwoegerbauer. But the idea is not to backup data, that is stored on the phone. It is about having data on a Windows server and backing it up to a USB drive, that is connected to your phone.
Try mixplorer. It should be able to achieve that
kouseralamin said:
Sync is not just copying files it is much more than that. Sync usually means you create clone of one particular thing into another computer, while if there is any change in future then the change will be copied and only the changing part will copy not the whole thing. There are very good apps for syncing, by far my favourite one is Syncthing. Because it is full free opensource, works under nat(meaning no need to have fix ip). There is power condition. You can set that up. There is file versioning and option for one-way/two-way sync. You can give it a try. available for multiple platforms.
Click to expand...
Click to collapse
Syncthing sounded good at first. Although it needs a client to be set up on the source machine (hosting the network share). In my eyes that is a drawback, because it means to set up and install the syncthing on two machines. Especially the installation on the source machine feels unnessessary, because the files are already accessable to the backup machine.
Isn´t there any app, that as a backup machine "simply" reaches for the network share and stores the files on a direct connected OTG/USB drive?
[Edit: Typos]
Wokoloko said:
Syncthing sounded good at first. Although it needs a client to be set up on the source machine (hosting the network share). In my eyes that is a drawback, because it means to set up and install the syncthing on two machines. Especially the installation on the source machine feels unnessessary, because the files are already accessable to the backup machine.
Isn´t there any app, that as a backup machine "simply" reaches for the network share and stores the files on a direct connected OTG/USB drive?
[Edit: Typos]
Click to expand...
Click to collapse
Can you describe the source machine. I mean is it a windows/linux/mac OR another android device OR an ios device? And do you want to backup files to an usb drive/pendrive that is connected to your android device by OTG?
If that is yes. Then you have 3 device.
1. Source machine. ex: windows/mac/linux.
2. Android device that will receive files/pull files from source machine.
3. USB drive connected to android device by otg, where files will be stored.
One thing to note is that source machine needs to give permission to access files to android device(SECURITY REASON). Or needs additional setup to access them. So you need to install additional software. If you are already running a ssh server you may try rsync.
Install ssh-server in source machine and use termux with tasker to sync using rsync. I am not an expert in rsync. you have to do your research for this matter.
@Wokoloko
Thx for the suggestion, @jwoegerbauer. But the idea is not to backup data, that is stored on the phone. It is about having data on a Windows server and backing it up to a USB drive, that is connected to your phone.
Click to expand...
Click to collapse
As with Android fetching file(s) from Windows server can be done by either WGET ( retrieve files via HTTP or FTP ) or CURL ( retrieves files via HTTP, HTTPS, FTP, FTPS ) binary. Both binaries are available in Termux shell.
Simple wget example:
Code:
wget -P <ANDROID-USB-DRIVE> <FILE-URL>

Categories

Resources