![]() |
Re: QWERTY12 (ROOTSH) - I Need help PLEASE
Quote:
When i do like it is on: http://talk.maemo.org/showpost.php?p...postcount=2718 sudo rm -f /etc/default/kernel-power it asks me for a password. Before reflashing, it not ask, i can do those commands with success, now, i can't, thats my problem! :( |
Re: QWERTY12 (ROOTSH) - I Need help PLEASE
It has been mentioned a few times..
sudo rm won't work sudo ls won't work sudo some-other-command won't work ONLY: sudo gainroot will work This gives you a root shell.. from that you can run whatever you like sudo gainroot # NOW YOU ARE ROOT rm -f /etc/default/kernel-power If you run sudo rm sudo has not been configured to allow you to run rm, so it asks for a password or tells you permission denied.. |
Re: QWERTY12 (ROOTSH) - I Need help PLEASE
If Sudo <Command> dont work, why can i do that before reflash ?!
If Sudo <Command> dont work, why is it here http://talk.maemo.org/showpost.php?p...postcount=2718 and everyone use it sucessfull ? Sorry but dont make sense...I'm not crazy, i know what i've done before on X-terminal. Before reflash, i save .txt files with my script commands, and theres a lot of 'sudo <command>' that worked.. Maybe some software i've installed with an old version..not chroot or rootsh..other software..dont know.. : \ Quote:
|
Re: QWERTY12 (ROOTSH) - I Need help PLEASE
Ohh..and here, on the WIKI: http://wiki.maemo.org/Overclocking
At "Set maximum CPU frequency", it says: From root terminal: rootsh echo 600000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq | echo "" It gives me permission dennied too ! . . . |
Re: QWERTY12 (ROOTSH) - I Need help PLEASE
What happens if you
Open an xterm Type root and hit enter Type whoami and hit enter ? |
Re: QWERTY12 (ROOTSH) - I Need help PLEASE
You do know that rootsh's description says to use "root", right? It does not mention anything about sudo.
The uninstall thing? Well, that was me being a tosser. I did fix it in later versions, however. |
Re: QWERTY12 (ROOTSH) - I Need help PLEASE
Sounds like the real "problem" is that rootsh doesn't work like you want it to.
Either run "sudo gainroot" for a root shell or "rootsh (command)" to run one command as root. Sudo doesn't work in maemo like it does in other linux distros. |
Re: QWERTY12 (ROOTSH) - I Need help PLEASE
My first thought would be it was shorthand, or a ploy to stop inexperienced users from doing things to their phone.
If you don't understand that sudo rm /etc/somefile and sudo gainroot rm /etc/somefile are conceptually the same things, then you've fallen at the first hurdle!! There are very few commands you can run using sudo on Maemo5.. rm is not one of them, nor is echo From root terminal: rootsh echo 600000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq | echo "" Is actually nonsensical and would NEVER work unless you were already root If you need to do things that report "permission denied", run sudo gainroot first and you will be fine.. |
Re: QWERTY12 (ROOTSH) - I Need help PLEASE
When I just tried that rootsh command as listed in message #14 above, I got a response that it was deprecated.
|
Re: QWERTY12 (ROOTSH) - I Need help PLEASE
Quote:
root is a super user and have more privileges than normal user. In other systems you normaly need a password to become that user.. that is not needed in Maemo. Just type root or sudo gainroot and you become root. Why Titan writes sudo in his explanations i do not know.. probably just to tell you that you need to be root and have root privileges. Why the OC'ing are working for everyone is because they go root when they need to do it. They know not to sudo before the commands. Of what i understand you have successfully OC'd with the temporary settings but need to do them permanent. So you are doing something wrong when attempting doing them permanent. |
| All times are GMT. The time now is 09:37. |
vBulletin® Version 3.8.8