Question How do I find a damaged file in my gallery? - Xiaomi Poco X3 Pro

So my Gallery used to use a lot of battery and when I looked it up the best solutions were for me to remove the permissions to read files and just not use the app. So I switched to Google's Gallery app, and while it's good and all, I still prefer Xiaomi's Gallery.
Afaik my main issue with Gallery using a lot of battery in the background is caused by a damaged image that the app is always trying to recover, but it always crashes and restarts itself, putting it in a loop. So I want to file my damaged file(s) and make this issue non-existent. Thanks for the help!

A few random ideas:
Remove card from phone, insert it into a USB reader, run chkdsk in Windows, to rule out file system corruption.
If you are rooted, use fsck_msdos in shell ( on phone ) to check external card directly.
Backup contents of external card on disk while skipping unreadable files during copy procedure, put it back into phone after copying files back to it.
Else, install F-Stop app and see which file is not displaying a thumbnail and delete it.
Monitor phone log with logcat app to see what causes the error.

Related

Odd files in Root Of Storage Card

Does anyone have any ideas what is going on in the root of my Storage Card? (See pic)
Lots of oddly named files have appeared. They cant be renamed, deleted or opened from within either my PPC, via activesink or with a card reader in my XP PC. The dates are very odd too.
I am currently copying all the data off the card so I can format it but was wondering if anyone else has seen this or if they know where they are coming from?
Any info gratefully received!
I got the same problem, but in my camera folder. Same kind of non-sense files appeared and caused my album software to malfunction.
Re-named the folder and created a new "original" and moved my photos there. Everything is working now and I didn't have to format the whole card.
But I too are curious as to why they get created and if there is a clever way to get them removed
fixed
xp's disk error tool fixd it so i guess its just coruption in fat. problem solved but cause not found.
I had the same problem coused by removing my card without closing my phone. Now I shut down the system first and than remove the card.

[Q] Read-only SD card? Can't save wallpapers.

Hi all,
I have noticed for a while that when using apps for downloading wallpapers e.g. Flikie Wallpapers HD, Wedge, Mabilo, Backgrounds, etc. I get messages saying that is not possible to save on the SD card.
Strangely enough if I open Astro file manager almost all files and folders in my phone including those in the phone memory are marked with an -r-, are they then read-only files? If so, could it be the cause of some apps failing to save on the SD card?
If then I connect the phone to my laptop or pc I can then revert the read-only attribute of any file or folder but when I mount the card on the phone again the read-only attribute comes back again.
Here are some examples of apps that I have tried so far:
Wedge:
It seems to be OK being able to save and set those wallpapers and navigating to them with Astro doesn't seem to be a problem although they are still shown as -r-.
Backgrounds:
Saving: "Could not save the image. Please make sure the SD card is inserted and mounted"
Set wallpaper: works OK
Mabilo:
All working OK
I hope someone might be able to help. This is perhaps an easy problem to solve but I'm running out of ideas
I'm using HTC Hero 2.1, T-Mobile UK, original ROM. For the rest the phone works well, so I don't think this is a phone-specific issue...
Thanks for reading my first post

[Q] Files dissapearing from micro SD

i try to transfer all my music onto my micro sd to listen to it on my eee pad but once i transfer the files over and put the sd card back in my eee pad the files seem to have deleted themselves ??
Not sure if this also applies to the Transformer but with my G-Tablet you have to put a .nomedia file in the SDCARD root directory to keep the OS from deleting the media files.
how do I make such a file?
icow said:
how do I make such a file?
Click to expand...
Click to collapse
You can do it in notepad but I use notepad++ as notepad sometimes saves it as a .txt file without you knowing. Just open a new file and save it as ".nomedia" without the quotes obviously. Make sure it doesn't save as a .txt file and don't put anything in the file. Copy this file over to the root of your internal memory and SDCARD. I also put it in each of my "Movies" and "Music" folders just in case. Hope this helps!
I'm not sure the media scanner bug is to blame here (and therefore the .nomedia fix would be possibly useless). Though I have had the problem on my g-tablet, I have music files on my TF that I put there by putting my microSD into my computer, copying the files and then re-inserting it into my TF. I have rebooted my TF many times since then, and all of my music files are still there and still playable within the HC music app and others.
The issue with the g-tablet is/was a bug in the media scanner and is only present in some ROMs (not the stock one or most anything based heavily on stock), and no one seemed to know quite why it happens or how to fix it. The files would only disappear when the media scanner would run, and a lot of folks indicated that they could literally watch the files get deleted as it scanned. The solution was to place a file named ".nomedia" inside the folders where the media resides -- this causes the media scanner to skip those folders (also making the stock apps like your music app, not see those files automatically, forcing you to play them from within a file manager app of some sort).
OP, have you tried copying anything other than music files to your microSD? Do those also not show up?
Also make sure you properly eject the SD card before removing it from your PC.
Okay so I tried the .nomedia trick and iut didn't work but strangely only half of my music is getting deleted ,it is all on there when I check on computer but then i safely remove it and when I put it back in my transformer only half is left weird?
Its not full by the way 32gb card 11gb of music
I have a feeling that File Manager HD is screwing with files on my microSD. Are any of you running it?
Im running into the same issue on my g-tab, going to switch to stock see if i have the same issue. Been trying to get my music files on for the past 4 days with no success, they just keep getting deleted.
I had the same problem but it seems to be working well now. I wasn't ejecting the SD card before removing it from my PC. Make sure that you right click on the sd card from your computer, and go to eject. I haven't had any other problems after that.
coldheater said:
I had the same problem but it seems to be working well now. I wasn't ejecting the SD card before removing it from my PC. Make sure that you right click on the sd card from your computer, and go to eject. I haven't had any other problems after that.
Click to expand...
Click to collapse
wil try it tomorow but if its a no go then illjust send the sd card back

[Q] .Thumbdata3 file

Whenever I try and upload a file to Google Drive or add a picture from my gallery to instagram, my phone creates a file called .thumbdata3 in the thumbnails directory on my SD card. The problem with this is not the creation of the file, it's that the file is exactly the size of all the free space on the memory card... When plugged into the computer it displays "0 Bytes Free" on the SD card...
So when I choose a file from the gallery to upload to google drive or instagram, it will hang on a black screen until this file has been created (filling up the SD card), and then upload... Then i check the free space, and it is 0Bytes.
Anyone else had this and fixed it?
PS Sorry for being a noob here
Bumping this...
Anyone had this? Or have a solution?
Same thing here, unfortunately no solution. Apparently it is safe to delete the file, but it will be recreated at some point, taking up all the space on the SD card again.
For me, it grew up to 400 MB and even beyond (IIRC), which seems a bit excessive, even taking into account that there are > 2000 pictures in the DCIM folder of my SD-card at the moment. Still, 400 MB is more than a quarter of the 1.4 GB that the pictures take up, which surely does not make much sense if that is supposed to speed up the process of reading/displaying the thumbnails!?
Does anybody know a fix? Is it ICS related? I'm on Stock 4.0.3 ICS BTW, and I never noticed this behaviour before the update...
Same here, with a SE Xperia Mini Pro (4.0.4). It happened with me when the phone tried syncing Evernote notes (with pictures attached).
Maybe this topic should be moved to a more generic sub-forum; apparently it's an ICS problem...
thumbdata3
I am also currently having this problem, specially when trying to upload/import photos from gallery to instagram. the ".thumdata3...." file can go as large as 2.5 gig for me, depenending on how much space I have on my SD card before importing pics from gallery to instagram
Same happenned to me - a siolutions that worked for me
Same happened to me the .thumdata3 ate up all remaining space (1.2G) on my Samsung Galaxy S2, android 4.0.3. Any time I deleted it, it was recreated any time I opened the camera app. Then the camera app was unable to take any pic due to sd full. If I deleted this file it was re-created any time I started camera again.
Installing and running the SDrescan app (from play store) helped. Though SDrescan made stock ringtones disappear. However reboot helped that, and the large file did not came back even after restarting camera.
This worked for me, though I am not sure in the reason. Might work for you as well, or not. I must say that android 4.0 is much worse than I expected. Not the first annoying error I have found.
My guess for the reason of the error happening: I once inserted an sd card with LOTS of media content. Then all this was cached somehow in gallery.
My guess for the reason this solution works: the app erases cached SD data thus helps reducing the thumbnail cache.
rasnadas said:
Same happened to me the .thumdata3 ate up all remaining space (1.2G) on my Samsung Galaxy S2, android 4.0.3. Any time I deleted it, it was recreated any time I opened the camera app. Then the camera app was unable to take any pic due to sd full. If I deleted this file it was re-created any time I started camera again.
Installing and running the SDrescan app (from play store) helped. Though SDrescan made stock ringtones disappear. However reboot helped that, and the large file did not came back even after restarting camera.
This worked for me, though I am not sure in the reason. Might work for you as well, or not. I must say that android 4.0 is much worse than I expected. Not the first annoying error I have found.
My guess for the reason of the error happening: I once inserted an sd card with LOTS of media content. Then all this was cached somehow in gallery.
My guess for the reason this solution works: the app erases cached SD data thus helps reducing the thumbnail cache.
Click to expand...
Click to collapse
I had the same issue, but unfortunately your solution didn't help me. Initially I thought it did, but after a reboot and launching Camera app, it hanged and created the .thumbdata3 file once again.
I also tried messing up with databases using SQLite Editor, as described here: http://forum.xda-developers.com/showpost.php?p=28466334&postcount=9, but that didn't help either.
I've done some more research and found a solution here: http://www.mobilephonetalk.com/show...in-memory-card&p=311954&viewfull=1#post311954. After I deleted the .thumbdata3 file, created a blank one with Root Explorer and removed write permission to it, the file stays at 0 bytes and Camera and Gallery apps still work fine.
I have an issue with the size of the thumbdata3 file in DCIM/.thumbnails on internal memory (camera is set to store to ext SD) at the moment it is 314MB on internal memory but the thumbdata3 file in the DCIM/.thumbnail folder on ext SD is less than 1MB (I only have around 100 photos and pictures on my phone) - but camera still works (other than in the scenario described below)
If I delete the large thumbdata3 file from internal memory and then attempt to use the camera, the photo is taken without any problem but when I try to view it in either gallery or QuickPic by clicking through from the 'last image taken thumbnail' in the camera and then click back to carry on taking another picture the camera FC's. It usually does this twice and is then absolutely fine - apart from the fact that the large thumbdata3 file has been recreated on internal storage.
I've tried it numerous times and every time the same results - delete thumbdata3 from internal memory, couple of camera FC's, large thumbdata3 file recreated, no more problems (bar the loss of 314MB of storage)
I've tried replacing the thumbdata3 file on internal memory with a copy of the smaller one from Ext SD, creating a blank thumbdata3 file and setting it as read only/no write permission and neither have helped.
Its a bit weird and annoying but I won't let it take the shine off my fun with CM9, however it would be nice to recover that large chunk of storage space to be put to better use.
All the same, many thanks Arco - Beta 1 is my first CM9 install and its great :good:[/QUOTE]
Hi - haven't full troubleshooted this issue yet, but see my notes here. I have the same issue (GNEX JB 4.1.1 stock) and for me it is caused by the app KeepSafe which hides/unhides pics/videos on your phone. Note I believe this is an interaction issue between this app and the media scanning functionality in JB (and I suspect ICS), and so there are likely other apps that have the same issue. For me it creates 1 or 2 .thumbdata3 db files each around 1.3GB.
Certainly, irrespective of app causing it, you can follow the steps to purge Gallery and Media Storage, resync your gmail account and they should disappear on their own. Opening the camera and taking a photo causes the db to come back at around 400MB with a single thumbnail - one of the test files I was hiding and unhiding with KeepSafe but has since been deleted. Can't really explain this behaviour!
Any way, I made some notes on what I tested, the results and some ponderings in case this helps someone work it out:
Thumbdata3
Hiding in keep safe seems to create both the thumbnails and thumbdata file.
Clearing data/cache for gallery and media storage removes all these files? So far doesn't seem to be the case. File and db still there after. Rerunning the media scanner now. Perhaps they caused it? Also forced resync of all items in gmail account. Thumbs and db now gone. Not clear if it was the media scanning completing or the re-sync, but steps to resolve issue now appear deterministic.
Tested with single pic. Restored. No thumbs. Re-hid, thumbnail appeared for this pic and a 435MB db file.
All thumbs were for pics hidden in keep safe. However previously there were far more thumbs. Speculate - cumulative issue thru successive hide/restore cycles, possibly due to file name collision avoidance.
Deleting pic in file explorer also causes the problem? Does not appear to be the case. Gallery/Media Scanner/Media Storage handles this manual intervention far better under ICS/JB. Previously, manually removing a picture rather than deleting it thru Gallery tended to mean the tile/thumb remained. Scanner didn't or didn't very effectively detect this. Probable algorithm change in ICS. Now it sees the deletion immediately. Possibly implicated in keep safe not correctly interacting with the gallery/media scanner properly under ICS/JB.
I´ve the same problem.
After restarting the phone, the camera freezes for a while and regenerates the file, no matter how many media files are in the phone or sd card, it always growth to 431mg after restarting.
(I also find many lost files in the LOST.DIR (almost 2.300gb...many are dissapeared files that I forget about them!)
The .thumbdata files on my SGSIII take up ~4 GB worth of space. Already a quarter of my phones internal memory is being wasted. I wonder if this is a bug or "working as intended"? It makes me wonder how google can still justify the lack of an external microsd card slot on their nexus phones when there is so much space being mismanaged by the OS.
It's works
strom87 said:
I had the same issue, but unfortunately your solution didn't help me. Initially I thought it did, but after a reboot and launching Camera app, it hanged and created the .thumbdata3 file once again.
I also tried messing up with databases using SQLite Editor, as described here: http://forum.xda-developers.com/showpost.php?p=28466334&postcount=9, but that didn't help either.
I've done some more research and found a solution here: http://www.mobilephonetalk.com/show...in-memory-card&p=311954&viewfull=1#post311954. After I deleted the .thumbdata3 file, created a blank one with Root Explorer and removed write permission to it, the file stays at 0 bytes and Camera and Gallery apps still work fine.
Click to expand...
Click to collapse
It's works with me!
that works
That works for me:
1. copy name of thumbdataX--x file
2. delete that file
3. create folder named the same as deleted file; reboot your device
4. look in folders named LOST.DIR (you can find it in the root directory of your internal memory and your SDcard) - huge temporary files may be left in these folders, so delete these files
New thumbdata file can't replace the folder and doesn't appears :victory:
until now the folder solution works :laugh:
Kyonex said:
That works for me:
1. copy name of thumbdataX--x file
2. delete that file
3. create folder named the same as deleted file; reboot your device
4. look in folders named LOST.DIR (you can find it in the root directory of your internal memory and your SDcard) - huge temporary files may be left in these folders, so delete these files
New thumbdata file can't replace the folder and doesn't appears :victory:
Click to expand...
Click to collapse
It doesn't work, camera still overwrites the .thumbdataX--x folder. And as /mnt/sdacard is using FAT32, I also can't set file permission to 000 or use /dev/null symlink.

New Sheild tablet-Game recordings

Hi, i've just bought a shield tablet after getting absolutely sick of my galaxy tab s 10.5's lagwiz. Few questions i have.
I've been tinkering with screen capture, the files are stored on my 64 gb sd card but i am not able to delete the files. How do i do this? Can i choose a custom save location?
The power button is horrible, is there any way i can install a double tap to wake like feature without rooting?
Thanks
KKK:
If there's no file manager installed, you can only delete files by plugging your tablet into a computer, or by rooting and running SDFix or similar.
Lollipop:
You need to get a file manager to delete files from the sd card if you can't use the stock one. If ES File Explorer doesn't work already with some extra screwing around with the new Google File Pocket or whatever it is, you'll need to reformat your sd card perhaps.
Samsung:
Ironically, your colourful and unnecessary terminology for Samsung's incredible software belies its excellent addition of a file manager that does everything you want to do here.
Only pre installed apps are allowed to write to any of the areas of the SD card by default (without any excessive API requests) in Lollipop, and they aren't allowed to write outside their own directory at all in KKK. There are some other restrictions but I won't go into those here. I think Google was going for an iOS like experience.
Sent from my Galaxy S5
Haha, i'll be honest, you are right, the in built file manager in the tab S was superb. I've managed to fix it, somehow the screen recordings were saved to my sd card and wouldn't delete, not even with various 3rd party file explorers. I just took the sd out and connected it to my PC and now it has deleted. Job done.
Ok, so i am just wondering, although i can delete the screen capture files by taking out my sd card and connecting it to the computer first, surely there must be an option within nvidia share for saved files to be deleted. No 3rd party file explorers allow me to delete the content and i dont really want to take out my sd card each time i want to delete a random screen capture. What if one didnt have a PC, does nvidia expect the SD card to eventually become full and be useless? i dont get it, i must be missing something.

Categories

Resources