[Q] Why is MTP inconsistent? - Samsung Galaxy Nexus

Let me preface this post with a few of the background details.
using Windows 7 (64 bit)
all drivers are properly installed
currently using BAMF Paradigm v1.2
the issue that I sometimes experience has to do with recently created or deleted files. Let's say I delete a file, using Root Explorer. If I then plug the phone into my computer (connected via MTP, Windows will still show the deleted file. But of course, I can't copy it or manipulate it in any way, because the file has already been deleted.
And sometimes the opposite happens. Let's say I back up all my user apps with Titanium Backup. While I know that the internal SD partition isn't wiped when wiping data to install a new rom, I still like to have my Titanium Backups copied off the phone and onto my computer, for further redundancy. What I often do is use Root Explorer to make a zip file from the entire Titanium Backup folder, to make it so that I only have to copy one zip file over to the computer. But if I plug the phone into the computer immediately after making this zip file, it won't show up up in Windows. But I know that the file is there. I can see it in Root Explorer, and I can even pull it off the phone using the Gnex root toolkit (http://forum.xda-developers.com/showthread.php?t=1400871).
If I wait a day or so, then the files shown in Windows "catches up" with what is and what isn't actually on the phone. In general, this is something that I'm used to now, and I can live with it, because I don't actually need to plug my phone into my computer very often.
My question is, why does it behave like this? I've seen this on 3 different computers (all Win 7 64 bit, and all with properly installed drivers), and across multiple ROMs. So I'm assuming that the issue is with the MTP transfer method?
Thanks in advance for any insight.

I've noticed something similar. Happened to me on:
CDMA 4.0.2 stock ROM, rooted & CWM installed
Windows 7 32-bit
All Drivers (FastBoot, ADB, etc) working properly
I noticed when I installed CWM, made a few backups I could see the folder and files using Root Explorer or any File Explorer (ES for instance) from the Market. Still wouldn't show when connected to the PC through MTP.
After a phone reboot, they appeared.

also happens on Galaxy Tab 7.7
only a reboot will fix it

Related

Can't transfer files via Android File Transfer

It seems I can't transfer files via Android File Transfer. On another note (haha pun), I can't believe anytime I want to access my storage I need to load this oddball program, which doesn't even work. I miss USB mass storage.
When I try to copy a file, it tells me "Could not replace file, could not copy file (filenamehere)." This is so frustrating.
Anyone have any ideas? I'm running OS X 10.6.8.
Thanks.
I too am having problems tranfering file to and from the computer. Whats frustrating is that I did not have this problem when I got the note2.
Same problem on the Mac. Had to boot into my windows side. Quite annoying if you ask me
Samsung Galaxy Note II
I have no problem transferring files running latest version of OSX on a mbp... The only time I see any error is if my screen is locked when I connect it, I have to make sure it's unlocked when i connect it for the file transfer program to work. It sees the phone and sd card perfectly fine. I see many people on int version complaining of this too but worked first time for me.
Regurgitated From My Giant Note II
When I connect to my PC, my Note shows up as "SPH-L900". Phone icon, but I can click it to open and use just like any other folder. Absolutely no issues whatsoever moving files to/from sd card.
Do you have the Samsung drivers installed? :shrug:
I can't copy or move files from the device either. I am able to copy/move files to the device.
Running Windows 7 64-bit with Samsung drivers installed.
I was really hoping to get some expert insight on this... I am bummed... I can't even get this to work on Mac or windows... what's the deal with this MTP stuff?
Samsung Galaxy Note II
I can't even notice a difference when using the mtp. Phone shows up under my computer and when i double click i can see the external and internal sd cards. I just go on with business as usual...
What kernel are you guys using?
The new Perseus kernel seems to have fixed this issue for me.
http://forum.xda-developers.com/showthread.php?t=1975262
Stock kernel...
Samsung Galaxy Note II
Hi guys, i know that´s bit older thread, but i need help with Android File Transfer.
I don´t see all files in window on Mac.
I miss there *.mpo file from images folder
have you tried something like this?(https://play.google.com/store/apps/...mNvbS5kb29ibG91LldpRmlGaWxlRXhwbG9yZXJQUk8iXQ..) i bought it havent tried it in Mac OS X but can in a bit if youd like
I can´t use it... I have Mac in work... It´s older Mac without Wi-Fi card, and we don´t have Wi-Fi network.
Bluetooth is slow for bigger files, therefore I wanted to use Android File Transfer.
Please read forum rules before posting
Questions and help issues go in Q&A
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
FIX?
hi guys.. I had this same problem trying to use android file transfer from my 2013 nexus 7 to macbook air.
I remembered I had a password set to access ES FILE EXPLORER on my Nexus 7 and opened the app, typed in my password and that made the trick... No more problems transferring from my Nexus 7 to the Macbook air. Tested with a 800 mb mp4.
Use ADB to transfer on OSX
I know this thread is old, but I just happened upon it. I am using OSX mountain lion, and could not transfer to my mac using the OSX Finder GUI. However, there is a workaround…. ADB PULL! (Note: this is nothing fancy/special, its just using command-line utilities instead of GUI and Android File Transfer)
**You must have ADB installed (Google, its not very hard to install it)**
1. Connect via USB
2. Disable MTP on your phone
3. open terminal and enter:
Code:
adb pull YOURFILENAME LOCATIONONCOMPUTER[optional]
benbeel said:
I know this thread is old, but I just happened upon it. I am using OSX mountain lion, and could not transfer to my mac using the OSX Finder GUI. However, there is a workaround…. ADB PULL! (Note: this is nothing fancy/special, its just using command-line utilities instead of GUI and Android File Transfer)
**You must have ADB installed (Google, its not very hard to install it)**
1. Connect via USB
2. Disable MTP on your phone
3. open terminal and enter:
Code:
adb pull YOURFILENAME LOCATIONONCOMPUTER[optional]
Click to expand...
Click to collapse
You can use Android file transfer and that way you get the same mtp functions as Windows... Get it from here:
http://www.android.com/filetransfer/
Sent from my SPH-L900 using Tapatalk
jocarog said:
You can use Android file transfer and that way you get the same mtp functions as Windows... Get it from here:
http://www.android.com/filetransfer/
Sent from my SPH-L900 using Tapatalk
Click to expand...
Click to collapse
My point was for people for whom android file transfer wasn't working.
Why so defensive? Anyways good point!
Sent from my SPH-L900 using Tapatalk
I received the message "Could not copy file [filename]" and "your phone is locked" (dont remember exact wording) from the Android File Transfer app when trying to transfer a file.
The file size was small. The filename didn't seem to matter BUT i have to say: I got 3-4 successive failures with the original filename - which contained a few brackets and parentheses, but then was successful on the first attempt with a renamed file containing no special characters. But later, I was able to copy using the original filename.
Sometimes after unplugging/replugging the phone back in to restart Android File Transfer, I'd see the file appear in the location I copied it to even though it gave me an error earlier.
This did not happen consistently - sometimes it'd work normally, sometimes it'd work but appear to fail with an error, and sometimes it would just fail with an error. The phone was unlocked and on the home screen at all times.
Pretty strange. This is with Nexus 5 stock rom on 4.4.3, Android File Transfer 1.0.50.2266.

[Q] All folders in sdcard partition not showing

Anyone seen this before? I plugged the N7 into my Win7 computer and when I go to Windows explorer it does not show all of the folders in the sdcard partition. The main problem was I wanted to copy some TB backups over from my GNex to get saved games and such moved over. There was an empty folder named TitaniumBackup on the N7, in windows explorer it shows up as a blank document icon, but when I attempt to go ahead and copy my system knew it was a folder but it couldn't write to/overwrite it.
My GNex does not have this kind of problem, all the folders in the sdcard partition show properly. I tried a reboot of my system as I've seen weirdness before with the MTP protocol and windows not updating its display (like it's caching what it's reading) and that would fix it, but not this time so I don't think that's the issue. I'm wondering if this might be a "fix permissions" kind of issue or something? The permissions look the same as my GNex though looking in Root Explorer.
flyinion said:
Anyone seen this before? I plugged the N7 into my Win7 computer and when I go to Windows explorer it does not show all of the folders in the sdcard partition. The main problem was I wanted to copy some TB backups over from my GNex to get saved games and such moved over. There was an empty folder named TitaniumBackup on the N7, in windows explorer it shows up as a blank document icon, but when I attempt to go ahead and copy my system knew it was a folder but it couldn't write to/overwrite it.
My GNex does not have this kind of problem, all the folders in the sdcard partition show properly. I tried a reboot of my system as I've seen weirdness before with the MTP protocol and windows not updating its display (like it's caching what it's reading) and that would fix it, but not this time so I don't think that's the issue. I'm wondering if this might be a "fix permissions" kind of issue or something? The permissions look the same as my GNex though looking in Root Explorer.
Click to expand...
Click to collapse
Well, I'd start with making sure you have the drivers.
http://developer.android.com/sdk/win-usb.html I could see and write to mine on linux and win 7; of course, only used the drivers on win 7.
Have you tried this SDrescan? https://play.google.com/store/apps/details?id=com.bero.sdrescan&hl=en
Any problems I've had of files/folders not showing up on both my GN/N7 have been fixed by running that first.
Ok guys looks like the problem is fixed. I think part of the problem was my faulty not updating or gps locking first device. The replacement looked like it was going to do the same thing, but now that it's rooted AND rebooted (and rebooted my desktop) all of the folders that should be are showing up. At this point I'm not sure if it was a fault with the first tablet, or the first tablet needed to be rebooted (pretty sure I did that a couple times though) or what.
edit: actually now I realized something weird, in Device Manger windows shows the Android Composite ADB Interface device as under the heading "Samsung Phone" (roughly the right wording) even though it's my Nexus 7 that is plugged in.

[Q] can't see titanium folder on PC via USB MTP

I've got a rooted stock (Jassy v5 kernel) N7 2013 and have done a titanium backup.
I'm trying to copy it to my PC and when I connect in MTP mode (developer options unchecked) the Titanium folder doesn't appear, it comes up as a 0b size file.
Titanium itself works and I can see the folder on the nexus itself (via es explorer etc.)
Is this some kind of new permissions issue? Never had this before have always been able to see my titanium folder via USB....
I tried for awhile to get it to show up on my PC but I couldn't get Windows 7 to see that directory. I ended up enabling Google Drive backup in Titanium. Then I created a backup from Google Drive on my PC.
cheers might try your workaround
would much rather have local USB though (speed, data caps etc.)
Sometimes mtp on windows gets confused and doesn't display everything
Try reboot PC and tablet and try again
I had the same exact issue. I was able to see most directories, but TitaniumBackup was missing. I ended up using AirDroid to perform a wireless transfer of the backup files to my PC. Also using Win7/MTP. Hope this helps.
iirc you have to look for a folder named /sdcard/sdcard or /sdcard/0/
There's a titanium backup folder in there, the one in /sdcard/TiB doesnt seem to hold anything. Either way its a 4.3/TiB issue.
Sent from my Nexus 4 using Tapatalk 4
wintermute000 said:
cheers might try your workaround
would much rather have local USB though (speed, data caps etc.)
Click to expand...
Click to collapse
You can still transfer the backup files to your PC over USB cable with
Code:
adb pull /sdcard/titaniumbackup c:/TitaniumBackup

Not all files showing up in windows file explorer.

I am using windows 8.1 (tried on 2 different systems with same OS) and viperone rom 2.5.0 on my HTC one M8. (this is a problem i always had even on the stock rom, I thought that a custom rom might fix it but i was wrong).
When i connect my phone to my computer, it gets detected instantly.
It finds the internal sd card but also the external sd card.
HOWEVER, when i go to the internal sd card (So the memory the phone has by default) There is no Android folder. (you know, the one with the .com-facebook blabla files in it)
When i open a file explorer on my phone I can perfectly see all the files and folders on my Internal SD card. But when I use the pc to find these files, allot of them don't show up. Even some files in the ROOT of the sd card are not showing up, and these are simple .png and .log files. AS IF WINDOWS 8.1 DOES NOT DOESN'T RECOGNIZE THE FILES, and therefor decides to just not show them.
- YES i have turned on Show hidden files and folders -
Oh yeah, sometimes these folders do randomly pop up in there on the pc but then the are gone just as fast as they appeared. Also transfering files is very, very slow and gets interupted from time to time because windows "Cannot connect to device" or "Lost connection to device".
I keep wondering, why can't it be easy like an simple usb stick/drive. Those things are just plug 'n play. I recon that android should have this same option but it keeps disappointing me
I remember the good GingerBread days where you pressed the button on your phone CONNECT STORAGE TO PC. And it worked every single time, without delay or other crap. Just like CWM with its USB Storage function.
Look for a folder named "storage", in there you find the folder "emulated" and in there is the folder "0" open it and you'll see all the folders you have on your phone

[Q] Unable to connect to PC properly after rooting

Hello,
I have had my HTC One M8 for a while now but I wasn't really happy with the soundquality while playing through my headphones, so I looked for ways to improve it. I found a few methods and finally decided to give it a try. These methods require a root so yesterday I have rooted my phone for the first time. Unfortunately I am experiencing some problems now.
The rooting process went without too much trouble. I used hasoon2000's toolkit and have TWRP version 2.7.0.2 installed as recovery and used it to install the provided SuperSU, which didn't work at first. On the forums I found a newer version and installed that one, updated it and got it to work.
Now this is where I think I messed up: I read somewhere that when rooted, you are able to delete pre-installed apps from the phone. I downloaded SD maid and deleted Kid Mode, Zoe and 7digital. When I deleted Kid Mode I got an error saying it has crashed. I tapped away the error but from this point I couldn't go back to my homescreen anymore because my launcher kept crashing (com.htc.launcher crashed). I rebooted the phone and the launcher worked again, but the phone still seemed to be buggy.
After this I tried to install the snapdragon audio+ (this was my first choice for an equalizer). I downloaded the apk and moved it to the system folder using ES file manager. I installed but when I tried to use it (through settings in google play music app) my phone would crash. I uninstalled it and tried again, but when I tried to move the apk to the system map like before, my phone would crash everytime. I then found out the file I used doesn't work for lollipop so I figured that's what caused the crashes.
My next move was to try and install viper4android. I downloaded it from the Play Store and opened it. It told me it needed an installation of BusyBox so I downloaded that too. But when I opened the BusyBox app and clicked install my phone would crash again. After some searching I found that the HTC One M8 requires BusyBox to be flashed manually so I downloaded the file but when I tried to load it onto my phone I noticed this wasn't possible anymore.
Now when I connect my phone to my PC the PC recognizes it, but when I open the map in Windows Explorer it only shows three maps; .showme, _nero_sync and Ringtones. I know there should be more as they were there before. It also shows my phone's capacity as a total of 10GB (shouldn't this be 16GB?). Also when I try to connect it with Sync Manager it gives me an error everytime I reconnect the phone; Device unavailable. Please reconnect your device [4].
I have tried to reset the phone through settings, wipe with TWRP and fix permissions with TWRP. I also tried reinstalling Sync Manager and the drivers on my PC. What I'm thinking now is I maybe have done something wrong in the ES file explorer that would make the folders unaccessible.
My phone is running stock android 5.0.1 and my PC Windows 7 64-bit.
I hope someone can help me, Thanks.
P.S: Sorry for the long post, I figured I'd give as much info as possible.
@Steef076 First update recovery to the latest one (2.8.6.0)
Second if you go and delete vital or integrated parts of the stock rom you will get a lot of bugs. Third, viper4android requires to write system and you can't write system with the stock kernel, you need an unsecured kernel or unsecure it yourself.
10GB is right since 6 is eaten by android. At this point I would just revert to a backup or install any custom rom around here. Most are close to stock and with no bloatware and come with root. You can even clean them further using a tool called ROM Cleaner. It will most likely solve all your problems
Did the deleted system apps reappear after reboot, or do they remain "uninstalled"? If the system is write protected like TempestZ states, any deleted system apps should reappear after a reboot.
Revert your nandroid to restore the system apps. And you didn't make a nandroid, you really should before making any system modifications for the very reason that it allows you to revert if you run into problems.
Another good practice, is if you don't know what effect deleting a system app will have (such as "safe to delete" lists that can sometimes be found on XDA) you should first freeze the app with Titanium Backup. If freezing doesn't cause any issues, then go ahead and delete. If you do have issues, just unfreeze the app.
Steef076 said:
Now when I connect my phone to my PC the PC recognizes it, but when I open the map in Windows Explorer it only shows three maps; .showme, _nero_sync and Ringtones. I know there should be more as they were there before. It also shows my phone's capacity as a total of 10GB (shouldn't this be 16GB?). Also when I try to connect it with Sync Manager it gives me an error everytime I reconnect the phone; Device unavailable. Please reconnect your device [4].
Click to expand...
Click to collapse
No, Windows will never show 16 GB. It only shows "internal storage" partition, or the user accessible portion of the storage. A good chunk is reserved for the OS.
Does what is shown in Windows differ from what is shown in ES if you browse to internal storage?
Thanks for the replies. @TempestZ @redpoint73
First of all I managed to update twrp to 2.8.6.0 using adb/fastboot.
To answer your question @redpoint73 the system apps I had deleted indeed reappeared after reboot. Also I didn't make a nandroid before I deleted the files, as I did not even know this was possible. Now I have made a nandroid of my stock ROM that is working decently, except for the TV app keeps crashing (I'm not opening it) and the connection to the PC is not working properly (not sure if this is ROM based?). I have noticed when the phone is in recovery I CAN see the folders through windows explorer. HTC sync manager still doesn't find it though. I am working on finding a proper stock ROM or maybe flash a custom one to see if that will fix it.
I understand now that the OS is taking up the storage space. The space windows is showing is the same as ES file manager so I guess this is fine.
HTC Sync is a hot mess. It often causes more troubles than it solves.
One thing you can try (to see if it fixes the USB connectivity) is uninstall HTC Sync and all HTC drivers. Than connect the phone. Don't let it install HTC Sync. Go to Windows Device Manager, find the device. Then pick the option to manually select the drivers, and pick the generic "Android MTP device" (or something to that effect) drivers.
This doesn't work for everyone. But it worked for me to be able to "see" the internal storage of my M8 on my home PC (Win 7). Annoyingly, it seems to vary from one PC to another. My work laptop (also Win 7) works fine with HTC Sync.
Steef076 said:
So if I understand correctly, 'version-main' is the same as 'firmware' and 'software number' (found in settings)? If so, my current firmware seems to be 4.19.114.2.
Now, what you're saying is I should do an OTA but this isn't possible because I have a custom recovery right?
Also, when I want to flash stock rom and stock recovery or do a nand don't I need the files that fit my cidnum? How would your file work for me?
Click to expand...
Click to collapse
If yours already on 4.19.114.2 then no need to do OTA as that the latest.
and my backup will bring back your device back to stock as you first bought it when restore with a full wipe.
Try to solve your problem first, only when you really need the backup then only I will upload ... let me know
ckpv5 said:
If yours already on 4.19.114.2 then no need to do OTA as that the latest.
and my backup will bring back your device back to stock as you first bought it when restore with a full wipe.
Try to solve your problem first, only when you really need the backup then only I will upload ... let me know
Click to expand...
Click to collapse
Hello, sorry for the late reply.
I have decided to give a custom ROM a try. I now have ARHD 41.0 installed and it seems this took care of my problems. All the maps are showing in windows explorer and HTC sync manager is connecting properly with my phone again. Also no more crashing apps. Your backup would still be of much use for me as I am not sure I want to stick with a custom ROM and therefore would like to have a stock ROM backup.
Thanks in advance.

Categories

Resources