[Q] All folders in sdcard partition not showing - Nexus 7 (2013) Q&A

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.

Related

[Q] Why is MTP inconsistent?

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

[Q] MPT Transfer issue

For some reason, MPT suck for me becasue it wont always transfer files between phone and PC.
For example, i select all images i want on my PC and copy them just to see that they aren't all copied. Same goes for APK.
Windows Explorer also can't see some of the thumbnails on camera folder and reports them corrupt but they look and open just fine on phone.
Anyone else has these issues and possible solution?
I don't accept managing media files via adb comments or anything similar.
THanks
does MTP transfer any files at all? or will it only transfer some?
MTP can be finicky sometimes....issues i've had before preventing me from transferring properly include a slightly dirty microUSB port on the phone, where wiggling the connection loses the MTP connection while transferring; drivers not installed correctly; sometimes just rebooting both phone and PC does the trick.
If it fails while transferring a large batch of files, try moving them in small groups, like 20 at a time and see if they all make it then.
PC or MAC? (or linux?)
yeah, it transfers the files but not all of them from one directory for some reason. Sometimes ot didn't trasnfered batches of 2-3 files at the same time which is insane.
Then about an hour ago i reead on some forum that guy recommends backing up files with ADB and deleting problematic directory and than copying files back to it.
I just did that and it works as it supposed to.
Transfers all filess to/from device.
What a strange issue.
GSM GNex/Windiws7 x64
I can confirm this issue. I have it from time to time as well and it seems rebooting my phone does the trick. Sometimes, I just cannot send my titaniumbackup folder from my pc to the phone, where I would get an error saying it cannot be sent or it hasn't been sent.
I'd like to know what's causing this. Is mtp not reliable?
Sent from my Galaxy Nexus using Tapatalk 2
MTP on the Galaxy Nexus/ICS is controlled by the MediaStore, and this can cause trouble.
General fix for this should be similar to what I outlined here.
Thanks for the tip man, i formatted my internal storage and recreated all folders again and it works as intended now.
I did this before you posted this solution.
I'll try it if i ever get this issue again (hopefully not)

[Q] Can't access my old files after switching ROM from AOKP to CM

Initially I thought this was a problem with Google Play / Apollo, but I realize now that when I plug in my phone via USB, I can't see any of the many, many folders and files present on /sdcard that I could see previously.
If I copy a "new" mp3 onto my Galaxy Nexus, it's recognized just fine by both Google Play and Apollo. However, none of my old mp3s (or files, for that matter) are recognized. They were placed in /sdcard/Music, a folder that I cannot see when I plug in my phone, only from the file manager running on the phone. The issue persists if I move an "old" mp3 from my music folder out into the sdcard root, it's still not recognized. This makes me think this might be permission related, but the file manager says that all files are readable and writable.
I've tried running "fix permissions" in both ROM manager and the CWM recovery, but it makes no difference. Any idea what has happened, and how to fix it so that I can use all my old files again?
edit If it's any help, I just ran ls -al in a terminal emulator and I can't see any difference at all between folders I can and cannot see. Example: I can see /sdcard/media just fine, because I created that folder from Explorer in Windows. Music in that directory works. I cannot see /sdcard/music. Here's the permissions:
Code:
drwxrwxr-x root sdcard_rw 2012-09-18 media
drwxrwxr-x root sdcard_rw 2012-09-16 music
This is a bit confusing.
When I try pulling and pushing a file with adb like so:
Code:
adb pull file.tar
adb push file.tar file2.tar
I get
Code:
failed to copy 'file.tar' to 'file2.tar': Read-only file system
I've tried remounting /sdcard in root terminals both on the phone and via adb, but I get mount: Operation not permitted. I'm thinking this might be because /sdcard isn't the actual path but I've tried /storage/sdcard0 and /mnt/sdcard as well and I get the same error.
Thanks in advance for any suggestions.
(This question was also posted on android.stackexchange)
adb push /sdcard/file2.tar
also, cm doesnt have root access enabled by default for adb.
/sdcard/ is already rw, otherwise apps couldnt place anything there. nor could we.
Sent from my i9250
Didn't realize I needed an absolute path, thanks! I now managed to push the file, but it does not show up under the "Galaxy Nexus" unit in My Computer. It does show up when I do an ls in adb shell though. Any ideas?
bajsmumsaren said:
Didn't realize I needed an absolute path, thanks! I now managed to push the file, but it does not show up under the "Galaxy Nexus" unit in My Computer. It does show up when I do an ls in adb shell though. Any ideas?
Click to expand...
Click to collapse
try disabling mtp on the device; or rebooting, if you want to stick with mtp. maybe it has to refresh file list?
bk201doesntexist said:
try disabling mtp on the device; or rebooting, if you want to stick with mtp. maybe it has to refresh file list?
Click to expand...
Click to collapse
Switching from MTP to PTP does nothing, the same files are shown ("new" files). I'd like to stress that if I take a picture for example, that pictures does show up both with MTP and PTP. New files work fine. It's the old files that I can see in the file explorer in the actual phone that just refuse to show up when I connect to my computer, and they are obviously also not recognized by apps in the phone (such as Apollo or Google Play).
I realize that I could work around this issue by just removing everything from my sd card and then putting it back, but I really want to figure out how this can even happen.
I'm no expert by far, but it sounds like when you changed ROM the"index"file for mtp isn't updates. Have you tried to run the media scanner?
Swype'ed on my CM10 Galaxy Nexus
Herman76 said:
I'm no expert by far, but it sounds like when you changed ROM the"index"file for mtp isn't updates. Have you tried to run the media scanner?
Click to expand...
Click to collapse
If I've understood correctly, power cycling the device should trigger the media scanner. I just tried restarting, and it made no difference. (I've restarted the device several times since this problem occurred).
Opening the Gallery app still only shows me two pictures (I've taken two photos since the ROM flash), interestingly the thumbs are for other pictures lying around and after a while Gallery crashes. I use QuickPic more often though and that app behaves well, and shows all photos.
edit As a final resort, I tried doing a full wipe and reinstalling CM10 M1 completely, without restoring any settings or apps from any old installations. The issue still persists! Any files created with my now "old" CM10 installation no longer appear, even when they are moved within a folder where other "new" files are shown and working. This is starting to annoy me, but since this obviously is a bug in CM10 M1 I see no point in trying to spend time solving it, I'm just going to switch back to AOKP. Thank you for any answers and attempts at solving this.
edit2 Formatting /sdcard in CWM recovery fixed this, even though it might not be the most elegant solution.
Have you seen this?http://forum.xda-developers.com/showthread.php?p=30288268
Basically what it suggests is that you go to apps via settings, find the "Media Storage" app (it's a system app) Clear data/cache, then reboot. This was my problem.
Sent from my Galaxy Nexus using xda premium

[Q] cant copy files to the phone from pc

i have, on sprint, the galaxy s3, NOT the i900 or whatever that means. mine says model number SPH-L710
i have it rooted with the phantom rom installed, with superuser permissions. however, not sure what happened
but for some reason, i can no longer transfer files, any files, from my pc to the phone. this includes pictures,
music, documents--anything. the files are my personal files and music i ripped, and never had a problem
copying before, and all this just started. unless im hooking it up wrong, which i doubt--using the usb cable from
pc port to the phone directly. it does show the charge icon, and in the usb settings, usb debugging is checked
and also checked on media device (mtp). another option which isn't checked is camera (ptp), unchecked.
what happens when i try is, on the pc i get a box that pops up and says--do you
want to copy (file name), your device might not be able to play or view the file. i do have 2 options, to skip or copy
anyway. well when i click copy, it goes through the motions, but its not on the phone. no matter what file i try, a
pic, small wav file, etc....just will not copy and no
where one the phone is the file. another issue that seems to be going on is, the best way i can
explain it is--when the phone is hooked up to the pc, is it possible for whatever it is thats running to make the
phone able to receive copied files, go to sleep? because another error message i get when trying to copy is
it sits there for awhile, then eventually says "device not responding, disconnected" and on the phone itself its
on the main home screen like i wasn't doing nothing.
ive rebooted the phone several times, same results--nothing wil copy to the phone....
sooo, what am i missing?
update--- since that post, something else now happened. the phone flashed on, saying "sd card not mounted"
when it is. it is in the right way and all that, but when i go into settings/storage...at the very bottom it says
sd card, insert sd card
lol...so what the heck is that all about? the card is definatelly in there, and astro file manager shows some
files on the card but........
Well, it could be a couple of things.
First of all, make sure you have the Samsung USB drivers installed. It could be a corrupt driver, but probably not. It won't hurt to reinstall it, anyway, just to be sure. Here's link:
http://downloadcenter.samsung.com/c...nt_L710_GSIII_Samsung_USB_Driver_v1_4_6_0.exe
Make sure your phone is not locked when you're trying to transfer files. If you have a PIN or a PATTERN lock enabled and it locks, it will disable the MTP application from trasferring files.
Try reflashing the ROM as well. Maybe the MPT application got corrupted somehow?
As a last resort, you can restore your phone to stock unrooted status and see if that resolves the issue.
I had the same thing happen to me. I fixed the problem by going into device manager and clicking on to mtp and updating it..
Sent from my SPH-L710 using xda app-developers app
I had the same thing happen to my SdCard and now it is kinda dead... before yours gets damaged, remove it and insert in a PC with a sdcard reader. Run command prompt (Start>Run>cmd and enter) and do a scan disk or check disk by entering "chkdsk /x /f driverletter:" use the drive letter assigned to the sdcard then enter, let it do it's thing.
This will fix the file system and you shouldn't more problems with the sdcard not being read. As for the MTP, do as the other member said and try updating the MTP device in in device manager or uninstall the drivers and install directly from Samsung.

Horrible performance and behavior of USB Media Sync (MTP)

I am using Windows8 (that's my first problem) to connect to my LGOG over USB and work on files from my PC.
The OG gives me 3 USB connection options:
Charge Only
Media Sync (MTP)
Camera (PTP)
I choose MTP and start working on my files, but there are many problems in Windows:
The LGOG doesn't show up as a drive; it just shows up as a device, which would make it very hard to access it from the command line.
The performance is horribly slow
If I try to view the LGOG file system from more than one Explorer window I get a lot of "Device Busy" dialogs.
When I do multiple simultaneous file copies only one file is copied at any moment. All of the other copy dialogs say "Device Busy".
"Moving" files is ridiculous! It first copies *all* files, and then *maybe* deletes the files, thus sometimes resulting in a move. I would expect it to copy and delete each file and directory one by one. And I have had several moves that just left the source files in place.
Adding a new folder or renaming an existing folder on the OG directly from Explorer *always* causes Explorer to lock up.
Does anyone else have any similar experience? This is ridiculous behavior!
The LGOG doesn't show up as a drive; it just shows up as a device, which would make it very hard to access it from the command line.
Click to expand...
Click to collapse
Cause its connected via MTP. Unlike in case of USB flash mount, phone still controlling the flash memory.
And you still can access it from the line, just use the name of device (In my case is F180K)
The performance is horribly slow
Click to expand...
Click to collapse
Didnt noticed, good for me
If I try to view the LGOG file system from more than one Explorer window I get a lot of "Device Busy" dialogs.
Click to expand...
Click to collapse
Works for me
When I do multiple simultaneous file copies only one file is copied at any moment. All of the other copy dialogs say "Device Busy".
Click to expand...
Click to collapse
Yeah, you cant copy in few threads at once, cause device checking all packets
"Moving" files is ridiculous! It first copies *all* files, and then *maybe* deletes the files, thus sometimes resulting in a move.
Click to expand...
Click to collapse
No its not
I would expect it to copy and delete each file and directory one by one.
Click to expand...
Click to collapse
Why dont you use shift or ctrl?
And I have had several moves that just left the source files in place.
Adding a new folder or renaming an existing folder on the OG directly from Explorer *always* causes Explorer to lock up.
Click to expand...
Click to collapse
That must be Win8 problems, cause on XP SP3 it runs good
LG Driver Install
When I got around to downloading/install the LG driver / Connection / OSP packages available from their site, I was a little thrown by the wording in the driver app, I think--either that, or the directions to it...or maybe a message showing up on the phone...anyway, I think I was right to 'read into' whatever message was 'part of the process', that basically mentioned something about the device connecting, then reconnecting, during the driver install process, and that 'this was normal'.
I'd seen enough of that with Windows Bluetooth connectivity and control that I felt this basically meant just to sit there and wait 'til it stopped, no matter how redundant it appeared...and it really did an amazing amount of this, before finally stopping, showing up in my Windows Explorer menu, and 'becoming browseable'.
After I got used to it, I also experienced some laggy behavior on the phone's part, but one thing I got used to doing is tapping the message on the phone itself to tell it to 'skip' the driver install each and every time I reconnect it, whether it be to charge, or data, or 'PC software', or whatever.
Once I got tired of some of the 'regular' sluggish behavior of my Windows 7 'finding' the thing, I simply remembered I'd recently begun trying out QtADB awhile back on my Aria, and tried it....results were exactly what it'd done before--full browsing of the phone (I rooted it soon after), full 'Windows' copy-and-paste, delete, etc., file management (from my PC desktop, anyway)...otherwise, I use ES File Manager in the phone.
The attachment is a screenshot I took of the QtADB interface, browsing my PC and phone simultaneously. Copying, moving, deleting everything couldn't be easier than with QtADB, for me, anyway.

Categories

Resources