Unable to delete files or folders from External HD - Fire TV Q&A, Help & Troubleshooting

I had been using the mount USB to data script successfully until I think something got corrupted and I could not boot. I imaged the HD to save as much as I could, put the image on another drive, formatted the original drive and copied the files from image over using a Linux Live CD. FFWD to last night I realized that my Vice City game failed everytime I tried to save. I uninstalled the game but the folder still persisted in the Android/Data folder. I tried to delete the folder with ES file explorer, Root Browser and AirDroid but they all fail. I checked permissions and they look fine and any file or folder I have created after the crash can be deleted, renamed etc but I can not delete or rename any of the files I transfered with the Linux Live CD. Anybody have any ideas? It seems almost like a owner permission thing but the files I'm looking at have root as the owner.
Thanks
Dave

So I fixed this by using sudo dbus-launch nautilus command and changing all permissions to root and read write

Related

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!

Confused by file system

When I plug my phone into my PC I can see a file on my SD card called 'Android' with my game data.
But when I open ES File explorer on my phone there is another file called 'android' (small 'a') which appears empty, but I can't delete it.
When I go up to root /data/media I can see what looks like my SD card with the 'Android' and 'android' folders but there appear to be duplicate files while others are missing or moved.
I think after flashing new kernels this week there are duplicate files being created. I often have to re-download game data after flashing a kernel and I seem to be losing a lot of SD memory.
I just want to know which folders should I delete?
Using superuser permission should allow you to delete the "android" folder or file. If ES Explorer don't work, try Root Explorer or do it in adb if you know how.
In linux file systems, A and a can be two different files or folders.
Or you can reflash google factory image and that will wipe the entire internal storage.
Thanks.
I managed to delete both the Android folders.
Had to re-download all my game data but I've ended up with about 3 gig more memory.

[Q] es file explorer deleted my files

So I was trying to move my files from whatever directory they were in to my storage since I had just gone from tw to miui so the directory change mess up thing happened. It would go and overwrite the new empty same name folders but nothing would show up I go back to the directory they were in and everything was gone. Restart my phone and some showed up and managed to transfer only a small portion of my pictures and some other files. My music files and some of other folders I tried transferring again and it would seem like everything went well but they wouldn't show up in my storage folder and it disappeared from the original folder it was in. They got deleted. I had about 3gb of free storage now I have 9. Sigh. So is there anything I can do to recover my files? I'm about ready to toss this phone out the window I've never had problems with es until now.
I know that there are file recovery programs for Windows and macs. You'll need to Google it because I can't remember what it's called.
I think is Recuva.
Sent from my SPH-L710
You can use data recovery tool to recover deleted files from ES file explorer. See this step by step ES file explorer deleted files recovery tutorial.
hope this helps.

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?

Categories

Resources