[Q] Why do folders on /SDCARD appear empty through computer? - Samsung Galaxy Nexus

This is driving me crazy. I want to copy the TitaniumBackup folder from my GNEX to my Win7 PC.
Looking at the folder through Root Explorer on the GNEX all appears normal. When I look at the folder through my computer the folder is showing but the contents are backups that are almost a month older than are on the GNEX. If I delete everything in that folder FROM THE PC it still exists on the GNEX.
It is like it is looking at a different folder entirely however looking and searching through ROOT EXPLORER there are no other TITANIUM BACKUP folders.
This happens with a lot of apps. Example: I created a ZIP file using ROOT EXPLORER. The zip, viewing through ROOT EXPLORER is located in the /SDCARD/SPEEDSOFTWARE/ZIP folder however when I look at the SPEEDSOFTWARE folder via my PC the folder is empty.
I have tried both MTP and PHOTO mode. This happens with a lot of folders when trying to view them from my PC connection. Some stuff is there and a lot is not.

Hmmm, there is a /MNT/SDCARD and a /SDCARD folder (I don't know much about Linux) and the files I am NOT seeing on my PC are in /MNT/SDCARD and the files I am seeing are in /SDCARD. Why are there 2 different "SDCARD" folders? I changed the TitaniumBackup to save to /SDCARD instead of /MNT/SDCARD but the backups are still not viewable (or copyable) from my computer. I just don't get it.
So the question is, how do you "backup" the contents of the "SDCARD" directory if you can't see the files when plugged into the PC?
Well, after comparing all the "visible" files on my computer when I access the GNEX via MTP vs what I see using ROOT EXPLORER the ONLY 2 folders NOT visible from my PC are TITANIUMBACKUP and SPEEDSOFTWARE (thus is the ROOTEXPLORER app data). Why would they be hidden?

It's due to how the Android MTP service works. It hasn't scanned your internal storage for the new files/directory to present to your PC yet.
Download and run an app called SDrecan from the Market. This will force the media services on your phone to rescan the device.
Sent from my Galaxy Nexus using XDA App

Absolutely amazing! Thank you so much! I have been pulling out my hair for days!

thank you! I had the same problem!worked flawlessly!

silow said:
Download and run an app called SDrecan from the Market. This will force the media services on your phone to rescan the device.
Click to expand...
Click to collapse
Thanks! This was really driving me crazy...

is there one for phones on android kitkat 4.4 and up

silow said:
It's due to how the Android MTP service works. It hasn't scanned your internal storage for the new files/directory to present to your PC yet.
Download and run an app called SDrecan from the Market. This will force the media services on your phone to rescan the device.
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
this app is force closing. i cant even run it . do you have any idea? just today was working fine , i installed a custom rom and now when i try to put another roms on my sd card , i get this message that it's empty

trickster mod also has a media rescan option in bottom of tools section if this is helpful to you, I have to use it after using the "a better camera app" in order for pics to show in gallery without reboot

Related

Where are apps located on MTP view?

I have searched the forum and can't seem to find any help on this, but where are the apps located on the MTP view for the system? I am trying to load backup files for certain apps and can't find the folders for the life of me.
I really miss the easy SDCARD view .
You will not be able to see apps in MTP view, use Astro or any other file viewer on the device. I am not sure if its possible to use something like airdroid to see or not.
droid. said:
You will not be able to see apps in MTP view, use Astro or any other file viewer on the device. I am not sure if its possible to use something like airdroid to see or not.
Click to expand...
Click to collapse
I tried using Astro but could not locate. Do you guys know where they are on the system folders?
Using ES file explorer I see:
the apk files in /system/app
the binaries in /system/bin
most of the data is in various directories on /sdcard
Try using ptp mode instead of mtp; it seems to show more file types, at least on my win7
Airdroid is also good.
You can't see /system with MTP. MTP/PTP allow you to access the "sdcard" which is really just another folder of sorts.
that's a known down side of the MTP
just use root browser or Rom Toolbox

Can't delete folder?

How the hell can i delete a folder that can't be seen via PC connection but i can see it using es file explorer?
I can't delete it using ES even with root enabled....
zerozoneice said:
How the hell can i delete a folder that can't be seen via PC connection but i can see it using es file explorer?
I can't delete it using ES even with root enabled....
Click to expand...
Click to collapse
Depending on where it is you need to mount it first. Which folder are you trying to delete?
Sent from my Galaxy Nexus
I had a folder that became corrupted (repeatedly interrupted game data downloads, I think). I was unable to delete it (even as root) and received an Access Denied error. I was able to rename the folder (so it wouldn't conflict anymore) and delete the majority of its contents (still received the Access Denied error on a file or two). I eventually had to do a full wipe via fastboot -w to get rid of the corrupted files.
had the same problem. had to reflash su.zip and it worked. can't explain it though. just reaching at straws
matt30 said:
Depending on where it is you need to mount it first. Which folder are you trying to delete?
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
it's the folder created by the Photaf application.
i uninstalled the app and the folder is still there...permissions are writable, not hidden...
i can rename it, but can't delete it....and the subfolder within it as well...
i remember it happened once before and the only way to get rid of it was to reinstall the ROM (AOKP). Once installed, i could delete the folder.....
Try reinstalling the game and using settings/application/name of game clear data
Sent from my Galaxy Nexus
bwcorvus said:
Try reinstalling the game and using settings/application/name of game clear data
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
no effect, still can't be removed
LE: WTF, i just plugged in the phone into USB for charging and i saw the folder?! It deleted just fine?
Damn weird didn't do anything different than yesterday when i couldn't even see the folder via PC...
Thank you!
My Asus Transformer (TF101) hasn't been able to download anything to the Download folder for months now. Even Opera (which I installed just to try and fix this) could only download to a different folder. I did what you said, plugged it into the computer and first renamed the folder with ADB but couldn't create a new Download folder. "File already exists." Lies. Windows Explorer said it was still there as Download so I deleted it in Explorer and created a new folder named Download. The create failed but Android said it was there and Voila! I can download again. Very weird, but not ready yet to reformat in fastboot. Thanks guys!
If you're rooted you may be able to delete the files from /data/media, which is the true location, instead of the visual SD that you are seeing.
Could also be a file ownership issue.
Using a terminal emulator, use the following command to list ownership and permissions:
ls -l
(Lower case letter L, not i or 1)
Most of the files and folders should show up as media_rw, but the problematic ones may show up as numbers. To fix them, boot into CWM recovery, plug in the USB cable, go into adb shell. Also make sure that /data is mounted in the CWM mounts menu. Then:
cd /data/media
chown -R media_rw.media_rw *

All files Disapeared

Hello,
I Have a Big problem...
On my nexus, Since I copy ont file onto the SD, all other files are Disapeared....
I tryed to use recevey softwares, but oly work with mass storage cards....
Somebody have an idea how can I restore my files please ??
xTremePower said:
Hello,
I Have a Big problem...
On my nexus, Since I copy ont file onto the SD, all other files are Disapeared....
I tryed to use recevey softwares, but oly work with mass storage cards....
Somebody have an idea how can I restore my files please ??
Click to expand...
Click to collapse
Can you offer any additional info? Have to used Root Explorer or a similar app to confirm without a doubt the files are gone and not just in a different place? And I am slightly confused when you say "move to sd card" because internal storage and SDcard on this phone are the same thing since there is no EXT..
I copyed files as usualy from computer to the nexus
After the copy (I copied the new google apps zip) this zip is ont the storage, but all other 12Go of data in the card are disapeared
I try to find it with windows, root explorer, es file explorer, I tryed android undelet tools and windows undelet tools... noone can see the MTP memory of the nexus .......
And I disabled the upload to picasa..
xTremePower said:
I copyed files as usualy from computer to the nexus
After the copy (I copied the new google apps zip) this zip is ont the storage, but all other 12Go of data in the card are disapeared
I try to find it with windows, root explorer, es file explorer, I tryed android undelet tools and windows undelet tools... noone can see the MTP memory of the nexus .......
And I disabled the upload to picasa..
Click to expand...
Click to collapse
Do you have fast usb charge enabled? If so, try disabling that.
all files in /sdcard disappeared
The same thing just happened to me. I copied 386MB of music to /sdcard/Music and all appeared to be fine. I used Windows7 x64 Explorer over USB mounted as MTP.
I noticed that I could not copy some files back to Windows from Nexus. After messing around with that for a while I used ES File Explorer to check out /sdcard. Only a few folders were there, as if /sdcard were newly created. I could still see all of the lost folders in Windows Explorer.
Am I screwed?
TIA!
This is from a corrupt MediaStore DB. I ran into something similar when moving files to my phone over WiFi using File Explorer. Afterwards only a handful of folders showed up when connected via USB. Only way to fix it is to reset the DB. Settings > Apps > All > Media Storage > Clear data/cache. Reboot. It should completely rebuild the DB after the boot, and things should show up correctly again.
osm0sis said:
This is from a corrupt MediaStore DB. I ran into something similar when moving files to my phone over WiFi using File Explorer. After only a handful of folders showed up when connected via USB. Only way to fix it is to reset the DB. Settings > Apps > All > Media Storage > Clear data/cache. Reboot. It should completely rebuild the DB after the boot, and things should show up correctly again.
Click to expand...
Click to collapse
That did not get all my data back, I must have done something else while trying to fix it. The good news is that this fixed one of my next questions: How do I reset the Google Music album art? The suggestion above fixed that wonderfully.
Thanks!

[Q] Delete folders from root\sdcard\Android\data\ using root explorer

I have some superfluous folders from long-since-deleted apps in root\sdcard\Android\data\ that i'd like to clean up. one of them is massively large.
I'm on AOKP build 31, rooted, and using an up-to-date copy of Root Explorer (w/ super user) but the delete command fails. Mounting and deleting the folders using Windows makes them disappear from windows, but they don't disappear from root explorer (And the space they were gobbling up doesn't free up in android either)
I have a feeling these folders are resisting deletion while android is running because they're "in use" (even though they shouldn't be, since the apps themselves are long since deleted) Is it possible to mount my sd card to my PC from CWM recovery/bootloader and delete them that way?
Am I doing something dumb?
Try rmdir -R /sdcard/*foldername* in terminal emulator
Sent from my Galaxy Nexus using XDA
You'll find the same folders in /data/media and you should be able to delete them from there...
danger-rat said:
You'll find the same folders in /data/media and you should be able to delete them from there...
Click to expand...
Click to collapse
Thank you! That did the trick. I had no idea the file structure was put together that way (fairly incomprehensible, actually)

Can't see files

I can access my Clockwork Mod files via my Gnex, but they are not accessible when trying to copy to my PC. I see the device, I can see the CWM folder, but no backup folder exists. I can see everything else on the device. Tried coping the files to the root with no success. I have been able to access this files in the past.
Ideas?
I haven't had a problem specifically with CWM files, but changing the folder options on my PC (inside the Galaxy Nexus folders) to "show hidden files" usually did the trick...
Sent from my Galaxy Nexus using xda app-developers app
Small chance, but look in your "clockworkmod" folder and its subfolders and see if there are a file called ".nomedia" which would cause the folder contents to be hidden when connected to the PC in MTP mode.
You can also use the app AirDroid to transfer files through WiFi.
eksasol said:
Use a file manager in the phone itself, look in your "clockworkmod" folder and its subfolders and delete any file called ".nomedia".
You can also use the app AirDroid to transfer files through WiFi.
Click to expand...
Click to collapse
I'm pretty sure that's a solution to the opposite problem. Hence, the files are showing up on the computer and phone file manager, but not in the apps. The .nomedia file tells the apps not to scan the specific folder they're sitting in. For example, yesterday my friends Galaxy Mini wasn't showing any pics in the gallery app or music in the music app, even though they clearly existed on the phone (via file manager and when hooked up to the PC). Deleted the .nomedia file and <insert sound effect here (I.E."BAM!"> all was good.
Sent from my Galaxy Nexus using xda app-developers app
No luck
-Psycho- said:
I'm pretty sure that's a solution to the opposite problem. Hence, the files are showing up on the computer and phone file manager, but not in the apps. The .nomedia file tells the apps not to scan the specific folder they're sitting in. For example, yesterday my friends Galaxy Mini wasn't showing any pics in the gallery app or music in the music app, even though they clearly existed on the phone (via file manager and when hooked up to the PC). Deleted the .nomedia file and <insert sound effect here (I.E."BAM!"> all was good.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Thanks for the assistance, but no luck. Using Airdroid at the moment, but is is slower than slow.
Any other ideas are appreciated.
DenverDesktop
Try Local Sync, it easy and fast.
Thanks
Thanks. Local Sync doesn't seem to be much quicker. Can't find the option to sync one folder only, so it is syncing my entire CWM folder.
Question still stands why the heck I can't see those files via my PC.
buzzcomp said:
Try Local Sync, it easy and fast.
Click to expand...
Click to collapse
Umm, have you tried rebooting your phone and reconect to your pc? (sorry if it sound stupid )
Yes
buzzcomp said:
Umm, have you tried rebooting your phone and reconect to your pc? (sorry if it sound stupid )
Click to expand...
Click to collapse
Have tried reboots o both PC and phone. Also tried a different PC. Very strange that i can see everything else.
I could try to restore from a previous CWM backup and see if I am able to copy.
Any luck using adb?
ADB
buzzcomp said:
Any luck using adb?
Click to expand...
Click to collapse
ADB command line is a bit out of my scope. Maybe I'll take a shot at it later. Installed a previous CWM BU, but no success.

Categories

Resources