[Q] Filesystem issues - Samsung Galaxy Nexus

OK, I don't know if this is an issue with Astro File Manager, windows, MTP, or the file system but when I rename a file using Astro, the file names don't match when I connect to a PC as an MTP device. For example, I downloaded a zip file containing wallpapers, and renamed it to wallpapers.zip from xra48.zip using Astro, but when I plugged into my PC, the file was still named xra48.zip and trying to rename through windows would reject any changes without an error message.

ExEvolution said:
OK, I don't know if this is an issue with Astro File Manager, windows, MTP, or the file system but when I rename a file using Astro, the file names don't match when I connect to a PC as an MTP device. For example, I downloaded a zip file containing wallpapers, and renamed it to wallpapers.zip from xra48.zip using Astro, but when I plugged into my PC, the file was still named xra48.zip and trying to rename through windows would reject any changes without an error message.
Click to expand...
Click to collapse
That is an issue with MTP, not with Astro. MTP will not always display the latest information... it needs to be refreshed. Don't trust MTP; trust Astro.
Sent from my Galaxy Nexus using Tapatalk 2

Is there any way to force refresh MTP?

ExEvolution said:
Is there any way to force refresh MTP?
Click to expand...
Click to collapse
Probably, but I don't use MTP, so I can't help you. Sorry.
Sent from my Galaxy Nexus using Tapatalk 2

Maybe you have to run the Media scanner to get the changes to stick?

Fixed my issue with an app on Google play called Rescan SD which forced a refresh. They advertise it as fixing the gallery not updating

Related

[Q] Why do folders on /SDCARD appear empty through computer?

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

[Q] File Manager Issues

I've tried a few different file managers and I have the same issue with all of them. If I delete something from a file manager, when I connect to my PC, the file I deleted still shows up on the PC. Also, some files and folders that show up in the file manager don't show up on the PC when the tablet is mounted. Anyone have any idea what's going on?
that is strange...
are you trying to delete ANY file or IMAGE, AUDIO, VIDEO file?...
from external sd card or internal?...
It doesn't matter what type of file. I have no external sd, so it's all from internal. The file manager deletes the file and it doesn't show up in the file manager, but the file still shows when I mount to my PC.
It shows at PC and you can access to file? or it just shows???
by the way... do you have stock rom or custom rom?
fantasmanegro said:
It shows at PC and you can access to file? or it just shows???
by the way... do you have stock rom or custom rom?
Click to expand...
Click to collapse
Ok. I just tried to open a zip that I had deleted on the tablet with a file manager. It shows in Windows Explorer, but when I double click it, nothing happens. Somehow Windows isn't "refreshing" even when I click refresh. I'm still confused. Sometimes a file shows in the file manager, but not in Windows.
I'm on the stock OTA ICS.
Try clearing Media Storage and Gallery data/cache. Then reboot, the database should then reload.

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.

Can't move some files, can't create some folders

I don't know how else to describe this issue I'm having:
Essentially sometimes I cannot create new folders, either in an explorer app (ES File Manager, Explorer (free, not Root Explorer), or other file manager) or when connected to my computers via USB. Sometimes I can do both. Similarly, sometimes I cannot move files from one directory to another, both using file manager or when connected to computer over USB. It seems random, I think?
An example of this is I downloaded a PDF file from SharePoint using Chrome. The file is downloaded to the /Downloads directory by default. I wanted to move this to a different directory (/Documents), but the cut+paste operation failed. ES File Manager says the operation can't be completed, Explorer just sits there and doesn't say anything. When trying to do the same thing over USB connection, Windows just sits there saying the device is busy, and it'll sit there indefinitely. But an OGG file I downloaded from Dropbox was free to be moved to and from several directories when I was testing file operations.
Basically it's like my device doesn't want to play nice with files and folders. I tried doing a factory reset, but that didn't seem to help. Do you think completely reformatting the phone (as in fastboot format userdata, and a fresh ROM + kernel install) would help? It seems drastic, but at the same time being unable to move files and folders is very strange and likely hard to pinpoint the culprit.
I'm rooted (using traditional SuperSU root) running Pure Nexus 12/01/2015 ROM and ElementalX 0.07 kernel (Enforcing disabled). I doubt any of those 3 factors are the cause of it, but every detail might help, right?
Update: It looks like a permissions issue. Please see post below.
OK an update to this, I discovered that some folders that I thought I had deleted using ES File Manager are still showing up in USB storage when I'm hooked up to a computer. That is to say that what I see using a file manager versus what I see while connected to a computer are different.
Further to this, I am now getting "Permission denied" by the file managers when I try to copy and paste anything from anywhere to any other place. I have booted into TWRP to run Fix Permissions already. It looks like everything now has rwxrwx---, which means to me 770? It should be 775, no?
Any ideas what might be causing this permissions issue?
daver68 said:
OK an update to this, I discovered that some folders that I thought I had deleted using ES File Manager are still showing up in USB storage when I'm hooked up to a computer. That is to say that what I see using a file manager versus what I see while connected to a computer are different.
Click to expand...
Click to collapse
For this, I read somewhere that the latest ES File app has a recycling bin for when you delete apps. So, that needs to be emptied too.
Sent from my Nexus 5X using Tapatalk
SlimSnoopOS said:
For this, I read somewhere that the latest ES File app has a recycling bin for when you delete apps. So, that needs to be emptied too.
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
I did indeed clean out the Recycle Bin (and subsequently disabled it), but the problem persists. But thanks for pointing that out!
OK, an interesting discovery:
If I am on my device and using ES File Explorer and if I am in the path /storage/emulated/0/* then I am unable to copy/move files and directories, as I've described above.
If I am on my device and using ES File Explorer and if I am in the path /sdcard/* then I am unable to copy/move files and directories, as I've described above.
If I am on my device and using ES File Explorer and if I am in the path /data/media/0/* then I am able to do anything I damn well please.
Now this makes a bit of sense to me, given the permissions for each directory. For example, when viewing the permissions of a file or folder when in /sdcard or /storage/emulated/0, I can only see the permissions as "Readable: Yes, Writeable: Yes", but I cannot change said permissions. However, when I view the permissions for something when under /data/media/0 then not only can I see the explicit permissions "rw-rw-r--" I can also change it if I wanted to.
I suspect this might be more than just the ROM. Perhaps I did not flash the system.img correctly when I first went through the process? Is this possible?

Windows 10 file explorer show empty media folders

Hi. I have...
- Nexus 5x H790 version 6.0.1 MMB29P full stock.
- Latest USB drivers from (http://developer.android.com/sdk/win-usb.html).
- Nexus Toolkit v2.1.0 sfx" say i have all MTP and ADB drivers installed.
- Pc with Windows 10 x64 (latest build 1511 compilation 10586.36).
When i plugged the phone, and change "charge only" to "file transfer (mtp)", windows native file explorer show all folders and subfolders, but empty, without files inside.
For example, I cannot see the photos/videos from the camera folder to copy to my pc.
Does anyone know how to fix this?
are you able to copy files to the phone? have you set explorer to show hidden files? is this really the case for all folders and files, or are there exceptions? did you set these folders to not show up in any app on the phone, for instance in a photo gallery or media player?
just some qustions that came to mind
Broken303 said:
are you able to copy files to the phone? have you set explorer to show hidden files? is this really the case for all folders and files, or are there exceptions? did you set these folders to not show up in any app on the phone, for instance in a photo gallery or media player?
just some qustions that came to mind
Click to expand...
Click to collapse
In some files, copies. Others, not.
I dont change nothing in app or gallery.
Have you tried clearing data on the Media Storage app, then rebooting your device? I sometimes have problems with folders and files not showing up in Windows Explorer when connected via MTP, and this seems to fix it for me. You may need to choose the option to show system apps in order to see this app.
Sent from my Nexus 5X using Tapatalk
Same thing here, also windows 10. Can confirm that clearing data on the Media Storage app is fixing the problem ☺

Categories

Resources