maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   How do I delete read-only files? (https://talk.maemo.org/showthread.php?t=70408)

Bookishwitch 2011-02-27 15:23

How do I delete read-only files?
 
I just plugged my N900 into my laptop to transfer some photos I took today. While I was there I decided to clean up a bit and I deleted some images.

Now when I look on my phone and go to my photo album, I see a load of read-only files in with my pictures, but it won't let me delete them from the phone. They aren't there when I plug the phone into the laptop.

Does anyone know how I can get rid of them?

raaj13 2011-02-27 15:57

Re: How do I delete read-only files?
 
Quote:

Originally Posted by Bookishwitch (Post 956578)
I just plugged my N900 into my laptop to transfer some photos I took today. While I was there I decided to clean up a bit and I deleted some images.

Now when I look on my phone and go to my photo album, I see a load of read-only files in with my pictures, but it won't let me delete them from the phone. They aren't there when I plug the phone into the laptop.

Does anyone know how I can get rid of them?

are they all in some specific folder?
Also try checkdisk via pc to check memory.Sometimes disconnecting without eject makes read only error in n900

Bookishwitch 2011-02-27 15:58

Re: How do I delete read-only files?
 
Quote:

Originally Posted by raaj13 (Post 956606)
are they all in some specific folder?

When you open the menu and click 'photos', they're in there. I can't see them in a folder in my file manager.

raaj13 2011-02-27 16:05

Re: How do I delete read-only files?
 
Quote:

Originally Posted by Bookishwitch (Post 956607)
When you open the menu and click 'photos', they're in there. I can't see them in a folder in my file manager.

then try checkdisk via pc or else if u have rootsh installed

try
root
umount /home/user/MyDocs
fsck.vfat -a /dev/mmcblk0p1
mount /dev/mmcblk0p1 /home/user/MyDocs

and then reboot your n900

or try finding those files via filebox if they hidden.

Bookishwitch 2011-02-27 16:21

Re: How do I delete read-only files?
 
Quote:

Originally Posted by raaj13 (Post 956613)
then try checkdisk via pc or else if u have rootsh installed

try
root
umount /home/user/MyDocs
fsck.vfat -a /dev/mmcblk0p1
mount /dev/mmcblk0p1

and then reboot your n900

or try finding those files via filebox if they hidden.

I downloaded rootsh but I don't know how to use it. How do I access it? It's not on my menu.

towhatend 2011-02-27 16:22

Re: How do I delete read-only files?
 
Quote:

Originally Posted by Bookishwitch (Post 956627)
I downloaded rootsh but I don't know how to use it. How do I access it? It's not on my menu.

Use the terminal.

raaj13 2011-02-27 16:29

Re: How do I delete read-only files?
 
Quote:

Originally Posted by Bookishwitch (Post 956627)
I downloaded rootsh but I don't know how to use it. How do I access it? It's not on my menu.

open X-terminal

then type them.

Bookishwitch 2011-02-27 16:30

Re: How do I delete read-only files?
 
Quote:

Originally Posted by towhatend (Post 956628)
Use the terminal.

Everytime I input something, it says "not found".

I'm sorry, I'm no good at all this stuff :(

raaj13 2011-02-27 16:50

Re: How do I delete read-only files?
 
Quote:

Originally Posted by Bookishwitch (Post 956635)
Everytime I input something, it says "not found".

I'm sorry, I'm no good at all this stuff :(

open X Terminal from menu

type
root
umount /home/user/MyDocs
fsck.vfat -a /dev/mmcblk0p1
mount /dev/mmcblk0p1 /home/user/MyDocs

then reboot

note use exact words in terminal is case sensitive

towhatend 2011-02-27 16:52

Re: How do I delete read-only files?
 
You can try to install filebox and set it to be root and then go to the folder where you got the images and try to delete them.

You can also try to type sudo gainroot and then cd to /home/user/MyDocs/.images (or replace .images with DCIM if itīs pictures taken with the camera and remove with the rm command. Use the command ls to see whats in the directory.

Bookishwitch 2011-02-27 17:11

Re: How do I delete read-only files?
 
Quote:

Originally Posted by raaj13 (Post 956650)
open X Terminal from menu

type
root
umount /home/user/MyDocs
fsck.vfat -a /dev/mmcblk0p1
mount /dev/mmcblk0p1 /home/user/MyDocs

then reboot

note use exact words in terminal is case sensitive

I did this and nothing happened, they're still there.

Quote:

Originally Posted by towhatend (Post 956651)
You can try to install filebox and set it to be root and then go to the folder where you got the images and try to delete them.

You can also try to type sudo gainroot and then cd to /home/user/MyDocs/.images (or replace .images with DCIM if itīs pictures taken with the camera and remove with the rm command. Use the command ls to see whats in the directory.

Using Filebox didn't work. Even setting it to root and enabling it to view hidden fils, I still can't find them in any of my folders.

I don't understand the last thing you suggested.

God, this is making me feel stupid :confused:

raaj13 2011-02-27 17:19

Re: How do I delete read-only files?
 
Quote:

Originally Posted by Bookishwitch (Post 956661)
I did this and nothing happened, they're still there.



Using Filebox didn't work. Even setting it to root and enabling it to view hidden fils, I still can't find them in any of my folders.

I don't understand the last thing you suggested.

God, this is making me feel stupid :confused:

Did u copy photos to memory card?

Bookishwitch 2011-02-27 17:21

Re: How do I delete read-only files?
 
Quote:

Originally Posted by raaj13 (Post 956666)
Did u copy photos to memory card?

I have some photos on my phone memory and some on my memory card. I removed some from both locations via my laptop.

I don't know where these read-only files actually are, they don't show up in my documents, only when I click "photos" from the main menu and it is set to show all photos.

raaj13 2011-02-27 17:23

Re: How do I delete read-only files?
 
Quote:

Originally Posted by Bookishwitch (Post 956668)
I have some photos on my phone memory and some on my memory card. I removed some from both locations via my laptop.

I don't know where these read-only files actually are, they don't show up in my documents, only when I click "photos" from the main menu and it is set to show all photos.


press litle long on any 1 of those files in "photos" and see details

Bookishwitch 2011-02-27 17:24

Re: How do I delete read-only files?
 
Quote:

Originally Posted by raaj13 (Post 956669)
press litle long on any 1 of those files in "photos" and see details

It says no details available.

raaj13 2011-02-27 17:28

Re: How do I delete read-only files?
 
Quote:

Originally Posted by Bookishwitch (Post 956670)
It says no details available.


strange
can u see the photos that are read only

Bookishwitch 2011-02-27 17:31

Re: How do I delete read-only files?
 
No I can't.

But I've solved it! I plugged my phone back into the laptop, went to the images folder, went to properties and unchecked the box that said "Attributes->Read-only"

Now they aren't there any more.


Thankyou for all your helpy, though, guys! :D

Edit: No. They're back again. Damnit. :mad:

raaj13 2011-02-27 17:33

Re: How do I delete read-only files?
 
also can u take screenshot of both "photos" and the details of anyone file.

u can take it by pressing ctrl+shift+p.
the screenshot will be in images/screenshots. and attach them here

raaj13 2011-02-27 17:35

Re: How do I delete read-only files?
 
Quote:

Originally Posted by Bookishwitch (Post 956675)
No I can't.

But I've solved it! I plugged my phone back into the laptop, went to the images folder, went to properties and unchecked the box that said "Attributes->Read-only"

Now they aren't there any more.


Thankyou for all your helpy, though, guys! :D

Edit: No. They're back again. Damnit. :mad:

they in memory card or in phone memory
try checkdisk

Bookishwitch 2011-02-27 17:38

Re: How do I delete read-only files?
 
Quote:

Originally Posted by raaj13 (Post 956679)
also can u take screenshot of both "photos" and the details of anyone file.

u can take it by pressing ctrl+shift+p.
the screenshot will be in images/screenshots. and attach them here

http://i303.photobucket.com/albums/n...227-173442.png

The little ones that look like a broken thumbnail are the ones I'm trying to get rid of them. When I try to delete, it says "unable to delete", when I try to view details, it says "details not available" and when I try to view the images, it says "Image no longer available".

Bookishwitch 2011-02-27 17:48

Re: How do I delete read-only files?
 
Ok, I think I've solved it. I took my memory card out, plugged it into my laptop and formatted it. They seem to have gone now.

raaj13 2011-02-27 17:48

Re: How do I delete read-only files?
 
Quote:

Originally Posted by Bookishwitch (Post 956685)
http://i303.photobucket.com/albums/n...227-173442.png

The little ones that look like a broken thumbnail are the ones I'm trying to get rid of them. When I try to delete, it says "unable to delete", when I try to view details, it says "details not available" and when I try to view the images, it says "Image no longer available".

connect your phone to pc in mass storage mode and goto properties of phone or memory card (in whom the files are) and select tools and checkdisk it.It seems to be case to memory becomming corrupt due to unsafe removal.

Bookishwitch 2011-02-27 17:49

Re: How do I delete read-only files?
 
Quote:

Originally Posted by raaj13 (Post 956693)
connect your phone to pc in mass storage mode and goto properties of phone or memory card (in whom the files are) and select tools and checkdisk it.It seems to be case to memory becomming corrupt due to unsafe removal.

Thanks for the suggestion. If they come back I'll try that :)

raaj13 2011-02-27 17:56

Re: How do I delete read-only files?
 
Quote:

Originally Posted by Bookishwitch (Post 956695)
Thanks for the suggestion. If they come back I'll try that :)

If formatting ur memory card solved it then ur memory card was the culprit.

If the same happens in future then
root
umount /media/mmc1
fsck.vfat -a /dev/mmcblk1p1
mount /dev/mmcblk1p1 /media/mmc1

no reboot in this case.
And also there wasn't need to format it though checkdisk via pc on memory card would have solved that:)

crail 2011-02-28 03:36

Re: How do I delete read-only files?
 
seems not many people are aware of the beauty of scan and fix option in windows.

it gets rid of all dodgy files and bad sectors and puts them in a folder ready for deletion :)


All times are GMT. The time now is 19:06.

vBulletin® Version 3.8.8