Question Can't Transfer Files via PC - Xiaomi 11 Lite 5G NE

Trying to copy files from my old phone to this new Mi 11 via PC, and it's like the PC doesn't have write access to the phone despite it being in USB File Transfer mode. If I try to copy files or create new ones like a test.txt file, it won't actually write anything. It's happened from both a Windows 10 and an Arch Linux computer so it seems to be isolated to the phone. I've tried toggling the USB File Transfer mode off and on but it didn't have any effect.
Can anyone advise how to fix this?

Is "USB File Transfer" MTP?
Have you tried just using adb push file somewhere
Are you trying to copy to /sdcard or are you trying to write to /data/data to restore app data?

It ended up working for no apparent reason, I'm not sure what happened or what fixed it, but it seems to be working now /shrug

Related

[Q] All files not showing on PC

I have tried with file manager and found the files i was looking for in android/data/something but when i connect my GN to my PC (win7 32bit) i only get a few folders and files,
I have tested with both USB modes and I only get the basic folders such as
Alarms, Android, DCIM, Downloads, Movies, Music, Notifications, Pictures, Podcasts, Ringtones.
and the file manager reports more folders present :/
also the files i'm trying to access are within the android folder (which is visible on PC) but in filemanager there are 10-20 folders found in android/data that are missing on PC. PC only shows 3 folders in android/data
It also appears to be possible for other users to access the exact same file at the exact same filepath, why can't I?
is there a feature on GN or ICS that makes it impossible to access some files from the PC or is this a bug/flaw?
in case you guys need to know what files i'm trying to access, it's the game files to GTAIII
I kind of have a similar problem.
When i connect my phone to a windows 7 computer it mounts okey and shows me the files. If I create a folder on the phone from windows explorer, unmounts the device, I can not see this folder on the phone via a file manager unless i reboot my phone. This also applies the other way around. If I create a folder on the phone from a file manager, then mount the phone to the computer, I can not see the folder until I reboot my phone.
Is there a fix for this? Is it a bug? How can i resolve this? It's very frustrating.
MTP/PTP doesn't offer all the features the full USB transfer mode has. Search will help you find the pros and cons of this.
Workaround: Use an app like WiFi File Explorer or Airdroid.

[Q] How to mount and transfer files??

I must be doing something wrong. My previous Android phones, I plug into computer via USB and mount it and just drag and drop files. This one you plug it in and gives you the option of MTP and PTP and won't let me move over a lot of types of files. I need to be able to move zips like a ROM over to the phone and it says file type not supported or some such and give me the option to skip or cancel the transfer. So it gives me no option to transfer. What do I need to be doing? Thanks.
There's no USB Mass Storage, the Galaxy Nexus has 1 unpartitioned storage space and requires MTP to transfer. It cannot be mounted or changed to be mountable.
Most issues with transferring via MTP arise with people using improper drivers.
I use an FTP server app on my phone (SwiFTP, but I don't see it in the Play Store atm) and filezilla on my PC. It caan also be done via adb or various apps such as AirDroid.
I forgot I do have Wifi file explorer so I'm uploading that way now.

Can't see files in certain directories (including DCIM) over file transfer (MTP)

Hello, today I plugged my phone in to try and transfer some photos I'd taken earlier, and to my surprise could not see the photos in the DCIM folder. Using FX File Explorer I can explore that folder just fine on the device itself, and see everything.
This problem seems to be affecting several folders, but not all of them. Sometimes it affects different files in the same folder differently. For example, I have some .pdf and .apk files in my Download folder, which I can see on my phone, but on my PC I can only see some other files in that folder, including a .zip file. The issue appears to be based on the date the file was created, as outlined in this post in Google Support forums. I had no success with the cache-clearing of External and Media storage system apps outlined in that thread. I had success with being able to view all my /Downloads/ folder items by putting them in a subfolder and then bringing them out again into Downloads. The trick did not work with the DCIM folder for some reason.
I am rooted, but this issue has persisted through at least one re-flash of a stock image (I just updated to the newest July build without wiping all my data).
The only thing I can think of is that I ran this command to change the permissions of /su/bin when I was trying to get Android Pay working and perhaps that screwed something up? But wouldn't that be reset after the stock image was flashed anyway? Or would I need to wipe to do that? And even so, it still doesn't explain why it only affects certain files and folders.
Thoughts on things to try? Is there any way to undo that chmod command? FX File explorer says my current permissions on that folder is 0755, could that even be causing the issue? Apparently the change to 751 failed.
The issue persists using different USB cables and ports on my PC.
Did you have any luck figuring this out. I am having a similar problem as well.
I have always been able to transfer music from my computer to my nexus5X's Music folder with no problem. Today, something isnt working right. When I plug the 5X into my computer and select File Transfers, I can see all my files on the 5X. When I select the Music folder, it opens but only shows 237 songs. When i look at the folder on the 5X is shows 1016 songs. For some reason when connected to the computer it cant see all the files in the music folder. Also, when I try to copy a file to the music folder windows give me an error and says "The device has stopped responding or has been disconnected" If i try to copy is somewhere else on the 5X it works. I just can send it to the music folder. What can I do to fix this?
I actually noticed this before the update to 7.0. I used TiBU but the folder was not there. Using root explorer I can see the folder. I placed the Titanium Backup folder into another folder and then I could see it via the PC.
I uses a usb 3.0 port on the PC , have not tested 2.0 atm.
This is a typical MTP bug, just find & clear 'Media Storage' system app data, reboot. Dont connect PC before media scanner service finished.
You will lose media playlist, though.

advanced question - internal and external file transfers

I have a rooted 5x nougat with twrp recovery and stock rom. When I attempt to copy my TWRP backup to my computer via MTP file transfer, I cannot. Same with my titanium backup folder. I also tried to move my TWRP backup to my DCIM folder such that I could try PTP file transfer but that didn't work either.
Indeed, i cannot even transfer files within my own phone's file directory. I'm using root Explorer. I've toggled and made the file system read-write. I tried to change file folder permissions, and that failed.
Any advice Xda family? I have the proper drives installed.
Apologies in advance if my verbiage isn't accurate technically. I'm pretty good with android but by no means an expert.
Mario
File Transfers
I'm not really sure as to why you'd have problems moving files within your phones internal storage, however I do have a solution (work around, really) to your MTP problem, as long as you have ADB working.
I also never got MTP working so I just use a file manager to check the path to the folder I want from my phone to my computer, and then use the command:
Code:
adb pull /path/to/folder/on/phone /path/to/destination/on/computer
And if I want to put something from my computer on my phone, I do the opposite command:
Code:
adb push /path/to/file/on/computer /path/to/destination/on/phone
Additionally, if you really need to move files around on your phone, you can use:
Code:
adb shell
su
mv /path/to/file /path/to/destination
Hope that helps!
Thanks. It does help and I have adb. I'll try that method. I'm not sure why I'm having that issue either.

cant copy files, although they are shown// on usb plug,file transfer can be selected!

Moto G5 XT1676
LineageOS 15.1 / Magisk 16.0
PC: win7 x64 pro
i connect my phone per usb to pc and select transfer files
in the explorer moto g5 i can select and i can navigate through all my folders(internal and sd card)
e.g. titanium backup folder on the internal storage i want to copy the backup files to my win 7 pc
i select 470 files press copy and select a folder on my win7 and paste... but no files would be transfered.. no message pops up, and nothing is transfered
i tried same with pictures to trasfer them.. can select them(they are all in the folder on internal storage) copy them and want to paste them in a folder but paste process just wont start without error message
same happens when i try to copy files from th external sd card....
problems seems to hunt me down on every step i do ~_~
If doing a media rescan doesn't help I suggest you take a logcat whilst trying to copy files and give it to the rom developer
Use this app to media rescan - you may get several force closes whilst doing it - just click reopen app or something like that - also make sure there is no USB connected whilst you scan
https://play.google.com/store/apps/details?id=com.house.noranuko.mediarescanner
As a work around you can try enabling adb debugging & then using adb to pull the folders
Or
Boot to recovery & try copying the files whilst in recovery (my official twrp fully supports MTP but I don't know about the 64bit version)
in short, fixed the transfer problem by installing "MyPhoneExplorer"
App+Software for PC

Categories

Resources