Thread
:
Root vs sudo gainroot
View Single Post
mdziaf
2011-01-10 , 16:01
Posts: 46 | Thanked: 7 times | Joined on Jan 2011 @ AU/MY
#
1
Hi there,
I am trying to root my friend's N900 to install preenv. The following describes the method I used and the problem I faced trying while trying to root the device.
1. I installed the rootsh application on the N900
2. Restarted the phone (don't know if it was necessary but did it anyways)
3. Opened XTerminal, and typed in
Code:
sudo gainroot
A password prompt was given. Tried typing "user" and 12345 and a few others but still wasn't right.
However, if I close and reopen Xterminal, and type in
Code:
root
no password prompt was given. but doing an apt-get install would give "unable to lock the admin directory"
I'm quite new to the linux world, but theres a few questions that is on my mind.
Shouldn't the rootsh remove the password prompt when sudo gainroot is typed?
Shouldn't the two codes (sudo gainroot) and (root) be the same?
Why does one asks for a password and the other doesn't?
Is the "Unable to lock the admin directory related to the fact that we weren't (in my definition) "fully rooted?
I also tried uninstalling rootsh through the app manager but it returned stating that rootsh was unable to uninstall. Any help and explanation is appreciated. Thanx
__
First thread, and 2nd post in forum
, I hope I was clear about my query. I've also searched the forums, tried doing a
Code:
sudo passwrd root
, tried uninstalling rootsh, tried quite a few variety of password recommendations but to no avail.
Quote & Reply
|
mdziaf
View Public Profile
Send a private message to mdziaf
Find all posts by mdziaf