PDA

View Full Version : help...


Stericson
11-11-2008, 12:14 PM
Does anyone know why I can't cp a file from my sd card to /sys?
I can cp a file from /sys to my /sdcard but not the opposite, and yes I do have the cp command on my phone, I have root, I remounted /sys as rw, and I changed the permissions for /sys to 0777.

I'm at a loss...can anyone help me out?

MrGibbage
11-11-2008, 12:19 PM
What is the error message it gives you?

MrGibbage
11-11-2008, 12:25 PM
And do you think it is a function of it coming from the sdcard? what if you try copying from /data/local/tmp or something like that? Does that make a difference? It certainly shouldn't, but I'm at a loss too.

Stericson
11-11-2008, 12:27 PM
Says cannot remove '/sys/timeout': directory or file does not exist.
Hers the command:
cp /sdcard/timeout /sys/

Timeout is the file I'm trying to move.....
I also tried using dd, which gave me a similar error, saying something ab out it couldn't write to /sys/. Yes the permissions on that directory show drw

I actually put the file in my phone, /timeout, and it still wouldn't work.

Stericson
11-11-2008, 12:36 PM
I'm about to give up and try to use a symlink to do it...

MrGibbage
11-11-2008, 12:39 PM
Yeah, that's just weird. I got nothing.

Stericson
11-11-2008, 12:41 PM
You did it? No error?

You did cp something to /sys and not /system right?

MrGibbage
11-11-2008, 01:16 PM
No, whan I said I got nothing, I meant I got nothing for you to help you. Sorry for the confusion.

Any luck so far? What are you trying to do, anyway?

Stericson
11-11-2008, 02:12 PM
I believe I have founf the setting to control how long the keyboard stays lit...I want to extend this time. However, I don't want to modify the original. I want to rename it, which I canLt do either, and rename my edited file, which I want cp'ed there, to the correct filename...this way if something goes screwy I can easily replace the edited file with the untouched original. Nothing should go wrong but I am being very cautious.

Now I've found out that it won't even let me rename files there, it keeps saying the directory doesn't exist...but I can cp files from it and onto my sdcard? What gives?

MrGibbage
11-11-2008, 02:37 PM
I'll bet the google dev folks are reading this right now and are laughing. You reached the end of my linux knowledge.

Stericson
11-11-2008, 02:44 PM
well, I am going to try and use the adb shell when I get home, I have had some wierd issues like this before and the adb shell has been the answer. Thanks for your help....and i agree, they prob ably are laughing at my attempts.... lol

Stericson
11-11-2008, 06:43 PM
Well, it didn't work...I still cant do anything, useful anyways, within the directory /sys

If any knows how I can get around this or has any suggestions please let me know...